Step 1 |
enable
|
Enables privileged EXEC mode.
|
Step 2 |
configure
terminal
Router# configure terminal
|
Enters global configuration mode.
|
Step 3 |
pseudowire-class
class-name
Router(config)# pseudowire-class static-pw
|
S
pecifies a static AToM PW class and enters PW class configuration mode.
|
Step 4 |
encapsulation
mpls
Router(config-pw)# encapsulation mpls
|
Specifies MPLS as the data encapsulation method for tunneling Layer 2 traffic over the PW.
|
Step 5 |
protocol
none
Router(config-pw)# protocol none
|
S
pecifies that no signaling will be used in L2TPv3 sessions created from the static PW.
|
Step 6 |
preferred-path
[interfacetunnel tunnel-number ] [disable-fallback ]
Router(config-pw)# preferred-path interface tunnel 1 disable-fallback
|
Specifies the P2MP tunnel as the traffic path and disables the router from using the default path when the preferred path
is unreachable.
|
Step 7 |
exit
|
Exits PW class configuration mode and returns to global configuration mode.
|
Step 8 |
interface
tunnel
number
Router(config)# interface tunnel 1
|
Configures a tunnel and enters interface configuration mode.
|
Step 9 |
ip
unnumbered
loopback
number
Router(config-if)# ip unnumbered loopback 0
|
Enables IP processing on a loopback interface without assigning an explicit IP address to the interface.
-
Specifying loopback 0 gives the tunnel interface an IP address that is the same as that of loopback interface 0.
-
This command is not effective until loopback interface 0 has been configured with an IP address.
|
Step 10 |
tunnel
mode
mpls
traffic-eng
point-to-multipoint
Router(config-if)# tunnel mode mpls traffic-eng point-to-multipoint
|
Enables MPLS P2MP TE on the tunnel.
|
Step 11 |
tunnel
destination
list
mpls
traffic-eng
{identifier dest-list-id | name dest-list-name }
Router(config-if)# tunnel destination list mpls traffic-eng name in-list-01
|
Specifies a destination list to specify the IP addresses of point-to-multipoint destinations.
|
Step 12 |
exit
|
Exits interface configuration mode and returns to global configuration mode.
|
Step 13 |
interface
loopback
number
Router(config)# interface loopback 0
|
Configures a loopback interface and enters interface configuration mode.
|
Step 14 |
ip
address
[ip-addressmask [secondary ]]
Router(config-if)# ip address 172.16.255.5 255.255.255.255
|
Specifies a primary IP address for the loopback interface.
|
Step 15 |
exit
|
Exits interface configuration mode and returns to global configuration mode.
|
Step 16 |
interface
ethernet
number
Router(config)# interface ethernet 0/0/0
|
Configures an Ethernet interface and enters interface configuration mode.
|
Step 17 |
no
ip
address
[ip-addressmask [secondary ]]
Router(config-if)# no ip address
service instance 100 ethernet
|
Disables IP processing on the interface.
|
Step 18 |
no
keepalive
[period [retries ]]
Router(config-if)# no keepalive
|
Disables the keepalive packets on the interface.
|
Step 19 |
xconnect
peer-ip-address
vcid
encapsulation
mpls
manual
pw-class
class-name
Router(config-if)# xconnect 172.16.255.255 100 encapsulation mpls manual pw-class static-pw
|
Configures a static AToM PW and enters xconnect configuration mode where the static PW labels are set.
|
Step 20 |
mpls
label
local-pseudowire-label
remote-pseudowire-label
Router(config-if-xconn)# mpls label 16 17
|
Configures the AToM static PW connection by defining local and remote circuit labels.
-
The label must be an unused static label within the static label range configured using the mplslabelrange command.
-
The mplslabel command checks the validity of the label entered and displays an error message if it is not valid. The value supplied for
the remote-pseudowire-label argument must be the value of the peer PE’s local PW label.
|
Step 21 |
mpls
control-word
Router(config-if-xconn)# mpls control-word
|
Checks whether the MPLS control word is sent.
-
This command must be set for Frame Relay data-link connection identifier (DLCI) and ATM adaptation layer 5 (AAL5) attachment
circuits. For other attachment circuits, the control word is included by default.
-
If you enable the inclusion of the control word, it must be enabled on both ends of the connection for the circuit to work
properly.
-
Inclusion of the control word can be explicitly disabled using the nomplscontrol-word command.
|
Step 22 |
end
Router(config-if-xconn)# end
|
Exits xconnect configuration mode.
|