|
|
This chapter describes the function and displays the syntax for tag switching commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Switching Services Command Reference.
To configure the traffic engineering routing process, use the router traffic-engineering global configuration command. To turn off the traffic engineering routing process and delete any associated configuration, use the no form of this command.
router traffic-engineeringTo display information about the traffic engineering configuration and metric information associated with it, use the show ip traffic-engineering privileged EXEC command.
show ip traffic-engineering [metrics [detail]]
metrics | (Optional) Displays metric information associated with traffic engineering. |
detail | (Optional) Displays information in long form. |
To display information about configured traffic engineering filters and routes, use the show ip traffic-engineering configuration privileged EXEC command.
show ip traffic-engineering configuration [interface] [filter-number] [detail]
interface | (Optional) Specifies an interface for which to display traffic engineering information. |
filter-number | (Optional) A decimal value representing the number of the filter to display. |
detail | (Optional) Displays information in long form. |
To display information about the requested filters configured for traffic engineering, use the show ip traffic-engineering routes privileged EXEC command.
show ip traffic-engineering routes [filter-number] [detail]
filter-number | (Optional) A decimal value representing the number of the filter to display. |
detail | (Optional) Display of command output in long form. |
To display the requested entries from the ATM TDP tag binding database, use the show tag-switching atm-tdp bindings privileged EXEC command. The ATM TDP database contains TIB entries for tag VCs on TC-ATM interfaces.
show tag-switching atm-tdp bindings [network {mask | length}]
network | (Optional) Destination network number. |
mask | Network mask in the form A.B.C.D (destination prefix). |
length | Mask length (1 to 32). |
local-tag vpi vci | (Optional) Select tag VC value assigned by this router. |
remote-tag vpi vci | (Optional) Select tag values assigned by the other router. |
neighbor interface | (Optional) Select tag values assigned by neighbor on a specified interface. |
To display the ATM TDP tag capabilities, use the show tag-switching atm-tdp capability privileged EXEC command.
show tag-switching atm-tdp capabilityTo display summary information on ATM tag bindings, use the show tag-switching atm-tdp summary privileged EXEC command.
show tag-switching atm-tdp summaryTo display the contents of the Tag Forwarding Information Base (TFIB), use the show tag-switching forwarding-table privileged EXEC command.
show tag-switching forwarding-table [{network {mask | length} | tags tag [- tag] |
network | (Optional) Destination network number. |
mask | (Optional) IP address of destination mask whose entry is to be shown. |
length | (Optional) Number of bits in mask of destination. |
tags tag - tag | (Optional) Shows entries with specified local tags only. |
interface interface | (Optional) Shows entries with specified outgoing interface only. |
next-hop address | (Optional) Shows entries with specified neighbor as next hop only. |
tsp-tunnel [tunnel-id] | (Optional) Shows entries with specified TSP tunnel only, or all TSP tunnel entries. |
detail | (Optional) Displays information in long form (includes length of encapsulation, length of MAC string, maximum transmission unit (MTU), and all tags). |
To display information about one or more interfaces that have Tag Switching enabled, use the show tag-switching interfaces privileged EXEC command.
show tag-switching interfaces [interface][detail]
interface | (Optional) The interface about which to display Tag Switching information. |
detail | (Optional) Displays information in long form. |
To display the contents of the tag information base (TIB), use the show tag-switching tdp bindings privileged EXEC command:
show tag-switching tdp bindings [network {mask | length} [longer-prefixes]] tag [- tag] [neighbor address] [local]
network | (Optional) Destination network number. |
mask | Network mask written as A.B.C.D. |
length | Mask length (1 to 32 characters). |
longer-prefixes | (Optional) Selects any prefix that matches mask with length to 32. |
local-tag tag - tag | (Optional) Display entries matching local tag values by this router. Use the - tag argument to indicate tag range. |
remote-tag tag - tag | (Optional) Displays entries matching tag values assigned by a neighbor router. Use the - tag argument to indicate tag range. |
neighbor address | (Optional) Displays tag bindings assigned by selected neighbor. |
local | (Optional) Displays local tag bindings. |
To display the status of the TDP discovery process, use the show tag-switching tdp discovery privileged EXEC command. Status means a list of interfaces over which TDP discovery is running.
show tag-switching tdp discoveryTo display the status of Tag Distribution Protocol (TDP) sessions, enter the show tag-switching tdp neighbor privileged EXEC command:
show tag-switching tdp neighbors [address | interface] [detail]
address | (Optional) The neighbor with this IP address. |
interface | (Optional) TDP neighbors accessible over this interface. |
detail | (Optional) Displays information in long form. |
To display available TDP parameters, use the show tag-switching tdp parameters privileged EXEC command:
show tag-switching tdp parametersTo display information about the configuration and status of selected tunnels, use the show tag-switching tsp-tunnels privileged EXEC command.
show tag-switching tsp-tunnels [{head | middle | tail | all | remote | address}head | (Optional) Displays information for tunnels that originate at the node. |
middle | (Optional) Displays information for tunnels that pass through the node. |
tail | (Optional) Displays information for tunnels that terminate at the node. |
all | (Optional) Displays the combination of head, middle, and tail information for tunnels. |
remote | (Optional) Displays information for tunnels that originate elsewhere; it is thus is the combination of middle and tail. |
address | (Optional) Displays information for tunnels that use the specified address in their identifier. |
interface-number | (Optional) Displays information for tunnels that use the specified number in their identifier. |
brief | (Optional) Displays a brief summary of tunnel status and configuration. |
To control the distribution of locally assigned (incoming) tags via the Tag Distribution Protocol (TDP), use the tag-switching advertise-tags global configuration command. To disable tag advertisement, use the no form of this command.
tag-switching advertise-tags [for access-list-number [to access-list-number]
for access-list-number | (Optional) Specifies which destinations should have their tags advertised. |
to access-list-number | (Optional) Specifies which TSR neighbors should receive tag advertisements. A TSR is identified by the router ID that is the first 4 bytes of its 6-byte TDP identifier. |
To control the mode used for handling tag binding requests on TC-ATM interfaces, use the tag-switching atm allocation-mode global configuration command. Use the no form of this command to disable this feature.
tag-switching atm allocation-mode {optimistic | conservative}
optimistic | Tag binding is returned immediately and packets are discarded until the downstream setup is complete. |
conservative | Tag binding is delayed until the tag VC has been set up downstream. |
To configure the VPI and VCI to be used for the initial link to the Tag Switching peer device, use the tag-switching atm control-vc interface configuration command. The initial link is used to establish the TDP session and to carry non-IP traffic. To clear the interface configuration, use the no form of this command.
tag-switching atm control-vc vpi vci
vpi | Virtual path identifier. |
vci | Virtual channel identifier. |
To limit the maximum hop counts to a value you have specified, use the tag-switching atm maxhops global configuration command. Use the no form of this command to ignore the hop count.
tag-switching atm maxhops [number]
number | (Optional) Maximum hop count. |
To control whether vc-merge (multipoint-to-point) is supported for unicast tag VCs, use the tag-switching atm vc-merge global configuration command. Use the no form of this command to disable this feature.
tag-switching atm vc-mergeTo configure the range of values to use in the VPI field for tag VCs, use the tag-switching atm vpi interface configuration command. To clear the interface configuration, use the no form of this command.
tag-switching atm vpi vpi [- vpi]
vpi | Virtual path identifier (low end of range). |
- vpi | (Optional) Virtual path identifier (high end of range). |
To allow Tag Switching of IPv4 packets, use the tag-switching ip global configuration command. To disable IP Tag Switching across all interfaces, use the no form of this command.
tag-switching ipTo enable Tag Switching of IPv4 packets on an interface, use the tag-switching ip interface configuration command. To disable IP Tag Switching on this interface, use the no form of this command.
tag-switching ipTo override the per-interface maximum transmission unit (MTU), use the tag-switching mtu interface configuration command. To restore the default, use the no form of this command.
tag-switching mtu bytes
bytes | MTU in bytes. |
To configure the size of the tag space for downstream unicast tag allocation, use the tag-switching tag-range downstream global configuration command. Use the no form of this command to revert to the platform defaults.
tag-switching tag-range downstream min max reserved
min | The smallest tag allowed in the tag space. The default is 10. |
max | The largest tag allowed in the tag space. The default is 10000. |
reserved | The number of tags reserved for diagnostic purposes. These tags come out of the low end of the tag space. The default is 16. |
To configure the interval between transmission of TDP discovery hello messages, or the hold time for a TDP transport connection, use the tag-switching tdp discovery global configuration command.
tag-switching tdp discovery {hello | directed hello} {holdtime | interval} seconds
hello | Configures the intervals and hold times for directly connected neighbors. |
directed-hello | Configures the intervals and hold times for neighbors that are not directly connected (for example, TDP sessions that run through a TSP tunnel). |
holdtime | The interval for which a connection stays up if no hello messages are received. The default is 15 seconds. |
interval | The period between the sending of consecutive hello messages. The default is 5 seconds. |
seconds | The hold time or interval. |
To enable TSP tunnel functionality on a device, use the tag-switching tdp holdtime global configuration command.
tag-switching tdp holdtime seconds
seconds | The time for which a TDP session is maintained in the absence of TDP messages from the session peer device. |
To allow the operation of Tag-Switched Path (TSP) tunnels, use the tag-switching tsp-tunnels global configuration command. To disable the operation of TSP tunnels, use the no form of this command.
tag-switching tsp-tunnelsTo allow TSP tunnel operation over an interface, use the tag-switching tsp-tunnels interface configuration command. To disable TSP tunnel operation over an interface, use the no form of this command.
tag-switching tsp-tunnelsTo specify a filter with the given number and properties, use the traffic-engineering filter command. To disable this function, use the no form of this command.
traffic-engineering filter filter-number egress ip-address mask
filter-number | A decimal value representing the number of the filter. |
egress ip-address mask | IP address and mask for the egress port. |
To configure a route for a specified filter, through a specified tunnel, use the traffic-engineering route command. To disable this function, use the no form of this command.
traffic-engineering route filter-number interface [preference number] [loop-prevention {on | off}]
filter-number | The number of the traffic engineering filter to be forwarded through the use of this traffic engineering route, if the route is installed. |
interface | TSP-encapsulated tunnel on which traffic-passing filter should be sent, if this traffic engineering route is installed. |
preference number | (Optional) This is a number between 1 and 255, with a lower value being more desirable. The default is 1. |
loop-prevention | (Optional) This can be on or off. The default is on.
|
To set the encapsulation mode of the tunnel to Tag Switching, use the tunnel mode tag-switching interface configuration command. Use the no form of this command to set the tunneling encapsulation mode to the default, Generic Routing Encapsulation (GRE).
tunnel mode tag-switchingTo define hops in the path for the Tag Switching tunnel, use the tunnel tsp-hop interface configuration command. Use the no form of this command to remove these hops.
tunnel tsp-hop hop-number ip-address [lasthop]
hop-number | The sequence number of the hop being defined in the path. The first number is 1, which identifies the hop just after the head hop. |
ip-address | The IP address of the input interface on that hop. |
lasthop | (Optional) Indicates that the hop being defined is the final hop in the path (the tunnel destination). |
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Feb 8 14:19:36 PST 1999
Copyright 1989-1999©Cisco Systems Inc.