Configuring Local ATM Cross-Connects with AAL5 Encapsulation
To create a local cross-connect between two ATM 1483 subinterfaces on the same router, you create a loopback interface, configure your ATM PVCs, and then create an MPLS relay connection from the PVCs to the loopback interface. You do not need to configure any other MPLS commands.
The following commands create an ATM cross-connect between two ATM subinterfaces on the same router.
- Create a loopback interface. All local cross-connects can share the same loopback interface.
host1(config)#interface loopback 0host1(config-if)#ip address 10.1.1.1 255.255.255.255host1(config)#exit- Create an ATM 1483 subinterface and ATM PVC with aal5all encapsulation on the ingress interface.
host1(config)#interface atm 2/0.1host1(config-subif)#atm pvc 1 0 100 aal5all- Create an MPLS relay connection to the loopback interface. Include the address of the loopback interface and a VC ID.
host1(config-subif)#mpls-relay 10.1.1.1 2host1(config-subif)#exit- Create an ATM 1483 subinterface and ATM PVC with aal5all encapsulation on the egress interface.
host1(config)#interface atm 2/0.2host1(config-subif)#atm pvc 2 0 101 aal5all- Create an MPLS relay connection to the loopback interface. The VC ID must be the same on both sides of the connection.
host1(config-subif)#mpls-relay 10.1.1.1 2host1(config-subif)#exit- (Optional) Display your configuration.
host1#show mpls cross-connects atmCate PeakInterface VPI VCI Interface VPI VCI VC-ID Encap gory Rate Status---------- --- --- ---------- --- --- ----- ----- ---- ---- --------ATM2/0.1 0 100 ATM2/0.2 0 101 2 AAL5 UBR 0 State UP1 local connection(s) found