The CLI show commands for Cisco devices are listed and described in CLI commands for discovery on Cisco devices.

Table 1. CLI commands for discovery on Cisco devices

Command

Description

Comment

CLI commands for general session operation

terminal length 0

Prevents the device from pausing between screens of output.

During the session, the Cisco device uses the terminal length value to determine when to pause during multiple-screen output.

A value of 0 prevents the device from pausing between screens of output.

CLI commands for MPLS discovery

show ip rsvp fast-reroute detail

Identifies link/node protected tunnels that are protected by the SNMP-discovered link/node protected tunnels.

Cisco IOS command:Invoked during TE tunnel discovery to discover nested link/protected TE tunnels.

SNMP discovery cannot be used to obtain this information.

show mpls traffic-eng fast-reroute     database

Identifies which of the backup TE LSPs is active after a fast-reroute (FRR) occurs.

Cisco IOX (3.5) command:Invoked during TE tunnel discovery to identify which TE LSP is active after an FRR.

SNMP discovery cannot be used to obtain this information

show tag-switching interfaces

Shows information about the interfaces that have been configured for label switching.

Cisco IOS command.

show tag-switching forwarding-table

Shows the tag-switching forwarding table, which is the label switching equivalent of the IP routing table for standard IP routing. It contains incoming and outgoing labels and descriptions of the packets.

Cisco IOS command.

show mpls traffic-eng tunnels role     head

Shows information about the traffic engineering (TE) tunnels that originate at the device where this command is executed.

Used to discover and associate backup/secondary TE LSPs with primary LSPs.

show explicit-paths

Shows configured IP explicit paths.

show mpls forwarding brief

Shows configuration and statistics for LSPs.

Entries may have only an “In” line, only an “Out” line, or both “In” and “Out” lines. Entries with only an "In" line refer to egress LSPs; entries with only an "Out" line refer to ingress LSPs; and entries with both “In” and “Out” lines refer to transit LSPs.

show ip rsvp host senders

Shows RSVP session information.

Cisco IOS command.

CLI commands for L2VPN discovery

show mpls l2transport vc

Shows information about Any Transport over MPLS (AToM) virtual circuits (VCs) that have been enabled to route Layer 2 packets on a device.

Cisco IOS command.

show l2vpn xconnect

Shows ForwarderEndpoints for point-to-point topology.

Cisco IOX command:Used to discovery VPWS instances.

Note:

A VPWS is also SNMP-discovered; CLI-discovered values do not overwrite SNMP-discovered values.

show l2vpn bridge-domain

Shows ForwarderEndpoints for VPLS topology.

Cisco IOX command:

Used to discover VPLS instances.

Note:

A VPLS is also SNMP-discovered; CLI-discovered values do not overwrite SNMP-discovered values.

show vlan interface

Shows VLAN information.

Cisco IOX command:Used to discover and map VLANs to discovered VPWS and VPLS instances.

CLI commands for L3VPN discovery

show ip vrf detail

Shows the VRF tables and their associated route distinguishers (RDs) and interfaces.

Cisco IOS command.

show route-map

Shows the contents of the configured route maps.

Cisco IOS command.

show ip bgp vpnv4 all tags

Shows VPN address information in the BGP table.

Each output block starts with “Route Distinguisher” and is associated with a VRF; the name of the VRF appears in parenthesis at the beginning of the block.

Cisco IOS command.

CLI commands for BGP route reflector discovery (IOS)

show ip bgp update-group

Cisco IOS command

CLI commands for BGP route reflector discovery (IOX)

show bgp neighbors | include “BGP neighbor is | Route-Reflector Client”

Cisco IOX command