Show commands (continued)

Use these M4500 CLI commands to display BGP IPv6 aggregates, communities, neighbors, statistics, update groups, listen ranges, and VPNv4 routes.

show bgp ipv6 aggregate-address

This command displays information about the aggregate-address.

Default None
Format show bgp ipv6 aggregate-address
Mode

Privileged Exec

User Exec

Display Messages

Fields Definition
Aggregation of routes with different MED values is allowed The aggregate-different-meds is enabled.
Prefix/Len Destination IPv6 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 bgp ipv6 community

This command display routes that belong to specified BGP communities.

Format show bgp ipv6 community [<community-number>] [exact-match] [no-advertise] [no-export] [no-

export-subconfed]

Fields Definition
< 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 Display only routes that are members of those communities specified in the command.
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.
no-export-subconfed Display only routes that are not sent outside of the local AS or subconfeds.
Default None
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.
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 IPv6 address of the next system that is used when forwarding a packet to the destination 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 bgp ipv6 community-list

This command display IPv6 routes that are permitted by the Border Gateway Protocol (BGP) community list.

Default None
Format show bgp ipv6 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 bgp vpnv4

This command displays BGP VPNv4 routes.

Default None
Format show ip bgp vpnv4 {<prefix/length> | all | rd <as-number>:<value> | <ip-address>:<value> [<prefix/length>] | vrf <vrfname> [<prefix/length>]}
Mode

Privileged Exec

User 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 listen range

This command displays IPv4 BGP listen ranges as well as peers discovered.

Default None
Format show ip bgp [vrf <vrf-name>] listen range [<prefix>/<prefix-length>]
Mode

Privileged Exec

User Exec

Display Messages

Fields Definition
Listen Range The IP address range to listen BGP peers
Inherited Template The peer template inherited
Member The IP address of the BGP peer discovered
ASN The AS number which the BGP peer belongs to
State The neighboring state of the BGP peer discovered

show ip protocols bgp

This command displays setting of IPv4 BGP configuration. If the virtual router is specified, the summary of the configuration and status running in the specified virtual router is listed. If no virtual router is specified, the configuration and status for the default router are displayed.

Default None
Format show ip protocol [vrf vrf-name] bgp
Mode

Privileged Exec

User Exec

Display Messages

Fields Definition
Routing Protocol Routing protocol of these setting. It’s always BGP in this case.
BGP Router ID Setting of BGP router ID
Local AS Number AS Number of this device.
BGP Admin Mode Whether BGP protocol is enabled. (Enabled or Disabled).
BGP GR-Enabled Mode Whether BGP Graceful Restart Enabled Mode is enabled. (Enabled or Disabled)
BGP GR-Aware Mode Whether BGP Graceful Restart Aware Mode is enabled. (Enabled or Disabled)
BGP GR restart-time Setting of BGP Graceful Restart Timer.
BGP GR stalepath-time Setting of BGP Graceful Stale Path Timer.
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 routers 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 a eBGP adjacency if the routing table manager reports that the peer address is no longer reachable..
Distance The administrative distance for intra-area, inter-area, and external routes.
Prefix List In The global prefix list used to filter inbound routers from all neighbors.
Prefix List Out The global prefix list used to filter outbound routers from all neighbors.
Networks Originated The set of networks originated through a network command. Those networks that are actually advertised to neighbors are marked “active”.

show bgp ipv6 filter-list

Use this command to display routes that conform to a specified filter list.

Default None
Format show bgp ipv6 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 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 IPv6 address.
Next Hop IPv6 address of the next system that is used when forwarding a packet to the destination 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 bgp ipv6 neighbors

This command displays information about Border Gateway Protocol (BGP) and TCP connections to neighbors.

Format show bgp ipv6 neighbors [<ip-address> [interface {<slot/port> | vlan <1-4093>}] [advertised-routes |

policy | received-routes | rejected-routes | routes] | policy | autodetect interface <slot/port>[advertised-routes | policy | received-routes | rejected-routes | routes]]

Fields Definition
ip-address Displays information about the IPv6 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.
Autodetect Display information about the autodetected IPv6 neighbor on the specified interface-name.
Default None
Mode

Privileged Exec

User Exec

Display Messages

