PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
Router# configure terminal
Step 2
Creates a pseudowire class and enters pseudowire
class configuration mode.
pseudowire-class class-name
Example:
Router(config)# pseudowire-class mpls-tp-class1
Step 3
Specifies the encapsulation type.encapsulation mpls
Example:
router(config-pw-class)# encapsulation mpls
Step 4
Enables the use of the control word.control-word
Example:
Router(config-pw-class)# control-word
Step 5
Specifies the type of protocol.
protocol {l2tpv2 | l2tpv3 | none}[l2tp-class-name]
Example:
Router(config-pw-class)# protocol none
Step 6
Specifies the tunnel to use as the preferred path.preferred-path {interface tunnel tunnel-number | peer
{ip-address | host-name}} [disable-fallback]
Step 7
Example:
Router(config-pw-class)# preferred-path interface
tunnel-tp2
Exits configuration mode.end
Example:
Router(config-pw-class)# end
Router#
Step 8
MPLS Basic Configuration Guide, Cisco IOS XE Everest 16.5.1 (Cisco ASR 900 Series)
111
VPLS Configuration over MPLS-TP
Configuring the Pseudowire Class