router [router-instance]
show
Supported on all 7210 SAS platforms as described in this document
This command displays router instance information.
Specifies either the router name or service ID.
bgp
show>router
Supported on all 7210 SAS platforms as described in this document
Commands in this context display BGP related information.
auth-keychain keychain
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays BGP sessions using a specific authentication keychain.
Specifies an existing keychain name, up to 32 characters.
The following output is an example of authentication keychain information, and Table: Output fields: BGP auth-keychain describes the output fields.
Sample output — auth-keychain*A:ALA-48# show router 2 bgp auth-keychain
===============================================================================
Sessions using key chains
===============================================================================
Peer address Group Keychain name
-------------------------------------------------------------------------------
10.20.1.3 1 eta_keychain1
30.1.0.2 1 eta_keychain1
===============================================================================
*A:ALA-48#
*A:ALA-48>config>router>bgp# show router bgp group "To_AS_10000"
===============================================================================
BGP Group : To_AS_10000
-------------------------------------------------------------------------------
Group : To_AS_10000
-------------------------------------------------------------------------------
Group Type : No Type State : Up
Peer AS : 10000 Local AS : 200
Local Address : n/a Loop Detect : Ignore
Import Policy : None Specified / Inherited
Hold Time : 90 Keep Alive : 30
NLRI : Unicast Preference : 170
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Enabled Stale Routes Time: 360
Auth key chain : testname
List of Peers
- 10.0.0.8 :
To_Router B - EBGP Peer
Total Peers : 1 Established : 0
-------------------------------------------------------------------------------
Peer Groups : 1
===============================================================================
*A:ALA-48>config>router>bgp#
*A:Dut-b>config>router>
*A:ALA-48>config>router>bgp# show router bgp neighbor 10.0.0.8
===============================================================================
BGP Neighbor
-------------------------------------------------------------------------------
Peer : 10.0.0.8
Group : To_AS_10000
-------------------------------------------------------------------------------
Peer AS : 10000 Peer Port : 0
Peer Address : 10.0.0.8
Local AS : 200 Local Port : 0
Local Address : 0.0.0.0
Peer Type : External
State : Active Last State : Idle
Last Event : stop
Last Error : Cease
Local Family : IPv4
Remote Family : Unused
Hold Time : 90 Keep Alive : 30
Active Hold Time : 0 Active Keep Alive : 0
Preference : 99 Num of Flaps : 0
Recd. Paths : 0
IPv4 Recd. Prefixes : 0 IPv4 Active Prefixes : 0
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 0 o/p Messages : 0
i/p Octets : 0 o/p Octets : 0
i/p Updates : 0 o/p Updates : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Enabled Stale Routes Time : 360
Advertise Inactive : Disabled Peer Tracking : Disabled
Advertise Label : None
Auth key chain : testname
Local Capability : RouteRefresh MP-BGP
Remote Capability :
Import Policy : None Specified / Inherited
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
*A:ALA-48>config>router>bgp#
*A:ALA-48>config>router>bgp# show router bgp auth-keychain testname
=========================================================================
Sessions using key chain: keychain
=========================================================================
Peer address Group Keychain name
-------------------------------------------------------------------------
10.0.0.8 To_AS_10000 testname
=========================================================================
*A:ALA-48>config>router>bgp#
Label |
Description |
---|---|
Peer address |
Displays the IP address of the peer |
Group |
Displays the BGP group name |
Keychain name |
Displays the authentication keychain associated with the session, if applicable |
damping [ip-prefix [/ip-prefix-length]] [damp-type] [detail] [ipv4]
damping [ip-prefix [/ip-prefix-length]] [damp-type] [detail] [ipv6]
damping [ip-prefix [/ip-prefix-length]] [damp-type] [detail] [vpn-ipv4]
damping [ip-prefix [/ip-prefix-length]] [damp-type] [detail] [vpn-ipv6]
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays BGP routes that have been dampened due to route flapping. This command can be entered with or without a route parameter. If no parameters are included, all dampened routes are listed.
When the keyword detail is included, more detailed information is displayed.
If a damp-type is specified, only those types of dampened routes (decayed, history, or suppressed) are displayed. Routes that have a state of decayed have gained penalties for flapping but have not yet reached the suppression limit. Routes that have a state of history have had a route flap and have been withdrawn. Routes that have a state of suppressed have reached the suppression limit and are not considered in BGP path selection.
Displays damping information for the specified IP address.
Displays damping information for routes with the specified damp type.
Displays detailed information.
Displays dampened routes for the IPv4 address family.
Displays dampened routes for the IPv6 address family.
Displays dampened routes for the VPN-IPv4 address family.
Displays dampened routes for the VPN-IPv6 address family.
The following output is an example of BGP damping information, and Table: Output fields: router BGP damping describes the output fields.
Sample outputA:ALA-12# show router bgp damping
===============================================================================
BGP Router ID : 10.0.0.14 AS : 65206 Local AS : 65206
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, - best
===============================================================================
BGP Damped Routes
===============================================================================
Flag Network From Reuse AS-Path
-------------------------------------------------------------------------------
ud*i 10.149.7.0/24 10.0.28.1 00h00m00s 60203 65001 19855 3356
1239 22406
si 10.155.6.0/23 10.0.28.1 00h43m41s 60203 65001 19855 3356
2914 7459
si 10.155.8.0/22 10.0.28.1 00h38m31s 60203 65001 19855 3356
2914 7459
si 10.155.12.0/22 10.0.28.1 00h35m41s 60203 65001 19855 3356
2914 7459
si 10.155.22.0/23 10.0.28.1 00h35m41s 60203 65001 19855 3356
2914 7459
si 10.155.24.0/22 10.0.28.1 00h35m41s 60203 65001 19855 3356
2914 7459
si 10.155.28.0/22 10.0.28.1 00h34m31s 60203 65001 19855 3356
2914 7459
si 10.155.40.0/21 10.0.28.1 00h28m24s 60203 65001 19855 3356
7911 7459
si 10.155.48.0/20 10.0.28.1 00h28m24s 60203 65001 19855 3356
7911 7459
ud*i 10.8.140.0/24 10.0.28.1 00h00m00s 60203 65001 19855 3356
4637 17447
ud*i 10.8.141.0/24 10.0.28.1 00h00m00s 60203 65001 19855 3356
4637 17447
ud*i 10.9.0.0/18 10.0.28.1 00h00m00s 60203 65001 19855 3356
3561 9658 6163
. . .
ud*i 10.213.184.0/23 10.0.28.1 00h00m00s 60203 65001 19855 3356
6774 6774 9154
-------------------------------------------------------------------------------
A:ALA-12#
A:ALA-12# show router bgp damping detail
===============================================================================
BGP Router ID : 10.0.0.14 AS : 65206 Local AS : 65206
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * -
valid
Origin codes : i - IGP, e - EGP, ? - incomplete, - best
===============================================================================
BGP Damped Routes
===============================================================================
-------------------------------------------------------------------------------
Network : 10.149.7.0/24
-------------------------------------------------------------------------------
Network : 10.149.7.0/24 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h00m00s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h22m09s Last update : 02d00h58m
FOM Present : 738 FOM Last upd. : 2039
Number of Flaps : 2 Flags : ud*i
Path : 60203 65001 19855 3356 1239 22406
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
Network : 10.142.48.0/20
-------------------------------------------------------------------------------
Network : 10.142.48.0/20 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h00m00s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h00m38s Last update : 02d01h20m
FOM Present : 2011 FOM Last upd. : 2023
Number of Flaps : 2 Flags : ud*i
Path : 60203 65001 19855 3356 3561 5551 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
Network : 10.200.128.0/19
-------------------------------------------------------------------------------
Network : 10.200.128.0/19 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h00m00s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h00m38s Last update : 02d01h20m
FOM Present : 2011 FOM Last upd. : 2023
Number of Flaps : 2 Flags : ud*i
Path : 60203 65001 19855 1299 702 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
Network : 10.203.192.0/18
-------------------------------------------------------------------------------
Network : 10.203.192.0/18 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h00m00s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h00m07s Last update : 02d01h20m
FOM Present : 1018 FOM Last upd. : 1024
Number of Flaps : 1 Flags : ud*i
Path : 60203 65001 19855 1299 702 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
A:ALA-12#
A:ALA-12# show router bgp damping 10.203.192.0/18 detail
===============================================================================
BGP Router ID : 10.0.0.14 AS : 65206 Local AS : 65206
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, - best
===============================================================================
BGP Damped Routes 15.203.192.0/18
===============================================================================
-------------------------------------------------------------------------------
Network : 10.203.192.0/18
-------------------------------------------------------------------------------
Network : 10.203.192.0/18 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h00m00s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h00m42s Last update : 02d01h20m
FOM Present : 2003 FOM Last upd. : 2025
Number of Flaps : 2 Flags : ud*i
Path : 60203 65001 19855 3356 702 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
Paths : 1
===============================================================================
A:ALA-12#
A:ALA-12# show router bgp damping suppressed detail
===============================================================================
BGP Router ID : 10.0.0.14 AS : 65206 Local AS : 65206
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, - best
===============================================================================
BGP Damped Routes (Suppressed)
===============================================================================
-------------------------------------------------------------------------------
Network : 10.142.48.0/20
-------------------------------------------------------------------------------
Network : 10.142.48.0/20 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h29m22s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h01m28s Last update : 02d01h20m
FOM Present : 2936 FOM Last upd. : 3001
Number of Flaps : 3 Flags : si
Path : 60203 65001 19855 3356 702 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
Network : 10.200.128.0/19
-------------------------------------------------------------------------------
Network : 10.200.128.0/19 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h29m22s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h01m28s Last update : 02d01h20m
FOM Present : 2936 FOM Last upd. : 3001
Number of Flaps : 3 Flags : si
Path : 60203 65001 19855 3356 702 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
Network : 10.203.240.0/20
-------------------------------------------------------------------------------
Network : 10.203.240.0/20 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h29m22s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h01m28s Last update : 02d01h20m
FOM Present : 2936 FOM Last upd. : 3001
Number of Flaps : 3 Flags : si
Path : 60203 65001 19855 3356 702 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
Network : 10.206.0.0/17
-------------------------------------------------------------------------------
Network : 10.206.0.0/17 Peer : 10.0.28.1
NextHop : 10.0.28.1 Reuse time : 00h29m22s
Peer AS : 60203 Peer Router-Id : 32.32.27.203
Local Pref : none
Age : 00h01m28s Last update : 02d01h20m
FOM Present : 2936 FOM Last upd. : 3001
Number of Flaps : 3 Flags : si
Path : 60203 65001 19855 3356 702 1889
Applied Policy : default-damping-profile
-------------------------------------------------------------------------------
A:ALA-12#
Label |
Description |
---|---|
BGP Router ID |
Displays the local BGP router ID |
The local BGP router ID. |
Displays the configured ASN |
Local AS |
Displays the configured or inherited local AS for the specified peer group. If not configured, it is the same value as the AS. |
Network |
Displays the route IP prefix and mask length for the route |
Flag(s) |
Legend: Status codes: u- used, s-suppressed, h-history, d-decayed, *-valid. If a * is not present, then the status is invalid. Origin codes: i-IGP, e-EGP, ?-incomplete, >-best |
From |
Displays the originator ID path attribute value |
Reuse time |
Displays the time when a suppressed route can be used again |
From |
Displays the originator ID path attribute value |
Reuse time |
Displays the time when a suppressed route can be used again |
AS Path |
Displays the BGP AS path for the route |
Peer |
Displays the router ID of the advertising router |
NextHop |
Displays the BGP next hop for the route |
Peer AS |
Displays the ASN of the advertising router |
Peer Router-Id |
Displays the router ID of the advertising router |
Local Pref |
Displays the BGP local preference path attribute for the route |
Age |
Displays the length of time in the hour/minute/second (HH:MM:SS) format. |
Last update |
Displays the time when BGP was updated last in the day/hour/minute (DD:HH:MM) format |
FOM Present |
Displays the current Figure of Merit (FOM) value |
Number of Flaps |
Displays the number of route flaps in the neighbor connection |
Path |
Displays the BGP AS path for the route |
Applied Policy |
Displays the applied route policy name |
group [name] [detail]
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays group information for a BGP peer group. This command can be entered with or without parameters.
When this command is entered without a group name, information about all peer groups displays.
When the command is issued with a specific group name, information pertaining to only that specific peer group displays.
The ‛State’ field displays the BGP group operational state. Valid states are the following:
Up
The BGP global process is configured and running.
Down
Te BGP global process is administratively shutdown and not running.
Disabled
The BGP global process is operationally disabled. The process must be restarted by the operator.
Displays information for the specified BGP group, up to 32 characters.
Displays detailed information.
The following outputs are examples of BGP group information, and Table: Output fields: router BGP group describes the output fields:
Sample outputA:ALA-12# show router bgp group
===============================================================================
BGP Groups
-------------------------------------------------------------------------------
Group : To_AS_40000
-------------------------------------------------------------------------------
Description : Not Available
Group Type : No Type State : Up
Peer AS : 40000 Local AS : 65206
Local Address : n/a Loop Detect : Ignore
Export Policy : direct2bgp
Hold Time : 90 Keep Alive : 30
NLRI : Unicast Preference : 170
List of Peers
- 10.0.0.1 : To_Jukebox
- 10.0.0.12 : Not Available
- 10.0.0.13 : Not Available
- 10.0.0.14 : To_SR1
- 10.0.0.15 : To_H-215
Total Peers : 5 Established : 2
===============================================================================
A:ALA-12#
Sample detailed output
A:ALA-12# show router bgp group detail
===============================================================================
BGP Groups (detail)
-------------------------------------------------------------------------------
Group : To_AS_40000
-------------------------------------------------------------------------------
Description : Not Available
Group Type : No Type State : Up
Peer AS : 40000 Local AS : 65206
Local Address : n/a Loop Detect : Ignore
Connect Retry : 20 Authentication : None
Local Pref : 100 MED Out : 0
Multihop : 0 (Default)
Min Route Advt. : 30 Min AS Originate : 15
Prefix Limit : No Limit Passive : Disabled
Next Hop Self : Disabled Aggregator ID 0 : Disabled
Remove Private : Disabled Damping : Disabled
Export Policy : direct2bgp
Hold Time : 90 Keep Alive : 30
NLRI : Unicast Preference : 170
List of Peers
- 10.0.0.1 : To_Jukebox
- 10.0.0.12 : Not Available
- 10.0.0.13 : Not Available
- 10.0.0.14 : To_SR1
- 10.0.0.15 : To_H-215
Total Peers : 5 Established : 2
===============================================================================
A:ALA-12#
A:SetupCLI>show>router>bgp# group
===============================================================================
BGP Group
-------------------------------------------------------------------------------
Group : bgp_group_1 34567890123456789012
-------------------------------------------------------------------------------
Description : Testing the length of the group value for the DESCRIPTION
parameter of BGP
Group Type : No Type State : Up
Peer AS : n/a Local AS : 100
Local Address : n/a Loop Detect : Ignore
Import Policy : test i1
: test i2
: test i3
: test i4
: test i5 890123456789012345678901
Export Policy : test e1
: test e2
: test e3
: test e4
: test e5 890123456789012345678901
Hold Time : 120 Keep Alive : 30
NLRI : Unicast Preference : 101
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Disabled Stale Routes Time: n/a
Auth key chain : n/a Bfd Enabled : Yes
List of Peers
- 10.3.3.3 :
Testing the length of the neighbor value for the DESCRIPTION parameter of
BGP
Total Peers : 1 Established : 0
-------------------------------------------------------------------------------
Peer Groups : 1
===============================================================================
A:SetupCLI>show>router>bgp#
Label |
Description |
---|---|
Group |
Displays the BGP group name |
Group Type |
No Type — Peer type not configured External — Peer type configured as external BGP peers Internal — Peer type configured as internal BGP peers |
State |
Disabled — The BGP peer group has been operationally disabled Down — The BGP peer group is operationally inactive Up — The BGP peer group is operationally active |
Peer AS |
Displays the configured or inherited peer AS for the specified peer group |
Local AS |
Displays the configured or inherited local AS for the specified peer group |
Local Address |
Displays the configured or inherited local address for originating peering for the specified peer group |
Loop Detect |
Displays the configured or inherited loop detect setting for the specified peer group |
Connect Retry |
Displays the configured or inherited connect retry timer value |
Authentication |
None — No authentication is configured MD5 — MD5 authentication is configured |
Bfd |
Yes — BFD is enabled No — BFD is disabled |
Local Pref |
Displays the configured or inherited local preference value |
MED Out |
Displays the configured or inherited MED value assigned to advertised routes without a MED attribute |
Min Route Advt. |
Displays the minimum amount of time that must pass between route updates for the same IP prefix |
Min AS Originate |
Displays the minimum amount of time that must pass between updates for a route originated by the local router |
Multihop |
Displays the maximum number of router hops a BGP connection can traverse |
Prefix Limit |
No Limit — No route limit assigned to the BGP peer group 1 to 4294967295 — The maximum number of routes BGP can learn from a peer |
Passive |
Disabled — BGP attempts to establish a BGP connection with neighbor in the specified peer group Enabled — BGP will not actively attempt to establish a BGP connection with neighbor in the specified peer group |
Next Hop Self |
Disabled — BGP is not configured to send only its own IP address as the BGP next hop in route updates to neighbors in the peer group Enabled — BGP sends only its own IP address as the BGP next hop in route updates to neighbors in the specified peer group |
Aggregator ID 0 |
Disabled — BGP is not configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates sent to the neighbor in the peer group Enabled — BGP is configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates sent to the neighbor in the peer group |
Remove Private |
Disabled — BGP will not remove all private AS numbers from the AS path attribute in updates sent to the neighbor in the peer group Enabled — BGP removes all private AS numbers from the AS path attribute in updates sent to the neighbor in the peer group |
Damping |
Disabled — The peer group is configured not to dampen route flaps Enabled — The peer group is configured to dampen route flaps |
Export Policy |
Displays the configured export policies for the peer group |
Import Policy |
Displays the configured import policies for the peer group |
Hold Time |
Displays the configured hold time setting |
Keep Alive |
Displays the configured keepalive setting |
Client Reflect |
Disabled — The BGP route reflector will not reflect routes to this neighbor Enabled — The BGP route reflector is configured to reflect routes to this neighbor |
NLRI |
Displays the type of NLRI information that the specified peer group can accept Unicast — IPv4 unicast routing information can be carried |
Preference |
Displays the configured route preference value for the peer group |
List of Peers |
Displays a list of BGP peers configured under the peer group |
Total Peers |
Displays the total number of peers configured under the peer group |
Established |
Displays the total number of peers that are in an established state |
neighbor [ip-address [detail]]
neighbor [as-address [detail]]
neighbor ip-address [family] [filter1 [brief]
neighbor ip-number [family] filter2
neighbor as-number [family] filter2
neighbor ip-address orf [filter3]
neighbor ip-address graceful-restart
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays BGP neighbor information. This command can be entered with or without any parameters.
When this command is issued without any parameters, information about all BGP peers displays.
When the command is issued with a specific IP address or ASN, information regarding only that specific peer or peers with the same AS displays.
When either received-routes or advertised-routes is specified, the routes received from or sent to the specified peer are listed (see Sample output for BGP neighbor received routes). This information is not available with SNMP.
When either history or suppressed is specified, the routes learned from those peers that either have a history or are suppressed are listed.
The State field displays the BGP peer protocol state. In addition to the standard protocol states, this field can also display the Disabled operational state, which indicates that the peer is operationally disabled and must be restarted by the operator.
Displays information for the specified IP address.
Displays information for the specified ASN.
Specifies the type of routing information to be distributed by this peer group.
Displays information for the specified IP address
Displays information for the specified ASN.
Displays information in a brief format. This parameter is only supported with received-routes and advertised-routes.
Displays outbound route filtering for the BGP instance. ORF (Outbound Route Filtering) is used to inform a neighbor of targets (using target-list) that it is willing to receive. This mechanism helps lessen the update exchanges between neighbors and saves CPU cycles to process routes that could have been received from the neighbor only to be dropped/ignored.
Displays path information for the specified IP address.
Displays neighbors configured for graceful restart.
The following outputs are examples of BGP neighbor information. The associated tables describe the output fields.
Sample output, Sample detailed output, Table: Output fields: router BGP neighbor
Sample output for BGP neighbor received routes, Table: Output fields: router BGP neighbor received-routes
Sample output — add-path, Table: Output fields: show neighbor add-path
*A:7210-SAS>show>router>bgp# neighbor
===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer : 1.1.1.1
Group : sample
-------------------------------------------------------------------------------
Peer AS : 12345 Peer Port : 0
Peer Address : 1.1.1.1
Local AS : 143 Local Port : 0
Local Address : 0.0.0.0
Peer Type : External
State : Active Last State : Connect
Last Event : openFail
Last Error : Cease
Local Family : IPv4 VPN-IPv4
Remote Family : Unused
Hold Time : 10000 (strict) Keep Alive : 21845
Active Hold Time : 0 Active Keep Alive : 0
Cluster Id : None
Preference : 10 Num of Flaps : 0
Recd. Paths : 0
IPv4 Recd. Prefixes : 0 IPv4 Active Prefixes : 0
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0 IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes : 0 IPv6 Active Prefixes : 0
VPN-IPv6 Recd. Pfxs : 0 VPN-IPv6 Active Pfxs : 0
VPN-IPv6 Suppr. Pfxs : 0
MVPN-IPv4 Suppr. Pfxs: 0 MVPN-IPv4 Recd. Pfxs : 0
MVPN-IPv4 Active Pfxs: 0
Input Queue : 0 Output Queue : 0
i/p Messages : 0 o/p Messages : 1
i/p Octets : 0 o/p Octets : 0
i/p Updates : 0 o/p Updates : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Enabled Stale Routes Time : 3600
Advertise Inactive : Enabled Peer Tracking : Enabled
Advertise Label : None
Auth key chain : keychain-one
Bfd Enabled : Disabled L2 VPN Cisco Interop : Disabled
Local Capability : RtRefresh MPBGP ORFSendExComm ORFRecvExComm
Remote Capability :
Import Policy : abcd
Export Policy : abcd
-------------------------------------------------------------------------------
Peer : 1.1.3.4
Group : test
-------------------------------------------------------------------------------
Peer AS : 0 Peer Port : 0
Peer Address : 1.1.3.4
Local AS : 12345 Local Port : 0
Local Address : 0.0.0.0
Peer Type : External
State : Idle Last State : Idle
Last Event : none
Last Error : Unrecognized Error
Local Family : VPN-IPv4
Remote Family : Unused
Hold Time : 0 (strict) Keep Alive : 0
Active Hold Time : 0 Active Keep Alive : 0
Preference : 10 Num of Flaps : 0
Recd. Paths : 0
IPv4 Recd. Prefixes : 0 IPv4 Active Prefixes : 0
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0 IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes : 0 IPv6 Active Prefixes : 0
VPN-IPv6 Recd. Pfxs : 0 VPN-IPv6 Active Pfxs : 0
VPN-IPv6 Suppr. Pfxs : 0
MVPN-IPv4 Suppr. Pfxs: 0 MVPN-IPv4 Recd. Pfxs : 0
MVPN-IPv4 Active Pfxs: 0
Input Queue : 0 Output Queue : 0
i/p Messages : 0 o/p Messages : 0
i/p Octets : 0 o/p Octets : 0
i/p Updates : 0 o/p Updates : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Enabled Stale Routes Time : 100
Advertise Inactive : Enabled Peer Tracking : Enabled
Advertise Label : None
Auth key chain : n/a
Bfd Enabled : Enabled L2 VPN Cisco Interop : Disabled
Local Capability : RtRefresh MPBGP
Remote Capability :
Import Policy : abcd
Export Policy : abcd
-------------------------------------------------------------------------------
*A:7210-SAS>
*A:SetupCLI>show>router>bgp# neighbor
===============================================================================
BGP Neighbor
===============================================================================
Peer : 3.3.3.3
Group : bgp_group_1 34567890123456789012
-------------------------------------------------------------------------------
Peer AS : 20 Peer Port : 0
Peer Address : 3.3.3.3
Local AS : 100 Local Port : 0
Local Address : 0.0.0.0
Peer Type : Internal
State : Active Last State : Idle
Last Event : stop
Last Error : Cease
Local Family : IPv4
Remote Family : Unused
Hold Time : 10 Keep Alive : 30
Active Hold Time : 0 Active Keep Alive : 0
Preference : 101 Num of Flaps : 0
Recd. Paths : 0
IPv4 Recd. Prefixes : 0 IPv4 Active Prefixes : 0
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 0 o/p Messages : 0
i/p Octets : 0 o/p Octets : 0
i/p Updates : 0 o/p Updates : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Enabled Stale Routes Time : 360
Advertise Inactive : Disabled Peer Tracking : Enabled
Advertise Label : None Bfd Enabled : Yes
Auth key chain : n/a
Local Capability : RouteRefresh MP-BGP
Remote Capability :
Import Policy : test i1
: test i2
: test i3
: test i4
: test i5 890123456789012345678901
Export Policy : test e1
: test e2
: test e3
: test e4
: test e5 890123456789012345678901
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
*A:Dut-B>config>service# show router bgp neighbor
===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer : 10.20.1.3
Description : (Not Specified)
Group : PEER_TO_C
-------------------------------------------------------------------------------
Peer AS : 300 Peer Port : 179
Peer Address : 10.20.1.3
Local AS : 300 Local Port : 49635
Local Address : 10.20.1.5
Peer Type : Internal
State : Established Last State : Active
Last Event : recvKeepAlive
Last Error : Cease (Other Configuration Change)
Local Family : IPv4
Remote Family : IPv4
Hold Time : 90 Keep Alive : 30
Min Hold Time : 0
Active Hold Time : 90 Active Keep Alive : 30
Cluster Id : None
Preference : 170 Num of Update Flaps : 20
Recd. Paths : 5
IPv4 Recd. Prefixes : 10 IPv4 Active Prefixes : 10
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0 IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes : 0 IPv6 Active Prefixes : 0
VPN-IPv6 Recd. Pfxs : 0 VPN-IPv6 Active Pfxs : 0
VPN-IPv6 Suppr. Pfxs : 0
Mc IPv6 Recd. Pfxs. : 0 Mc IPv6 Active Pfxs. : 0
Mc IPv6 Suppr. Pfxs : 0 L2-VPN Suppr. Pfxs : 0
L2-VPN Recd. Pfxs : 0 L2-VPN Active Pfxs : 0
MVPN-IPv4 Suppr. Pfxs: 0 MVPN-IPv4 Recd. Pfxs : 0
MVPN-IPv4 Active Pfxs: 0 MDT-SAFI Suppr. Pfxs : 0
MDT-SAFI Recd. Pfxs : 0 MDT-SAFI Active Pfxs : 0
Flow-IPv4 Suppr. Pfxs: 0 Flow-IPv4 Recd. Pfxs : 0
Flow-IPv4 Active Pfxs: 0 Rte-Tgt Suppr. Pfxs : 0
Rte-Tgt Recd. Pfxs : 0 Rte-Tgt Active Pfxs : 0
Backup IPv4 Pfxs : 0 Backup IPv6 Pfxs : 0
Mc Vpn Ipv4 Recd. Pf*: 0 Mc Vpn Ipv4 Active P*: 0
Mc Vpn Ipv4 Suppr. P*: 0
Backup Vpn IPv4 Pfxs : 0 Backup Vpn IPv6 Pfxs : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 30 o/p Messages : 26
i/p Octets : 1321 o/p Octets : 470
i/p Updates : 8 o/p Updates : 0
Flow-IPv6 Suppr. Pfxs: 0 Flow-IPv6 Recd. Pfxs : 0
Flow-IPv6 Active Pfxs: 0
Evpn Suppr. Pfxs : 0 Evpn Recd. Pfxs : 0
Evpn Active Pfxs : 0
MS-PW Suppr. Pfxs : 0 MS-PW Recd. Pfxs : 0
MS-PW Active Pfxs : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Disabled Stale Routes Time : n/a
Restart Time : n/a
Advertise Inactive : Disabled Peer Tracking : Disabled
Advertise Label : ipv4
Auth key chain : n/a
Disable Cap Nego : Disabled Bfd Enabled : Disabled
Flowspec Validate : Disabled Default Route Tgt : Disabled
Aigp Metric : Enabled Split Horizon : Disabled
Damp Peer Oscillatio*: Disabled Update Errors : 0
GR Notification : Disabled Fault Tolerance : Disabled
Rem Idle Hold Time : 00h00m00s
Next-Hop Unchanged : None
L2 VPN Cisco Interop : Disabled
Local Capability : RtRefresh MPBGP 4byte ASN
Remote Capability : RtRefresh MPBGP 4byte ASN
Local AddPath Capabi*: Disabled
Remote AddPath Capab*: Send - None
: Receive - None
Import Policy : None Specified / Inherited
Export Policy : None Specified / Inherited
Origin Validation : N/A
EBGP Link Bandwidth : n/a
IPv4 Rej. Pfxs : 0 IPv6 Rej. Pfxs : 0
VPN-IPv4 Rej. Pfxs : 0 VPN-IPv6 Rej. Pfxs : 0
Mc IPv4 Rej. Pfxs : 0 Mc IPv6 Rej. Pfxs : 0
MVPN-IPv4 Rej. Pfxs : 0 MVPN-IPv6 Rej. Pfxs : 0
Flow-IPv4 Rej. Pfxs : 0 Flow-IPv6 Rej. Pfxs : 0
L2-VPN Rej. Pfxs : 0 MDT-SAFI Rej. Pfxs : 0
Rte-Tgt Rej. Pfxs : 0 MS-PW Rej. Pfxs : 0
Mc Vpn Ipv4 Rej. Pfxs: 0 Evpn Rej. Pfxs : 0
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-B>config>service#
A:ALA-48# show router 2 bgp neighbor 10.20.1.3
===============================================================================
BGP Neighbor
===============================================================================
Peer : 10.20.1.3
Group : 1
-------------------------------------------------------------------------------
Peer AS : 100 Peer Port : 49725
Peer Address : 10.20.1.3
Local AS : 100 Local Port : 179
Local Address : 10.20.1.2
Peer Type : Internal
State : Established Last State : Established
Last Event : recvKeepAlive
Last Error : Cease
Local Family : IPv4
Remote Family : IPv4
Hold Time : 3 Keep Alive : 1
Active Hold Time : 3 Active Keep Alive : 1
Preference : 170 Num of Flaps : 0
Recd. Paths : 1
IPv4 Recd. Prefixes : 11 IPv4 Active Prefixes : 10
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 471 o/p Messages : 473
i/p Octets : 3241 o/p Octets : 3241
i/p Updates : 4 o/p Updates : 4
TTL Security : Disabled Min TTL Value : n/a
Advertise Inactive : Disabled Peer Tracking : Disabled
Advertise Label : None
Auth key chain : eta_keychain1
Local Capability : RouteRefresh MP-BGP
Remote Capability : RouteRefresh MP-BGP
Import Policy : None Specified / Inherited
Export Policy : static2bgp
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
A:ALA-48#
A:ALA-12# show router bgp neighbor 10.0.0.11 orf
===============================================================================
BGP Neighbor 10.0.0.11 ORF
===============================================================================
Send List (Automatic)
-------------------------------------------------------------------------------
target:65535:10
target:65535:20
===============================================================================
A:ALA-12
A:ALA-22 show router bgp neighbor 10.0.0.1 orf
===============================================================================
BGP Neighbor 10.0.0.1 ORF
===============================================================================
Receive List
-------------------------------------------------------------------------------
target:65535:10
target:65535:20
===============================================================================
A:ALA-22
Sample detailed output
A:ALA-12# show router bgp neighbor detail
===============================================================================
BGP Neighbor (detail)
-------------------------------------------------------------------------------
Peer : 10.0.0.15 Group : To_AS_40000
-------------------------------------------------------------------------------
Peer AS : 65205 Peer Port : 0
Peer Address : 10.0.0.15
Local AS : 65206 Local Port : 0
Local Address : 10.0.0.16
Peer Type : External
State : Active Last State : Connect
Last Event : openFail
Last Error : Hold Timer Expire
Connect Retry : 20 Local Pref. : 100
Min Route Advt. : 30 Min AS Orig. : 15
Damping : Disabled Loop Detect : Ignore
MED Out : No MED Out Authentication : None
Next Hop Self : Disabled AggregatorID Zero: Disabled
Remove Private : Disabled Passive : Disabled
Prefix Limit : No Limit
Hold Time : 90 Keep Alive : 30
Active Hold Time : 0 Active Keep Alive: 0
Preference : 170 Num of Flaps : 0
Recd. Prefixes : 0 Active Prefixes : 0
Recd. Paths : 0 Suppressed Paths : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 0 o/p Messages : 0
i/p Octets : 0 o/p Octets : 0
i/p Updates : 0 o/p Updates : 0
Export Policy : direct2bgp
===============================================================================
A:ALA-12#
Label |
Description |
---|---|
Peer |
Displays the IP address of the configured BGP peer |
Group |
Displays the BGP peer group to which this peer is assigned |
Peer AS |
Displays the configured or inherited peer AS for the peer group |
Peer Address |
Displays the configured address for the BGP peer |
Peer Port |
Displays the TCP port number used on the far-end system |
Local AS |
Displays the configured or inherited local AS for the peer group |
Local Address |
Displays the configured or inherited local address for originating peering for the peer group |
Local Port |
Displays the TCP port number used on the local system |
Peer Type |
External — Peer type configured as external BGP peers Internal — Peer type configured as internal BGP peers |
Bfd |
Yes — BFD is enabled No — BFD is disabled |
State |
Idle — The BGP peer is not accepting connections Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connections from this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION Established — BGP has successfully established a peering and is exchanging routing information |
Last State |
Idle — The BGP peer is not accepting connections Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connections from this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION |
Last Event |
start — BGP has initialized the BGP neighbor stop — BGP has disabled the BGP neighbor open — BGP transport connection opened close — BGP transport connection closed openFail — BGP transport connection failed to open error — BGP transport connection error connectRetry — Connect retry timer expired holdTime — Hold time timer expired keepAlive — Keepalive timer expired recvOpen — Receive an OPEN message revKeepalive — Receive a KEEPALIVE message recvUpdate — Receive an UPDATE message recvNotify — Receive a NOTIFICATION message None — No events have occurred |
Last Error |
Displays the last BGP error and subcode to occur on the BGP neighbor |
Connect Retry |
Displays the configured or inherited connect retry timer value |
Local Pref. |
Displays the configured or inherited local preference value |
Min Route Advt. |
Displays the minimum amount of time that must pass between route updates for the same IP prefix |
Min AS Originate |
Displays the minimum amount of time that must pass between updates for a route originated by the local router |
Multihop |
Displays the maximum number of router hops a BGP connection can traverse |
Damping |
Disabled — BGP neighbor is configured not to dampen route flaps Enabled — BGP neighbor is configured to dampen route flaps |
Loop Detect |
Ignore — The BGP neighbor is configured to ignore routes with an AS loop Drop — The BGP neighbor is configured to drop the BGP peering if an AS loop is detected Off — AS loop detection is disabled for the neighbor |
MED Out |
Displays the configured or inherited MED value assigned to advertised routes without a MED attribute |
Authentication |
None — No authentication is configured MD5 — MD5 authentication is configured |
Next Hop Self |
Disabled — BGP is not configured to send only its own IP address as the BGP nexthop in route updates to the specified neighbor Enabled — BGP will send only its own IP address as the BGP nexthop in route updates to the neighbor |
AggregatorID Zero |
Disabled — The BGP Neighbor is not configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates Enabled — The BGP Neighbor is configured to set the aggregator ID to 0.0.0.0 in all originated route aggregates |
Remove Private |
Disabled — BGP will not remove all private AS numbers from the AS path attribute, in updates sent to the specified neighbor Enabled — BGP will remove all private AS numbers from the AS path attribute, in updates sent to the specified neighbor |
Passive |
Disabled — BGP will actively attempt to establish a BGP connection with the specified neighbor Enabled — BGP will not actively attempt to establish a BGP connection with the specified neighbor |
Prefix Limit |
No Limit — No route limit assigned to the BGP peer group 1 — 4294967295 — The maximum number of routes BGP can learn from a peer |
Hold Time |
Displays the configured hold time setting |
Keep Alive |
Displays the configured keepalive setting |
Active Hold Time |
Displays the negotiated hold time if the BGP neighbor is in an established state |
Active Keep Alive |
Displays the negotiated keepalive time if the BGP neighbor is in an established state |
Client Reflect |
Disabled — The BGP route reflector is configured not to reflect routes to this neighbor Enabled — The BGP route reflector is configured to reflect routes to this neighbor |
Preference |
Displays the configured route preference value for the peer group |
Num of Flaps |
Displays the number of route flaps in the neighbor connection |
Recd. Prefixes |
Displays the number of routes received from the BGP neighbor |
Active Prefixes |
Displays the number of routes received from the BGP neighbor and active in the forwarding table |
Recd. Paths |
Displays the number of unique sets of path attributes received from the BGP neighbor |
Suppressed Paths |
Displays the number of unique sets of path attributes received from the BGP neighbor and suppressed due to route damping |
Input Queue |
Displays the number of BGP messages to be processed |
Output Queue |
Displays the number of BGP messages to be transmitted |
i/p Messages |
Displays the total number of packets received from the BGP neighbor |
o/p Messages |
Displays the total number of packets sent to the BGP neighbor |
i/p Octets |
Displays the total number of octets received from the BGP neighbor |
o/p Octets |
Displays the total number of octets sent to the BGP neighbor |
Export Policy |
Displays the configured export policies for the peer group |
Import Policy |
Displays the configured import policies for the peer group |
A:ALA-12# show router bgp neighbor 10.0.0.16 received-routes
===============================================================================
BGP Router ID : 10.0.0.16 AS : 65206 Local AS : 65206
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network Nexthop LocalPref MED As-Path
-------------------------------------------------------------------------------
? 10.0.0.16/32 10.0.0.16 100 none No As-Path
? 10.0.6.0/24 10.0.0.16 100 none No As-Path
? 10.0.8.0/24 10.0.0.16 100 none No As-Path
? 10.0.12.0/24 10.0.0.16 100 none No As-Path
? 10.0.13.0/24 10.0.0.16 100 none No As-Path
? 10.0.204.0/24 10.0.0.16 100 none No As-Path
===============================================================================
A:ALA-12#
Label |
Description |
---|---|
BGP Router ID |
Displays the local BGP router ID |
AS |
Displays the configured autonomous system number |
Local AS |
Displays the configured local AS setting If not configured, then it is the same value as the AS |
Flag |
u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
Network |
Displays the route IP prefix and mask length for the route |
Next Hop |
Displays the BGP next hop for the route |
LocalPref |
Displays the BGP local preference path attribute for the route |
MED |
Displays the BGP Multi-Exit Discriminator (MED) path attribute for the route |
AS Path |
Displays the BGP AS path for the route |
*A:Dut-A# show router bgp neighbor 10.2.2.2
===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer : 10.2.2.2
Description : (Not Specified)
Group : Metro
-------------------------------------------------------------------------------
Peer AS : 100 Peer Port : 179
Peer Address : 2.2.2.2
Local AS : 100 Local Port : 50239
Local Address : 1.1.1.1
Peer Type : Internal
State : Established Last State : Active
Last Event : recvKeepAlive
Last Error : Cease (Other Configuration Change)
Local Family : IPv4
Remote Family : IPv4
Hold Time : 60 Keep Alive : 30
Min Hold Time : 0
Active Hold Time : 60 Active Keep Alive : 20
Cluster Id : None
Preference : 170 Num of Update Flaps : 0
Recd. Paths : 1
IPv4 Recd. Prefixes : 1 IPv4 Active Prefixes : 1
IPv4 Suppressed Pfxs : 0 VPN-IPv4 Suppr. Pfxs : 0
VPN-IPv4 Recd. Pfxs : 0 VPN-IPv4 Active Pfxs : 0
Mc IPv4 Recd. Pfxs. : 0 Mc IPv4 Active Pfxs. : 0
Mc IPv4 Suppr. Pfxs : 0 IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes : 0 IPv6 Active Prefixes : 0
VPN-IPv6 Recd. Pfxs : 0 VPN-IPv6 Active Pfxs : 0
VPN-IPv6 Suppr. Pfxs : 0
Mc IPv6 Recd. Pfxs. : 0 Mc IPv6 Active Pfxs. : 0
Mc IPv6 Suppr. Pfxs : 0 L2-VPN Suppr. Pfxs : 0
L2-VPN Recd. Pfxs : 0 L2-VPN Active Pfxs : 0
MVPN-IPv4 Suppr. Pfxs: 0 MVPN-IPv4 Recd. Pfxs : 0
MVPN-IPv4 Active Pfxs: 0 MDT-SAFI Suppr. Pfxs : 0
MDT-SAFI Recd. Pfxs : 0 MDT-SAFI Active Pfxs : 0
Flow-IPv4 Suppr. Pfxs: 0 Flow-IPv4 Recd. Pfxs : 0
Flow-IPv4 Active Pfxs: 0 Rte-Tgt Suppr. Pfxs : 0
Rte-Tgt Recd. Pfxs : 0 Rte-Tgt Active Pfxs : 0
Backup IPv4 Pfxs : 0 Backup IPv6 Pfxs : 0
Mc Vpn Ipv4 Recd. Pf*: 0 Mc Vpn Ipv4 Active P*: 0
Mc Vpn Ipv4 Suppr. P*: 0
Backup Vpn IPv4 Pfxs : 0 Backup Vpn IPv6 Pfxs : 0
Input Queue : 0 Output Queue : 0
i/p Messages : 40 o/p Messages : 32
i/p Octets : 411 o/p Octets : 488
i/p Updates : 1 o/p Updates : 1
Flow-IPv6 Suppr. Pfxs: 0 Flow-IPv6 Recd. Pfxs : 0
Flow-IPv6 Active Pfxs: 0
Evpn Suppr. Pfxs : 0 Evpn Recd. Pfxs : 0
Evpn Active Pfxs : 0
MS-PW Suppr. Pfxs : 0 MS-PW Recd. Pfxs : 0
MS-PW Active Pfxs : 0
TTL Security : Disabled Min TTL Value : n/a
Graceful Restart : Disabled Stale Routes Time : n/a
Restart Time : n/a
Advertise Inactive : Disabled Peer Tracking : Enabled
Advertise Label : ipv4
Auth key chain : n/a
Disable Cap Nego : Disabled Bfd Enabled : Enabled
Flowspec Validate : Disabled Default Route Tgt : Disabled
Aigp Metric : Disabled Split Horizon : Disabled
Damp Peer Oscillatio*: Disabled Update Errors : 0
GR Notification : Disabled Fault Tolerance : Disabled
Rem Idle Hold Time : 00h00m00s
Next-Hop Unchanged : None
L2 VPN Cisco Interop : Disabled
Local Capability : RtRefresh MPBGP 4byte ASN
Remote Capability : RtRefresh MPBGP 4byte ASN
Local AddPath Capabi*: Send - IPv4 (4)
: Receive - IPv4
Remote AddPath Capab*: Send - IPv4
: Receive - IPv4
Import Policy : None Specified / Inherited
Export Policy : from_prefix_to_bgp
Origin Validation : N/A
EBGP Link Bandwidth : n/a
IPv4 Rej. Pfxs : 0 IPv6 Rej. Pfxs : 0
VPN-IPv4 Rej. Pfxs : 0 VPN-IPv6 Rej. Pfxs : 0
Mc IPv4 Rej. Pfxs : 0 Mc IPv6 Rej. Pfxs : 0
MVPN-IPv4 Rej. Pfxs : 0 MVPN-IPv6 Rej. Pfxs : 0
Flow-IPv4 Rej. Pfxs : 0 Flow-IPv6 Rej. Pfxs : 0
L2-VPN Rej. Pfxs : 0 MDT-SAFI Rej. Pfxs : 0
Rte-Tgt Rej. Pfxs : 0 MS-PW Rej. Pfxs : 0
Mc Vpn Ipv4 Rej. Pfxs: 0 Evpn Rej. Pfxs : 0
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-A#
Label |
Description |
---|---|
Peer |
Displays the IP address of the configured BGP peer |
Group |
Displays the BGP peer group to which this peer is assigned |
Peer AS |
Displays the configured or inherited peer AS for the peer group |
Peer Address |
Displays the configured address for the BGP peer |
Peer Port |
Displays the TCP port number used on the far-end system |
Local AS |
Displays the configured or inherited local AS for the peer group |
Local Address |
Displays the configured or inherited local address for originating peering for the peer group |
Local Port |
Displays the TCP port number used on the local system |
Peer Type |
External — peer type configured as external BGP peers Internal — peer type configured as internal BGP peers |
State |
Idle — The BGP peer is not accepting connections (Shutdown) is also displayed if the peer is administratively disabled Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connection with this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION Established — BGP has successfully established a peering session and is exchanging routing information |
Last State |
Idle — The BGP peer is not accepting connections Active — BGP is listening for and accepting TCP connections from this peer Connect — BGP is attempting to establish a TCP connections with this peer Open Sent — BGP has sent an OPEN message to the peer and is waiting for an OPEN message from the peer Open Confirm — BGP has received a valid OPEN message from the peer and is awaiting a KEEPALIVE or NOTIFICATION |
Last Event |
start — BGP has initialized the BGP neighbor stop — BGP has disabled the BGP neighbor open — BGP transport connection is opened close — BGP transport connection is closed openFail — BGP transport connection failed to open error — BGP transport connection error connectRetry — the connect retry timer expired holdTime — the hold time timer expired keepAlive — the keepalive timer expired recvOpen — BGP has received an OPEN message revKeepalive — BGP has received a KEEPALIVE message recvUpdate — BGP has received an UPDATE message recvNotify —BGP has received a NOTIFICATION message None — no events have occurred |
Last Error |
Displays the last BGP error and subcode to occur on the BGP neighbor |
Local Family |
Displays the configured local family value |
Remote Family |
Displays the configured remote family value |
Hold Time |
Displays the configured hold-time setting |
Keep Alive |
Displays the configured keepalive setting |
Min Hold Time |
Displays the configured minimum hold-time setting |
Active Hold Time |
Displays the negotiated hold time, if the BGP neighbor is in an established state |
Active Keep Alive |
Displays the negotiated keepalive time if the BGP neighbor is in an established state |
Cluster Id |
Displays the configured route reflector cluster ID None — no cluster ID is configured |
Preference |
Displays the configured route preference value for the peer group |
Num of Flaps |
Displays the number of route flaps in the neighbor connection |
Recd. Prefixes |
Displays the number of routes received from the BGP neighbor |
Recd. Paths |
Displays the number of unique sets of path attributes received from the BGP neighbor |
IPv4 Recd. Prefixes |
Displays the number of unique sets of IPv4 path attributes received from the BGP neighbor |
IPv4 Active Prefixes |
Displays the number of IPv4 routes received from the BGP neighbor and active in the forwarding table |
IPv4 Suppressed Pfxs |
Displays the number of unique sets of IPv4 path attributes received from the BGP neighbor and suppressed due to route damping |
VPN-IPv4 Suppr. Pfxs |
Displays the number of unique sets of VPN-IPv4 path attributes received from the BGP neighbor and suppressed due to route damping |
VPN-IPv4 Recd. Pfxs |
Displays the number of unique sets of VPN-IPv4 path attributes received from the BGP neighbor |
VPN-IPv4 Active Pfxs |
Displays the number of VPN-IPv4 routes received from the BGP neighbor and active in the forwarding table |
IPv6 Recd. Prefixes |
Displays the number of unique sets of IPv6 path attributes received from the BGP neighbor |
IPv6 Active Prefixes |
Displays the number of IPv6 routes received from the BGP neighbor and active in the forwarding table |
VPN-IPv6 Recd. Pfxs |
Displays the number of unique sets of VPN-IPv6 path attributes received from the BGP neighbor |
VPN-IPv6 Active Pfxs |
Displays the number of VPN-IPv6 routes received from the BGP neighbor and active in the forwarding table |
VPN-IPv6 Suppr. Pfxs |
Displays the number of unique sets of VPN-IPv6 path attributes received from the BGP neighbor and suppressed due to route damping |
Backup IPv4 Pfxs |
Displays the number of BGP FRR backup path IPv4 prefixes |
Backup IPv6 Pfxs |
Displays the number of BGP FRR backup path IPv6 prefixes |
Backup Vpn IPv4 Pfxs |
Displays the number of BGP FRR backup path VPN IPv4 prefixes |
Backup Vpn IPv6 Pfxs |
Displays the number of BGP FRR backup path VPN IPv6 prefixes |
Input Queue |
Displays the number of BGP messages to be processed |
Output Queue |
Displays the number of BGP messages to be transmitted |
i/p Messages |
Displays the total number of packets received from the BGP neighbor |
o/p Messages |
Displays the total number of packets sent to the BGP neighbor |
i/p Octets |
Displays the total number of octets received from the BGP neighbor |
o/p Octets |
Displays the total number of octets sent to the BGP neighbor |
i/p Updates |
Displays the total number of updates received from the BGP neighbor |
o/p Updates |
Displays the total number of updates sent to the BGP neighbor |
TTL Security |
Enabled — TTL security is enabled Disabled — TTL security is disabled |
Min TTL Value |
Displays the minimum TTL value configured for the peer |
Graceful Restart |
Displays the state of graceful restart |
Stale Routes Time |
Displays the length of time that stale routes are kept in the route table |
Advertise Inactive |
Displays the state of advertising inactive BGP routes to other BGP peers (enabled or disabled) |
Peer Tracking |
Displays the state of tracking a neighbor IP address in the routing table for a BGP session |
Advertise Label |
Displays the enabled address family for supporting RFC 3107 BGP label capability |
Auth key chain |
Displays the value for the authentication key chain |
Bfd Enabled |
Enabled — BFD is enabled Disabled — BFD is disabled |
Local Capability |
Displays the capability of the local BGP speaker; for example, route refresh, MP-BGP, ORF |
Remote Capability |
Displays the capability of the remote BGP peer; for example, route refresh, MP-BGP, ORF |
Local AddPath Capabi* |
Displays the state of the local BGP add-paths capabilities The add-paths capability allows the router to send and receive multiple paths per prefix to or from a peer |
Remote AddPath Capab* |
Displays the state of the remote BGP add-paths capabilities |
Import Policy |
Displays the configured import policies for the peer group |
Export Policy |
Displays the configured export policies for the peer group |
next-hop [family] [ip-address] [detail]
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays BGP next-hop information.
Displays the type of routing information to be distributed by the BGP instance.
Displays next-hop information for the specified IP address.
Displays detailed information.
The following output is an example of BGP next-hop information, and Table: Output fields: router BGP next-hop describes the output fields.
Sample output*A:Dut-C# show router bgp next-hop
===============================================================================
BGP Router ID:10.20.1.3 AS:5000 Local AS:5000
===============================================================================
===============================================================================
BGP Next Hop
===============================================================================
Next Hop Pref Owner
Resolving Prefix Metric
Resolved Next Hop Ref. Count
-------------------------------------------------------------------------------
10.20.1.1 7 RSVP
10.20.1.1/32 1000
10.10.2.1 2
10.20.1.2 7 RSVP
10.20.1.2/32 1000
10.10.3.2 2
10.20.1.4 7 RSVP
10.20.1.4/32 1000
10.10.11.4 2
-------------------------------------------------------------------------------
Next Hops : 3
A:ALA-49>show>router>bgp# next-hop 192.168.2.194
-------------------------------------------------------------------------------
BGP Router ID : 10.10.10.104 AS : 200 Local AS : 200
===============================================================================
BGP Next Hop
===============================================================================
Next Hop Resolving Owner Preference Reference Resolved
Prefix Count Next Hop
-------------------------------------------------------------------------------
A:ALA-49>show>router>bgp# next-hop 10.10.10.104
Label |
Description |
---|---|
BGP ID |
Displays the local BGP router ID |
AS |
Displays the configured ASN |
Local AS |
Displays the configured local AS setting. If not configured, then the value is the same as the AS. |
Next Hop |
Displays the next-hop address |
Resolving Prefix |
Displays the prefix of the best next hop. |
Owner |
Displays the routing protocol used to derive the best next hop |
Preference |
Displays the BGP preference attribute for the routes |
Reference Count |
Displays the number of routes using the resolving prefix |
Resolved Next Hop |
Displays the IP address of the next hop |
paths
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays a summary of BGP path attributes.
The following output is an example of BGP path attributes information, and Table: Output fields: router BGP paths describes the output fields.
Sample output===============================================================================
BGP Router ID : 10.0.0.14 AS : 65206 Local AS : 65206
===============================================================================
BGP Paths
===============================================================================
Path: 60203 65001 19855 3356 15412
-------------------------------------------------------------------------------
Origin : IGP Next Hop : 10.0.28.1
MED : 60203 Local Preference : none
Refs : 4 ASes : 5
Segments : 1
Flags : EBGP-learned
Aggregator : 15412 62.216.140.1
-------------------------------------------------------------------------------
Path: 60203 65001 19855 3356 1 1236 1236 1236 1236
-------------------------------------------------------------------------------
Origin : IGP Next Hop : 10.0.28.1
MED : 60203 Local Preference : none
Refs : 2 ASes : 9
Segments : 1
Flags : EBGP-learned
Label |
Description |
---|---|
BGP Router ID |
Displays the local BGP router ID |
AS |
Displays the configured autonomous system number |
Local AS |
Displays the configured local AS setting. If not configured, then the value is the same as the AS. |
Path |
Displays the AS path attribute |
Origin |
EGP - The NLRI is learned by an EGP protocol IGP - The NLRI is interior to the originating AS INCOMPLETE - NLRI was learned another way |
Next Hop |
Displays the advertised BGP next hop |
MED |
Displays the MED value |
Local Preference |
Displays the local preference value. This value is used if thet BGP route arrives from a BGP peer without the Local Pref attribute set. It is overridden by any value set via a route policy. |
Refs |
Displays the number of routes using a specified set of path attributes |
ASes |
Displays the number of autonomous system numbers in the AS path attribute |
Segments |
Displays the number of segments in the AS path attribute |
Flags |
EBGP-learned - Path attributes learned by an EBGP peering IBGP-Learned - Path attributes learned by an IBGP peering |
Aggregator |
Displays the route aggregator ID |
Community |
Displays the BGP community attribute list |
Originator ID |
Displays the originator ID path attribute value |
routes [family] [brief]
routes [family] prefix [detail | longer | hunt [brief]]
routes [family [type mvpn-type]] community comm-id
routes [family [type mvpn-type]] aspath-regex reg-ex
routes ms-pw [rd rd] [aii-type2 aii-type2] [brief]
routes l2-vpn l2vpn-type {[rd rd] | [siteid site-id] | [veid veid] [offset vpls-base-offset]}
routes evpn auto-disc [hunt | detail] [rd rd] [community comm-id] [tag tag] [next-hop ip-address] [esi esi]
routes evpn eth-seg [hunt | detail] [rd rd] [community comm-id] [originator-ip ip-address] [next-hop ip-address] [esi esi]
routes evpn inclusive-mcast [hunt | detail] [rd rd] [community comm-id] [originator-ip ip-address] [next-hop ip-address] [esi esi]
routes evpn inclusive-mcast [hunt | detail] [rd rd] [community comm-id] [originator-ip ip-address] [next-hop ip-address] [tag tag]
routes evpn mac [hunt | detail] [rd rd] [next-hop ip-address] [mac-address mac-address] [community comm-id] [tag tag]
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays BGP route information.
When this command is issued without any parameters, the entire BGP routing table displays.
When this command is issued with an IP prefix/mask or IP address, the best match for the parameter displays.
Specifies the type of routing information to be distributed by the BGP instance
Displays the BGP routes received from the neighbor.
Specifies the type of routing information to display.
Specifies route criteria.
Displays all routes with an AS path, up to 32 characters, matching the specified regular expression reg-exp.
Displays all routes with the specified BGP community.
Provides a summarized display of the set of peers to which a BGP route is advertised.
Allows more precise definition of the RD and prefix for VPN-IPv6 routes.
Specifies a two-byte identifier that represents the local bridging instance in a VPLS and is advertised through the BGP NLRI. This value must be lower than or equal to the max-ve-id.
Specifies a two-byte identifier advertised through the NLRI that is used to indicate which VE ID should use the advertised NLRI at the receiving PE according to the following rule:
If the offset<= local VE-ID <= offset+VBS-1 (VBS = virtual block size = 8 in our implementation), the NLRI is processed. Otherwise it is ignored.
The NLRI with this offset is generated as soon as the first VE ID value between (offset, offset + VBS-1) is advertised in the network.
Specifies a 12-byte Virtual Switch Instance identifier (VSI-ID) type.
Displays routes for the ms-pw family.
The following outputs are examples of BGP route information, and the associated tables describe the output fields.
Sample output — BGP PIC, Table: Output fields: BGP routes IPv4
Sample output — EVPN MAC, Table: Output fields: BGP EVPN routes
*A:Dut-C# show router bgp routes hunt 10.1.1.1/32
===============================================================================
BGP Router ID:10.20.1.3 AS:5000 Local AS:5000
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * -
valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network : 10.1.1.1/32
Nexthop : 10.20.1.1
From : 10.20.1.1
Res. Nexthop : 10.20.1.1 (RSVP LSP: 1)
Local Pref. : 100 Interface Name : ip-10.10.2.3
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
Community : No Community Members
Originator Id : None Peer Router Id : 10.20.1.1
Flags : Used Valid Best Incomplete
AS-Path : No As-Path
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:ALA-12>config>router>bgp# show router bgp routes family ipv4
===============================================================================
BGP Router ID : 10.10.10.103 AS : 200 Local AS : 200
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP Routes
===============================================================================
Flag Network Nexthop LocalPref MED
VPN Label As-Path
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
A:ALA-12>config>router>bgp#
A:ALA-12>config>router>bgp# show router bgp routes 10.1.0.0/24 de
===============================================================================
BGP Router ID : 10.128.0.161 AS : 65535 Local AS : 65535
===============================================================================
Legend - Status codes : u - used, s - suppressed, h - history, d - decayed, * -
valid Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP Routes
===============================================================================
Original Attributes
Network : 10.1.0.0/24 Nexthop :10.20.1.20
Route Dist. : 10070:100 VPN Label :152784
From : 10.20.1.20 Res. Nexthop:10.130.0.2
Local Pref. :100
Aggregator AS:none Aggregator : none
Atomic Aggr.:Not Atomic MED :none
Community :target:10070:1
Originator Id:None Peer Router Id:10.20.1.20
Flags :Used Valid Best IGP
AS-Path :10070 {14730}
Modified Attributes
Network :10.1.0.0/24 Nexthop :10.20.1.20
Route Dist.: 10001:100 VPN Label :152560
From :10.20.1.20 Res. Nexthop :10.130.0.2
Local Pref.:100
Aggregator AS: none Aggregator:none
Atomic Aggr.:Not Atomic MED :none
Community :target:10001:1
Originator Id:None Peer Router Id:10.20.1.20
Flags :Used Valid Best IGP
AS-Path :No As-Path
-------------------------------------------------------------------------------
...
===============================================================================
A:ALA-12>config>router>bgp#
A:7210-12# show router bgp routes 10.0.0.0/30 hunt
===============================================================================
BGP Router ID : 10.20.1.1 AS : 100Local AS : 100
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP Routes
===============================================================================
RIB In Entries
-------------------------------------------------------------------------------
Network : 10.0.0.0/30
Nexthop : 10.20.1.2
Route Dist. : 10.20.1.2:1VPN Label: 131070
From : 10.20.1.2
Res. Nexthop : 10.10.1.2
Local Pref. : 100Interface Name: to-sr7
Aggregator AS : noneAggregator: none
Atomic Aggr. : Not AtomicMED: none
Community : target:10.20.1.2:1
Originator Id : NonePeer Router Id: 10.20.1.2
Flags : Used Valid Best IGP
AS-Path : No As-Path
VPRN Imported : 1 2 10 12
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:7210-12#
*A:Dut-C>config>router>policy-options# show router bgp routes 10.10.0.0/24 hunt
===============================================================================
BGP Router ID:10.20.1.3 AS:300 Local AS:300
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked, x - stale, > - best, b - backup, p - purge
Origin codes : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network : 10.10.0.0/24
Nexthop : 10.20.1.2
Path Id : None
From : 10.20.1.2
Res. Nexthop : 10.10.11.2 (LDP)
Local Pref. : 100 Interface Name : INT_TO_C3_D_1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : 555
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 10.20.1.2
IPv4 Label : 131065
Flags : Used Valid Best IGP
Route Source : Internal
AS-Path : 400 500
Route Tag : 0
Neighbor-AS : 400
Orig Validation: NotFound
Add Paths Send : Default
Last Modified : 00h15m47s
Network : 10.10.0.0/24
Nexthop : 10.20.1.4
Path Id : None
From : 10.20.1.4
Res. Nexthop : 10.10.5.4 (LDP)
Local Pref. : 100 Interface Name : INT_TO_C4_E_1
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 10.20.1.4
IPv4 Label : 131065
Flags : Valid IGP
TieBreakReason : AIGP
Route Source : Internal
AS-Path : 400 500
Route Tag : 0
Neighbor-AS : 400
Orig Validation: NotFound
Add Paths Send : Default
Last Modified : 00h15m49s
Network : 10.10.0.0/24
Nexthop : 10.10.1.1
Path Id : None
From : 10.10.1.1
Res. Nexthop : 10.10.1.1
Local Pref. : None Interface Name : INT_TO_C1_A
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 10.20.1.1
IPv4 Label : 131071
Flags : Invalid IGP AS-Loop
Route Source : External
AS-Path : 200 300 400 500
Route Tag : 0
Neighbor-AS : 200
Orig Validation: NotFound
Add Paths Send : Default
Last Modified : 00h15m48s
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
Network : 10.10.0.0/24
Nexthop : 10.20.1.2
Path Id : None
To : 10.20.1.4
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : 100
AIGP Metric : 555
Connector : None
Community : No Community Members
Cluster : 10.20.1.3
Originator Id : 10.20.1.2 Peer Router Id : 10.20.1.4
IPv4 Label : 131065
Origin : IGP
AS-Path : 400 500
Route Tag : 0
Neighbor-AS : 400
Orig Validation: NotFound
Network : 10.10.0.0/24
Nexthop : 10.20.1.2
Path Id : None
To : 10.20.1.2
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : 100
AIGP Metric : 555
Connector : None
Community : No Community Members
Cluster : 10.20.1.3
Originator Id : 10.20.1.2 Peer Router Id : 10.20.1.2
IPv4 Label : 131065
Origin : IGP
AS-Path : 400 500
Route Tag : 0
Neighbor-AS : 400
Orig Validation: NotFound
Network : 10.10.0.0/24
Nexthop : 10.20.1.2
Path Id : None
To : 10.20.1.5
Res. Nexthop : n/a
Local Pref. : 100 Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : 555
Connector : None
Community : No Community Members
Cluster : 10.20.1.3
Originator Id : 10.20.1.2 Peer Router Id : 10.20.1.5
IPv4 Label : 131065
Origin : IGP
AS-Path : 400 500
Route Tag : 0
Neighbor-AS : 400
Orig Validation: NotFound
Network : 10.10.0.0/24
Nexthop : 10.10.1.3
Path Id : None
To : 10.10.1.1
Res. Nexthop : n/a
Local Pref. : n/a Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : None
AIGP Metric : None
Connector : None
Community : No Community Members
Cluster : No Cluster Members
Originator Id : None Peer Router Id : 10.20.1.1
IPv4 Label : 131067
Origin : IGP
AS-Path : 300 400 500
Route Tag : 0
Neighbor-AS : 300
Orig Validation: NotFound
-------------------------------------------------------------------------------
Routes : 7
===============================================================================
*A:Dut-C>config>router>policy-options#
*A:dut-a# show router bgp routes mvpn-ipv4 type source-join source-as 200 source-
ip 150.100.1.2 group-ip 226.0.0.0 detail
===============================================================================
BGP Router ID:10.20.1.3 AS:200 Local AS:200
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes : i - IGP, e - EGP, ? - incomplete, > - best
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Route Type : Source-Join
Route Dist. : 1:1
Source AS : 200
Source IP : 10.100.1.2
Group IP : 239.0.0.0
Nexthop : 10.20.1.4
From : 10.20.1.4
Res. Nexthop : 0.0.0.0
Local Pref. : 100 Interface Name : NotAvailable
Aggregator AS : None Aggregator : None
Atomic Aggr. : Not Atomic MED : 0
Community : target:10.20.1.3:2
Originator Id : None Peer Router Id : 10.20.1.4
Flags : Used Valid Best IGP
AS-Path : No As-Path
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:dut-a#
Label |
Description |
---|---|
BGP Router ID |
Displays the local BGP router ID |
AS |
Displays the configured autonomous system number |
Local AS |
Displays the configured local AS setting If not configured, then the value is the same as the AS |
Route Dist. |
Displays the route distinguisher identifier attached to routes that distinguishes the VPN it belongs |
VPN Label |
Displays the label generated by the PE label manager |
Network |
Displays the IP prefix and mask length |
Nexthop |
Displays the BGP next hop |
From |
Displays the advertising BGP neighbor IP address |
Res. Nexthop |
Displays the resolved next hop |
Local Pref. |
Displays the local preference value This value is used if the BGP route arrives from a BGP peer without the Local Pref attribute set It is overridden by any value set via a route policy |
Flag |
u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
Aggregator AS |
Displays the aggregator AS value none - Aggregator AS attributes are not present |
Aggregator |
Displays the aggregator attribute value none - Aggregator attributes are not present |
Atomic Aggr. |
Atomic - The atomic aggregator flag is set Not Atomic - The atomic aggregator flag is not set |
MED |
Displays the MED metric value none - MED metrics are present |
Community |
Displays the BGP community attribute list |
Originator Id |
Displays the originator ID path attribute value none - The originator ID attribute is not present |
Peer Router Id |
Displays the router ID of the advertising router |
AS-Path |
Displays the BGP AS path attribute |
VPRN Imported |
Displays the VPRNs where a particular BGP-VPN received route has been imported and installed |
*A:Dut-A# show router bgp routes ipv4
===============================================================================
BGP Router ID:1.1.1.1 AS:100 Local AS:100
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked, x - stale, > - best, b - backup, p - purge
Origin codes : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag Network LocalPref MED
Nexthop (Router) Path-Id Label
As-Path
-------------------------------------------------------------------------------
u*>i 10.77.77.77/32 100 None
2.2.2.2 1 131066
200
ub*i 10.77.77.77/32 100 None
3.3.3.3 None 131068
200
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
*A:Dut-A#
Label |
Description |
---|---|
BGP Router ID |
Displays the local BGP router ID |
AS |
Displays the configured autonomous system number |
Local AS |
Displays the configured local AS setting. If not configured, then the value is the same as the AS |
BGP IPv4 Routes |
|
Flag |
u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
Network |
Displays the IP prefix and mask length |
Nexthop |
Displays the BGP next hop |
AS-Path |
Displays the BGP AS path attribute |
Local Pref. |
Displays the local preference value This value is used if the BGP route arrives from a BGP peer without the Local Pref attribute set It is overridden by any value set via a route policy |
MED |
Displays the MED metric value none - MED metrics are present |
Path-Id |
Displays the path ID None - The path ID is not present |
Label |
Displays the MPLS label associated with the BGP route |
Routes |
Displays the number of routes |
*A:Dut-B# show router bgp routes evpn auto-disc
===============================================================================
BGP Router ID:10.20.1.2 AS:100 Local AS:100
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked, x - stale, > - best, b - backup, p - purge
Origin codes : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP EVPN Auto-Disc Routes
===============================================================================
Flag Route Dist. ESI NextHop
Tag Label
-------------------------------------------------------------------------------
u*>i 10.20.1.3:1 00:bc:01:00:00:00:00:00:00:01 10.20.1.3
0 LABEL 131069
u*>i 10.20.1.3:1 00:bc:01:00:00:00:00:00:00:01 10.20.1.3
MAX-ET LABEL 0
u*>i 10.20.1.4:1 00:de:01:00:00:00:00:00:00:01 10.20.1.4
0 LABEL 131069
u*>i 10.20.1.4:1 00:de:01:00:00:00:00:00:00:01 10.20.1.4
MAX-ET LABEL 0
u*>i 10.20.1.5:1 00:de:01:00:00:00:00:00:00:01 10.20.1.5
0 LABEL 131059
u*>i 10.20.1.5:1 00:de:01:00:00:00:00:00:00:01 10.20.1.5
MAX-ET LABEL 0
-------------------------------------------------------------------------------
Routes : 6
===============================================================================
Sample output — EVPN eth-seg routes
*A:Dut-B# show router bgp routes evpn eth-seg
===============================================================================
BGP Router ID:10.20.1.2 AS:100 Local AS:100
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked, x - stale, > - best, b - backup, p - purge
Origin codes : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP EVPN Eth-Seg Routes
===============================================================================
Flag Route Dist. ESI NextHop
OrigAddr
-------------------------------------------------------------------------------
u*>i 10.20.1.3:0 00:bc:01:00:00:00:00:00:00:01 10.20.1.3
10.20.1.3
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
Sample output — EVPN inclusive mcast routes
*A:Dut-B# show router bgp routes evpn inclusive-mcast
===============================================================================
BGP Router ID:10.20.1.2 AS:100 Local AS:100
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked, x - stale, > - best, b - backup, p - purge
Origin codes : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP EVPN Inclusive-Mcast Routes
===============================================================================
Flag Route Dist. OrigAddr NextHop
Tag
-------------------------------------------------------------------------------
u*>i 10.20.1.3:1 10.20.1.3 10.20.1.3
0
u*>i 10.20.1.4:1 10.20.1.4 10.20.1.4
0
u*>i 10.20.1.5:1 10.20.1.5 10.20.1.5
0
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
Sample output — EVPN MAC
*A:Dut-B# show router bgp routes evpn mac
===============================================================================
BGP Router ID:10.20.1.2 AS:100 Local AS:100
===============================================================================
Legend -
Status codes : u - used, s - suppressed, h - history, d - decayed, * - valid
l - leaked, x - stale, > - best, b - backup, p - purge
Origin codes : i - IGP, e - EGP, ? - incomplete
===============================================================================
BGP EVPN MAC Routes
===============================================================================
Flag Route Dist. MacAddr ESI
Tag Mac Mobility Ip Address
NextHop
Label1
-------------------------------------------------------------------------------
u*>i 10.20.1.3:1 00:00:00:00:00:03 00:bc:01:00:00:00:00:00:00:01
0 Seq:0 N/A
10.20.1.3
LABEL 131069
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
Label |
Description |
---|---|
Flag |
u - used s - suppressed h - history d - decayed * - valid i - igp e - egp ? - incomplete > - best |
ESI |
Displays the Ethernet segment ID value |
Route Dist. Tag |
Displays the route distinguisher tag |
OrigAddr |
Displays the BGP originator address |
Nexthop |
Displays the BGP next hop |
MacAddr |
Displays the MAC address |
Routes |
Displays the number of routes |
summary [all]
summary [family family] [neighbor ip-address]
show>router>bgp
Supported on all 7210 SAS platforms as described in this document
This command displays a summary of BGP neighbor information.
The State field displays the global BGP operational state. The valid values are the following:
Up
The BGP global process is configured and running.
Down
The BGP global process is administratively shutdown and not running.
Disabled
The BGP global process is operationally disabled. The process must be restarted by the operator.
For example, if a BGP peer is operationally disabled, the state in the summary table shows the state Disabled.
Specifies the type of routing information to be distributed by the BGP instance
Displays information for entries received from the BGP neighbor.
The following output is an example of summary BGP neighbor information, and Table: Output fields: router BGP summary describes the output fields.
Sample outputA:Dut-C# show router bgp summary neighbor 3FFE::A0A:1064
===============================================================================
BGP Router ID : 10.20.1.3 AS : 100 Local AS : 100
===============================================================================
BGP Admin State : Up BGP Oper State : Up
Number of Peer Groups : 4 Number of Peers : 5
Total BGP Paths : 8 Total Path Memory : 1212
Total BGP Active Rts. : 0 Total BGP Rts. : 0
Total Suppressed Rts. : 0 Total Hist. Rts. : 0
Total Decay Rts. : 0
Total VPN Peer Groups : 0 Total VPN Peers : 0
Total VPN Local Rts. : 0
Total VPN Remote Rts. : 0 Total VPN Remote Active Rts.: 0
Total VPN Supp. Rts. : 0 Total VPN Hist. Rts. : 0
Total VPN Decay Rts. : 0
Total IPv6 Remote Rts. : 5 Total IPv6 Rem. Active Rts. : 4
===============================================================================
BGP Summary
===============================================================================
Neighbor
AS PktRcvd InQ Up/Down State|Rcv/Act/Sent (IPv4)
PktSent OutQ Rcv/Act/Sent (VpnIPv4)
Rcv/Act/Sent (IPv6)
Rcv/Act/Sent (MCastIPv4)
-------------------------------------------------------------------------------
103 489 0 00h40m28s IPv4 Incapable
569 0 VPN-IPv4 Incapable
1/1/3
===============================================================================
A:Dut-C#
A:SetupCLI>show>router# bgp summary
===============================================================================
BGP Router ID : 10.3.4.5 AS : 35012 Local AS : 100
===============================================================================
BGP Admin State : Up BGP Oper State : Up
Confederation AS : 40000
Member Confederations : 35012 65205 65206 65207 65208
Rapid Withdrawal : Disabled
Bfd Enabled : Yes
Number of Peer Groups : 1 Number of Peers : 1
Total BGP Paths : 3 Total Path Memory : 396
Total BGP Active Rts. : 0 Total BGP Rts. : 0
Total Suppressed Rts. : 0 Total Hist. Rts. : 0
Total Decay Rts. : 0
Total VPN Peer Groups : 1 Total VPN Peers : 1
Total VPN Local Rts. : 0
Total VPN Remote Rts. : 0 Total VPN Remote Active Rts.: 0
Total VPN Supp. Rts. : 0 Total VPN Hist. Rts. : 0
Total VPN Decay Rts. : 0
===============================================================================
BGP Summary
===============================================================================
Neighbor
AS PktRcvd InQ Up/Down State|Rcv/Act/Sent (IPv4)
PktSent OutQ Rcv/Act/Sent (VpnIPv4)
Rcv/Act/Sent (MCastIPv4)
-------------------------------------------------------------------------------
3.3.3.3 20 0 0 01h55m56s Active
0 0
===============================================================================
A:SetupCLI>show>router#
Label |
Description |
---|---|
BGP Router ID |
Displays the local BGP router ID |
AS |
Displays the configured autonomous system number |
Local AS |
Displays the configured local AS setting. If not configured, then the value is the same as the AS. |
BGP Admin State |
Down - BGP is administratively disabled Up - BGP is administratively enabled |
BGP Oper State |
Down - BGP is operationally disabled Up - BGP is operationally enabled |
Bfd |
Yes - BFD is enabled No - BFD is disabled |
Number of Peer Groups |
Displays the total number of configured BGP peer groups |
Number of Peers |
Displays the total number of configured BGP peers |
Total BGP Active Routes |
Displays the total number of BGP routes used in the forwarding table |
Total BGP Routes |
Displays the total number of BGP routes learned from BGP peers |
Total BGP Paths |
Displays the total number of unique sets of BGP path attributes learned from BGP peers |
Total Path Memory |
Displays the total amount of memory used to store the path attributes |
Total Suppressed Routes |
Displays the total number of suppressed routes due to route damping. |
Total History Routes |
Displays the total number of routes with history due to route damping |
Total Decayed Routes |
Displays total number of decayed routes due to route damping |
Total VPN Peer Groups |
Displays the total number of configured VPN peer groups |
Total VPN Peers |
Displays the total number of configured VPN peers |
Total VPN Local Rts |
Displays the total number of configured local VPN routes |
Total VPN Remote Rts |
Displays the total number of configured remote VPN routes |
Total VPN Remote Active Rts. |
Displays the total number of active remote VPN routes used in the forwarding table |
Total VPN Supp.Rts. |
Displays the total number of suppressed VPN routes due to route damping |
Total VPN Hist. Rts. |
Displays the total number of VPN routes with history due to route damping |
Total VPN Decay Rts. |
Displays the total number of decayed routes due to route damping |
Neighbor |
Displays the BGP neighbor address |
AS (Neighbor) |
Displays the BGP neighbor autonomous system number |
PktRcvd |
Displays the total number of packets received from the BGP neighbor |
PktSent |
Displays the total number of packets sent to the BGP neighbor |
InQ |
Displays the number of BGP messages to be processed |
OutQ |
Displays the number of BGP messages to be transmitted |
Up/Down |
Displays the amount of time that the BGP neighbor has either been established or not established depending on its current state |
State|Recv/Actv/Sent |
Displays the BGP neighbor’s current state (if not established) or the number of received routes, active routes and sent routes (if established) |