|
Command or Action |
Purpose |
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 |
pseudowire-class class-name
Example:
Router(config)# pseudowire-class static-pw
|
S pecifies a static AToM PW class and enters PW class configuration mode. |
Step 4 |
encapsulation mpls
Example:
Router(config-pw)# encapsulation mpls
|
Specifies MPLS as the data encapsulation method for tunneling Layer 2 traffic over the PW. |
Step 5 |
protocol none
Example:
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 [interfacetunneltunnel-number][disable-fallback]
Example:
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
Example:
|
ExitsPW class configuration mode and returns to global configuration mode. |
Step 8 |
interface tunnel number
Example:
Router(config)# interface tunnel 1
|
Configures a tunnel and enters interface configuration mode. |
Step 9 |
ip unnumbered loopback number
Example:
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. See Step 14 .
|
Step 10 |
tunnel mode mpls traffic-eng point-to-multipoint
Example:
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 {identifierdest-list-id | namedest-list-name}
Example:
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
Example:
|
Exits interface configuration mode and returns to global configuration mode. |
Step 13 |
interface loopback number
Example:
Router(config)# interface loopback 0
|
Configures a loopback interface and enters interface configuration mode. |
Step 14 |
ip address [ip-addressmask [secondary]]
Example:
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
Example:
|
Exits interface configuration mode and returns to global configuration mode. |
Step 16 |
interface ethernet number
Example:
Router(config)# interface ethernet 0/0
|
Configures an Ethernet interface and enters interface configuration mode. |
Step 17 |
no ip address [ip-addressmask [secondary]]
Example:
Router(config-if)# no ip address
|
Disables IP processing on the interface. |
Step 18 |
no keepalive [period [retries]]
Example:
Router(config-if)# no keepalive
|
Disables the keepalive packets on the interface.
- When the interface goes down, the session continues without shutting down because the keepalive packets are disabled.
|
Step 19 |
xconnect peer-ip-address vcid encapsulation mpls manual pw-class class-name
Example:
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
Example:
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 mplslabelcommand checks the validity of the label entered and displays an error message if it is not valid. The value supplied for the remote-pseudowire-labelargument must be the value of the peer PE’s local PW label.
|
Step 21 |
mpls control-word
Example:
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-wordcommand.
|
Step 22 |
end
Example:
Router(config-if-xconn)# end
|
Exits xconnect configuration mode. |