show ip protocols

This command lists a summary of the configuration and status for each unicast routing protocol. The command lists routing protocols which are configured and enabled. If a protocol is selected on the command line, the display will be limited to that protocol. If no virtual router is specified, the configuration and status for the default router are displayed.

Format

show ip protocols [bgp|ospf|rip]
Mode Privileged EXEC
Parameter Description
BGP Section:
Routing Protocol BGP.
Router ID The router ID configured for BGP.
Local AS Number The AS number that the local router is in.
BGP Admin Mode Whether BGP is globally enabled or disabled.
Maximum Paths The maximum number of next hops in an internal or external BGP route.
Always Compare MED Whether BGP is configured to compare the MEDs for routes received from peers in different ASs.
Maximum AS Path Length Limit on the length of AS paths that BGP accepts from its neighbors.
Fast Internal Failover Whether BGP immediately brings down an iBGP adjacency if the routing table manager reports that the peer address is no longer reachable.
Fast External Failover Whether BGP immediately brings down an eBGP adjacency if the link to the neighbor goes down.
Distance The default administrative distance (or route preference) for external, internal, and locally-originated BGP routes. The table that follows lists ranges of neighbor addresses that have been configured to override the default distance with a neighbor-specific distance. If a neighbor‘s address falls within one of these ranges, routes from that neighbor are assigned the configured distance. If a prefix list is configured, then the distance is only assigned to prefixes from the neighbor that are permitted by the prefix list.
Redistribution A table showing information for each source protocol (connected, static, rip, and ospf). For each of these sources the distribution list and route-map are shown, as well as the configured metric. Fields which are not configured are left blank. For ospf, an additional line shows the configured ospf match parameters.
Prefix List In The global prefix list used to filter inbound routes from all neighbors.
Prefix List Out The global prefix list used to filter outbound routes to all neighbors.
Networks Originated The set of networks originated through a network command. Those networks that are actually advertised to neighbors are marked “active.”
Neighbors A list of configured neighbors and the inbound and outbound policies configured for each.
OSPFv2 Section:
Routing Protocol OSPFv2.
Router ID The router ID configured for OSPFv2.
OSPF Admin Mode Whether OSPF is enabled or disabled globally.
Maximum Paths The maximum number of next hops in an OSPF route.
Routing for Networks The address ranges configured with an OSPF network command.
Distance The administrative distance (or “route preference”) for intra-area, inter-area, and external routes.
Default Route Advertise Whether OSPF is configured to originate a default route.
Always Whether default advertisement depends on having a default route in the common routing table.
Metric The metric configured to be advertised with the default route.
Metric Type The metric type for the default route.
Redist Source A type of routes that OSPF is redistributing.
Metric The metric to advertise for redistributed routes of this type.
Metric Type The metric type to advertise for redistributed routes of this type.
Subnets Whether OSPF redistributes subnets of classful addresses, or only classful prefixes.
Dist List A distribute list used to filter routes of this type. Only routes that pass the distribute list are redistributed.
Number of Active Areas The number of OSPF areas with at least one interface running on this router. Also broken down by area type.
ABR Status Whether the router is currently an area border router. A router is an area border router if it has interfaces that are up in more than one area.
ASBR Status Whether the router is an autonomous system boundary router. The router is an ASBR if it is redistributing any routes or originating a default route.
RIP Section
RIP Admin Mode Whether RIP (Routing Information Protocol) is globally enabled.
Split Horizon Mode Whether RIP advertises routes on the interface where they were received.
Default Metric The metric assigned to redistributed routes.
Default Route Advertise Whether this router is originating a default route.
Distance The administrative distance for RIP routes.
Redistribution A table showing information for each source protocol (connected, static, bgp, and ospf). For each of these source the distribution list and metric are shown. Fields which are not configured are left blank. For ospf, configured ospf match parameters are also shown.
Interface The interfaces where RIP is enabled and the version sent and accepted on each interface.

The following example shows CLI display output for the command.

(Router) #show ip protocols
Routing Protocol.......................... BGP
Router ID................................. 6.6.6.6
Local AS Number........................... 65001
BGP Admin Mode............................ Enable
Maximum Paths............................. Internal 32, External 32
Always compare MED ....................... FALSE
Maximum AS Path Length ................... 75
Fast Internal Failover ........................ Enable
Fast External Failover ........................ Enable
Distance.................................. Ext 20 Int 200 Local 200
  Address         Wildcard        Distance    Pfx List
  -------         --------        --------    --------
  172.20.0.0      0.0.255.255           40        None
  172.21.0.0      0.0.255.255           45           1
Prefix List In............................ PfxList1
Prefix List Out........................... None
Redistributing:
Source        Metric  Dist List               Route Map
--------- ----------  ----------------------- ---------------------------
connected             connected_list
static         32120                          static_routemap
rip            30000                          rip_routemap
ospf                                          ospf_map
  ospf match: int ext1 nssa-ext2
   Networks Originated:
     10.1.1.0 255.255.255.0 (active)
     20.1.1.0 255.255.255.0
Neighbors:
172.20.1.100
   Filter List In........................ 1
   Filter List Out....................... 2
   Prefix List In........................ PfxList2
   Prefix List Out....................... PfxList3
   Route Map In.......................... rmapUp
   Route Map Out......................... rmapDown
172.20.5.1
   Prefix List Out....................... PfxList12
Routing Protocol.......................... OSPFv2
Router ID................................. 6.6.6.6
OSPF Admin Mode........................... Enable
Maximum Paths............................. 32
Routing for Networks...................... 172.24.0.0 0.0.255.255 area 0
                                           10.0.0.0 0.255.255.255 area 1
                                           192.168.75.0 0.0.0.255 area 2
Distance.................................. Intra 110 Inter 110 Ext 110
Default Route Advertise................... Disabled
Always.................................... FALSE
Metric.................................... Not configured
Metric Type............................... External Type 2
Redist
Source      Metric       Metric Type     Subnets    Dist List
---------  -------       -----------     -------    ---------
static     default                 2         Yes         None
connected       10                 2         Yes            1
Number of Active Areas.................... 3 (3 normal, 0 stub, 0 nssa)
ABR Status................................ Yes
ASBR Status............................... Yes
Routing Protocol.......................... RIP
RIP Admin Mode............................ Enable
Split Horizon Mode........................ Simple
Default Metric............................ Not configured
Default Route Advertise................... Disable
Distance.................................. 120
Redistribution:
Source    Metric Dist List Match
--------- ------ --------- --------------------------------------
connected      6
static        10        15
ospf                    20 int ext1 ext2 nssa-ext1
Interface              Send        Recv
---------              ----        ----
0/25                   RIPv2       RIPv2