FACT show routes

From DocWiki

Revision as of 18:19, 12 June 2008 by Lorlando (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


To show the unicast routes from each port in the source set to each port in the destination set, use the show routes command.


show routes [chassis | chip] {from [src-hosts | src-switches | src-ports]} {to [dst-hosts | dst-switches | dst-ports]} [guids]



Syntax Description

chassis (Optional) Show a chassis-level view of each route.
chip (Optional) Show a chip-level view of each route.
from Indicates from which port the route originates.
src-hosts (Optional) Identifies the hosts from the source set.
src-switches (Optional) Identifies the switches from the source set.
src-ports (Optional) Identifies the ports from the source set.
to Identfies the destination set.
dst-hosts (Optional) Identfies the hosts in the destination set.
dst-switches (Optional) Identfies the switches in the destination set.
dst-ports (Optional) Identfies the ports in the destination set.
guids (Optional) Shows device GUIDs.


Command Default

If the chassis or chip are not specified, the default view is the chassis-level view.
If the source or the destination is not specified, then the default is to view the routes from all sources to all destinations.


Examples

The following example shows the chassis view of all the routes from switchA to host01. Each route has two hops. SwitchA has three switch chips, and port 0 on each switch chip is a source.
  fact> show routes from switchA to host01
  
  
  Route switchA/1:1/0 to host01/1/1, LID 792:
  hop chassis                 ingress-port egress-port
  --- ----------------------- ------------ -----------
  1   switchA                 1:1/0        1/3
  2   switchB                 1/3          1/7
  
  Route switchA/1:2/0 to host01/1/1, LID 792:
  hop chassis                 ingress-port egress-port
  --- ----------------------- ------------ -----------
  1   switchA                 1:2/0        1/3
  2   switchB                 1/3          1/7
  
  Route switchA/1:3/0 to host01/1/1, LID 792:
  hop chassis                 ingress-port egress-port
  --- ----------------------- ------------ -----------
  1   switchA                 1:3/0        1/3
  2   switchB                 1/3          1/7


The following example shows the chip view of all the routes from switchA to host01. SwitchA has three switch chips, and port 0 on each switch chip is a source. Packets from switchA/1:1/0 and switchA/1:3/0 route through chip switchA/1:2.
 fact> show routes chip from switchA to host01
  
  
  Route switchA/1:1/0 to host01/1/1, LID 792:
  hop chip                         ingress-port egress-port
  --- ---------------------------- ------------ -----------
  1   switchA/1:1                  0            4
  2   switchA/1:2                  1            8
  3   switchB/1:1                  3            7
  
  Route switchA/1:2/0 to host01/1/1, LID 792:
  hop chip                         ingress-port egress-port
  --- ---------------------------- ------------ -----------
  1   switchA/1:2                  0            8
  2   switchB/1:1                  3            7
  
  Route switchA/1:3/0 to host01/1/1, LID 792:
  hop chip                         ingress-port egress-port
  --- ---------------------------- ------------ -----------
  1   switchA/1:3                  0            1
  2   switchA/1:2                  3            8
  3   switchB/1:1                  3            7


Related Commands

show destinations
show egress ports
show multicast destinations
show multicast egress ports
show multicast routes

Rating: 0.0/5 (0 votes cast)

Personal tools