Reference Guide

IPv4 Routing | 499
Command Modes
EXEC
EXEC Privilege
Command History
Example
Figure 21-15. show ip protocols Command Example
FTOS#show ip protocols
Routing Protocol is "bgp 1"
Cluster Id is set to 20.20.20.3
Router Id is set to 20.20.20.3
Fast-external-fallover enabled
Regular expression evaluation optimization enabled
Capable of ROUTE_REFRESH
For Address Family IPv4 Unicast
BGP table version is 0, main routing table version 0
Distance: external 20 internal 200 local 200
Neighbor(s):
Address : 20.20.20.2
Filter-list in : foo
Route-map in : foo
Weight : 0
Address : 5::6
Weight : 0
FTOS#
show ip route
Z
View information, including how they were learned, about the IP routes on the switch.
Syntax
show ip route [vrf [vrf name] hostname | ip-address [mask] [longer-prefixes] | list prefix-list |
protocol [process-id | routing-tag] | all | connected | static | summary]
Parameter
Version 9.0.2.0 Introduced on the S6000.
Version 8.3.11.1 Introduced on the Z9000.
Version 9.0.2.0 Regular evaluation optimization enabled/disabled added to display output
S6000
ip-address
(OPTIONAL) Specify a name of a device or the IP address of the device to view
more detailed information about the route.
mask
(OPTIONAL) Specify the network mask of the route. Use this parameter with
the IP address parameter.
longer-prefixes (OPTIONAL) Enter the keyword longer-prefixes to view all routes with a
common prefix.
list prefix-list (OPTIONAL) Enter the keyword list and the name of a configured prefix list.
See show ip route list.
protocol (OPTIONAL) Enter the name of a routing protocol (bgp, isis, ospf, rip) or the
keywords
connected or static.
If you enter
ospf, you can include the OSPF process-id.
process-id
(OPTIONAL) Specify that only OSPF routes with a certain process ID must be
displayed.
routing-tag
(OPTIONAL) Specify that only ISIS routes with a certain routing tag must be
displayed.
connected (OPTIONAL) Enter the keyword connected to view only the directly
connected routes.