Configuring ATM Subinterfaces
Problem
You want to configure an ATM link with PVCs that connect to several other routers.
Solution
Our preferred way of handling ATM PVCs is to use ATM subinterfaces. We also recommend using the IOS feature that sends ATM OAM cells periodically to test the VC. Cisco provides two different syntaxes for configuring ATM PVCs. Here is an example of the older method:
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router2(config)#interface ATM
Router2(config-if)#
0/0
no ip address
Router2(config-if)#exit
Router2(config)#interface ATM
0/0.1
point-to-point
Router2(config-subif)#description
Router2(config-subif)#
PVC to New York
ip address
Router2(config-subif)#
192.168.250.146 255.255.255.252
atm pvc
1 0 60
aal5snap
10000 5000 3
oam
Router2(config-subif)#
5
exit
Router2(config)#end
Router2#
In IOS 11.3, Cisco introduced a new configuration method for ATM PVCs:
Router2#configure terminal
Enter configuration commands, one per line. End with CNTL/Z. Router2(config)#interface ATM
Router2(config-if)#
0/0
no ip address
Router2(config-if)#exit
Router2(config)#interface ATM
0/0.1
point-to-point
Router2(config-subif)#description
Router2(config-subif)#
PVC to New York
ip address
Router2(config-subif)#
192.168.250.146 255.255.255.252
pvc
Router2(config-if-atm-vc)#
0/60
vbr-nrt
Router2(config-if-atm-vc)#
10000 5000 30
oam-pvc manage
Router2(config-if-atm-vc)#
5
exit
Router2(config)#end
Router2#
Discussion
These two configuration examples do exactly ...
Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.