Command:  

which-route


Mode:

Router#

Syntax:

     which-route{ nsap-address | clns-name}

Syntax Description:

nsap-address

CLNS destination network address.

clns-name

Destination host name.

 

Command Description:

To determine which next-hop router will be used or to troubleshoot your configuration if you have multiple processes running, use the which-routecommand in EXEC mode. This command displays the routing table in which the specified CLNS destination is found.

To display the IS-IS Level 1 forwarding table for IS-IS learned routes, use the show isis routesEXEC command.


Examples:

The following example shows that destination information for router gray is found in the IS-IS Level 1 routing table. The destination is on the local system.

Router# which-route gray

Route look-up for destination 39.0001.0000.0c00.bda8.00, GRAY

Found route in IS-IS level-1 routing table - destination is local

The following example shows that destination information for NSAP address 49.0001.0000.0c00.bda8.00 is found in the ISO IGRP Level 1 routing table. The destination is on the local system.

Router# which-route 49.0001.0000.0c00.bda8.00

Route look-up for destination 49.0001.0000.0c00.bda8.00

Found route in ISO IGRP routing table - destination is local

The following example shows that destination information for router green is found in the IS-IS Level 1 routing table. The destination is not on the local system.

Router# which-route green

Route look-up for destination 39.0001.0000.0c00.7f06.00, GREEN

Found route in IS-IS level-1 routing table

Adjacency entry used:

System Id SNPA Interface State Holdtime Type Protocol

GREEN 0000.0c00.2d55 Ethernet0 Up 91 L1L2  IS-IS

  Area Address(es): 39.0001


Misconceptions:

None


Related commands:

 

None


© Cisco Systems, Inc. 2001, 2002
World Wide Education







Converted from CHM to HTML with chm2web Pro 2.85 (unicode)