|
|
This chapter explains the function and syntax of the switching commands from show tag-switching tdp discovery through tunnel tsp-hop. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Switching Command Reference, Release 12.1.
To display the status of the LDP discovery process, use the show tag-switching tdp discovery command in privileged EXEC mode. Status of the LDP discovery process means a list of interfaces over which LDP discovery is running.
show tag-switching tdp discoverySyntax Description
This command has no arguments or keywords.
To display the status of Label Distribution Protocol (LDP) sessions, use the show tag-switching tdp neighbors command in privileged EXEC mode.
show tag-switching tdp neighbors [address | interface] [detail]
Syntax Description
address (Optional) The neighbor that has this IP address. interface (Optional) LDP neighbors accessible over this interface. detail (Optional) Displays information in long form.
To display available LDP (TDP) parameters, use the show tag-switching tdp parameters command in privileged EXEC mode.
show tag-switching tdp parametersSyntax Description
This command has no arguments or keywords.
To display information about the configuration and status of selected tunnels, use the show tag-switching tsp-tunnels command in privileged EXEC mode.
show tag-switching tsp-tunnels [{head | middle | tail | all | remote | address}
Syntax Description
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 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 display information about the LSC's view of the cross-connect table on the remotely controlled ATM switch, use the show xtagatm cross-connect command in EXEC mode.
show xtagatm cross-connect [traffic] [interface interface [vpi vci] |
Syntax Description
traffic (Optional) Displays receive and transmit cell counts for each connection. interface interface (Optional) Displays only connections with an endpoint of the specified interface. vpi vci (Optional) Displays only detailed information on the endpoint with the specified VPI/VCI on the specified interface. descriptor descriptor (Optional) Displays only connections with an endpoint on the interface with the specified physical descriptor.
To display information about terminating VCs on extended label ATM (XTagATM) interfaces, use the show xtagatm vc command in EXEC mode.
show xtagatm vc [vcd [interface]]
Syntax Description
vcd (Optional) Virtual circuit descriptor (virtual circuit number). If you specify the vcd argument, then detailed information about all VCs having that vcd is displayed. If you do not specify the vcd argument, then a summary description of all VCs on all XTagATM interfaces is displayed. interface (Optional) Interface number. If you specify the interface and the vcd arguments, then the single VC having the specified vcd on the specified interface is selected.
To configure the use of VSI on a particular master control port, use the tag-control-protocol vsi command in interface configuration mode. To disable VSI, use the no form of this command.
tag-control-protocol vsi [id controller-id] [base-vc vpi vci] [slaves slave-count]
Syntax Description
id controller-id (Optional) Determines the value of the controller-id field present in the header of each VSI message. The default is 1. base-vc vpi vci (Optional) Determines the VPI/VCI value for the channel to the first slave. Together with the slaves value, this determines the VPI/VCI values for the channels to all the slaves, which are vpi/vci vpi/vci+1, and so on. vpi/vci+slave_count-1. The default is 0/40. slaves slave-count (Optional) Determines the number of slaves reachable through this master control port. The default is 14 (suitable for the BPX). In the first release, at most twelve sessions will be established with the BPX. The default of 14 will attempt sessions with cards 7 and 8, but such sessions are not used in this release and is always marked as UNKNOWN. keepalive timeout (Optional) Determines the value of the keepalive timer (in seconds). Note that the keepalive timer value should be greater than the value of the retry_timer times the retry_count+1. The default is 15 seconds. retry timeout count (Optional) Determines the value of the message retry timer (in seconds) and the maximum number of retries. The defaults are 8 seconds and 10 retries.
To control the distribution of locally assigned (incoming) labels via the Label Distribution Protocol (LDP), use the tag-switching advertise-tags command in global configuration mode. To disable label advertisement, use the no form of this command.
tag-switching advertise-tags [for access-list-number [to access-list-number]]
Syntax Description
for access-list-number (Optional) Specifies which destinations should have their labels advertised. to access-list-number (Optional) Specifies which LSR neighbors should receive label advertisements. A LSR is identified by the router ID that is the first 4 bytes of its 6-byte LDP identifier.
To control the mode used for handling label binding requests on TC-ATM interfaces, use the tag-switching atm allocation-mode command in global configuration mode. To disable this feature, use the no form of this command.
tag-switching atm allocation-mode {optimistic | conservative}
Syntax Description
optimistic Label binding is returned immediately, and packets are discarded until the downstream setup is complete. conservative Label binding is delayed until the label VC has been set up downstream.
To configure the VPI and VCI values to be used for the initial link to the Label Switching peer, use the tag-switching atm control-vc command in interface configuration mode. This link is used to establish the LDP session and to carry non-IP traffic.
tag-switching atm control-vc vpi vci
Syntax Description
vpi Virtual path identifier, in the range from 0 to 255. vci Virtual circuit identifier, in the range from 1 to 65535.
To limit the maximum hop count to a value you have specified, use the tag-switching atm maxhops command in global configuration mode. To ignore the hop count, use the no form of this command.
tag-switching atm maxhops [number]
Syntax Description
number (Optional) Maximum hop count.
To configure a router subinterface to create one or more tag-VCs over which packets of different classes are sent, use the tag-switching atm multi-vc command in ATM subinterface submode. To disable this option, use the no form of this command.
tag-switching atm multi-vcSyntax Description
This command has no arguments or keywords.
To control whether vc-merge (multipoint-to-point) is supported for unicast label VCs, use the tag-switching atm vc-merge command in global configuration mode. To disable this feature, use the no form of this command.
tag-switching atm vc-mergeSyntax Description
This command has no arguments or keywords.
To configure the range of values to use in the VPI field for label VCs, use the tag-switching atm vpi command in interface configuration mode. To clear the interface configuration, use the no form of this command.
tag-switching atm vpi vpi [- vpi]
Syntax Description
vpi Virtual path identifier, low end of range (1 to 255). - vpi (Optional) Virtual path identifier, high end of range (1 to 255).
To specify an interface or a subinterface as a VP tunnel, use the tag-switching atm vp-tunnel command in interface configuration mode.
tag-switching atm vp-tunnel vpi
Syntax Description
vpi Provides the VPI value for the local end of the tunnel.
To create a class map that specifies how classes map to label-VCs when combined with a prefix map, use the tag-switching cos-map command in global configuration mode.
tag-switching cos-map number
Syntax Description
number Unique number for a CoS map (1 to 255).
To allow Label Switching of IPv4 packets, use the tag-switching ip command in global configuration mode. To disable IP Label Switching across all interfaces, use the no form of this command.
tag-switching ipSyntax Description
This command has no arguments or keywords.
To enable Label Switching of IPv4 packets on an interface, use the tag-switching ip command in interface configuration mode. To disable IP Label Switching on this interface, use the no form of this command.
tag-switching ipSyntax Description
This command has no arguments or keywords.
To enable the distribution of labels associated with the IP default route, use the tag-switching ip default-route command in global configuration mode.
tag-switching ip default-routeSyntax Description
This command has no arguments or keywords.
To override the per-interface maximum transmission unit (MTU), use the tag-switching mtu command in interface configuration mode. To restore the default, use the no form of this command.
tag-switching mtu bytes
Syntax Description
bytes MTU in bytes.
To configure a router to use a specified CoS map when a label destination prefix matches the specified access-list, use the tag-switching prefix-map command in ATM subinterface submode.
tag-switching prefix-map prefix-map access-list access-list cos-map cos-map
Syntax Description
prefix-map A unique number for a prefix map. access-list access list A unique number for a simple IP access list. cos-map cos-map A unique number for a CoS map.
To configure the size of the label (tag) space for downstream unicast label allocation, use the tag-switching tag-range downstream command in global configuration mode. To revert the platform defaults, use the no form of this command.
tag-switching tag-range downstream min max reserved
Syntax Description
min The smallest label allowed in the label space. The default is 10. max The largest label allowed in the label space. The default is 10000. reserved The number of labels reserved for diagnostic purposes. These labels come out of the low end of the label space. Default is 16.
To configure the interval between transmission of LDP (TDP) discovery hello messages, or the hold time for a LDP transport connection, use the tag-switching tdp discovery command in global configuration mode.
tag-switching tdp discovery {hello | directed hello} {holdtime | interval} seconds
Syntax Description
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, LDP sessions that run through a LSP 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 LSP tunnel functionality on a device, use the tag-switching tdp holdtime command in global configuration mode.
tag-switching tdp holdtime seconds
Syntax Description
seconds The time for which a LDP session is maintained in the absence of LDP messages from the session peer device.
To allow the operation of Label-Switched Path (LSP) tunnels, use the tag-switching tsp-tunnels command in global configuration mode. To disable the operation of LSP tunnels, use the no form of this command.
tag-switching tsp-tunnelsSyntax Description
This command has no arguments or keywords.
To allow Label-Switched Path (LSP) tunnel operation over an interface, use the tag-switching tsp-tunnels command in interface configuration mode. To disable LSP tunnel operation over an interface, use the no form of this command.
tag-switching tsp-tunnelsSyntax Description
This command has no arguments or keywords.
To specify a filter with the given number and properties, use the traffic-engineering filter command in router configuration mode. To disable this function, use the no form of this command.
traffic-engineering filter filter-number egress ip-address mask
Syntax Description
filter-number A decimal value representing the number of the filter. egress ip-address mask IP address and mask for the egress port.
Syntax Description
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 LSP-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.
Syntax Description
This command has no arguments or keywords.
To configure tunnel affinity (the properties the tunnel requires in its links), use the tunnel mpls traffic-eng affinity command in interface configuration mode. To disable this feature, use the no form of this command.
tunnel mpls traffic-eng affinity properties [mask mask]
Syntax Description
properties Attribute values required for links carrying this tunnel (values of bits are either 0 or 1). mask mask Which attribute values should be checked. If a bit in the mask is 0, a link's attribute value or that bit is irrelevant. If a bit in the masks is 1, the link's attribute value and the tunnel's required affinity for that bit must match.
To instruct the IGP to use the tunnel in its SPF/next hop calculation (if the tunnel is up), use the tunnel mpls traffic-eng autoroute announce command in interface configuration mode. To disable this feature, use the no form of this command.
tunnel mpls traffic-eng autoroute announceSyntax Description
This command has no arguments or keywords.
To specify the MPLS traffic-engineering tunnel metric used by IGP autoroute, use the tunnel mpls traffic-eng autoroute metric command in interface configuration mode. To disable this feature, use the no form of this command.
tunnel mpls traffic-eng autoroute metric {absolute|relative} value
Syntax Description
metric The MPLS traffic engineering tunnel metric. absolute The MPLS traffic-engineering tunnel metric mode absolute: a positive metric value can be supplied. relative The MPLS traffic-engineering tunnel metric mode relative: a positive, negative, or zero value can be supplied.
To configure bandwidth required for an MPLS traffic engineering tunnel, use the tunnel mpls traffic-eng bandwidth command in configuration mode. To disable this feature, use the no form of this command.
tunnel mpls traffic-eng bandwidth bandwidth
Syntax Description
bandwidth The bandwidth required for an MPLS traffic engineering tunnel. Bandwidth is specified in kilobits per seconds.
To configure a path option, use the tunnel mpls traffic-eng path-option command in interface configuration mode. To disable this feature, use the no form of this command.
tunnel mpls traffic-eng path-option identifier path-number name path-name
Syntax Description
identifier path-number Uses the IP explicit path with the indicated path number. name path-name Uses the IP explicit path with the indicated path name.
To configure setup and reservation priority for a tunnel, use the tunnel mpls traffic-eng priority command in interface configuration mode. To disable this feature, use the no form of this command.
tunnel mpls traffic-eng priority setup-priority [hold-priority]
Syntax Description
setup-priority The priority used when signalling an LSP for this tunnel to figure out what existing tunnels are eligible to be preempted. The range is from 0 to 7, where a lower numeric value indicates a higher priority. Therefore, an LSP with a setup priority of 0 can preempt any LSP with a non-0 priority. hold-priority (Optional) The priority associated with an LSP for this tunnel once established to figure out if it should be preempted by other LSPs that are being signaled. The range is from 0 to 7, where a lower numeric value indicates a higher priority.
To set the mode of a tunnel to MPLS for traffic engineering, use the tunnel mode mpls traffic-eng command in interface configuration mode. To disable this feature, use the no form of this command.
tunnel mode mpls traffic-engSyntax Description
This command has no arguments or keywords.
Syntax Description
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: Wed Jul 26 13:18:01 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.