D-Link CLI Reference Guide
Page 168
Examples
The following example displays the whole routing table state.
The following example displays the routing table for IP address 192.168.1.0 with the address mask
255.255.255.0.
The following example displays the routing table for IP address 192.168.1.0 with the address mask 255.255.255.0
and matching the prefix created from the IP address and address mask.
The following table describes the significant fields shown in the display:
Console>
show ip route
Maximum Parallel Paths: 2 (4 after reset)
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external, * - candidate default
R 10.0.0.0/8 is rejected
C 10.0.1.1/32 is directly connected, Loopback0
C 10.0.1.0/24 is directly connected, Ethernet g1
C 10.0.2.0/24 is directly connected, Ethernet g2
R 10.8.2.0/24 [230/50] via 10.0.2.2, 00:17:19, Ethernet g2
S 10.9.1.0/24 [5/2] via 10.0.1.2, 17:19:18, Ethernet g1
S 10.9.1.0/24 [5/3] via 10.0.2.2, Backup Not Active
O 10.8.1.0/24 [30/2000] via 10.0.1.2, 00:39:08, Ethernet g1
S 172.1.0.0/16 [5/3] via 10.0.1.1, 18:21:58, Ethernet g1
S 172.1.1.0/24 [5/3] via 10.0.2.1, 17:12:19, Ethernet g1
S 172.1.1.1/32 [5/3] via 10.0.3.1, 19:51:18, Ethernet g1
Console>
show ip route address
192.168.1.0 255.255.255.0
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external, * - candidate default
Gateway of last resort is not set
S 192.168.1.0/24 [5/3] via 10.0.2.1, 17:12:19, Ethernet g1
Console>
show ip route address
192.168.1.0 255.255.255.0
longer-prefixes
Codes: C - connected, S - static, R - RIP, O - OSPF, E - OSPF external, * - candidate default
Gateway of last resort is not set
S 192.168.1.0/24 [5/3] via 10.0.2.1, 17:12:19, Ethernet g1
S 192.168.1.1/32 [5/3] via 10.0.3.1, 19:51:18, Ethernet g1
Field
Description
O
Indicates protocol that derived the route.
10.8.1.0/24
Indicates the remote network address.
[30/2000]
The first number in the brackets is the administrative distance of the information source; the
second number is the metric for the route.
via 10.0.1.2
Specifies the address of the next router to the remote network.
00:39:08
Specifies the last time the route was updated, in hours:minutes:seconds.
Summary of Contents for DXS-3250 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...