Users Guide

show ip route
Displays information about IPv4 BGP routing table entries.
Syntax
show ip route [vrf vrf-name] bgp
Parameters
vrf vrf-name Enter vrf and then the name of the VRF to view information that is exchanged
between BGP neighbors corresponding to that VRF
Default Not configured
Command Mode EXEC
Usage
Information
This command displays information about IPv4 BGP routing table entries.
Example
OS10# show ip route
Codes: C - connected
S - static
B - BGP, IN - internal BGP, EX - external BGP
O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2, * - candidate default,
+ - summary route, > - non-active route
Gateway of last resort is not set
Destination Gateway Dist/Metric Last Change
------------------------------------------------------------------------
C 10.1.1.0/24 via 10.1.1.1 ethernet1/1/17 0/0 01:18:34
B IN 100.1.1.0/24 via 10.1.1.2 200/0 00:03:46
B IN 101.1.1.0/24 via 10.1.1.2 200/0 00:03:46
B IN 102.1.1.0/24 via 10.1.1.2 200/0 00:03:46
B IN 103.1.1.0/24 via 10.1.1.2 200/0 00:03:46
B IN 104.1.1.0/24 via 10.1.1.2 200/0 00:03:46
OS10# show ip route bgp
Codes: C - connected
S - static
B - BGP, IN - internal BGP, EX - external BGP
O - OSPF, IA - OSPF inter area, N1 - OSPF NSSA external type 1,
N2 - OSPF NSSA external type 2, E1 - OSPF external type 1,
E2 - OSPF external type 2, * - candidate default,
+ - summary route, > - non-active route
Gateway of last resort is not set
Destination Gateway Dist/Metric Last Change
---------------------------------------------------------------
B IN 1.1.1.0/24 via 169.254.0.1 vlan100 200/0 00:17:34
Supported
Releases
10.4.2.0 or later
show ipv6 route
Displays information about IPv6 BGP routing table entries.
Syntax
show ipv6 route [vrf vrf-name] bgp
Parameters
vrf vrf-name Enter vrf and then the name of the VRF to view information that is exchanged between BGP
neighbors corresponding to that VRF
Default Not configured
Command Mode EXEC
Usage
Information
This command displays information about IPv6 BGP routing table entries.
878 Layer 3