Using the nexthop option – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual
Page 874
844
Multi-Service IronWare Switching Configuration Guide
53-1003036-02
Displaying IP information
19
Brocade# show ip route summary
IP Routing Table - 35 entries:
6 connected, 28 static, 0 RIP, 1 OSPF, 0 BGP, 0 ISIS, 0 MPLS
Number of prefixes:
/0: 1 /16: 27 /22: 1 /24: 5 /32: 1
Syntax: show ip route summary
In this example, the IP route table contains 35 entries. Of these entries, 6 are directly connected
devices, 28 are static routes, and 1 route was calculated through OSPF. One of the routes has a
zero-bit mask (this is the default route), 27 have a 22-bit mask, 5 have a 24-bit mask, and 1 has a
32-bit mask.
Using the nexthop option
You can display next-hop information for all next hops in the routing table or for a specific entry. For
the first example, use the show ip route nexthop command to display all the next-hop entries, and
then use the option to display the next hop for a specific table entry.
Syntax: show ip route nexthop [nexthop_id]
The nexthop_id is under the column labeled ID in the output of the show ip route nexthop
command. For example, use nexthop ID 1536 from the first row of the preceding example to show
only that entry.
Brocade#show ip route nexthop
Total number of IP nexthop entries: 30; Forwarding Use: 24
NextHopIp Port RefCount ID Age
1 0.0.0.0 mgmt 1 0/1 1536 80682
2 0.0.0.0 eth 1/15 1/1 14 80632
3 0.0.0.0 eth 1/16 1/1 15 16626
4 0.0.0.0 eth 1/18 1/1 17 16626
5 0.0.0.0 eth 1/43 1/1 42 35923
6 0.0.0.0 eth 1/47 1/1 46 80641
7 0.0.0.0 eth 2/2 1/1 49 16630
8 0.0.0.0 eth 2/4 1/1 51 16630
9 10.1.1.2 eth 1/15 0/2 68347 16620
10.1.2.2 eth 1/18
10.0.0.18 eth 4/11
10.0.0.25 eth 4/9
10 10.1.1.2 eth 1/15 0/3 68352 16615
10.0.0.6 eth 4/4
10.0.0.10 eth 2/2
10.0.0.21 eth 4/1
11 0.0.0.0 eth 4/1 1/1 144 16624
12 0.0.0.0 eth 4/3 1/1 146 16641
13 0.0.0.0 eth 4/4 1/1 147 16624
14 0.0.0.0 eth 4/6 1/1 149 16624
15 0.0.0.0 eth 4/7 1/1 150 16641
Brocade#show ip route nexthop 1536
NextHopIp Port RefCount ID Age
1 0.0.0.0 mgmt 1 0/1 1536 80685