Step 1 |
enable
Example:
Device> enable
|
Enables
privileged EXEC mode.
-
Enter
your password if prompted.
|
Step 2 |
configure terminal
Example:
Device# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
interface
type
slot/subslot
/port [.
subinterface]
Example:
Device(config)# interface fastethernet 4/0/0.1
|
Specifies
the subinterface and enters subinterface configuration mode.
-
Ensure
that the subinterface on the adjoining Ethernet CE device is on the same VLAN
as this Ethernet PE device.
|
Step 4 |
encapsulation dot1q
vlan-id
second
dot1q
vlan-id
Example:
Device(config-subif)# encapsulation dot1q 100 second dot1q 200
|
Defines the
matching criteria to map QinQ ingress frames on an interface to the appropriate
service instance.
|
Step 5 |
no ip address
Example:
Device(config-subif)# no ip address
|
Disables IP
processing.
|
Step 6 |
no shutdown
Example:
Device(config-subif)# no shutdown
|
Restarts the
Fast Ethernet subinterface.
|
Step 7 |
exit
Example:
Device(config-subif)# exit
|
Exits
subinterface configuration mode and returns to global configuration mode.
|
Step 8 |
template type
pseudowire
name
Example:
Device(config)# template type pseudowire temp4
|
Creates a
template pseudowire with a name that you specify and enters template
configuration mode.
|
Step 9 |
encapsulation mpls
Example:
Device(config-template)# encapsulation mpls
|
Specifies
the tunneling encapsulation as MPLS.
|
Step 10 |
exit
Example:
Device(config-template)# exit
|
Exits
template configuration mode and returns to global configuration mode.
|
Step 11 |
interface
pseudowire
number
Example:
Device(config)# interface pseudowire 109
|
Establishes
an interface pseudowire with a value that you specify and enters interface
configuration mode.
|
Step 12 |
source template type
pseudowire
name
Example:
Device(config-if)# source template type pseudowire temp4
|
Configures
the source template of type pseudowire named temp4.
|
Step 13 |
encapsulation mpls
Example:
Device(config-if)# encapsulation mpls
|
Specifies
the tunneling encapsulation as MPLS.
|
Step 14 |
neighbor
peer-address
vc
id-value
Example:
Device(config-if)# neighbor 10.0.0.15 109
|
Specifies
the peer IP address and virtual circuit (VC) ID value of an L2VPN pseudowire.
|
Step 15 |
signaling protocol
ldp
Example:
Device(config-if)# signaling protocol ldp
|
Specifies
that the Label Distribution Protocol (LDP) is configured for the pseudowire
class.
|
Step 16 |
no shutdown
Example:
Device(config-if)# no shutdown
|
Restarts the
interface pseudowire.
|
Step 17 |
exit
Example:
|
Exits
interface configuration mode and returns to global configuration mode.
|
Step 18 |
l2vpn xconnect
context
context-name
Example:
Device(config)# l2vpn xconnect context con2
|
Creates an
L2VPN cross-connect context and enters xconnect configuration mode.
|
Step 19 | interworking
ethernet
Example:
Device(config-xconnect)# interworking ethernet
|
Specifies
Ethernet as the type of pseudowire as well as the type of traffic that can flow
across the pseudowire.
|
Step 20 | member
interface-type-number
Example:
Device(config-xconnect)# member fastethernet 4/0/0.1
|
Specifies
the location of the member interface.
|
Step 21 | member pseudowire
interface-number
Example:
Device(config-xconnect)# member pseudowire 109
|
Specifies a
member pseudowire to form an L2VPN cross connect.
|
Step 22 |
no shutdown
Example:
Device(config-xconnect)# no shutdown
|
Restarts the
member interface.
|
Step 23 |
end
Example:
Device(config-xconnect)# end
|
Exits
xconnect configuration mode and returns to privileged EXEC mode.
|