Step 1 |
enable
Example:
|
Enables
privileged EXEC mode.
-
Enter your
password if prompted.
|
Step 2 |
configure
terminal
Example:
Router# configure terminal
|
Enters global
configuration mode.
|
Step 3 |
vc-class
atm
vc-class-name
Example:
Router(config)# vc-class atm aal5class
|
Creates a VC
class and enters VC class configuration mode.
|
Step 4 |
encapsulation
layer-type
Example:
Router(config-vc-class)# encapsulation aal5
|
Configures the
AAL and encapsulation type.
|
Step 5 |
exit
Example:
Router(config-vc-class)# exit
|
Exits VC class
configuration mode.
|
Step 6 |
interface
type
slot
/
subslot
/
port
[.
subinterface]
Example:
Router(config)# interface atm1/0/0
|
Specifies the
interface type enters interface configuration mode.
|
Step 7 |
class-int
vc-class-name
Example:
Router(config-if)# class-int aal5class
|
Applies a VC
class to the ATM main interface or subinterface.
Note
|
You can also
apply a VC class to a PVC.
|
|
Step 8 |
pvc
[name]
vpi
/
vci
l2transport
Example:
Router(config-if)# pvc 1/200 l2transport
|
Creates or
assigns a name to an ATM PVC and enters L2transport PVC configuration mode.
-
The
l2transport
keyword indicates that the PVC is a switched PVC instead of a terminated PVC.
|
Step 9 |
exit
Example:
|
Exits
interface configuration mode.
|
Step 10 |
interface
pseudowire
number
Example:
Router(config)# interface pseudowire 100
|
Specifies the
pseudowire interface and enters interface configuration mode.
|
Step 11 |
encapsulation
mpls
Example:
Router(config-if)# encapsulation mpls
|
Specifies
that Multiprotocol Label Switching (MPLS) is used as the data encapsulation
method.
|
Step 12 |
neighbor
peer-address
vcid-value
Example:
Router(config-if)# neighbor 10.0.0.1 123
|
Specifies the
peer IP address and virtual circuit (VC) ID value of the Layer 2 VPN (L2VPN)
pseudowire.
|
Step 13 |
exit
Example:
|
Exits
interface configuration mode.
|
Step 14 |
l2vpn
xconnect
context
context-name
Example:
Router(config)# l2vpn xconnect context con1
|
Creates a
Layer 2 VPN (L2VPN) cross connect context and enters xconnect configuration
mode.
|
Step 15 |
member
pseudowire
interface-number
Example:
Router(config-xconnect)# member pseudowire 100
|
Specifies a
member pseudowire to form a Layer 2 VPN (L2VPN) cross connect.
|
Step 16 |
member
atm
interface-number
Example:
Device(config-xconnect)# member atm 100
|
Specifies the
location of the ATM member interface.
|
Step 17 |
end
Example:
Router(config-if-atm-l2trans-pvc)# end
|
Exits to
privileged EXEC mode.
|
Step 18 |
show
atm
class-links
Example:
Router# show atm class-links
|
Displays the
type of encapsulation and that the VC class was applied to an interface.
|