cc/td/doc/product/software/ios121/121sup/121csum2
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Switching Commands: show tag-switching tdp discovery Through tunnel tsp-hop

Switching Commands: show tag-switching tdp discovery Through tunnel tsp-hop

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.

show tag-switching tdp discovery

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 discovery

Syntax Description

This command has no arguments or keywords.

show tag-switching tdp neighbors

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.

show tag-switching tdp parameters

To display available LDP (TDP) parameters, use the show tag-switching tdp parameters command in privileged EXEC mode.

show tag-switching tdp parameters

Syntax Description

This command has no arguments or keywords.

show tag-switching tsp-tunnels

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}
[interface-number]] [brief]

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.

show xtagatm cross-connect

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] |
descriptor descriptor [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.

show xtagatm vc

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.

tag-control-protocol vsi

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]
[keepalive timeout] [retry timeout count]

no tag-control-protocol vsi [id controller-id] [base-vc vpi vci] [slaves slave-count]
[keepalive timeout] [retry timeout 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.

tag-switching advertise-tags

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]]

no 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.

tag-switching atm allocation-mode

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}

no 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.

tag-switching atm control-vc

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

no 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.

tag-switching atm maxhops

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]

no tag-switching atm maxhops

Syntax Description

number

(Optional) Maximum hop count.

tag-switching atm multi-vc

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-vc

no tag-switching atm multi-vc

Syntax Description

This command has no arguments or keywords.

tag-switching atm vc-merge

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-merge

no tag-switching atm vc-merge

Syntax Description

This command has no arguments or keywords.

tag-switching atm vpi

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]

no 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).

tag-switching atm vp-tunnel

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.

tag-switching cos-map

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).

tag-switching ip (global configuration)

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 ip

no tag-switching ip

Syntax Description

This command has no arguments or keywords.

tag-switching ip (interface configuration)

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 ip

no tag-switching ip

Syntax Description

This command has no arguments or keywords.

tag-switching ip default-route

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-route

Syntax Description

This command has no arguments or keywords.

tag-switching mtu

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

no tag-switching mtu

Syntax Description

bytes

MTU in bytes.

tag-switching prefix-map

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.

tag-switching tag-range downstream

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

no 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.

tag-switching tdp discovery

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.

tag-switching tdp holdtime

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.

tag-switching tsp-tunnels (global configuration)

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-tunnels

no tag-switching tsp-tunnels

Syntax Description

This command has no arguments or keywords.

tag-switching tsp-tunnels (interface configuration)

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-tunnels

no tag-switching tsp-tunnels

Syntax Description

This command has no arguments or keywords.

traffic-engineering filter

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

no traffic-engineering filter

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.

traffic-engineering route

To configure a route for a specified filter through a specified tunnel, use the traffic-engineering route command in router configuration mode. To disable this function, use the no form of this command.

traffic-engineering route filter-number interface [preference number] [loop-prevention
{on | off}]

no traffic-engineering route filter-number interface [preference number] [loop-prevention
{on | off}]

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.

tunnel mode tag-switching

To set the encapsulation mode of the tunnel to Label (Tag) Switching, use the tunnel mode tag-switching command in interface configuration mode. To set the tunneling encapsulation mode to the default, use the no form of this command.

tunnel mode tag-switching

no tunnel mode tag-switching

Syntax Description

This command has no arguments or keywords.

tunnel mpls traffic-eng affinity

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]

no 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.

tunnel mpls traffic-eng autoroute announce

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 announce

no tunnel mpls traffic-eng autoroute announce

Syntax Description

This command has no arguments or keywords.

tunnel mpls traffic-eng autoroute metric

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

no tunnel mpls traffic-eng autoroute metric

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.

tunnel mpls traffic-eng bandwidth

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

no 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.

tunnel mpls traffic-eng path-option

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

no 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.

tunnel mpls traffic-eng priority

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]

no tunnel 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.

tunnel mode mpls traffic-eng

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-eng

no tunnel mode mpls traffic-eng

Syntax Description

This command has no arguments or keywords.

tunnel tsp-hop

To define hops in the path for the Label Switching tunnel, use the tunnel tsp-hop command in interface configuration mode. Use the no form of this command to remove these hops.

tunnel tsp-hop hop-number ip-address [lasthop]

no tunnel tsp-hop hop-number ip-address [lasthop]

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).


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jul 26 13:18:01 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.