Fields Definition
Remote Address The IP Address of the Peer's BGP interface.
Autodetect Status Display only if the peer is configured as “autodetect”. The field shows one of the following statuses: “Peer is detected”, “Peer is not detected”, or “Multiple peers are detected”.
Remote AS Autonomous system number of the neighbor.
Allow my ASN occurences The allowas-in count for a given peer.
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 IPv6 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.
RFC 5549 Support Support RFC5549 or not.
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.
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 bgp ipv6 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 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 bgp ipv6 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 bgp ipv6 statistics

This command displays the recent decision process history.

Default None
Format show bgp ipv6 statistics
Mode

Privileged Exec

User Exec

Display Messages

Fields Definition
Delta T The time values since decision process ran. Hours:minutes:seconds if the elapsed time is less than 24 hours. Otherwise, days:hours.
Phase In which decision process phase that ran.
Upd Grp Outbound update group ID. Only set when decProcPhase is 3.
GenId Generation ID of BGP routing table when decision process was run. The generation ID is incremented each time phase 2 of the decision process is run and when there is a change to the status of aggregate addresses.
Reason Why decision process was triggered.
Peer Phase 1 of the decision process can be triggered for a specific peer when a peer’s inbound routing policy changes or the peer is reset. When phase 1 is run for a single peer, the peer’s IP address is given.
Duration How long the decision process phase took, in milliseoncds.
Adds Number of routes added during decision process phase.
Mods Number of routes modified during decision process phase. Always 0 in phase 1.
Dels Number of routes deleted during decision process phase. Always 0 in phase 1.

show bgp ipv6 summary

This command displays the status of all Border Gateway Protocol (BGP) connections.

Default None
Format show bgp ipv6 summary
Mode

Privileged Exec

User Exec

Display Messages

Fields Definition
IPv6 Routing Whether IPv6 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 IPv6 prefix entries in the BGP database.
Number of AS Paths Number of path entries in the BGP database.
Neighbor IPv6 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 IPv6 prefixes that have been received from a neighbor.

show bgp ipv6 update-group

This command displays information about the Border Gateway Protocol (BGP) update groups and their numbers.

Default None
Format show bgp ipv6 update-group [index-group | peeripadd | autodetect interface <interface-name>]
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.
Autodetect The routing interface on which the neighbor’s link local IPv6 address is auto detected.

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. If BGP removes private ASNs from paths advertised to members of this update group.
Remove Private ASNs Replace if BGP replaces private ASNs with the local ASN. Remove if private ASNs are simply removed. Otherwsie 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 ipv6 protocols bgp

This command displays setting of IPv6 BGP configuration.

Default None
Format show ipv6 protocol bgp
Mode

Privileged Exec

User Exec

Display Messages

Fields Definition
Routing Protocol Routing protocol of these setting. It’s always BGP in this case.
BGP Router ID Setting of BGP router ID
Local AS Number AS Number of this device.
BGP Admin Mode Whether BGP protocol is enabled. (Enabled or Disabled).
BGP GR-Enabled Mode Whether BGP Graceful Restart Enabled Mode is enabled. (Enabled or Disabled)
BGP GR-Aware Mode Whether BGP Graceful Restart Aware Mode is enabled. (Enabled or Disabled)
BGP GR restart-time Setting of BGP Graceful Restart Timer.
BGP GR stalepath-time Setting of BGP Graceful Stale Path Timer.
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 routers 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 a iBGP adjacency if the routing table manager reports that the peer address is no longer reachable.
Fast External Failover Whether BGP immediately brings down a eBGP adjacency if the routing table manager reports that the peer address is no longer reachable..
Distance The administrative distance for intra-area, inter-area, and external routes.
Prefix List In The global prefix list used to filter inbound routers from all neighbors.
Prefix List Out The global prefix list used to filter outbound routers from all neighbors.
Networks Originated The set of networks originated through a network command. Those networks that are actually advertised to neighbors are marked “active”.

show bgp ipv6 listen range

This command displays IPv6 BGP listen ranges as well as peers discovered.

Default None
Format show bgp ipv6 listen range [<ipv6-prefix>/<prefix-length>]
Mode

Privileged Exec

User Exec

Fields Definition
listen range Display all listen subnet ranges that have been created.
<ipv6-prefix>/<prefix-length> Display information about specified listen range.

Display Messages

Fields Definition
Listen Range The IP address range to listen BGP peers.
Inherited Template The peer template inherited.
Member The IP address of the BGP peer discovered .
ASN The AS number which the BGP peer belongs to.
State The neighboring state of the BGP peer discovered.