Routing information
You can view any dynamic routes configured using the RIP, OSPF, OSPFv3, BGP, and PIM-SM protocols.
You can use this information for further configuration and debugging.
RIP
Routes
Shows the complete routing configuration information and the routing table for an interface configured using the RIP protocol.
Status
Shows the RIP routing protocol process parameters and statistics.
Codes and sub-codes | Shows how the destination routing information is obtained. |
---|---|
Codes | R – RIP, C – connected, S – Static, O – OSPF, B – BGP, K – Kernel route. |
Sub-codes | (n) – normal, (s) – static, (d) – default, (r) – redistribute, (i) – interface |
Network | Specifies the IP address and subnet mask of the destination. |
Next hop | Specifies an IP address of the next-hop routing device. |
Metric | Specifies the number of routing devices (hop count) a packet must pass through to reach the final destination. |
From | Shows the router (router IP address) from which the metric is calculated to reach the destination. If it is directly connected, it shows self. |
Tag | Shows the method used for distinguishing between internal routes (learned by RIP) and external routes learned from External Gateway Protocol (ERP) protocols. 0 shows no tag is attached to the route. |
Time | Shows the elapsed time after which the routing entry is flushed from the RIP table. |
Routing protocol is rip | Shows the routing protocol used. |
Sending updates | Shows the time between sending updates. |
Next due | Specifies when the next update is due to be sent. |
Timeout after | Shows the time-out interval for the RIP route, after which it is declared invalid and removed from the routing table until the garbage-collect time expires. |
Garbage collect | Shows the period during which the route metric is set to 16. If no updates are received for the route before the expiry of the garbage-collect timer, a route with metric 16 is deleted from the routing table. |
Outgoing update | Shows whether the outgoing filtering list has been set. |
Incoming update | Shows whether the incoming filtering list has been set. |
Default redistribution metric | Metric of routes that are redistributed from other routes. |
Redistributing | Shows the information about the redistribution of other protocols. |
Default version control | Shows the version of the RIP packets that are sent and received. |
Interface | Shows a RIP-enabled routing interface. |
Send | Shows the version of RIP packets sent out to the routing interface. The version is one of the following: RIP1, RIP2. |
Recv | Shows the version of RIP packets accepted on the routing interface. The version is one of the following: RIP1, RIP2, or both. |
Key-chain | Shows the authentication key-chain name for the interface if it is configured. |
Routing for network | Shows the networks for which the routing process is currently injecting routes. |
Routing information sources | Shows the routing sources used to build the routing table. For each source, the following information is displayed.
|
OSPF
Border routers
Shows the information about the internal OSPF routing table entries to an Area Border Router (ABR) and Autonomous System Boundary Router (ASBR).
Routes
Shows the information about the internal OSPF routing table entries.
Database
Shows the list of information related to the OSPF database summary for a specific router. Each link-state database includes link-state an advertisement from throughout the areas to which the router is attached.
Neighbors
Provides neighbor information based on peer-interface relation.
Option | Description |
---|---|
Backup | Shows that the neighbor is a backup designated router. |
Dead time | The waiting time in seconds to receive a hello message from the OSPF neighbor before assuming the neighbor is dead. |
Address | Specifies the IP address of the router's interface with the neighbor. |
Interface | Shows the IP address of the neighbor interface. |
RXmtL | Shows the link-status retransmit count. |
RqstL | Shows the link-status request count. |
DBsmL | Shows the link-state summary count. |
Interface
Shows OSPF interface information.
Option | Description |
---|---|
R | Shows that the information for the route is provided to a specific border router. |
Network IP address | Shows the router ID of the destination. |
Metric | Specifies the cost to reach the final destination. |
Area | Shows the area identifier of the outgoing interface. |
Next hop | Specifies the management IP address of the next-hop routing device. |
Outgoing interface | Shows the name and IP address of the outgoing interface to reach the destination. |
N | Shows that the information is provided for a network. |
Network IP address | Shows the router ID of the destination. |
Metric | Specifies the cost to reach the final destination. |
Area | Shows the area identifier of the outgoing interface. |
Next hop | Specifies the management IP address of the next-hop routing device. |
Directly attached | Shows a network is directly connected to the interface. |
Outgoing interface | Shows the name and IP address of the outgoing interface to reach the destination. |
Link ID | Shows the ID of the link-state advertisement using which a router learns the route. In other words, while a link-status advertisement describes a router, the link-status ID router's OSPF router ID. The link-status advertisement describing a network can have one of the following two formats of link-state ID: the network's IP address or an address generated using the link-status ID. |
ADV router | Shows the advertising router ID of the destination. |
Age | Shows the time, in seconds, since the LSA was generated. |
Seq# | Link-state sequence number (detects old or duplicate link-status advertisements). |
CkSum | The checksum of the complete content of the link-status advertisement. |
Link count | The number of interfaces detected for the router. |
Net link states | Gives information about network LSA originated by DR (designated router) |
Router link states | Gives information about router LSA originated by every router. |
Summary net link states | Shows the information about summary LSA originated by ABR's. |
Neighbor ID | Shows the neighbor router's ID. |
Pri | Shows the router priority assigned to that neighbor. |
State | Shows the conversation between router and neighbor since the neighbor was created. It can have one of the following values:
|
Interface value | Shows the status of the physical interface, that is, whether the interface is up or down. |
IfIndex | Shows the value of the interface index (IfIndex). It is an identification unique number associated with an interface. |
MTU | Shows the Maximum Transmission Unit (MTU) value of the interface. MTU is the largest physical packet size, in bytes, that a network can transmit. This parameter becomes an issue when networks are interconnected, and the networks have different MTU sizes. Any packets larger than the MTU value are divided (fragmented) into smaller packets before being sent. |
BW | Shows the bandwidth of the interface. |
Internet address | Shows the IP address of the interface. |
Network type/IP address | Shows the type of the network along with the IP address. |
Area | Shows the IP address of the area identifier. |
MTU mismatch detection | Shows whether the MTU mismatch detection is turned on or off. If it is turned on, it matches the MTU of both the interfaces participating in the neighborship establishment. |
Router ID | Shows the identification number of the OSPF router selected at the start of the OSPF process. The router ID is unique within the OSPF domain and only changes if OSPF restarts or is manually modified. |
Network type | Shows the type of network to which the OSPF interface is connected. A network can be one of the following types:
|
Cost | Shows the OSPF cost. See Auto-cost reference-bandwidth. |
Transmit delay | Shows the time in seconds which the OSPF router waits before flooding a link-state advertisement (LSA) over the link. The link-status age is incremented by this value, before transmitting an LSA. The default value of the transmit delay is 1 second. |
State | Shows the current status of the specified interface. The status can be one of the following:
|
Priority | Shows the priority of the interface router. It assists in electing the DR and BDR on the network to which the interface is connected. Default: 1 A router with priority value 0 can never be a DR/BDR. |
Designated Router ID | Shows the DR router ID for the respective network. |
Backup Designated Router ID | Shows the BDR router ID for the respective network |
Saved Network-LSA sequence number | Shows the network's link-state sequence number. It is used to calculate the shortest path first (SPF). |
Multicast group membership | Shows the multicast group in which the router is a member. |
Timer intervals configured | Displays the value of following OSPF timers:
|
OSPFv3
Border routers
Shows the information about the internal OSPFv3 routing table entries to an Area Border Router (ABR) and Autonomous System Boundary Router (ASBR).
Routes
Shows the information about the internal OSPFv3 routing table entries.
Database
Shows the list of information related to the OSPFv3 database summary for a specific router. Each link-state database includes link-state an advertisement from throughout the areas to which the router is attached.
Neighbors
Provides neighbor information based on peer-interface relation.
Option | Description |
---|---|
Backup | Shows that the neighbor is a backup designated router. |
Dead time | The waiting time in seconds to receive a hello message from the OSPFv3 neighbor before assuming the neighbor is dead. |
Address | Specifies the IP address of the router's interface with the neighbor. |
Interface | Shows the IP address of the neighbor interface. |
RXmtL | Shows the link-status retransmit count. |
RqstL | Shows the link-status request count. |
DBsmL | Shows the link-state summary count. |
Interface
Shows OSPF interface information.
Option | Description |
---|---|
R | Shows that the information for the route is provided to a specific border router. |
Network IP address | Shows the router ID of the destination. |
Metric | Specifies the cost to reach the final destination. |
Area | Shows the area identifier of the outgoing interface. |
Next hop | Specifies the management IP address of the next-hop routing device. |
Outgoing interface | Shows the name and IP address of the outgoing interface to reach the destination. |
N | Shows that the information is provided for a network. |
Network IP address | Shows the router ID of the destination. |
Metric | Specifies the cost to reach the final destination. |
Area | Shows the area identifier of the outgoing interface. |
Next hop | Specifies the management IP address of the next-hop routing device. |
Directly attached | Shows a network is directly connected to the interface. |
Outgoing interface | Shows the name and IP address of the outgoing interface to reach the destination. |
Link ID | Shows the ID of the link-state advertisement using which a router learns the route. In other words, while a link-status advertisement describes a router, the link-status ID router's OSPFv3 router ID. The link-status advertisement describing a network can have one of the following two formats of link-state ID: the network's IP address or an address generated using the link-status ID. |
ADV router | Shows the advertising router ID of the destination. |
Age | Shows the time, in seconds, since the LSA was generated. |
Seq# | Link-state sequence number (detects old or duplicate link-status advertisements). |
CkSum | The checksum of the complete content of the link-status advertisement. |
Link count | The number of interfaces detected for the router. |
Net link states | Gives information about network LSA originated by DR (designated router) |
Router link states | Gives information about router LSA originated by every router. |
Summary net link states | Shows the information about summary LSA originated by ABR's. |
Neighbor ID | Shows the neighbor router's ID. |
Pri | Shows the router priority assigned to that neighbor. |
State | Shows the conversation between router and neighbor since the neighbor was created. It can have one of the following values:
|
Interface value | Shows the status of the physical interface, that is, whether the interface is up or down. |
IfIndex | Shows the value of the interface index (IfIndex). It is an identification unique number associated with an interface. |
MTU | Shows the Maximum Transmission Unit (MTU) value of the interface. MTU is the largest physical packet size, in bytes, that a network can transmit. This parameter becomes an issue when networks are interconnected, and the networks have different MTU sizes. Any packets larger than the MTU value are divided (fragmented) into smaller packets before being sent. |
BW | Shows the bandwidth of the interface. |
Internet address | Shows the IP address of the interface. |
Network type/IP address | Shows the type of the network along with the IP address. |
Instance ID | ID configured for the OSPFv3 instance. |
Area | Shows the IP address of the area identifier. |
MTU mismatch detection | Shows whether the MTU mismatch detection is turned on or off. If it is turned on, it matches the MTU of both the interfaces participating in the neighborship establishment. |
Router ID | Shows the identification number of the OSPFv3 router selected at the start of the OSPFv3 process. The router ID is unique within the OSPFv3 domain and only changes if OSPFv3 restarts or is manually modified. |
Network type | Shows the type of network to which the OSPFv3 interface is connected. A network can be one of the following types:
|
Cost | Shows the OSPFv3 cost. See Auto-cost reference-bandwidth. |
Transmit delay | Shows the time in seconds which the OSPFv3 router waits before flooding a link-state advertisement (LSA) over the link. The link-status age is incremented by this value, before transmitting an LSA. The default value of the transmit delay is 1 second. |
State | Shows the current status of the specified interface. The status can be one of the following:
|
Priority | Shows the priority of the interface router. It assists in electing the DR and BDR on the network to which the interface is connected. Default: 1 A router with priority value 0 can never be a DR/BDR. |
Designated Router ID | Shows the DR router ID for the respective network. |
Backup Designated Router ID | Shows the BDR router ID for the respective network |
Saved Network-LSA sequence number | Shows the network's link-state sequence number. It is used to calculate the shortest path first (SPF). |
Multicast group membership | Shows the multicast group in which the router is a member. |
Timer intervals configured | Displays the value of following OSPFv3 timers:
|
BGP-IPv4 and BGP-IPv6
You can see the IPv4 and IPv6 BGP details in the corresponding sections.
Neighbors
Displays the information about the BGP and its peer connections and shows the number of routes advertised/neighbors to/from that peer.
Routes
Displays the entire routing configuration information and the routing table for an interface configured using the BGP protocol.
Summary
Displays the status of all the BGP connections details such as path, prefixes, and attributes information about all the connections to BGP neighbors.
Option | Description |
---|---|
BGP Neighbor | Shows the IP address of the BGP neighbor. |
Remote AS | Shows the AS number of the neighbor router. |
Local AS | Shows the value of the configured local autonomous systems (AS). |
Internal/External link | Displays internal links for internal BGP (iBGP) neighbors and external link for external BGP (eBGP). |
BGP version | Shows the BGP version used for communication with the remote router. |
Remote router ID | Shows the router ID of the neighbor router. |
BGP state | Shows the finite status machine (FSM) stage. It describes what action must be taken by the BGP routing engine and when for session negotiation. |
Last read | Displays the time, since BGP router last received a message from the neighbor. The time is displayed in HH:MM:SS format. |
Hold time | Displays the time in seconds, until which BGP maintains the session with the neighbor without receiving any message from it. |
Keepalive interval | Displays the time interval in seconds specifying how often the BGP router sends the keep-alive message to the neighbor. |
Message statistics | Displays the statistics organized by message type.
|
Minimum time between advertisement runs | Shows the time in seconds between the sent advertisements. |
For address family | Shows the IP address family. |
Community attribute sent to this neighbor | Shows the numerical value of the BGP community. This numerical value is assigned to a specific prefix and advertised to the neighbor, based on which it decides whether to filter or change attributes. |
Accepted prefix | Shows the number of accepted prefixes that can participate in a BGP peer session. |
Connections established | Shows the number of times a TCP and a BGP connection has been established successfully. |
Dropped | Shows the number of times a valid session failed or has been taken down. |
Last reset | Shows the time since when the previously established session with the neighbor ended. |
Local host and local port | Shows the IP address and port number of the local BGP router. |
Foreign host and foreign port | Shows the IP address of neighbor and BGP destination port number. |
Next hop | Shows the management IP address of the next-hop routing device. |
Next connect timer due in | Specifies when the next hello packet is due to be sent to the BGP neighbor. |
Read thread | Shows if the read thread is on or off. |
Write thread | Shows if the write thread is on or off. |
BGP table version | Shows the table version number. The version number is updated with any change in the BGP table. |
Local router ID | Shows the IP address of the router. |
Status codes and origin codes | Shows how the destination routing information is obtained. Status codes: A status code indicates the status of the table entry and is displayed at the beginning of each line in the table. Status code value can be one of the following: s – suppressed, d –damped, h – history, * – valid, > – best, i – internal, r – Routing Information Base (RIB)-failure, S – Stale, R – Removed. Origin codes: An origin code indicates the origin of the entry and is displayed at the end of each line in the table. Origin code value can be one of the following: i – Interior Gateway Protocol (IGP), e – Exterior Gateway Protocol (EGP), ? – incomplete/path not clear. |
Network | Shows the IP address and subnet mask of the destination. |
Next hop | Shows the management IP address of the next hop routing device. 0.0.0.0 indicates the router has non-BGP routes to the network. |
Metric | Shows the value of the inter-autonomous system metric. |
LocPrf | Shows the local preference value. Local preference is one of the methods to change the path taken by one autonomous system (AS) to reach to another AS. Local preference value indicates to AS about the path that has a local preference, and one with the highest preference being preferred. |
Weight | Shows the route weight as set via autonomous system filters. If more than one path exists to a specific IP address, then the path with the highest weight is selected. |
Path | Shows the autonomous system path to the destination network. |
Total number of prefixes | Shows the total number of prefixes/networks. |
BGP router identifier | Shows the router ID of the BGP router |
Local AS number | Shows the local autonomous system number to which this router belongs. |
RIB entries | Shows the number of routing information entries in the RIB. |
Memory | Shows the memory used by RIB entries. |
Peer | Shows the number of neighbors with which the connection is established. |
Memory | Shows the memory used by neighbor entries. |
Neighbor | Shows the IP address of the neighbor. |
V | Shows BGP version number provided to the neighbor. |
LocPrf | Shows local preference value. Local preference is one of the methods to change the path taken by one autonomous system (AS) to reach to another AS. Local preference value indicates to AS about the path that has local preference, and one with the highest preference being preferred. |
AS | Shows the autonomous system number. |
MsgRcvd | Shows the number of messages received from the neighbor. |
MsgSent | Shows the number of messages sent to the neighbor. |
TblVer | Shows the last version of the BGP database that was sent to the neighbor. |
InQ | Shows the number of messages that are in the queue, pending to be processed from the neighbor. |
OutQ | Shows the number of messages that are in the queue, pending to be sent to the neighbor. |
Up/Down | Shows the total time of a BGP session to remain in an established status, or gives the current status of the BGP session, if it is not in an established status. |
State/PfxRcd | Shows the status of the neighbor and the number of prefixes received. |
Total number of neighbors | Shows the total number of neighbors. |
Note
The firewall only shows the maximum-paths ibgp
value in the running configuration if it isn't set to the default value of 16.
PIM-SM
Interface table
Displays all the PIM-enabled interfaces and the neighbor information of each interface.
Multicasting routing table
Displays the information of the multicast groups joined. The information includes the source address, multicast group address, the incoming interface from which packets are accepted, a list of outgoing interfaces to which packets are sent, PIM timers, flag bits, and so on.
RP SET
Displays RP set information, which is a collection of group-to-RP mappings. This information is used to determine the RP for a multicast group and is maintained by a PIM router.