Information Commands
Route information
Using the commands listed below, you can display all or a portion of the IP routes currently held in the switch.
Table 28 Route Information commands
Command | Usage | |
| Displays a single route by destination IP address. | |
show ip route address <IP address> | ||
| Command mode: All except User EXEC | |
|
| |
show ip route gateway <IP address> | Displays routes to a single gateway. | |
| Command mode: All except User EXEC | |
|
| |
show ip route type | Displays routes of a single type. | |
{indirectdirectlocalbroadcastmartian | Command mode: All except User EXEC | |
multicast} |
| |
show ip route tag | Displays routes of a single tag. | |
{fixedstaticaddrripospfbroadcast | Command mode: All except User EXEC | |
multicastmartian} | ||
| ||
|
| |
show ip route interface | Displays routes on a single interface. | |
| Command mode: All except User EXEC | |
|
| |
show ip route | Displays all routes configured in the switch. | |
| Command mode: All except User EXEC | |
|
|
Show all IP Route information
The following command displays IP route information:
show ip route
Command mode: All except User EXEC
Status code: * - | best |
|
|
|
|
|
Destination | Mask | Gateway | Type | Tag | Metr | If |
* 11.0.0.0 | 255.0.0.0 | 11.0.0.1 | direct | fixed |
| 211 |
* 11.0.0.1 | 255.255.255.255 | 11.0.0.1 | local | addr |
| 211 |
* 11.255.255.255 | 255.255.255.255 | 11.255.255.255 | broadcast | broadcast |
| 211 |
* 12.0.0.0 | 255.0.0.0 | 12.0.0.1 | direct | fixed |
| 12 |
* 12.0.0.1 | 255.255.255.255 | 12.0.0.1 | local | addr |
| 12 |
* 12.255.255.255 | 255.255.255.255 | 12.255.255.255 | broadcast | broadcast |
| 12 |
* 13.0.0.0 | 255.0.0.0 | 11.0.0.2 | indirect | ospf | 2 | 211 |
* 47.0.0.0 | 255.0.0.0 | 47.133.88.1 | indirect | static |
| 24 |
* 47.133.88.0 | 255.255.255.0 | 47.133.88.46 | direct | fixed |
| 24 |
* 172.30.52.223 | 255.255.255.255 | 172.30.52.223 | broadcast | broadcast 2 |
| |
* 224.0.0.0 | 224.0.0.0 | 0.0.0.0 | martian | martian |
|
|
* 224.0.0.5 | 255.255.255.255 | 0.0.0.0 | multicast | addr |
|
|
46