show ip route
42.14
Description
This show ip route command is used to display the route entries of the
specified type.
Syntax
show ip route [ static | connected ]
Parameter
static | connected —— Specify the route type. If not specified, all types of route
entries will be displayed.
static: The static routes.
connected: The connected routes.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Privilege Requirement
None.
Example
Display the static routes:
T2600G-28TS(config)# show ip route static
show ip route specify
42.15
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.
385