Show commands
Use these M4500 CLI commands to display BGP routes, neighbors, communities, prefix lists, route reflection, summaries, traffic, and update groups for IPv4 and IPv6.
show ip bgp
This command displays information relevant to the BGP router.
| Default | None |
| Format | show ip bgp |
| Mode | Privileged Exec |
Display Message
| Fields | Definition |
|---|---|
| BGP table version | The BGP Table Version is the main number used. This number is the same as the Generation ID of any BGP prefix for a specific address family and is used to track changes to the BGP route table. Each time phase 2 of the BGP decision process runs to select new BGP routes, this number is incremented. |
| Local Route ID |
A 32-bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value. Status of the table entry. The status is displayed at the beginning of each line in the table. It can be one of the following values: s — The table entry is suppressed. |
| Status Codes |
* — The table entry is valid. > — The table entry is the best entry to use for that network. i — The table entry was learned via an internal BGP (iBGP) session. S — The table entry is stale route. Origin of the entry. The origin code is placed at the end of each line in the table. It can be one of the following values: |
| Origin codes |
i — Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command. e — Entry originated from an Exterior Gateway Protocol (EGP). ? — Origin of the path is not clear. Usually, this is a router that is redistributed into BGP from an IGP. |
| Network | Destination prefix. |
| Next Hop | The route’s BGP next hop. |
| Metric | Multi Exit Discriminator. |
| LocPref | Local preference value as set with the set local-preference route-map configuration command. The default value is 100. |
| Path | Autonomous system paths to the destination network. There can be one entry in this field for each autonomous system in the path. |
show ip bgp <prefix/length>
This command displays the BGP routing table entries which are filtered the display output with a prefix/length.
| Default | None |
| Format | show ip bgp [vrf <vrf-name>] <prefix/length> [longer-prefixes | shorter-prefixes [length]] |
| Mode |
Privileged Exec User Exec |
| Fields | Definition |
|---|---|
| vrf-name | Display BGP route table whithin a VRF instance. |
| prefix/length | The destination IP prefix and prefix length entered to filter the output to display only a particular host or network in the BGP routing table. |
| longer-prefixes | Display the specified prefix and any longer prefixes within the same range. |
| shorter-prefixes [length] | Used with the prefix/length option to show routes whose prefix length is shorter than prefix length, and optionally longer than a specified length. This option may not be given if the longer-prefixes option is given. |
Display Message
| Fields | Definition |
|---|---|
| Prefix/Prefix Length | The destination IP prefix and prefix length entered to filter the output to display only a particular host or network in the BGP routing table. |
| Generation ID | Incremented each time phase 2 of the decision process runs and whenever an aggregate address changes. Used to track changes to the BGP route table. |
| Advertised to Update Groups | The outbound update groups that this route is advertised to. |
| Best Path | Shows best path information as following. |
| Non-Best Paths | Shows non-best path information as following. |
| Local Preference | Local preference value as set with the set local-preference route-map configuration command or received from the peer. The default value is 100. |
| AS Path | An Autnonomous System path is a list of all the autonomous systems that a specific route passes through to reach one destination. |
| Origin | Indicates the origin of the entry. It can be IGP, EGP, and Incomplete. Value of the ORIGIN attribute. |
| Metric | The value of the interautonomous system metric. Value of the MED attribute, if included. |
| Type | Type of peer (internal or external). |
| IGP Cost | The cost of Interior Gateway Protocol (IGP) to the BGP NEXT HOP. |
| Peer (Peer ID) | The IP Address of the Peer's BGP interface (The Router ID of the Peer's BGP). |
| BGP Next Hop | IP address of the next system that is used when forwarding a packet to the destination network. |
| Atomic Aggregate | Include atomic-aggregate routes or not. |
| Aggregator (AS, Router ID) | The information (AS number and router ID) of the speaker that aggregated the routes. |
| Communities | Valid value is a BGP community number in the range from 1 to 4294967200, or AA:NN (autonomous system-community number/2-byte number), no-peer, no-export, no-export-subconfed, or no-advertise. |
| Originator | The value of the ORIGINATOR attribute, if the attribute is attached to the path. |
| Cluster list | The value of the CLUSTER LIST attribute, if the attribute is attached to the path. |
show ip bgp aggregate-address
This command displays information about the aggregate-address. If a VRF instance is specified, the aggregate addresses configured in that VRF instance are displayed.
| Default | None |
| Format | show ip bgp [vrf vrf-name] aggregate-address |
| Mode |
Privileged Exec User Exec |
Display Message
| Fields | Definition |
|---|---|
| Aggregation of routes with different MED values is allowed | The aggregate-different-meds is enabled. |
| Prefix/Len | Destination IP prefix and prefix length. |
| AS Set | Indicates whether an empty AS path is advertised with the aggregate address (N) or an AS SET is advertised with the set of AS numbers for the paths contributing to the aggregate (Y). |
| Summary Only | Indicates whether the individual networks are suppressed (Y) or advertised (N). |
| Active | Indicates whether the aggregate address is currently begin advertised. |
show ip bgp community
This command display routes that belong to specified BGP communities. If a VRF instance is specified, the routes belonging to the community within that VRF instance are displayed.
| Default | None |
| Format | show ip bgp [vrf vrf-name] community [<community-number>] [exact-match] [no-advertise] [no-export] |
| Mode |
Privileged Exec User Exec |
| Fields | Definition |
|---|---|
| vrf-name | Display routes belonging to communities whithin a VRF instance. |
| < community-number > | Valid value is a community number in the range from 1 to 4294967295, or AA:NN (autonomous system-community number/2-byte number). |
| exact-match | Destination IP prefix and prefix length. |
| no-advertise | Display only routes that are not advertised to any peer. |
| no-export | Display only routes that are not exported outside of the local AS. |
Display Message
| Fields | Definition |
|---|---|
| BGP table version | The BGP Table Version is the main number used. This number is the same as the Generation ID of any BGP prefix for a specific address family and is used to track changes to the BGP route table. |
| Local Route ID | A 32-bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value. Status of the table entry. The status is displayed at the beginning of each line in the table. It can be one of the following values: |
| Status Codes |
s — The table entry is suppressed. * — The table entry is valid. > — The table entry is the best entry to use for that network. i — The table entry was learned via an internal BGP (iBGP) session. Origin of the entry. The origin code is placed at the end of each line in the table. It can be one of the following values: |
| Origin codes |
i — Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command. e — Entry originated from an Exterior Gateway Protocol (EGP). ? — Origin of the path is not clear. Usually, this is a router that is redistributed into BGP from an IGP. |
| Network | Destination IP address. |
| Next Hop | IP address of the next system that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network. |
| Metric | The value of the interautonomous system metric. Value of the MED attribute, if included. |
| LocPref | Local preference value as set with the set local-preference route-map configuration command or received from the peer. The default value is 100. |
| Path | Autonomous system paths to the destination network. There can be one entry in this field for each autonomous system in the path. |
show ip bgp community-list
This command display routes that are permitted by the Border Gateway Protocol (BGP) community list.
| Default | None |
| Format | show ip bgp community-list <community-list-name> [exact-match] |
| Mode |
Privileged Exec User Exec |
| Fields | Definition |
|---|---|
| community-list-name | Community list name. The community list name can be standard or expanded. |
| exact-match | Displays only routes that are an exact match for the set of communities in the matching community list statement. |
Display Messages
| Fields | Definition |
|---|---|
| BGP table version | The BGP Table Version is the main number used. This number is the same as the Generation ID of any BGP prefix for a specific address family and is used to track changes to the BGP route table. |
| Local Route ID | A 32-bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value. Status of the table entry. The status is displayed at the beginning of each line in the table. It can be one of the following values: |
| Status Codes |
s — The table entry is suppressed. * — The table entry is valid. > — The table entry is the best entry to use for that network. i — The table entry was learned via an internal BGP (iBGP) session. Origin of the entry. The origin code is placed at the end of each line in the table. It can be one of the following values: |
| Origin codes |
i — Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command. e — Entry originated from an Exterior Gateway Protocol (EGP). ? — Origin of the path is not clear. Usually, this is a router that is redistributed into BGP from an IGP. |
| Network | Destination IP address. |
| Next Hop | IP address of the next system that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network. |
| Metric | The value of the interautonomous system metric. Value of the MED attribute, if included. |
| LocPref | Local preference value as set with the set local-preference route-map configuration command or received from the peer. The default value is 100. |
| Path | Autonomous system paths to the destination network. There can be one entry in this field for each autonomous system in the path. |
show ip bpg filter-list
Use this command to display routes that conform to a specified filter list.
| Default | None |
| Format | show ip bgp filter-list as-path-list |
| Mode |
Privileged Exec User Exec |
| Fields | Definition |
|---|---|
| as-path-list | Filter the output to the set of routes that match a given AS Path list. It can be a number from 1 to 500. |
Display Messages
| Fields | Definition |
|---|---|
| BGP table version | The BGP Table Version is the main number used. This number is the same as the Generation ID of any BGP prefix for a specific address family and is used to track changes to the BGP route table. |
| Local Route ID | A 32-bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value. Status of the table entry. The status is displayed at the beginning of each line in the table. It can be one of the following values: |
| Status Codes |
s — The table entry is suppressed. * — The table entry is valid. > — The table entry is the best entry to use for that network. i — The table entry was learned via an internal BGP (iBGP) session. S – The table entry stale route. Origin of the entry. The origin code is placed at the end of each line in the table. It can be one of the following values: |
| Origin codes |
i — Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command. e — Entry originated from an Exterior Gateway Protocol (EGP). ? — Origin of the path is not clear. Usually, this is a router that is redistributed into BGP from an IGP. |
| Network | Destination IP address. |
| Next Hop | IP address of the next system that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network. |
| Metric | The value of the interautonomous system metric. Value of the MED attribute, if included. |
| LocPref | Local preference value as set with the set local-preference route-map configuration command or received from the peer. The default value is 100. |
| Path | Autonomous system paths to the destination network. There can be one entry in this field for each autonomous system in the path. |
show ip bgp neighbors
This command displays information about Border Gateway Protocol (BGP) and TCP connections to neighbors. If a VRF instance is specified, the routes information for the neighbors within that VRF instance are displayed.
| Format | show ip bgp [vrf vrf-name] neighbors [<ip-address> [advertised-routes | policy | received-routes | |
rejected-routes | routes] | policy]
| Fields | Definition |
|---|---|
| vrf-name | Display routes whithin a VRF instance. |
| ip-address | Displays information about the IPv4 neighbor. If this argument is omitted, information about all neighbors is displayed. |
| Policy | Display inbound and outbound policies for all neighbors or the specified neighbor. |
| Advertised-routes | Display routes advertised to a neighbor. |
| Received-routes | Display routes received from a neighbor. |
| Rejected-routes | Display routes rejected by inbound policy. |
| Routes | Display routes accepted by inbound policy. |
| Default | None |
| Mode |
Privileged Exec User Exec |
Display Messages
| Fields | Definition |
|---|---|
| Remote Address | The IP Address of the Peer's BGP interface. |
| Remote AS | Autonomous system number of the neighbor. |
| BFD Enabled to Detect Fast Fallover | Specify if BFD has been enabled for BGP neighbors. |
| Peer ID | Router ID of the neighbor. |
| Peer Admin Status | States whether BGP is enabled or disabled of the neighbor. |
| Peer State | Finite state machine (FSM) stage of session negotiation. |
| Local Interface Address | The IPv4 address used as the source IP address in packets sent to this neighbor. |
| Local Port | The port number of the local port. |
| Remote Port | The port number of the remote port. |
| Connection Retry Interval | Time interval, in seconds, at which the device resend messages to this neighbor. |
| Neighbor Capabilities | BGP capabilities advertised and received from this neighbor. |
| IPv4 Unicast Support | Support IPv4 unicast packets or not. The valid value will be Both, Sent, Received or None. |
| VPNv4 Unicast Support | Support VPNv4 unicast packets or not. The valid value will be Both, Sent, Received or None. |
| IPv6 Unicast Support | Support IPv6 unicast packets or not. The valid value will be Both, Sent, Received or None. |
| BGP Graceful-Restart Mode | BGP Graceful-Restart mode. Enabled or Disabled. |
| BGP Graceful-Restart Restart-Time | BGP graceful restart helper restart timer. |
| Template Name | Name of a locally configured peer policy template. |
| Update Source | The configured value for the source IP address of packets sent to this neighbor. This field is only included in the output if the update source is configured. |
| Configured Hold Time | Configured time for this neighbor, in seconds, that BGP will maintain the session with this neighbor without receiving a messages. |
| Configured Keep Alive Time | Configured time interval for this neighbor, in seconds, at which keepalive messages are transmitted to this neighbor. |
| Negotiated Hold Time | Negotiated time with this neighbor, in seconds, that BGP will maintain the session with this neighbor without receiving a messages. |
| Negotiated Keep Alive Time | Negotiated time interval with this neighbor, in seconds, at which keepalive messages are transmitted to this neighbor. |
| MD5 Password | The TCP MD5 password, if one is configured, in plain text. |
| eBGP-MultiHop | Configured TTL value of the external BGP for this neighbor. |
| Last Error () | Last error from received or sent for this neighbor. |
| Last SubError | Last sub error for this neighbor. |
| Time Since Last Error | The time stamps in which the last error occurred. |
| Established Transitions | The number of connections established. |
| Flap Count | Total number of times the neighbor flaps. |
| Established Time | The time from the last connection established. |
| Time Since Last Update | The time from the last Update message received. |
| IPv4 Outbound Update Group | The corresponding index number of the IPv4 update group. |
| IPv6 Outbound Update Group | The corresponding index number of the IPv6 update group. |
| BFD Enabled to Detect Fast Fallover | Indicate if the BFD is enabled for this BGP neighbor. |
| Msgs Sent | Total number of transmitted messages. |
| Msgs Rcvd | Total number of received messages. |
| Open | Number of open messages sent and received. |
| Update | Number of update messages sent and received. |
| Keepalive | Number of keepalive messages sent and received. |
| Notification | Number of notification (error) messages sent and received. |
| Refresh | Number of route refresh request messages sent and received. |
| Total | Total number of messages sent and received. |
| Received UPDATE Queue Size | The statistics of received UPDATE queue (Size, High, Limit, Drops). |
| IPv4 Prefix Statistics | The statistics of the IPv4 prefix. |
| VPNv4 Prefix Statistics | The statistics of the VPNv4 prefix. |
| IPv6 Prefix Statistics | The statistics of the IPv6 prefix. |
| Prefixes Advertised | Number of prefixes advertised. |
| Prefixes Withdrawn | Number of prefixes withdrawn. |
| Prefixes Current | Number of prefixes current kept. |
| Prefixes Accepted | Number of prefixes accepted. |
| Prefixes Rejected | Number of prefixes rejected. |
| Max NLRI per Update | Maximum number of network layer reachability attributes in UPDATEs. |
| Min NLRI per Update | Minimum number of network layer reachability attributes in UPDATEs. |
show ip bgp prefix-list
This command displays information about a prefix list or prefix list entries.
| Default | None |
| Format | show ip bgp prefix-list <prefix-list-name> |
| Mode |
Privileged Exec User Exec |
| Fields | Definition |
|---|---|
| prefix-list-name | Filter the output to the set of routes that match a given prefix list.. |
Display Messages
| Fields | Definition |
|---|---|
| BGP table version | The BGP Table Version is the main number used. This number is the same as the Generation ID of any BGP prefix for a specific address family and is used to track changes to the BGP route table. |
| Local Route ID | A 32-bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value. Status of the table entry. The status is displayed at the beginning of each line in the table. It can be one of the following values: |
| Status Codes |
s — The table entry is suppressed. * — The table entry is valid. > — The table entry is the best entry to use for that network. i — The table entry was learned via an internal BGP (iBGP) session. S — The table entry stale route. |
| Origin codes |
Origin of the entry. The origin code is placed at the end of each line in the table. It can be one of the following values: i — Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command. e — Entry originated from an Exterior Gateway Protocol (EGP). ? — Origin of the path is not clear. Usually, this is a router that is redistributed into BGP from an IGP. |
| Network | Destination IP address. |
| Next Hop | IP address of the next system that is used when forwarding a packet to the destination network. An entry of 0.0.0.0 indicates that the router has some non-BGP routes to this network. |
| Metric | The value of the interautonomous system metric. Value of the MED attribute, if included. |
| LocPref | Local preference value as set with the set local-preference route-map configuration command or received from the peer. The default value is 100. |
| Path | Autonomous system paths to the destination network. There can be one entry in this field for each autonomous system in the path. |
show ip bgp route-reflection
This command displays all global configuration related to IPv4 route reflection, including the cluster ID and whether client-to-client route reflection is enabled, and lists all the neighbors that are configured as route reflector clients. If a VRF instance is specified, the routes within that VRF instance are displayed.
If a route reflector client is configured with an outbound route map, the output warns that the set statements in the route map are ignored when reflecting routes to this client.
| Default | None |
| Format | show ip bgp [vrf vrf-name] route-reflection |
| Mode |
Privileged Exec User Exec |
Display Messages
| Fields | Definition |
|---|---|
| Cluster ID | The cluster ID used by this router. The value configured with the bgp cluster-id command is displayed. If no cluster-ID is configured, the local router ID is shown and tagged as default. |
| Client-to-client Reflection | Display Enabled when this router reflectors routes received from it clients to its other clients; otherwise display Disabled. |
| Clients | A list of this router’s internal peers that have been configured as router reflector clients. |
| Non-client Internal Peer | A list of this router’s internal peers that are not configured as route reflector clients. Routes from non-client peers are reflected to clients and vice-versa. |
show ip bgp summary
This command displays the status of all Border Gateway Protocol (BGP) connections. If a VRF instance is specified, the configuration and status for the routes within that VRF instance are displayed.
| Default | None |
| Format | show ip bgp [vrf vrf-name] summary |
| Mode |
Privileged Exec User Exec |
Display Messages
| Fields | Definition |
|---|---|
| IPv4 Routing | Whether IPv4 routing is globally enabled. |
| BGP Admin Mode | Shows whether the administrative mode of BGP in the router is enabled or disabled. |
| BGP Operational Mode | Shows whether the BGP is operated in enabled or disabled. |
| BGP Router ID | Router ID for the current BGP. |
| Local AS Number | Autonomous system number of the current BGP. |
| Number of Network Entries | Number of unique prefix entries in the BGP database. |
| Number of AS Paths | Number of path entries in the BGP database. |
| Dynamic Neighbors Current/High/Limit | The limit number of BGP dynamic neighbors |
| Neighbor | IP address of the neighbor. |
| ASN | Autonomous system number of the neighbor. |
| MsgRcvd | Number of messages received from the neighbor. |
| MsgSent | Number of messages sent to the neighbor. |
| State | The area ID of the OSPF area associated with the interface. |
| Up/Down Time | The length of time that the BGP session has been in the Established state, or the current status if not in the Established state. |
| Pfx Rcvd | The number of prefixes that have been received from a neighbor. |
show ip bgp template
This command displays peer policy template configurations.
| Default | None |
| Format | show ip bgp template [<template-name>] |
| Mode |
Privileged Exec User Exec |
| Fields | Definition |
|---|---|
| template-name | Displays the configurations in a specific template. |
Display Messages
| Fields | Definition |
|---|---|
| template-name | Name of the peer template. |
| AF | Address Family (IPv4 or IPv6). |
| Configuration | The configuration information of the peer template. |
show ip bgp traffic
This command displays global BGP message counters. If a VRF instance is specified, the counters within that VRF instance are displayed.
| Default | None |
| Format | show ip bgp [vrf vrf-name] traffic |
| Mode |
Privileged Exec User Exec |
Display Messages
| Fields | Definition |
|---|---|
| Time Since Counters Cleared | How long ago the SPF ran. The time is in the format hh:mm:ss, giving the hours, minutes, and seconds since the SPF run. |
| BGP Message Statistics | The statistics of BGP messages sent/received. |
| Recd | Total number of received messages. |
| Sent | Total number of transmitted messages. |
| Open | Number of open messages sent and received. |
| Update | Number of update messages sent and received. |
| Notification | Number of notification (error) messages sent and received. |
| Keepalive | Number of keepalive messages sent and received. |
| Refresh | Number of route refresh request messages sent and received. |
| Total | Total number of messages sent and received. |
| Max Received UPDATE rate | Maximum rate of received UPDATE messages. |
| Max Send UPDATE rate | Maximum rate of sent UPDATE messages. |
| BGP Queue Statistics | The queue statistics of BGP protocol thread. |
| Events | Holds configuration events, timer expiration events and TCP status reports. |
| Keepalive Tx | Keepalive timer event expirations. |
| Dec Proc | Holds events to trigger one of the 3 phases of the decision proces. |
| Rx Data | Incoming data. |
| RTO Notifications | RTO notifications. Redistributed routes and next hop resolution changes. |
| MIB Queries | BGP MIB path queries. |
| Current | Number of messages in queue currently. |
| Max | Maximum number of messages in queue. |
| Drops | Number of messages dropped. |
| Limit | Maximum size of queue. |
show ip bgp update-group
This command displays information about the Border Gateway Protocol (BGP) update groups. If a VRF instance is specified, the status of the update groups for that VRF instance are displayed.
| Default | None |
| Format | show ip bgp [vrf vrf-name] update-group [index-group | peeripadd] |
| Mode |
Privileged Exec User Exec |
| Fields | Definition |
|---|---|
| index-group | Update group type with its corresponding index number. The range of update-group index numbers is from 1 to 4294967295. |
| Peeripadd | IPv4 or IPv6 address of a single neighbor who is a member of an update group. |
Display Messages
| Fields | Definition |
|---|---|
| Update Group | Update-group number. |
| Peer Type | Update-group type (internal or external). |
| Minimum Advertisement Interval | Minimum time, in seconds, between update advertisements. |
| Send Community | If the BGP communities are included in route advertisements to members of the group. |
| Send Extended Community | If the BGP extended communites are included in route advertisements to members of the group. |
| Remove Private ASNs | If BGP removes private ASNs from paths advertised to members of this update group. Replace if BGP replaces private ASNs with the local ASN. Remove if private ASNs are simply removed. Otherwise No. |
| Route Reflector Client | If peers in this update group are route reflector clients. |
| Neighbor AS Path Access List Out | Neighbor AS Path list out. All members of the group use the same. |
| Neighbor Prefix List Out | Neighbor prefix list out. All members of the group use the same. |
| Neighbor Route Map Out | Neighbor route map out. All members of the group use the same. |
| Members Added | Number of members added to the group. |
| Members Removed | Number of members removed from the group. |
| Update Version | Number of times phase 3 of the decision process has run for the group. |
| Number of UPDATES Sent | Number of UPDATE packets sent to this group. |
| Time Since Last UPDATE | Number of seconds since last UPDATE sent to group. |
| Current Prefixes | Number of prefixes currently advertised to the group. |
| Current Paths | Number of paths in update group's Adj-RIB-Out. |
| Prefixes Advertised | Number of prefixes advertised. |
| Prefixes Withdrawn | Number of prefixes withdrawn. |
| UPDATE Send Failures | Number of Tx of UPDATE message failed to one or more group members. |
| Current Members | The IPv4 address of all current members of the group. |
| Version | The number of times decision process phase 3 had run before this history table entry. |
| Delta T | When update send occured. |
| Duration | How long the update send process took. |
| UPD Built | Number of UPDATE messages constructed during this update send. |
| UPD Sent | Number of UPDATE messages transmitted during this update send. Generally each UPDATE built is sent once to each member of the update group. |
| Paths Sent | Number of prefixes advertised during this update send. |
| Pfxs Adv | Number of prefixes withdrawn during this update send. |
| Pfxs Wd | Number of paths advertised. |
show bgp ipv6
This command displays IPv6 routes in the BGP routing table.
| Default | None |
| Format | show bgp ipv6 |
| Mode |
Privileged Exec User Exec |
Display Messages
| Fields | Definition |
|---|---|
| BGP table version | The BGP Table Version is the main number used. This number is the same as the Generation ID of any BGP prefix for a specific address family and is used to track changes to the BGP route table. Each time phase 2 of the BGP decision process runs to select new BGP routes, this number is incremented. |
| Local Route ID | A 32-bit integer in dotted decimal format identifying the router, about which information is displayed. This is a configured value. |
| Status Codes |
Status of the table entry. The status is displayed at the beginning of each line in the table. It can be one of the following values: s — The table entry is suppressed. * — The table entry is valid. > — The table entry is the best entry to use for that network. i — The table entry was learned via an internal BGP (iBGP) session. S — The table entry is stale route |
| Origin codes |
Origin of the entry. The origin code is placed at the end of each line in the table. It can be one of the following values: i — Entry originated from an Interior Gateway Protocol (IGP) and was advertised with a network router configuration command. e — Entry originated from an Exterior Gateway Protocol (EGP). ? — Origin of the path is not clear. Usually, this is a router that is redistributed into BGP from an IGP. |
| Network | IPv6 Destination prefix. |
| Next Hop | The IPv6 route’s BGP next hop. |
| Metric | Multi Exit Discriminator. |
| LocPref | Local preference value as set with the set local-preference route-map configuration command. The default value is 100. |
| Path | Autonomous system paths to the destination network. There can be one entry in this field for each autonomous system in the path. |
show bgp ipv6 <ipv6-prefix/prefix-length>
This command displays the BGP routing table entries which are filtered the display output with a ipv6-prefix/prefix-length.
| Default | None |
| Format | show bgp ipv6 <ipv6-prefix/prefix-length> [longer-prefixes | shorter-prefixes [length]] |
| Mode | Privileged Exec |
| Fields | Definition |
|---|---|
| ipv6-prefix/length | The destination IPv6 prefix and prefix length entered to filter the output to display only a particular host or network in the BGP routing table. |
| longer-prefixes | Display the specified prefix and any longer prefixes within the same range. |
| shorter-prefixes [length] | Used with the ipv6-prefix/prefix-length option to show routes whose prefix length is shorter than prefix length, and optionally longer than a specified length. This option may not be given if the longer-prefixes option is given. |
User Exec
Display Messages
| Fields | Definition |
|---|---|
| ipv6-prefix/length | The destination IPv6 prefix and prefix length entered to filter the output to display only a particular host or network in the BGP routing table. |
| Generation ID | Incremented each time phase 2 of the decision process runs and whenever an aggregate address changes. Used to track changes to the BGP route table. |
| Advertised to Update Groups | The outbound update groups that this route is advertised to. |
| Best Path | Shows best path information as following. |
| Non-Best Paths | Show non-best path information as following. |
| Local Preference | Local preference value as set with the set local-preference route-map configuration command or received from the peer. The default value is 100. |
| AS Path | An Autnonomous System path is a list of all the autonomous systems that a specific route passes through to reach one destination. |
| Origin | Indicates the origin of the entry. It can be IGP, EGP, and Incomplete. Value of the ORIGIN attribute. |
| Metric | The value of the interautonomous system metric. Value of the MED attribute, if included. |
| Type | Type of peer (internal or external). |
| IGP Cost | The cost of Interior Gateway Protocol (IGP) to the BGP NEXT HOP. |
| Peer (Peer ID) | The IP Address of the Peer's BGP interface (The Router ID of the Peer's BGP). |
| BGP Next Hop | IP address of the next system that is used when forwarding a packet to the destination network. |
| Atomic Aggregate | Include atomic-aggregate routes or not. |
| Aggregator (AS, Router ID) | The information (AS number and router ID) of the speaker that aggregated the routes. |
| Communities | Valid value is a BGP community number in the range from 1 to 4294967200, or AA:NN (autonomous system-community number/2-byte number), no-peer, no-export, no-export-subconfed, or no-advertise. |
| Originator | The value of the ORIGINATOR attribute, if the attribute is attached to the path. |
| Cluster list | The value of the CLUSTER LIST attribute, if the attribute is attached to the path. |