321
Example
Display the static routes:
T1600G-52TS(config)# show ip route static
32.15 show ip route specify
Description
This show ip route specify command is used to display the valid routing
information to the specified IP address or network segments.
Syntax
show ip route specify {
ip
} [
mask
] [ longer-prefixes ]
Parameter
ip
—— Specify the destination IP address.
mask
—— Specify the destination IP address together with the parameter
ip
.
longer-prefixes —— Specify the destination subnets that match the network
segment determined by the ip and mask parameters.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Privilege Requirement
None.
Example
Display the shortest route to 192.168.0.100:
T1600G-52TS(config)# show ip route specify 192.168.0.100
Look up the route entry with the destination as 192.168.0.0/24:
T1600G-52TS(config)# show ip route specify 192.168.0.0 255.255.255.0
Display the routes to all the subnets that belongs to 192.168.0.0/16:
T1600G-52TS(config)# show ip route specify 192.168.0.0 255.255.0.0
longer-prefixes