16-7
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter16 Configuring Tag Switching and MPLS
Configuring Tag Switching
To change the default tag VPI range, perform the following steps, beginning in global configuration
mode:
Examples
The following example shows how to select a VPI range from 5 to 6 (a range of two), an acceptable r ange
if the TDP neighbor is a router:
Switch(config)# interface atm 3/0/1
Switch(config-if)# tag-switching ip
Switch(config-if)# tag-switching atm vpi 5 - 6
The following example shows how to select a VPI range from 5to 7 (a range of three), an acceptable
range if the TDP neighbor is a switch:
Switch(config)# interface atm 3/0/1
Switch(config-if)# tag-switching ip
Switch(config-if)# tag-switching atm vpi 5 - 7
Note Although the example shows a VPI range of three, you are not limited to a range of three if the TDP
neighbor is a switch. The maximum VPI range is 0to 255 if the TDP neighbor is a switch.
Displaying the Tag Switching VPI Range
To display the tag switching VPI range, use the following EXEC command:
Example
The following example shows the tag switching VPI range on ATM interface 1/0/1:
Switch# show tag-switching interfaces detail
Interface ATM0/0/3:
IP tagging enabled
TSP Tunnel tagging not enabled
Tagging operational
MTU = 4470
ATM tagging: Tag VPI = 1, Control VC = 0/32
Interface ATM1/0/1:
Command Purpose
Step1 Switch(config)# interface atm card/subcard/port
Switch(config-if)#
Enters interface configuration mode on the
specified ATM interface.
Step2 Switch(config-if)# tag-switching atm vpi vpi
[vpi]
Enters the VPI range.
Note If the TDP neighbor is a router, the VPI
range can be no larger than two. For
example, from 5 to 6 (a range of two), not
5 to 7 (a range of three). If the TDP
neighbor is a switch, the maximum VPI
range is 0to255.
Command Purpose
show tag-switching interfaces detail Displays the tag switching VPI range on an
interface.