Cisco Systems A9014CFD Router User Manual


 
15-3
Cisco ASR 901 Series Aggregation Services Router Software Configuration Guide
OL-23826-09
Chapter 15 Configuring EoMPLS
EoMPLS Configuration Example
EoMPLS Configuration Example
interface Loopback0
description for_mpls_ldp
ip address 99.99.99.99 255.255.255.255
!
interface GigabitEthernet0/10
description Core_facing
no negotiation auto
service instance 150 ethernet
encapsulation dot1q 150
rewrite ingress tag pop 1 symmetric
bridge-domain 150
!
interface GigabitEthernet0/11
description Core_facing
service instance 501 ethernet
encapsulation dot1q 501
rewrite ingress tag pop 1 symmetric
xconnect 111.0.1.1 501 encapsulation mpls
!
interface FastEthernet0/0
ip address 10.104.99.74 255.255.255.0
full-duplex
!
interface Vlan1
!
interface Vlan150
ip address 150.0.0.1 255.255.255.0
mpls ip
!
router ospf 7
network 99.99.99.99 0.0.0.0 area 0
network 150.0.0.0 0.0.0.255 area 0
!
no ip http server
ip route 10.0.0.0 255.0.0.0 10.104.99.1
!
Step 4
rewrite ingress tag pop 1 symmetric
Example:
Router(config-if-srv)#rewrite ingress tag pop
1 symmetric
Specify that encapsulation modification to occur on packets at
ingress.
pop 1—Pop (remove) the outermost tag.
symmetric—Configure the packet to undergo the reverse of
the ingress action at egress. If a tag is popped at ingress, it is
pushed (added) at egress.
Note Although the symmetric keyword appears to be optional,
you must enter it for rewrite to function correctly.
Step 5
xconnect ip address service-instance-number
encapsulation mpls
Example:
Router(config-if-srv)#xconnect 192.168.1.8
101 encapsulation mpls
Configure cross-connect pseudowire by specifying the IP address
of remote peer and the virtual circuit ID.
Command Purpose