Brevmall för LUL - Forum – idéburna organisationer med social

advertisement
Chapter 2
CLI Command Reference
show ip route
show ip route
Displays the entire routing table and the destination of last resort (default gateway). When you use the
prefix and mask arguments, the command displays the routing entries from the subnet specified by the
prefix and mask pair.
show ip route [prefix mask ]
Syntax Description
prefix
Prefix of the routing entries to be included.
mask
Limits the search of routing entries.
Command Default
None
Command Modes
User EXEC
Command History
This table includes the following release-specific history entries:
Release
Modification
2.5.7
This command was introduced.
Usage Guidelines
Authorization: viewer
Examples
The following example shows the default gateway:
SCE8000>enable 5
Password:<cisco>
SCE8000>show ip route gateway of last resort is 10.1.1.1
SCE8000>
The following example shows how to retrieve the IP route:
SCE8000>enable 5
Password:<cisco>
SCE8000>show ip route 10.1.60.0 255.255.255.0
| prefix
| mask
| next hop
|
|--------------|--------------|--------------|
| 10.1.60.0
| 255.255.255.0 | 10.1.1.5
|
SCE8000>
Related Commands
Command
Description
ip route
Adds an IP routing entry to the routing table.
Cisco SCE 8000 CLI Command Reference
2-523
Download