Step 1
|
enable
|
Enables privileged EXEC mode.
|
Step 2
|
configure terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 3
|
interface
slot
/
subslot
/
port
[
. subinterface
]
Device(Config)# interface tengigabitethernet0/5/2
|
Specifies the interface type and enters interface configuration mode.
|
Step 4
|
mtu
mtu-value
Device(Config-if)# mtu 9216
|
Specifies the MTU value for the interface. The MTU value specified at the interface level can be inherited by a subinterface.
|
Step 5
|
no ip address
[ ip-address-mask]
[ secondary]
Device(Config-if)# no ip address
|
|
Step 6
|
load-interval
seconds
Device(Config-if)# load-interval 30
|
Enables the length of time for which data is used to compute load statistics.
|
Step 7
|
service instance
id
ethernet
Device(Config-if)# service instance 1 ethernet
|
Configures an Ethernet service instance on an interface and enters service instance configuration mode.
|
Step 8
|
encapsulation dot1q
vlan-id
Device(Config-if-srv)# encapsulation dot1q 1
|
Defines the matching criteria to map 802.1Q frames ingress on an interface to the appropriate service instance.
|
Step 9
|
rewrite ingress tag pop
number
[ symmetric]
Device(Config-if-srv)# rewrite ingress tag pop 1 symmetric
|
(Optional) Specifies the encapsulation adjustment to be performed on a frame ingressing a service instance and the tag to
be removed from a packet.
|
Step 10
|
enable
|
Enables privileged EXEC mode.
|
Step 11
|
configure terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 12
|
interface pseudowire
name
Device(config)# interface pseudowire90
|
Establishes a pseudowire with a name that you specify, and enters pseudowire class configuration mode.
|
Step 13
|
encapsulation mpls
Device(config-pw-class)# encapsulation mpls
|
Specifies the tunneling encapsulation.
|
Step 14
|
neighbor
peer-address
vcid-value
Device(config-pw-class)# neighbor 7.7.7.7 90
|
Specifies the peer IP address and virtual circuit (VC) ID value of a Layer 2 VPN (L2VPN) pseudowire.
|
Step 15
|
control-word include
Device(config-pw-class)# control-word include
|
Enables the control word.
|
Step 16
|
load-balance flow-label both
Device(config-pw-class)# load-balance flow-label both
|
Enables the Flow-Aware Transport of MPLS Pseudowire feature and specifies how flow labels are used. We recommend that you
use both as the option for flow-label.
|
Step 17
|
end
Device(config-pw-class)# end
|
Exits to privileged EXEC mode.
|
Step 18
|
configure terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 19
|
interface pseudowire
name
Device(config)# interface pseudowire 101
|
Establishes a pseudowire with a name that you specify, and enters pseudowire class configuration mode.
|
Step 20
|
encapsulation mpls
Device(config-pw-class)# encapsulation mpls
|
Specifies the tunneling encapsulation.
|
Step 21
|
neighbor
peer-address
vcid-value
Device(config-pw-class)# neighbor 8.8.8.8 90
|
Specifies the peer IP address and virtual circuit (VC) ID value of a Layer 2 VPN (L2VPN) pseudowire.
|
Step 22
|
load-balance flow-label both
Device(config-pw-class)# load-balance flow-label both
|
Enables the Flow-Aware Transport of MPLS Pseudowire feature and specifies how flow labels are used. We recommend that you
use both as the option for flow-label.
|
Step 23
|
end
Device(config-pw-class)# end
|
Exits to privileged EXEC mode.
|
Step 24
|
enable
|
Enables privileged EXEC mode.
|
Step 25
|
configure terminal
Device# configure terminal
|
Enters global configuration mode.
|
Step 26
|
l2vpn xconnect context
context-name
Device(config-pw-class)# l2vpn xconnect context FAT90
|
Creates a Layer 2 VPN (L2VPN) cross connect context and enters xconnect configuration mode.
|
Step 27
|
member TenGigabitEthernet
interface-number service-instance
id
Device(config-pw-class)# member TenGigabitEthernet0/5/2 service-instance 1
|
Specifies the location of the Gigabit Ethernetmember interface.
|
Step 28
|
member pseudowire
interface-number group context-name priority number
Device(config-pw-class)# member pseudowire90 group FAT90 priority 1
|
Specifies a member pseudowire to form a Layer 2 VPN (L2VPN) cross connect.
|
Step 29
|
member pseudowire
interface-number group context-name priority number
Device(config-pw-class)# member pseudowire101 group FAT90 priority 2
|
Specifies a member pseudowire to form a Layer 2 VPN (L2VPN) cross connect.
|
Step 30
|
end
Device(config-pw-class)# end
|
Exits to privileged EXEC mode.
|