Cisco Cisco IOS Software Release 12.2(33)SRE

Page de 26
   
AToM Static Pseudowire Provisioning
  Configuration Examples for AToM Static Pseudowire Provisioning
6
Any Transport over MPLS
Configuration Examples for AToM Static Pseudowire 
Provisioning
This section contains the following example:
Provisioning an AToM Pseudowire: Example
The following examples show the configuration commands for an AToM static pseudowire connection 
between two PEs, PE1 and PE2.
The mpls label range static command must be used to configure the static label range prior to 
provisioning the AToM static pseudowire.
Router# configure terminal
Router(config)# mpls label range 200 16000 static 16 199
% Label range changes will take effect at the next reload.
Router(config)#
The mpls ip command must also be configured on the core-facing interface of both PE1 and PE2 (which 
is also done for directed control protocol signaled pseudowires). Following is a configuration example:
Router(config)# interface Ethernet 0/0
Router(config-if)# description Backbone interface
Router(config-if)# ip address 10.0.0.1 255.255.255.0
Router(config-if)# mpls ip
Router(config-if)# end
Following is an example AToM static pseudowire configuration for PE 1:
Router(config)# interface Ethernet 1/0
Router(config-if)# no ip address
Router(config-if)# xconnect 10.131.191.251 100 encapsulation mpls manual pw-class mpls
Router(config-if-xconn)# mpls label 100 150
Router(config-if-xconn)# end
Following is an example AToM static pseudowire configuration for PE 2:
Router(config)# interface Ethernet 1/0
Router(config-if)# no ip address
Router(config-if)# xconnect 10.132.192.252 100 encapsulation mpls manual pw-class mpls
Router(config-if-xconn)# mpls label 150 100
Router(config-if-xconn)# end
This feature also allows tunnel labels to be statically configured using the mpls static binding ipv4 vrf 
command. This means that there is no need to use a directed control protocol to provision tunnels and 
pseudowires. Refer to the 
MPLS Static Labels
 feature module and the Cisco IOS Multiprotocol Label 
Switching Command Reference for information about static labels and the mpls static binding ipv4 vrf 
command.