T2700G-28TQ
JetStream 28-Port Gigabit Stackable L2+ Managed Switch CLI Guide
294
show ip route
Description
This
show ip route
command is used to display the route entries of the
specified type.
Syntax
show ip route
{ static | connected | rip
|
ospf
}
Parameter
static | connected | rip
|
ospf
—— Specify the route type.
static: The static routes.
connected: The connected routes.
rip: The routes generated from the RIP protocol.
ospf: The routes generated from the OSPF protocol.
Command Mode
Privileged EXEC Mode and Any Configuration Mode
Example
Display the static routes:
T2700G-28TQ(config)# show ip route
static
show ip route specify
Description
This
show ip route specify
command is used to display the invalid routing
information to the specified IP address or network segments.
Syntax
show ip route specify
{
ip
} [
mask
] [
longer-prefix
]
Parameter
ip
—— Specify the destination IP address.
mask
—— Specify the destination IP address together with the parameter
ip
.
longer-mask
—— Specify the destination subnets that match the network
segment determined by the ip and mask parameters.