- show forwarding
- show forwarding distribution
- show forwarding distribution multicast
- show forwarding distribution multicast client
- show forwarding distribution multicast outgoing-interface-list
- show forwarding distribution multicast route
- show forwarding inconsistency
- show forwarding multicast outgoing-interface-list
- show forwarding multicast route
- show ip adjacency
- show ip adjacency summary
- show ip fib
- show ip fib distribution
- show ip load-sharing
- sh ow ip process
- show ip route
- show ip static-route
- show routing
- show routing memory estimate
- show routing hash
- show sockets client
- show sockets connection
- show sockets statistics
Show Commands
This chapter describes the Cisco NX-OS unicast Routing Information Base (RIB) and the Forwarding Information Base (FIB) show commands.
show forwarding
To display forwarding information, use the show forwarding command.
show forwarding [ ip | ipv4 ] { adjacency | interfaces | route | trace [ clear ] | table id | pss | route } [ ethernet | port-channel | vlan slot ] [ vrf vrf-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show forwarding command on the supervisor to view forwarding information on a module. Optionally, you can use the attach module command to attach to a module and use the show forwarding command on the module.
Examples
This example shows how to display forwarding information for module 2:
Related Commands
|
|
---|---|
show forwarding distribution
To display forwarding distribution information, use the show forwarding distribution command.
show forwarding distribution [ clients | fib-state ]
Syntax Description
(Optional) Displays the forwarding distribution information for unicast clients. |
|
(Optional) Displays the forwarding distribution state for unicast Forwarding Information Base (FIB). |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the forwarding information for unicast clients:
Related Commands
|
|
---|---|
show forwarding distribution multicast
To display information about multicast Forwarding Information Base (FIB) distribution messages, use the show forwarding distribution multicast command.
show forwarding distribution multicast [ messages ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display information about multicast distribution messages:
switch(
config)#
show forwarding distribution multicast
show forwarding distribution multicast client
To display information about the multicast Forwarding Information Base (FIB) distribution client, use the show forwarding distribution multicast client command.
show forwarding distribution multicast client
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display information about the multicast FIB distribution client:
switch#
show forwarding distribution multicast client
show forwarding distribution multicast outgoing-interface-list
To display information about the multicast Forwarding Information Base (FIB) outgoing interface (OIF) list, use the show forwarding distribution multicast outgoing-interface-list command.
show forwarding distribution multicast outgoing-interface-list { L2 | L3 } [ index ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display information about the multicast OIF list for Layer 3:
switch#
show forwarding distribution multicast outgoing-interface-list L3
show forwarding distribution multicast route
To display information about the multicast Forwarding Information Base (FIB) distribution routes, use the show forwarding distribution multicast route command.
show forwarding distribution [ ip | ipv4 ] multicast route [ table id | vrf vrf_name ] [[ group { group-addr [ mask ] | group-prefix }] [ source { source-addr [ source-mask ] | source-prefix }] | summary ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display information about all the multicast FIB distribution routes:
switch(
config)#
show forwarding distribution multicast route
show forwarding inconsistency
To display the results of the forwarding inconsistency checker, use the show forwarding inconsistency command.
show forwarding inconsistency [ ip | ipv4 ] [ unicast ] module slot [ vrf vrf-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show forwarding inconsistency command to display the results of the test forwarding inconsistency command.
Examples
This example shows how to display the forwarding inconsistency information for module 2:
Related Commands
|
|
---|---|
show forwarding multicast outgoing-interface-list
To display information about the multicast Forwarding Information Base (FIB) outgoing interface (OIF) list, use the show forwarding multicast outgoing-interface-list command.
show forwarding multicast outgoing-interface-list [ index ]
Syntax Description
(Optional) OIF list index. The OIF list index is from 1 to 65535. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display information about the multicast FIB OIF list:
switch#
show forwarding multicast outgoing-interface-list
Outgoing Interface List Index: 1
Reference Count: 1
Ethernet1/5
switch#
Related Commands
|
|
---|---|
show forwarding multicast route
To display information about the IPv4 Forwarding Information Base (FIB) multicast routes, use the show forwarding multicast route command.
show forwarding [ vrf { vrf-name | all }] [ ip | ipv4 ] multicast route {[ group { group-addr [ group-mask ] | group-prefix } | source { source-addr [ source-mask ] | source-prefix } | module num | vrf { vrf-name | all }] | summary [ vrf { vrf-name | all }]}
Syntax Description
(Optional) Displays information for a specified virtual routing and forwarding (VRF) instance. |
|
VRF name. The name can be a maximum of 32 alphanumeric characters and is case sensitive. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display information about the IPv4 multicast FIB routes:
switch#
show forwarding multicast route
This example shows how to display the summary information about the IPv4 multicast FIB routes:
switch#
show forwarding multicast route
summary
Related Commands
|
|
---|---|
show ip adjacency
To display adjacency information, use the show ip adjacency command.
show ip adjacency [ ip-addr | interface ] [ detail ] [ non-best ] [ statistics ] [ summary ]
[ vrf vrf-name | all | default | management ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
The counter values in the output of show ip adjacency { statistics | detail } command are cleared after a supervisor module switchover.
Examples
This example shows how to display a summary of the adjacency information:
Related Commands
|
|
---|---|
show ip adjacency summary
To display the IP adjacency summary, use the show ip adjacency summary command.
Syntax Description
Defaults
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Examples
This example shows how to display the IP adjacency summary:
Related Commands
|
|
---|---|
show ip fib
To display forwarding information, use the show ip fib command.
show ip fib { adjacency | interfaces | route } module slot
Syntax Description
Displays the forwarding information for interfaces on a module. |
|
Displays information for the module. The slot range depends on the hardware platform. |
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show ip fib command on the supervisor to view forwarding information on a module. Optionally, you can use the attach module command to attach to a module and use the show ip fib command on the module.
Examples
This example shows how to display the forwarding information for module 1:
Related Commands
|
|
---|---|
show ip fib distribution
To display forwarding distribution information, use the show ip fib distribution command.
show ip fib distribution [ clients | state ]
Syntax Description
(Optional) Displays the forwarding distribution information for unicast clients. |
|
(Optional) Displays the forwarding distribution state for unicast FIB. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the forwarding information for unicast clients:
Related Commands
|
|
---|---|
show ip load-sharing
To display IP load sharing information, use the show ip load-sharing command.
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the IP load sharing information:
Related Commands
|
|
---|---|
show ip process
To display formation about the IP process, use the show ip process command.
show ip process [ vrf vrf-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows details about the IP process:
show ip route
To display routes from the unicast Routing Information Base (RIB), use the show ip route command.
show ip route [ all | addr | hostname | prefix | route-type | interface type number | next-hop addr ]] [ vrf vrf-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the route table:
Related Commands
|
|
---|---|
show ip static-route
To display static routes from the unicast Routing Information Base (RIB), use the show ip static-route command.
show ip static-route [ vrf { vrf-name | all }]
Syntax Description
(Optional) Specifies the virtual router context (VRF) name. The name can be any case-sensitive, alphanumeric string up to 32 characters. |
|
(Optional) Specifies all virtual router contexts (VRF) name. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the static routes:
Related Commands
|
|
---|---|
show routing
To display routing information, use the show routing command.
show routing [ ip | ipv4 ] [ address | hostname | prefix | route-type | clients | hidden-nh interface type number | next-hop addr | recursive-next-hop [ addr ]] [ vrf vrf-name ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the route table:
Related Commands
|
|
---|---|
show routing memory estimate
To display an estimate of routing memory requirements, use the show routing memory estimate command.
show routing memory estimate [ routes num-routes next-hops num-hop-addresses ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Usage Guidelines
Use the show routing memory estimate command to estimate the memory required for a selected number of routes and number of next-hop addresses per route.
Examples
This example shows how to display the route table:
show routing hash
To display the route selected for a particular source and destination address, use the show routing hash command.
show routing hash source-addr dest-addr [ source-port dest-port ]] [ vrf vrf-name ]
Syntax Description
(Optional) Specifies the virtual router context (VRF) name. The name can be any case-sensitive, alphanumeric string up to 32 characters. |
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the route selected to reach 30.0.0.2 from 10.0.0.5:
Related Commands
|
|
---|---|
show sockets client
To display information about the sockets clients, use the show sockets client command.
show sockets client [ pid id ] [ raw | tcp | udp ] [ detail ]
Syntax Description
(Optional) Displays the socket client information for a specific process. The id range is from 1 to 65535. |
|
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the UDP socket client information:
Related Commands
|
|
---|---|
show sockets connection
To display information about the sockets connection, use the show sockets connection command.
show sockets connection [ pid id ] [ local address | foreign address | raw | tcp | udp ] [ detail ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the TCP socket connection information:
Related Commands
|
|
---|---|
show sockets statistics
To display the socket statistics, use the show sockets statistics command.
show sockets statistics [ all | raw | rawsum | tcp | tcpsum | udp | udpsum ]
Syntax Description
Command Default
Command Modes
Command History
|
|
---|---|
Examples
This example shows how to display the TCP socket statistics:
Related Commands
|
|
---|---|