Configuring an MPLS Pseudowire with VCC Cell Relay Encapsulation
The following commands create an ATM layer 2 services over MPLS pseudowire connection between two ATM 1483 subinterfaces on different routers. This procedure uses the aal0 encapsulation keyword for each ATM PVC to indicate that the router receive raw ATM cells on these circuits and forward the cells without performing AAL5 packet reassembly. The procedure also includes optional steps for configuring nondefault values for the ATM Martini cell packing timers and cell concatenation parameters.
To create an MPLS pseudowire connection with VCC cell relay encapsulation:
- (Optional) Configure values for the three ATM Martini cell packing timers on the ingress router to define the cell collection time threshold.
host1(config)#atm mcpt-timers 1500 2500 3500- Configure a loopback interface.
host1(config)#interface loopback 0host1(config-if)#ip address 5.1.1.1 255.255.255.255host1(config)#exit- Create an ATM 1483 subinterface and ATM PVC with aal0 encapsulation on the ingress interface.
host1(config)#interface atm 2/0.100host1(config-subif)#atm pvc 100 0 100 aal0- (Optional) Configure the following cell concatenation parameters for the ATM 1483 subinterface:
- Maximum number of ATM cells that the router can concatenate in a single packet
- Identifier (1, 2, or 3) of the ATM Martini cell packing timer that you want to use to detect timeout of the cell collection threshold
host1(config-subif)#atm cell-packing 100 mcpt-timer 2
- Create an MPLS relay connection to the loopback interface on the egress router. The VC ID (1 in this example) must be the same on both sides of the connection.
host1(config-subif)#mpls-relay 6.1.1.1 1host1(config-subif)#exit- Repeat Steps 1 through 5 on the egress router, creating an MPLS relay connection to the loopback interface on the ingress router.
The values you configure for the ATM Martini cell packing timers and cell concatenation parameters need not be the same on the ingress and egress routers, although matching values are permitted. The virtual connection ID (VC ID) value in the mpls-relay command, however, must be the same on the ingress and egress routers.
host2(config)#atm mcpt-timers 1500 2500 3500host2(config)#interface loopback 0host2(config-if)#ip address 6.1.1.1 255.255.255.255host2(config)#exithost2(config)#interface atm 4/0.101host2(config-subif)#atm pvc 101 0 101 aal0host2(config-subif)#atm cell-packing 150 mcpt-timer 3host2(config-subif)#mpls-relay 5.1.1.1 1host2(config-subif)#exit
- (Optional) Use the appropriate show commands to verify your configuration.
host1#show atm mcpt-timersATM Martini cell aggregation timers:Timer1: 1500microsecondsTimer2: 2500microsecondsTimer3: 3500microsecondshost1#show atm subinterface atm 2/0.100Circuit InterfaceInterface ATM-Prot VCD VPI VCI Type Encap MTU Status Type--------- -------- --- --- --- ------- ----- ---- -------------- ---------ATM 2/0.100 ATM/MPLS 100 0 100 PVC AAL0 9180 lowerLayerDown StaticMaximum number of cells per packet: 100Cell aggregation timeout timer: 2SNMP trap link-status: disabledInPackets: 0InBytes: 0OutPackets: 0OutBytes: 0InErrors: 0OutErrors: 0InPacketDiscards: 0InPacketsUnknownProtocol: 0OutDiscards: 01 interface(s) foundhost2#show atm subinterface atm 4/0.101Circuit InterfaceInterface ATM-Prot VCD VPI VCI Type Encap MTU Status Type--------- -------- --- --- --- ------- ----- ---- -------------- ---------ATM 4/0.101 ATM/MPLS 101 0 101 PVC AAL0 9180 lowerLayerDown StaticMaximum number of cells per packet: 150Cell aggregation timeout timer: 3SNMP trap link-status: disabledInPackets: 0InBytes: 0OutPackets: 0OutBytes: 0InErrors: 0OutErrors: 0InPacketDiscards: 0InPacketsUnknownProtocol: 0OutDiscards: 01 interface(s) found