Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3 |
pseudowire-class
class-name
Device(config)# pseudowire-class mpls-tp-class1
|
Creates a pseudowire class and enters pseudowire class configuration mode.
|
Step 4 |
encapsulation
mpls
Device(config-pw-class)# encapsulation mpls
|
Specifies the encapsulation type.
|
Step 5 |
control-word
Device(config-pw-class)# control-word
|
Enables the use of the control word.
|
Step 6 |
protocol {l2tpv2 | l2tpv3 | none } [l2tp-class-name ]
Device(config-pw-class)# protocol none
|
Specifies the type of protocol. Use the protocol none command to specify a static pseudowire.
|
Step 7 |
exit
Device(config-pw-class)# exit
|
Exits pseudowire class configuration mode and returns to global configuration mode.
|
Step 8 |
pseudowire-class
class-name
Device(config)# pseudowire-class mpls-tp-class1
|
Creates a pseudowire class and enters pseudowire class configuration mode.
|
Step 9 |
encapsulation
mpls
Device(config-pw-class)# encapsulation mpls
|
Specifies the encapsulation type.
|
Step 10 |
exit
Device(config-pw-class)# exit
|
Exits pseudowire class configuration mode and returns to global configuration mode.
|
Step 11 |
l2
vfi
name
point-to-point
Device(config)# l2 vfi atom point-to-point
|
Creates a point-to-point Layer 2 virtual forwarding interface (VFI) and enters VFI configuration mode.
|
Step 12 |
neighbor
ip-address
vc-id {encapsulation mpls | pw-class pw-class-name }
Device(config-vfi)# neighbor 10.111.111.111 123 pw-class atom
|
Sets up an emulated VC and enters VFI neighbor configuration mode.
Note
|
Note: Only two neighbor commands are allowed for each l2 vfi point-to-point command.
|
|
Step 13 |
neighbor
ip-address
vc-id {encapsulation mpls | pw-class pw-class-name }
Device(config-vfi-neighbor)# neighbor 10.111.111.111 123 pw-class atom
|
Sets up an emulated VC.
Note
|
Only two neighbor commands are allowed for each l2 vfi point-to-point command.
|
|
Step 14 |
mpls
label
local-pseudowire-label
remote-pseudowire-label
Device(config-vfi-neighbor)# mpls label 101 201
|
Configures the static pseudowire connection by defining local and remote circuit labels.
|
Step 15 |
mpls
control-word
Device(config-vfi-neighbor)# mpls control-word
|
Specifies the control word.
|
Step 16 |
local
interface
pseudowire-type
Device(config-vfi-neighbor)# local interface 4
|
Specifies the pseudowire type.
|
Step 17 |
Do one of the following:
-
tlv
[type-name ] type-value length [dec | hexstr | str ] value
-
tlv
template
template-name
Device(config-vfi-neighbor)# tlv statictemp 2 4 hexstr 1
|
Specifies the TLV parameters or invokes a previously configured TLV template.
|
Step 18 |
end
Device(config-vfi-neighbor)# end
|
|