5.15. Show, Clear, and Debug Command Reference

5.15.1. Command Hierarchies

5.15.1.1. Show Commands

show
router [router-instance]
bgp
auth-keychain keychain-name
— convergence
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] label-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] label-ipv6
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] mcast-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] mcast-ipv6
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] mvpn-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] vpn-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] vpn-ipv6
group [name] [detail]
inter-as-label [next-hop ip-address | backup-next-hop ip-address] [received-label received-label]
neighbor [ip-address [detail]]
neighbor [as-number [detail]]
neighbor ip-address [family [type mvpn-type] [evpn-type]] filter1 [brief] [community comm-id]
neighbor ip-address [family] filter2
neighbor as-number [family] filter2
neighbor ip-address orf [filter3]
neighbor ip-address graceful-restart
neighbor [dynamic]
next-hop [family [service-id service-id]] [ip-address [detail]]
optimal-route-reflection [bgp-nh-info [location location-id] [bgp-nh ip-address]]
paths
policy-test plcy-or-long-expr [plcy-or-expr [plcy-or-expr]] [family family] [rd rd] prefix ip-prefix/ip-prefix-length [longer] [neighbor ip-address] [display-rejects] [{detail | brief}] [display-rejects-only]
routes [family] [brief]
routes [family] prefix [detail | longer | hunt [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 vpn-ipv4 prefix [rd rd] [detail | longer | hunt [ brief]]
routes vpn-ipv6 prefix [rd rd] [detail | longer | hunt [ brief]]
routes mvpn-ipv4 type mvpn-type {rd rd | originator-ip ip-address | source-ip ip-address | group-ip ip-address | source-as as-number} [hunt| detail]
routes [family [l2vpn-type]] [brief]
routes [family [l2vpn-type]] community comm-id
routes [family [l2vpn-type]] aspath-regex reg-ex
routes evpn {[inclusive-mcast] | [ip-prefix] | [mac]]}
routes evpn inclusive-mcast [hunt | detail] [rd rd] [originator-ip ip-address] [next-hop ip-address] [community comm-id] [tag vni-id]
routes evpn ip-prefix [hunt | detail] [rd rd] [prefix ip-prefix/mask] [community comm-id] [tag vni-id] [next-hop ip-address]
routes evpn mac [hunt | detail] [rd rd] [next-hop ip-address] [mac-address mac-address] [community comm-id] [tag vni-id]
routes l2-vpn l2vpn-type {[rd rd] | [siteid site-id] | [veid veid] [offset vpls-base-offset]}
routes bgp-ls [hunt] [node | link | ipv4-prefix [ipv4-prefix/mask-len]
routes mdt-safi [rd rd] [grp-address mcast-grp-address] [brief]
routes ms-pw [rd rd] [aii-type2 aii-type2] [brief]
routes flow-ipv4
routes route-target [source-as as-number] [brief] [aspath-regex reg-exp] [community comm-id]
routes route-target [rtc-prefix rtc-prefix] [hunt] [brief] [aspath-regex reg-exp] [community comm-id]
routes route-target rtc-prefix rtc-prefix [aspath-regex reg-exp] [community comm-id]
routes route-target [rtc-prefix rtc-prefix] [detail | longer] [aspath-regex reg-exp] [community comm-id]
summary [all]
summary [family family] [neighbor ip-address]
fib slot-number [family] [ip-prefix/prefix-length [longer]] [secondary] [qos] [accounting-class] [all]
fib slot-number extensive [ip-prefix/prefix-length] [family] [all]
fib slot-number [family] summary
fib slot-number nh-table-usage
fib all summary
route-table [family] [ip-prefix[/prefix-length] [longer | exact | protocol protocol-name] [all]] [next-hop-type type][qos][alternative] [accounting-class]
route-table [family] summary
route-table tunnel-endpoints [ip-prefix[/prefix-length]] [longer | exact] [detail]
route-table [family] [ip-prefix[/prefix-length]] [longer | exact | protocol protocol-name] extensive [all]
— bmp
station [station-name]

5.15.1.2. Clear Commands

clear
— router
— bgp
damping [{ip-prefix/ip-prefix-length] [neighbor ip-address]} | group name]
flap-statistics [{ip-prefix/mask [neighbor ip-address] | [group group-name] | regex reg-exp | policy policy-name}]
neighbor {ip-address | as as-number | external | all} [soft | soft-inbound | hard]
neighbor {ip-address | as as-number | external | all} soft-route-refresh [family]
neighbor {ip-address | as as-number | external | all} statistics
neighbor ip-address end-of-rib
— bmp
station station-name
station all

5.15.1.3. Debug Commands

debug
— router
— bgp
events [neighbor ip-address | group name]
— no events
graceful-restart [neighbor ip-address | group name]
keepalive [neighbor ip-address | group name]
— no keepalive
notification [neighbor ip-address | group name]
open [neighbor ip-address | group name]
— no open
packets [neighbor ip-address | group name]
— no packets
route-refresh [neighbor ip-address | group name]
rtm [neighbor ip-address | group name]
— no rtm
socket [neighbor ip-address | group name]
— no socket
timers [neighbor ip-address | group name]\
— no timers
update [neighbor ip-address | group name]
— no update
bmp
events [station station-name]
— no events
packets [station station-name]
— no packets

5.15.2. Command Descriptions

5.15.2.1. Show Commands

The command outputs in the following section are examples only; actual displays may differ depending on supported functionality and user configuration.

router

Syntax 
router [router-instance]
Context 
show
Description 

Displays router instance information.

Parameters 
router-instance—
Specify either the router-name or service-id.
Values—
router-name: Base, management
service-id: 1 to 2147483647

 

Default—
Base

bgp

Syntax 
bgp
Context 
show>router
Description 

Enables the context to display BGP related information.

auth-keychain

Syntax 
auth-keychain [keychain]
Context 
show>router>bgp
show>router>bgp>group
show>router>bgp>group>neighbor
Description 

This command displays BGP sessions using a particular authentication keychain.

Parameters 
keychain—
Specifies an existing keychain name.
Output 

The following output is an example of authentication keychain information.

Sample Output
*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 - Default Accept 
Export Policy    : ospf3
Hold Time        : 90                   Keep Alive       : 30
Cluster Id       : 0.0.0.100            Client Reflect   : Enabled
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: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
Cluster Id           : 0.0.0.100
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                IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes  : 0                IPv6 Active Prefixes : 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 - Default Accept
Export Policy        : ospf3
-------------------------------------------------------------------------------
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#
 

convergence

Syntax 
convergence
Context 
show>router>bgp
Description 

This command displays information about how the router reconverged its IPv4-unicast and IPv6-unicast routing state after the last restart of BGP.

Output 

The following is an example BGP convergence information.

Table 60:  Show Router BGP Convergence Field Descriptions  

Label

Description

Min wait advertise timer

The operational value of min-wait-to-advertise (0 if the feature is disabled)

Established peers at min wait timer expiry

The number of address-family peers that were established when the min-wait-to-advertise command timer value expired (N/A if the feature is disabled)

Current established peers

The current number of address family peers that are in the established state

First session established time

The time, relative to BGP instance restart at time T=0, when the first address family session was established.

This stops being tracked when the min-wait-to-advertise timer expires.

Last session established time

The time, relative to BGP instance restart at time T=0, when the last address-family session was established.

Max Wait advertise timer

The operational value of the max-wait-to-advertise command for the address family (0 if the feature is disabled)

Converged peers

The number of address-family converged peers. This is the number of BGP neighbors that have, up to now, sent an EOR marker for the address family. N/A if the feature is disabled.

Converged state

The convergence state of the address family: waiting, started, partial, timeout or converged. N/A if the feature is disabled. Waiting is when no peers have reconnected yet.

The waiting to start transition occurs when the first session comes up.

The started to partial transition occurs when at least one address-family peer has sent the EOR marker.

The partial to converged transition occurs when all address-family peers that have been up continuously since the min-wait-to-advertise timer expired have sent the EOR marker.

The partial to timeout transition occurs when the max-wait-to-advertise timer expires and not all address family peers that have been up continuously since the min-wait-to-advertise timer expired have sent the EOR marker.

Converged time

The convergence time of the address family after the last restart, relative to BGP instance restart at time T=0. N/A is displayed if the convergence state is waiting, started, partial or timeout.

Sample Output
*A:Dut-C#  show router bgp neighbor 20.1.7.7 
===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer                 : 20.1.7.7
Description          : (Not Specified)
Group                : group-1
-------------------------------------------------------------------------------
Peer AS              : 1                Peer Port            : 0    
Peer Address         : 20.1.7.7
Local AS             : 1000             Local Port           : 0    
Local Address        : 0.0.0.0
Peer Type            : External         Dynamic Peer         : No
State                : Connect          Last State           : Active
Last Event           : openFail
Last Error           : Unrecognized Error
Local Family         : IPv4
Remote Family        : (Not Specified)
Hold Time            : 90               Keep Alive           : 30   
Min Hold Time        : 0                
Active Hold Time     : 0                Active Keep Alive    : 0    
Cluster Id           : None             
Preference           : 170              Num of Update Flaps  : 0    
Input Queue          : 0                Output Queue         : 0    
Input Messages       : 0                Output Messages      : 0    
Input Octets         : 0                Output Octets        : 0
Input Updates        : 0                Output Updates       : 0    
Input RtRefresh      : 0                Output RtRefresh     : 0    
TTL Security         : Disabled         Min TTL Value        : n/a
Graceful Restart     : Disabled         Stale Routes Time    : n/a
Restart Time         : n/a              
Long-Lived GR        : Disabled         
Advertise Inactive   : Disabled         Peer Tracking        : Enabled
Auth key chain       : n/a
Disable Cap Nego     : Disabled         Bfd Enabled          : 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    : 
Routes Resolve To St*: Disabled         
Local AddPath Capabi*: Disabled
Remote AddPath Capab*: Send - None
                     : Receive - None
Import Policy        : None Specified - Default Accept
Export Policy        : None Specified - Default Accept
Origin Validation    : n/a
Add EBGP Link-Bw     : n/a
Aggr EBGP Link-Bw    : n/a
Send EBGP Link-Bw    : n/a
Accept EBGP Link-Bw  : n/a
Adv-ipv6-next-hop    : n/a
Ext-nh-encoding      : n/a
Remote Ext-nh-encodi*: n/a
Convergence Sent-EOR : n/a
Convergence Recv-EOR : n/a
Exceeded min-wait    : Unknown          
Ebgp Pref            : 170              Ibgp Pref            : 170
Ebgp Label Pref      : 170              Ibgp Label Pref      : 170
Received Paths       : 0                
Backup IPv4          : 0                Backup IPv6          : 0    
Backup VPN-IPv4      : 0                Backup VPN-IPv6      : 0    
Backup Label-IPv4    : 0                Backup Label-IPv6    : 0    
-------------------------------------------------------------------------------
Ingress prefix counters per family.
IPv4 received        : 0                IPv6 received        : 0    
IPv4 active          : 0                IPv6 active          : 0    
IPv4 suppressed      : 0                IPv6 suppressed      : 0    
IPv4 rejected        : 0                IPv6 rejected        : 0    
VPN-IPv4 received    : 0                VPN-IPv6 received    : 0    
VPN-IPv4 active      : 0                VPN-IPv6 active      : 0    
VPN-IPv4 suppressed  : 0                VPN-IPv6 suppressed  : 0    
VPN-IPv4 rejected    : 0                VPN-IPv6 rejected    : 0    
Label-IPv4 received  : 0                Label-IPv6 received  : 0    
Label-IPv4 active    : 0                Label-IPv6 active    : 0    
Label-IPv4 suppressed: 0                Label-IPv6 suppressed: 0    
Label-IPv4 rejected  : 0                Label-IPv6 rejected  : 0    
MVPN-IPv4 received   : 0                MVPN-IPv6 received   : 0    
MVPN-IPv4 active     : 0                MVPN-IPv6 active     : 0    
MVPN-IPv4 suppressed : 0                MVPN-IPv6 suppressed : 0    
MVPN-IPv4 rejected   : 0                MVPN-IPv6 rejected   : 0    
Mcast-IPv4 received  : 0                Mcast-IPv6 received  : 0    
Mcast-IPv4 active    : 0                Mcast-IPv6 active    : 0    
Mcast-IPv4 suppressed: 0                Mcast-IPv6 suppressed: 0    
Mcast-IPv4 rejected  : 0                Mcast-IPv6 rejected  : 0    
Mc-VPN-IPv4 received : 0                Mc-VPN-IPv6 received : 0    
Mc-VPN-IPv4 active   : 0                Mc-VPN-IPv6 active   : 0    
Mc-VPN-IPv4 suppress*: 0                Mc-VPN-IPv6 suppress*: 0    
Mc-VPN-IPv4 rejected : 0                Mc-VPN-IPv6 rejected : 0    
MDT-Safi received    : 0                RT-Constrnt received : 0    
MDT-Safi active      : 0                RT-Constrnt active   : 0    
MDT-Safi suppressed  : 0                RT-Constrnt suppress*: 0    
MDT-Safi rejected    : 0                RT-Constrnt rejected : 0    
L2-VPN received      : 0                EVPN received        : 0    
L2-VPN active        : 0                EVPN active          : 0    
L2-VPN suppressed    : 0                EVPN suppressed      : 0    
L2-VPN rejected      : 0                EVPN rejected        : 0    
Flow-IPv4 received   : 0                Flow-IPv6 received   : 0    
Flow-IPv4 active     : 0                Flow-IPv6 active     : 0    
Flow-IPv4 suppressed : 0                Flow-IPv6 suppressed : 0    
Flow-IPv4 rejected   : 0                Flow-IPv6 rejected   : 0    
MS-PW received       : 0                BGP-LS received      : 0    
MS-PW active         : 0                BGP-LS active        : 0    
MS-PW suppressed     : 0                BGP-LS suppressed    : 0    
MS-PW rejected       : 0                BGP-LS rejected      : 0    
SRPLCY-IPV4 received : 0                
SRPLCY-IPV4 active   : 0                
SRPLCY-IPV4 suppress*: 0                
SRPLCY-IPV4 rejected : 0                
* indicates that the corresponding row element may have been truncated.
-------------------------------------------------------------------------------
Neighbors shown : 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
*A:Dut-C# show router 100 bgp convergence
 
===============================================================================
BGP IPv4 Convergence
===============================================================================
Min wait advertise timer                    : 30
Established peers at min wait timer expiry  : 2
Current established peers                   : 2
First session established time              : 00h00m29s
Last session established time               : 00h00m45s
Max Wait advertise timer                    : 90
Converged peers                             : 2
Converged state                             : converged
Converged time                              : 00h00m59s
===============================================================================
 
===============================================================================
BGP IPv6 Convergence
===============================================================================
Min wait advertise timer                    : 30
Established peers at min wait timer expiry  : 2
Current established peers                   : 2
First session established time              : 00h00m29s
Last session established time               : 00h00m45s
Max Wait advertise timer                    : 90
Converged peers                             : 2
Converged state                             : converged
Converged time                              : 00h00m59s
===============================================================================

damping

Syntax 
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] label-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] label-ipv6
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] mcast-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] mcast-ipv6
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] mvpn-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] vpn-ipv4
damping [ip-prefix[/ip-prefix-length]] [damp-type] [detail] vpn-ipv6
Context 
show>router>bgp
Description 

This command displays BGP routes which have been dampened due to route flapping. This command can be entered with or without a route parameter.

When the keyword detail is included, more detailed information displays.

When only the command is entered (without any parameters included except detail), then all dampened routes are listed.

When a parameter is specified, then the matching route or routes are listed.

When a decayed, history, or suppressed keyword is specified, only those types of dampened routes are listed.

Parameters 
ip-prefix—
Displays damping information for the specified IP prefix and length.
Values—
ipv4-prefix:
  1. a.b.c.d (host bits must be 0)
ipv4-prefix-length: [0 to 32]
ipv6-prefix:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
ipv6-prefix-length: [0 to 128]

 

damp-type—
Specifies the type of damping to display.
Values—
decayed — Displays damping entries that are decayed but are not suppressed.
history — Displays damping entries that are withdrawn but have history.
suppressed — Displays damping entries suppressed because of route damping.

 

detail—
Displays detailed information.
ipv4—
Displays IPv4 information.
ipv6—
Displays IPv6 information.
label-ipv4—
Displays for labeled-unicast IPv4 routes.
label-ipv6—
Displays for labeled-unicast IPv6 routes.
vpn-ipv4—
Displays VPN IPv4 information.
vpn-ipv6—
Displays VPM IPv6 information.
Output 

The following output is an example of BGP damping information, and Table 61 describes the output fields.

Sample Output
*A:ALA-12# show router 3 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 3 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   : 10.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   : 10.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   : 10.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   : 10.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 3 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 10.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   : 10.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 3 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   : 10.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   : 10.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   : 10.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   : 10.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#
 
Table 61:  Show Damping Field Descriptions 

Label

Description  

BGP Router ID

The local BGP router ID.

AS

The configured autonomous system number.

Local AS

The configured or inherited local AS for the specified peer group. If not configured, then it is the same value as the AS.

Network

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

Network

The IP prefix and mask length for the route.

From

The originator ID path attribute value.

Reuse time

The time when a suppressed route can be used again.

AS Path

The BGP AS path for the route.

Peer

The router ID of the advertising router.

NextHop

BGP nexthop for the route.

Peer AS

The autonomous system number of the advertising router.

Peer Router-Id

The router ID of the advertising router.

Local Pref

BGP local preference path attribute for the route.

Age

The time elapsed since the service was enabled.

Last update

The time when BGP was updated last in second/minute/hour (SS:MM:HH) format.

FOM Present

The current Figure of Merit (FOM) value.

Number of Flaps

The number of flaps in the neighbor connection.

Reuse time

The time when the route can be reused.

Path

The BGP AS path for the route.

Applied Policy

The applied route policy name.

group

Syntax 
group [name] [detail]
Context 
show>router>bgp
Description 

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 only pertaining to that specific peer group displays.

The ‘State’ field displays the BGP group’s operational state. Valid states are:

Up — BGP global process is configured and running.

Down — BGP global process is administratively shutdown and not running.

Disabled — BGP global process is operationally disabled. The process must be restarted by the operator.

Parameters 
name—
Displays information for the BGP group specified.
detail—
Displays detailed information.
Output 

Standard and Detailed Group Output

Table 62 describes the standard and detailed command output fields for a BGP group.

Table 62:  BGP Group Output Fields  

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

The configured or inherited peer AS for the specified peer group.

Local AS

The configured or inherited local AS for the specified peer group.

Local Address

The configured or inherited local address for originating peering for the specified peer group.

Loop Detect

The configured or inherited loop detect setting for the specified peer group.

Connect Retry

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

The configured or inherited local preference value.

MED Out

The configured or inherited MED value assigned to advertised routes without a MED attribute.

Min Route Advt.

The minimum amount of time that must pass between route updates for the same IP prefix.

Min AS Originate

The minimum amount of time that must pass between updates for a route originated by the local router.

Multihop

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 nexthop in route updates to neighbors in the peer group.

Enabled — BGP sends only its own IP address as the BGP nexthop 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

The configured export policies for the peer group.

Import Policy

The configured import policies for the peer group.

Hold Time

The configured hold time setting.

Keep Alive

The configured keepalive setting.

Cluster Id

The configured route reflector cluster ID.

None

No cluster ID has been configured

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

The type of NLRI information that the specified peer group can accept.

Unicast — IPv4 unicast routing information can be carried.

Preference

The configured route preference value for the peer group.

List of Peers

A list of BGP peers configured under the peer group.

List of Static Peers

A list of statically configured BGP peers configured under the peer group.

List of Dynamic Peers

A list of dynamic BGP peers configured under the peer group.

Total Peers

The total number of peers configured under the peer group.

Established

The total number of peers that are in an established state.

Sample Output
A: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                  
Cluster Id       : None                 Client Reflect   : Enabled             
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                  
Cluster Id       : None                 Client Reflect   : Enabled             
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
Cluster Id       : None                 Client Reflect   : Disabled
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
- 3.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#

inter-as-label

Syntax 
inter-as-label [next-hop ip-address | backup-next-hop ip-address] [received-label received-label]
Context 
show>router>bgp
Description 

This command displays BGP inter-AS label information.

Parameters 
ip-address—
Displays information for the specified IP address.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)

 

received-label—
Displays information for the received label.
Values—
0 to 429496729

 

neighbor

Syntax 
neighbor [ip-address [detail]]
neighbor [as-number [detail]]
neighbor ip-address [family [type mvpn-type] [evpn-type]] filter1 [brief] [community comm-id]
neighbor ip-address [family] filter2
neighbor as-number [family] filter2
neighbor ip-address orf [filter3]
neighbor ip-address graceful-restart
neighbor [dynamic]
Context 
show>router>bgp
Description 

This command displays BGP neighbor information and can be entered with or without any parameters. When this command is issued without any parameters, information is displayed for all BGP peers. When the command is issued with a specific IP address or ASN, information is displayed only for the specified peer or peers with the same AS.

When either received-routes or advertised-routes is specified, then the routes received from or sent to the specified peer is listed (see the second output example, below).

When either history or suppressed is specified, then the routes learned from those peers that either have a history or are suppressed (respectively) are listed.

The “State” field displays the BGP peer’s protocol state. In additional to the standard protocol states, this field can also display the “Disabled” operational state, which indicates the peer is operationally disabled and must be restarted by the operator.

Note:

The information generated by this command is not available by SNMP.

Parameters 
as-number—
Displays information for the specified AS number.
Values—
1 to 4294967295

 

brief—
Displays information in a brief format. This parameter is only supported with received-routes and advertised-routes.
community—
Displays all routes with the specified BGP community.
comm-id—
Specifies community IDs, up to 72 characters.
Values—
[as-num:comm-val | ext-comm | well-known-comm]
where:
  1. as-num — 0 to 65535
  2. comm-val — 0 to 65535
  3. ext-comm — the extended community, defined as one of the following:
    1. {target | origin}:ip-address:comm-val
    2. {target | origin}:asnum:ext-comm-val
    3. {target | origin}:ext-asnum:comm-val
    4. bandwidth:asnum:val-in-mbps
    5. ext:4300:ovstate
    6. ext:value1:value2
    7. flowspec-set:ext-asnum:group-id
    where:
    1. target — route target
    2. origin — route origin
    3. ip-address — a.b.c.d
    4. ext-comm-val — 0 to 4294967295
    5. ext-asnum — 0 to 4294967295
    6. bandwidth — bandwidth
    7. val-in-mbps — 0 to 16777215
    8. ext — extended
    9. ext:4300 — origin verification
    10. ovstate — 0, 1, or 2 (0 for valid, 1 for not found, 2 for invalid)
    11. value1 — 0000 to FFFF
    12. value2 — 0 to FFFFFFFFFFFF
    13. flowspec-set — flow-spec set
    14. group-id — 0 to 16383
  4. well-known-commnull | no-export | no-export-subconfed | no-advertise | llgr-stale | no-llgr | blackhole

 

detail—
Displays detailed information.
dynamic—
Displays information for dynamic BGP neighbors.
evpn-type—
Displays information for the specified EVPN route type.
Values—
auto-disc — Displays the auto discovery routes for this peer.
mac — Displays the MAC routes for this peer.
inclusive-mcast — Displays the inclusive multicast routes for this peer.
eth-seg — Displays the Ethernet segment routes for this peer.
ip-prefix — Displays the IPv4 routes for this peer.
ipv6-prefix — Displays the IPv6 routes for this peer.

 

family
Specifies the type of routing information to display.
Values—
evpn — Displays the BGP EVPN routes for this peer.
flow-ipv4 — Displays the BGP IPv4 flow-spec routes for this peer.
flow-ipv6 — Displays the BGP IPv6 flow-spec routes for this peer.
ipv4 — Displays the BGP IPv4 routes for this peer.
ipv6 — Displays the BGP IPv6 routes for this peer.
l2-vpn — Displays the BGP L2 VPN routes for this peer.
label-ipv4 — Displays the BGP IPv4 labeled unicast routes for this peer.
label-ipv6 — Displays the BGP IPv6 labeled unicast routes for this peer.
mcast-ipv4 — Displays the BGP multicast IPv4 routes for this peer.
mcast-ipv6 — Displays the BGP multicast IPv6 routes for this peer.
mcast-vpn-ipv4 — Displays the BGP multicast VPN IPv4 routes for this peer.
mcast-vpn-ipv6 — Displays the BGP multicast VPN Ipv6 routes for this peer.
mdt-safi — Displays the BGP multicast VPN MDT-SAFI routes for this peer.
ms-pw — Displays the BGP Multi-segment PW routes for this peer.
mvpn-ipv4 — Displays the BGP NG-MVPN IPv4 routes for this peer.
mvpn-ipv6 — Displays the BGP NG-MVPN IPv6 routes for this peer.
route-target — Displays the BGP route-target constrain routes for this peer.
vpn-ipv4 — Displays the BGP VPN IPv4 routes for this peer.
vpn-ipv6 — Displays the BGP VPN IPv6 routes for this peer.

 

filter1—
Display information for the specified IP address.
Values—
received-routes — Displays the number of routes received from this peer.
advertised-routes — Displays the number of routes advertised to this peer.

 

filter2—
Display information for the specified AS number.
Values—
history — Display statistics for dampened routes.
suppressed — Display the number of paths from this peer that have been suppressed by damping.

 

filter3—
Displays path information for the specified IP address.
Values—
send — Displays the number of paths sent to this peer.
receive — Displays the number of paths received from this peer.

 

graceful-restart—
Displays neighbors configured for graceful restart.
ip-address—
Display information for the specified IP address.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface]
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum, mandatory for link local addresses

 

mvpn-type—
Displays information for the specified MVPN route type.
Values—
intra-ad — Displays the intra-ad routes for this peer.
inter-ad — Displays the inter-ad routes for this peer.
spmsi-ad — Displays the spmsi-ad routes for this peer.
leaf-ad —Displays the leaf-ad routes for this peer.
source-ad — Displays the source-ad routes for this peer.
shared-join — Displays the shared-join routes for this peer.
source-join — Displays the source-join routes for this peer.

 

orf—
Displays outbound route filtering for the BGP instance. Outbound Route Filtering (ORF) 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 or ignored.
Output 

Standard and Detailed Neighbor

Table 63 describes the standard and detailed command output fields for a BGP neighbor.

Table 63:  BGP Neighbor Fields  

Label

Description

Peer

The IP address of the configured BGP peer.

Group

The BGP peer group to which this peer is assigned.

Peer AS

The configured or inherited peer AS for the peer group.

Peer Address

The configured address for the BGP peer.

Peer Port

The TCP port number used on the far-end system.

Local AS

The configured or inherited local AS for the peer group.

Local Address

The configured or inherited local address for originating peering for the peer group.

Local Port

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.

Dynamic Peer

Yes — The session is dynamic (unconfigured).

No — The session is statically configured.

State

Idle — The BGP peer is not accepting connections. (Shutdown) is displayed in addition, 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 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

The configured or inherited connect retry timer value.

Local Pref.

The configured or inherited local preference value.

Min Route Advt.

The minimum amount of time that must pass between route updates for the same IP prefix.

Min AS Originate

The minimum amount of time that must pass between updates for a route originated by the local router.

Multihop

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

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 to 4294967295 — The maximum number of routes BGP can learn from a peer.

Hold Time

The configured hold time setting.

Keep Alive

The configured keepalive setting.

Active Hold Time

The negotiated hold time, if the BGP neighbor is in an established state.

Active Keep Alive

The negotiated keepalive time, if the BGP neighbor is in an established state.

Cluster Id

The configured route reflector cluster ID.

None — No cluster ID has been configured.

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

The configured route preference value for the peer group.

Num of Flaps

The number of route flaps in the neighbor connection.

Recd. Prefixes

The number of routes received from the BGP neighbor.

Active Prefixes

The number of routes received from the BGP neighbor and active in the forwarding table.

Recd. Paths

The number of unique sets of path attributes received from the BGP neighbor.

Suppressed Paths

The number of unique sets of path attributes received from the BGP neighbor and suppressed due to route damping.

Input Queue

The number of BGP messages to be processed.

Output Queue

The number of BGP messages to be transmitted.

i/p Messages

Total number of packets received from the BGP neighbor.

o/p Messages

Total number of packets sent to the BGP neighbor.

i/p Octets

Total number of octets received from the BGP neighbor.

o/p Octets

Total number of octets sent to the BGP neighbor.

Export Policy

The configured export policies for the peer group.

Import Policy

The configured import policies for the peer group.

Sample Output
A:ALA-48# show router bgp neighbor
===============================================================================
BGP Neighbor
-------------------------------------------------------------------------------
Peer : 10.0.0.5          Group : headquarters1
-------------------------------------------------------------------------------
Peer AS          : 300Peer Port        : 0
Peer Address     : 10.0.0.5 
Local AS         : 200Local Port       : 0
Local Address    : 10.0.0.104 
Peer Type        : External             Dynamic Peer     : Yes
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
Cluster Id       : 0.0.0.100
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
TTL Security     : Enabled              Min TTL Value    : 255
Graceful Restart : Disabled             Stale Routes Time: n/a
Local Capability : RouteRefresh MP-BGP
Remote Capability:
Import Policy    : None Specified - Default Accept
Export Policy    : None Specified - Default Accept
-------------------------------------------------------------------------------
Peer : 10.0.0.91         Group : Santa Clara
-------------------------------------------------------------------------------
Peer AS          : 100Peer Port        : 0
Peer Address     : 10.0.0.91 
Local AS         : 200Local Port       : 0
Local Address    : 10.0.0.103 
Peer Type        : External
State            : Connect              Last State       : Active
Last Event       : openFail
Last Error       : Cease
Local Family     : IPv4                 Remote Family    : Unused
Hold Time        : 90                   Keep Alive       : 30
Active Hold Time : 0                    Active Keep Alive: 0
Cluster Id       : 0.0.0.100
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     : 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 : Disabled             Stale Routes Time: n/a
Local Capability : RouteRefresh MP-BGP
Remote Capability:
Import Policy    : None Specified - Default Accept
Export Policy    : None Specified - Default Accept
...
-------------------------------------------------------------------------------
A:ALA-48#
 
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
Cluster Id           : None
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                IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes  : 0                IPv6 Active Prefixes : 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 - Default Accept
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                   
Cluster Id       : None                 Client Reflect   : Enabled             
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#
 
 
*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
Cluster Id           : 2.2.3.4
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                IPv6 Suppressed Pfxs : 0
IPv6 Recd. Prefixes  : 0                IPv6 Active Prefixes : 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:vRR>config>router>bgp>group# show router bgp neighbor 2.2.2.2 detail 
 
===============================================================================
BGP Neighbor
===============================================================================
-------------------------------------------------------------------------------
Peer                 : 2.2.2.2
Description          : (Not Specified)
Group                : cisco
-------------------------------------------------------------------------------
Peer AS              : 65002            Peer Port            : 53257
Peer Address         : 2.2.2.2
Local AS             : 65002            Local Port           : 179  
Local Address        : 1.1.1.1
Peer Type            : Internal         
State                : Established      Last State           : Established
Last Event           : recvKeepAlive
Last Error           : Cease (Connection Collision Resolution)
Local Family         : IPv4
Remote Family        : IPv4
Connect Retry        : 120              Local Pref.          : 100
Min Route Advt.      : 30               
Multihop             : 0 (Default)      AS Override          : Disabled
Damping              : Disabled         Loop Detect          : Ignore
MED Out              : No MED Out       Authentication       : None
Next Hop Self        : Disabled         AggregatorID Zero    : Disabled
Remove Private       : Disabled         Passive              : Disabled
Peer Identifier      : 2.2.2.2          Fsm Est. Trans       : 1
Fsm Est. Time        : 01h17m16s        InUpd Elap. Time     : 01h19m03s
Hold Time            : 90               Keep Alive           : 30   
Min Hold Time        : 0                
Active Hold Time     : 90               Active Keep Alive    : 30   
Cluster Id           : None             Client Reflect       : Disabled
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         : 158              o/p Messages         : 157  
i/p Octets           : 3090             o/p Octets           : 3009
i/p Updates          : 1                o/p Updates          : 0    
MVPN-IPv6 Suppr. Pfxs: 0                MVPN-IPv6 Recd. Pfxs : 0    
MVPN-IPv6 Active Pfxs: 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      : None 
Auth key chain       : n/a
Disable Cap Nego     : Disabled         Bfd Enabled          : Disabled
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*: Disabled
Remote AddPath Capab*: Send - None
                     : Receive - None
Import Policy        : link-bw                                                 
Export Policy        : None Specified - Default Accept
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    
 
===============================================================================
Prefix Limits Per Address Family
===============================================================================
Family         Limit          Idle Timeout   Threshold Log Only  Post Import
-------------------------------------------------------------------------------
ipv4           1000           forever        90        Disabled  Enabled
vpnIpv4        1000           forever        90        Disabled  Enabled
===============================================================================
-------------------------------------------------------------------------------
Neighbors : 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
 

Advertised and Received Routes Output

Table 64 describes the command output for both the standard and detailed information for a neighbor.

Table 64:  Standard and Detailed BGP Neighbor Output Fields  

Label

Description

BGP Router ID

The local BGP router ID.

AS

The configured autonomous system number.

Local AS

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

Route IP prefix and mask length for the route.

Next Hop

BGP nexthop for the route.

LocalPref

BGP local preference path attribute for the route.

MED

BGP Multi-Exit Discriminator (MED) path attribute for the route.

AS Path

The BGP AS path for the route.

Sample Output
A:Dut-F# show router bgp neighbor 1.101.201.201 received-routes 
===============================================================================
 BGP Router ID:10.20.1.101      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 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop (Router)                                   Path-Id     Label
      As-Path                                                        
-------------------------------------------------------------------------------
u*>i  10.20.1.201/32                                     n/a         None
      1.101.201.201                                      238         -
      200                                                             
*i    10.20.1.202/32                                     n/a         2000
      1.101.201.201                                      3752        -
      200                                                             
u*>i  10.20.1.231/32                                     n/a         1000
      1.101.201.201                                      3751        -
      200                                                             
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
A:Dut-F#
 
A:Dut-F# show router bgp neighbor 1.101.201.201 advertised-routes
===============================================================================
 BGP Router ID:10.20.1.101      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 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop (Router)                                   Path-Id     Label
      As-Path                                                        
-------------------------------------------------------------------------------
i     10.20.1.101/32                                     n/a         None
      1.101.201.101                                      88          -
      100                                                             
i     10.20.1.102/32                                     n/a         2000
      1.101.201.101                                      1118        -
      100                                                             
i     10.20.1.131/32                                     n/a         2000
      1.101.201.101                                      790         -
      100                                                             
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
A:Dut-F#
 
A:core_east# show router bgp neighbor 10.193.0.10 graceful-restart
============================================================================
BGP Neighbor 10.193.0.10 Graceful Restart
============================================================================
Graceful Restart locally configured for peer: Enabled
Peer's Graceful Restart feature             : Enabled
NLRI(s) that peer supports restart for      : IPv4-Unicast IPv4-MPLS IPv4-VPN
NLRI(s) that peer saved forwarding for      : IPv4-Unicast IPv4-MPLS IPv4-VPN
NLRI(s) that restart is negotiated for      : None
NLRI(s) of received end-of-rib markers      : IPv4-Unicast
NLRI(s) of all end-of-rib markers sent      : IPv4-Unicast
Restart time locally configured for peer    : 120 seconds
Restart time requested by the peer          : 390 seconds
Time stale routes from peer are kept for    : 360 seconds
Graceful restart status on the peer         : Not currently being helped
Number of Restarts                          : 328
Last Restart at                             : 08/20/2006 12:22:06
============================================================================
A:core_east#

next-hop

Syntax 
next-hop] [family [service-id service-id]] [ip-address [detail]]
Context 
show>router>bgp
Description 

Displays BGP next-hop information.

Parameters 
family
Specify the type of routing information to be distributed by the BGP instance.
Values—
ipv4, mcast-ipv4, ipv6, mcast-ipv6, label-ipv4, label-ipv6, vpn-ipv4, vpn-ipv6, evpn, mcast-vpn-ipv4, mcast-vpn-ipv6

 

ip-address—
Displays the next hop information for the specified IP address.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D

 

detail—
Display the longer, more detailed version of the output.
Output 

Show Next-Hop Output

Table 65 describes the command output fields for a BGP next hop.

Table 65:  BGP Next Hop Output Fields  

Label

Description

BGP ID

The local BGP router ID.

AS

The configured autonomous system number.

Local AS

The configured local AS setting. If not configured, then the value is the same as the AS.

Next Hop

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

The IP address of the next hop.

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

optimal-route-reflection

Syntax 
optimal-route-reflection [bgp-nh-info [location location-id] [bgp-nh ip-address]]
Context 
show>router>bgp
Description 

This command displays the calculated IGP costs that are used by BGP in order to perform optimal route reflection (ORR).

Parameters 
bgp-nh-info
Displays the calculated IGP cost from a specific location ID to all prefixes that contain the BGP next-hop addresses.
location-id
Specifies the ORR location identifier.
Values—
1 to 16

 

ip-address—
Specifies the IPv4 or IPv6 BGP next-hop address.
Values—
ipv4-address: a.b.c.d
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D

 

Output 

Table 66 describes the command output fields for an optimal route reflection.

Table 66:  ORR Fields  

Label

Description

Next Hop Loc

The address of the next-hop location.

Dest-Prefix

Displays the longest prefix match for the BGP next-hop address from the point of view of a specific location. Displays “unreachable” if no route exists to the BGP next-hop from the location.

DB-Source

Displays the source of the reachability information in the TE database.

Type

Displays the type of route or reachability, either intra-area or inter-area.

Proto

Displays the source protocol that is providing reachability to the BGP next-hop address.

Metric

Displays the IGP cost to reach the BGP next-hop from the location reference point.

Preference

Displays the routing preference of the route that is providing reachability to the BGP next-hop address. This is derived from standard protocol preference values.

Sample Output
*A:Dut-C# show router bgp optimal-route-reflection bgp-nh-info
===============================================================================
ORR BGP-NH Table (Router: Base)
===============================================================================
Location 1:
    Primary        : 1.1.1.1
    Secondary      : -
    Tertiary       : -
    Primary-ipv6   : 2001::1
    Secondary-ipv6 : -
    Tertiary-ipv6  : -
Age          : 00h00m00s
Spf wait     : 60
Initial wait : 5
Second wait  : 15
-------------------------------------------------------------------------------
Next Hop
   Loc    Dest-Prefix
                               DB-Source  Type         Proto     Metric    Pref
-------------------------------------------------------------------------------
10.0.0.10
    1     Unreachable
192.0.2.1
    1     Unreachable
-------------------------------------------------------------------------------
No. of BGP-NHs: 2
===============================================================================
 

paths

Syntax 
paths
Context 
show>router>bgp
Description 

This command displays a summary of BGP path attributes.

Output 

Table 67 describes the command output fields for a BGP path.

Table 67:  BGP Paths Output Fields  

Label

Description

BGP Router ID

The local BGP router ID.

AS

The configured autonomous system number.

Local AS

The configured local AS setting. If not configured, then the value is the same as the AS.

Path

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

The advertised BGP next-hop.

MED

The Multi-Exit Discriminator value.

Local Preference

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.

Refs

The number of routes using a specified set of path attributes.

ASes

The number of autonomous system numbers in the AS path attribute.

Segments

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

The route aggregator ID.

Community

The BGP community attribute list.

Originator ID

The originator ID path attribute value.

Cluster List

The route reflector cluster list.

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

policy-test

Syntax 
policy-test plcy-or-long-expr [plcy-or-expr [plcy-or-expr]] [family family] [rd rd] prefix ip-prefix/ip-prefix-length [longer] [neighbor ip-address] [display-rejects] [{detail | brief}] [display-rejects-only]
Context 
show>router>bgp
Description 

This command allows an operator to evaluate an existing policy against the RIB to identify what prefixes are matched/not matched by the policy prior to attaching it to a routing neighbor or instance.

Parameters 
plcy-or-long-expr—
Specifies up to 14 policy names or long expression.
Values—
policy-name, long-expr

 

plcy-or-expr—
Specifies the policy name or expression.
Values—
policy-name, ong-expr

 

policy-name—
Specifies the policy name. Must be the name of an existing configured and committed policy, up to 64 characters.
long-expr—
Specifies a long expression up to 255 characters.
expr—
Specifies an expression up to 64 characters.
family—
ipv4, ipv6, vpn-ipv4, vpn-ipv6, label-ipv4, label-ipv6.
Default—
ipv4
rd—
{ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val}
ip-prefix/ip-prefix-length—
Specifies an IPv4 or IPv6 prefix/mask to be evaluated. The keyword longer may be specified to evaluate longer prefix matches (optional).
neighbor—
Specifies a BGP neighbor.
display-rejects—
Displays routes that were rejected by the policy. If not specified, only a count of rejected routes are shown.
detail—
When the policy modifies route attributes, it displays the modifications made to the routes. This command requires an exact prefix to be specified.
display-rejects-only—
Displays routes only rejected by the policy test.
Output 

The following output is an example of policy test information.

Sample Output
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 0.0.0.0/0 
longer neighbor 220.0.0.2 
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop                                            Path-Id     VPNLabel
      As-Path                                                        
-------------------------------------------------------------------------------
Accepted by Policy 
u*>?  4.0.0.6/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
-------------------------------------------------------------------------------
 Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 prefix 0.0.0.0/0 longer neighbor 
220.0.0.2 
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                                        
-------------------------------------------------------------------------------
Accepted by Policy 
u*>?  4.0.0.6/32                                                      
-------------------------------------------------------------------------------
 Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 0.0.0.0/0 
longer neighbor 220.0.0.2 display-rejects brief
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                                        
-------------------------------------------------------------------------------
Rejected by Default action  
u*>?  2.2.2.2/32                                                      
Rejected by Default action  
u*>?  4.0.0.1/32                                                      
Rejected by Default action  
u*>?  4.0.0.2/32                                                      
Rejected by Default action  
u*>?  4.0.0.3/32                                                      
Rejected by Default action  
u*>?  4.0.0.4/32                                                      
Rejected by Default action  
u*>?  4.0.0.5/32                                                      
Accepted by Policy 
u*>?  4.0.0.6/32                                                      
Rejected by Default action  
u*>?  6.0.0.1/32                                                      
Rejected by Default action  
u*>?  7.0.0.1/32                                                      
Rejected by Default action  
u*>i  10.0.4.0/24                                                     
Rejected by Default action            
*i    10.12.0.0/24                                                    
Rejected by Default action  
*i    10.14.0.0/24                                                    
Rejected by Default action  
u*>i  10.24.0.0/24                                                    
Rejected by Default action  
*i    12.12.12.12/32                                                  
Rejected by Default action  
*i    220.0.0.2/32                                                    
Rejected by Default action  
*i    220.0.0.3/32                                                    
Rejected by Default action  
u*>i  221.0.0.2/32                                                    
-------------------------------------------------------------------------------
 Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 prefix 0.0.0.0/0 longer neighbor 
220.0.0.2 display-rejects
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop                                            Path-Id     VPNLabel
      As-Path                                                        
-------------------------------------------------------------------------------
Rejected by Default action  
u*>?  2.2.2.2/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.1/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.2/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.3/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.4/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.5/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Accepted by Policy 
u*>?  4.0.0.6/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  6.0.0.1/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  7.0.0.1/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>i  10.0.4.0/24                                        None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
*i    10.12.0.0/24                                       None        20
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
*i    10.14.0.0/24                                       None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>i  10.24.0.0/24                                       None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
*i    12.12.12.12/32                                     None        20
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
*i    220.0.0.2/32                                       None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
*i    220.0.0.3/32                                       None        10
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>i  221.0.0.2/32                                       None        None
      220.0.0.2                                          None        -
      14                                                              
-------------------------------------------------------------------------------
 Total Routes : 17 Routes rejected : 16
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 prefix 4.0.0.1/32 detail neighbor 
220.0.0.2 display-rejects
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP IPv4 Routes
===============================================================================
Rejected by Default action  
Network        : 4.0.0.1/32
Nexthop        : 220.0.0.2
Path Id        : None                   
From           : 220.0.0.2
Res. Nexthop   : 10.14.0.4
Local Pref.    : None                   Interface Name : to-sim-6
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : None
AIGP Metric    : None                   
Connector      : None
Community      : target:65530:20
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 14.14.14.10
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete  
Route Source   : External               
AS-Path        : 14 
 
-------------------------------------------------------------------------------
 Total Routes : 1 Routes rejected : 1
===============================================================================
 
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.6/32 
neighbor 220.0.0.2 
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Accepted by Policy 
-------------------------------------------------------------------------------
Original Attributes
 
Network        : 4.0.0.6/32
Nexthop        : 220.0.0.2
Path Id        : None                   
From           : 220.0.0.2
Res. Nexthop   : 10.14.0.4
Local Pref.    : n/a                    Interface Name : to-sim-6
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : None
AIGP Metric    : None                   
Connector      : None                 
Community      : target:65530:20
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 14.14.14.10
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete  
Route Source   : External               
AS-Path        : 14 
 
Modified Attributes
 
Network        : 4.0.0.6/32
Nexthop        : 220.0.0.2
Path Id        : None                   
From           : 220.0.0.2
Res. Nexthop   : 10.14.0.4
Local Pref.    : None                   Interface Name : to-sim-6
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : None
AIGP Metric    : None                   
Connector      : None
Community      : 2:11  2:12  2:13  target:65530:20
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 14.14.14.10
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete  
Route Source   : External               
AS-Path        : 14 
 
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
 
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.6/32 
longer neighbor 220.0.0.2
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop                                            Path-Id     VPNLabel
      As-Path                                                        
-------------------------------------------------------------------------------
Accepted by Policy 
u*>?  4.0.0.6/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.6/32 
longer neighbor 220.0.0.2 detail
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                                        
-------------------------------------------------------------------------------
Accepted by Policy 
u*>?  4.0.0.6/32                                                      
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24 
longer neighbor 220.0.0.2 brief
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                                        
-------------------------------------------------------------------------------
Accepted by Policy 
u*>?  4.0.0.6/32                                                      
-------------------------------------------------------------------------------
 Total Routes : 6 Routes rejected : 5
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24 
longer neighbor 220.0.0.2 display-rejects detail
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                                        
-------------------------------------------------------------------------------
Rejected by Default action  
u*>?  4.0.0.1/32                                                      
Rejected by Default action  
u*>?  4.0.0.2/32                                                      
Rejected by Default action  
u*>?  4.0.0.3/32                                                      
Rejected by Default action  
u*>?  4.0.0.4/32                                                      
Rejected by Default action  
u*>?  4.0.0.5/32                                                      
Accepted by Policy 
u*>?  4.0.0.6/32                                                      
-------------------------------------------------------------------------------
 Total Routes : 6 Routes rejected : 5
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24 
longer neighbor 220.0.0.2 display-rejects
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop                                            Path-Id     VPNLabel
      As-Path                                                        
-------------------------------------------------------------------------------
Rejected by Default action  
u*>?  4.0.0.1/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.2/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.3/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.4/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Rejected by Default action  
u*>?  4.0.0.5/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
Accepted by Policy 
u*>?  4.0.0.6/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
-------------------------------------------------------------------------------
 Total Routes : 6 Routes rejected : 5
===============================================================================
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24 
longer neighbor 220.0.0.2 display-rejects brief
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                                        
-------------------------------------------------------------------------------
Rejected by Default action  
u*>?  4.0.0.1/32                                                      
Rejected by Default action  
u*>?  4.0.0.2/32                                                      
Rejected by Default action  
u*>?  4.0.0.3/32                                                      
Rejected by Default action  
u*>?  4.0.0.4/32                                                      
Rejected by Default action  
u*>?  4.0.0.5/32                                                      
Accepted by Policy 
u*>?  4.0.0.6/32                                                      
-------------------------------------------------------------------------------
 Total Routes : 6 Routes rejected : 5
===============================================================================
 
A:sim-1# show router bgp policy-test bgpprefix6 family ipv4 prefix 4.0.0.0/24 
longer neighbor 220.0.0.2 
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop                                            Path-Id     VPNLabel
      As-Path                                                        
-------------------------------------------------------------------------------
Accepted by Policy 
u*>?  4.0.0.6/32                                         None        None
      220.0.0.2                                          None        -
      14                                                              
-------------------------------------------------------------------------------
 Total Routes : 6 Routes rejected : 5
 
 
A:sim-1# show router bgp policy-test bgpprefix44rj family vpn-ipv4 prefix 0.0.0.0/0 
longer neighbor display-rejects
 
===============================================================================
 BGP Router ID:11.11.11.10      AS:11          Local AS:11         
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref   MED
      Nexthop                                            Path-Id     VPNLabel
      As-Path                                                        
-------------------------------------------------------------------------------
Accepted by Policy 
u*>i  1:30:192.14.15.0/24                                None        None
      220.0.0.2                                          None        131069
      14                                                              
Accepted by Policy 
u*>i  65530:20:8.0.0.1/32                                None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:10.0.3.0/24                               None        None
      220.0.0.2                                          None        131070
      14 101                                                          
Accepted by Policy 
u*>i  65530:20:10.13.0.0/24                              None        None
      220.0.0.2                                          None        131070
      14 101                                                          
Accepted by Policy 
u*>i  65530:20:10.23.0.0/24                              None        None
      220.0.0.2                                          None        131070
      14 101                                                          
Accepted by Policy 
u*>i  65530:20:13.13.13.13/32                            None        None
      220.0.0.2                                          None        131070
      14 101                                                          
Accepted by Policy 
u*>i  65530:20:20.20.20.5/32                             None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:20.20.20.6/32                             None        None
      220.0.0.2                                          None        131070
      14                                                              
Rejected by Policy Entry = 10 
u*>i  65530:20:44.44.44.0/24                             None        None
      220.0.0.2                                          None        131070
      14 101                                                          
Accepted by Policy 
u*>i  65530:20:192.14.15.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.16.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.17.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.18.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.19.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.20.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.21.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.22.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:192.14.23.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy                    
u*>i  65530:20:192.14.25.0/24                            None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  65530:20:196.34.0.0/24                             None        None
      220.0.0.2                                          None        131070
      14                                                              
Accepted by Policy 
u*>i  220.0.0.2:50:192.50.50.0/24                        None        None
      220.0.0.2                                          None        131067
      14                                                              
Accepted by Policy 
u*>i  220.0.0.2:50:220.0.0.2/32                          None        None
      220.0.0.2                                          None        131067
      14                                                              
-------------------------------------------------------------------------------
 Total Routes : 22 Routes rejected : 1
===============================================================================
 

prefix-label

Syntax 
prefix-label
Context 
show>router>bgp
Description 

This command displays BGP Prefix label information.

routes

Syntax 
routes [family] [brief]
routes [family] prefix [detail | longer | hunt [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 vpn-ipv4 prefix [rd rd] [detail | longer | hunt [brief]]
routes vpn-ipv6 prefix [rd rd] [detail | longer | hunt [brief]]
routes mvpn-ipv4 type mvpn-type {rd rd | originator-ip ip-address | source-ip ip-address | group-ip ip-address | source-as as-number} [hunt| detail]
routes [family [l2vpn-type]] [brief]
routes [family [l2vpn-type]] community comm-id
routes [family [l2vpn-type]] aspath-regex reg-ex
routes l2-vpn l2vpn-type {[rd rd] | [siteid site-id] | [veid veid] [offset vpls-base-offset ]}
routes mdt-safi [rd rd] [grp-address mcast-grp-address] [brief]
routes ms-pw [rd rd] [aii-type2 aii-type2] [brief]
routes flow-ipv4
routes evpn inclusive-mcast [hunt | detail] [rd rd] [originator-ip ip-address] [next-hop ip-address] [community comm-id] [tag vni-id]
routes evpn ip-prefix [hunt | detail] [rd rd] [prefix ip-prefix/mask] [community comm-id] [tag vni-id] [next-hop ip-address]
routes evpn mac [hunt | detail] [rd rd] [next-hop ip-address] [mac-address mac-address] [community comm-id] [tag vni-id]
routes bgp-ls [hunt] [node | link | ipv4-prefix [ipv4-prefix/mask-len]]
route-target [source-as as-number] [brief] [aspath-regex reg-exp] [community comm-id]
route-target [rtc-prefix rtc-prefix] [hunt] [brief] [aspath-regex reg-exp] [community comm-id]
route-target rtc-prefix rtc-prefix [aspath-regex reg-exp] [community comm-id]
route-target [rtc-prefix rtc-prefix] [detail | longer] [aspath-regex reg-exp] [community comm-id]
Context 
show>router>bgp
Description 

This command displays BGP route information. When this command is issued without any parameters, then the entire BGP routing table displays. When this command is issued with an IP prefix/mask or IP address, then the best match for the parameter displays.

Parameters 
family
Specify the type of routing information to be distributed by the BGP instance.
Values—
evpn — Displays the BGP information related to Ethernet VPN.
ipv4 — Displays only those BGP peers that have the IPv4 family enable and not those capable of exchanging IP-VPN routes.
vpn-ipv4 — Displays the BGP peers that are IP-VPN capable.
ipv6 — Displays the BGP peers that are IPv6 capable.
mcast-ipv4 — Displays the BGP peers that are mcast-ipv4 capable.

 

mvpn-type
Specifies the mvpn-type.
Values—
intra-ad, inter-ad, spmsi-ad, leaf-ad, source-ad, shared-join, and source-join.

 

received—
Specifies to show the BGP routes received from the neighbor.
prefix—
Specifies the prefix to display.
Values—
ip-address: a.b.c.d
ipv4-prefix: a.b.c.d
ipv4-prefix-length: [0 to 32]
ipv6-prefix [/pref* ipv6-prefix]:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
prefix-length: [0 to 128]

 

filter—
Specifies route criteria.
Values—
hunt—Displays entries for the specified route in the RIB-In, RIB-Out, and RTM.
longer—Displays the specified route and subsets of the route.
detail—Display the longer, more detailed version of the output.

 

aspath-regex “reg-exp”—
Displays all routes with an AS path matching the specified regular expression reg-exp.
community—
Displays all routes with the specified BGP community.
comm-id—
Specifies community IDs, up to 72 characters.
Values—
[as-num:comm-val | ext-comm | well-known-comm]
where:
  1. as-num — 0 to 65535
  2. comm-val — 0 to 65535
  3. ext-comm — the extended community, defined as one of the following:
    1. {target | origin}:ip-address:comm-val
    2. {target | origin}:asnum:ext-comm-val
    3. {target | origin}:ext-asnum:comm-val
    4. bandwidth:asnum:val-in-mbps
    5. ext:4300:ovstate
    6. ex \t:value1:value2
    7. flowspec-set:ext-asnum:group-id
    where:
    1. target — route target
    2. origin — route origin
    3. ip-address — a.b.c.d
    4. ext-comm-val — 0 to 4294967295
    5. ext-asnum — 0 to 4294967295
    6. bandwidth — bandwidth
    7. val-in-mbps — 0 to 16777215
    8. ext — extended
    9. ext:4300 — origin verification
    10. ovstate — 0, 1, or 2 (0 for valid, 1 for not found, 2 for invalid)
    11. value1 — 0000 to FFFF
    12. value2 — 0 to FFFFFFFFFFFF
    13. flowspec-set — flow-spec set
    14. group-id — 0 to 16383
  4. well-known-commnull | no-export | no-export-subconfed | no-advertise | blackhole

 

brief—
Provides a summarized display of the set of peers to which a BGP route is advertised.
rd—
Allows more precise definition of the RD vs. prefix for VPN-IPv6 routes.
Values—
ip-addr:comm-va
2byte-asnumber:ext-comm-val
4byte-asnumber:comm-val}

 

veid—
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.
Values—
0 to 4294967295

 

vpls-base-offset—
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) then 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.
Values—
0 to 4294967295

 

site-id—
Specifies a two byte identifier usually employed for the BGP multi-homing solution. It identifies the BGP multi-homing site associated with one or a set of objects (SAPs, pseudowires or combination). The site-id must be identical between the two PEs carrying the connection to the access device multi-homed to the PEs.
Values—
0 to 4294967295

 

l2vpn-type—
Specifies a 12-byte Virtual Switch Instance identifier (VSI-ID) type.
Values—
bgp-ad, bgp-vpls, multi-homing

 

ms-pw [rd rd] [aii-type2 aii-type2] [brief]
Displays routes for ms-pw family.
route-target—
Displays a summary of route-target constrain routes for this peer.
rtc-prefix—
source-as:{ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val}/prefix-length
Values—
ip-addr: a.b.c.d
comm-val: 0 to 65535
2byte-asnumber: 0 to 65535
ext-comm-val: 0 to 4294967295
4byte-asnumber: 0 to 4294967295
prefix-length: 0 to 96

 

routes evpn inclusive-mcast [hunt | detail] [rd rd] [originator-ip ip-address] [next-hop ip-address] [community comm-id] [tag vni-id]—
Displays inclusive multicast routes for evpn family.
routes evpn ip-prefix [hunt | detail] [rd rd] [prefix ip-prefix/mask] [community comm-id] [tag vni-id] [next-hop ip-address]—
 Displays inclusive ip-prefix routes for evpn family.
routes evpn mac [hunt | detail] [rd rd] [next-hop ip-address] [mac-address mac-address] [community comm-id] [tag vni-id]—
Displays MAC routes for the EVPN family.
tag vni-id
Displays all routes with the specified ethernet-tag. For VXLAN tunnels, the ethernet-tag encodes the VNI (VXLAN Network Identifier).
Values—
1 to 16777215

 

Output 

BGP Route

Table 68 describes the command output fields for BGP routes.

Table 68:  BGP Routes Output Fields  

Label

Description

BGP Router ID

The local BGP router ID.

AS

The configured autonomous system number.

Local AS

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 PEs label manager.

Network

The IP prefix and mask length.

Nexthop

The BGP nexthop.

From

The advertising BGP neighbor’s IP address.

Res. Nexthop

The resolved nexthop.

Local Pref.

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

S — sticky

Aggregator AS

The aggregator AS value.

none — Aggregator AS attributes are not present.

Aggregator

The aggregator attribute value.

none — Aggregator attributes are not present.

Atomic Aggr.

Atomic —Not Atomic — The atomic aggregator flag is not set. The atomic aggregator flag is set.

MED

The MED metric value.

none — MED metrics are present.

Community

The BGP community attribute list.

Cluster

The route reflector cluster list.

Originator Id

The originator ID path attribute value.

none — The originator ID attribute is not present.

Peer Router Id

The router ID of the advertising router.

AS-Path

The BGP AS path attribute.

VPRN Imported

Displays the VPRNs where a particular BGP-VPN received route has been imported and installed.

TieBreakReason

Displays the step in the BGP decision process where a BGP route lost the tie-break with the next better BGP route for the same prefix.

LocalPref — This route is not the best because the next better route has a higher LOCAL_PREF.

AIGP — This route is not the best because the next better route has a lower derived AIGP metric value.

ASPathLen — This route is not the best because the next better route has a shorter AS PATH length.

Origin — This route is not the best because the next better route has a lower Origin value.

MED — This route is not the best because the next better route has a lower MED, and MED comparison of the routes was allowed.

IBGP — This IBGP route is not the best because the next better route is an EBGP route.

NHCost — This route is not the best because the next better route has a lower metric value to reach the BGP NEXT HOP.

BGPID — This route is not the best because the next better route has a lower Originator ID or BGP Identifier.

ClusterLen — This route is not the best because the next better route has a shorter Cluster list length.

PeerIP — This route is not the best because the next better route has a lower neighbor IP address.

Sample Output
*A:7750SR7-PE# show router bgp routes 10.10.10.5 
===============================================================================
 BGP Router ID:10.20.1.3        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*>?  10.10.10.0/24                                      None        None
      10.20.1.4                                          None        -
      200 300
-------------------------------------------------------------------------------
Routes : 1
 
 
*A:Dut-C# show router bgp routes l2-vpn detail 
========================================================================
BGP Router ID:10.20.1.3        AS:1000        Local AS:1000 
========================================================================
Legend -
Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
========================================================================
BGP L2VPN Routes
========================================================================
Route Type     : AutoDiscovery 
Route Dist.    : 10.20.1.1:1
Prefix         : 10.20.1.1
Nexthop        : 10.20.1.1
From           : 10.20.1.1
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : NotAvailable
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 0
AIGP Metric    : Not Atomic 
Community      : target:4455:4455  target:1.20.30.40:6543
                 l2-vpn/vrf-imp:100.1.200.1:65535
Cluster        : No Cluster Members 
Originator Id  : None                   Peer Router Id : 10.20.1.1
Flags          : Used  Valid  Best  IGP 
Route Source   : Internal 
AS-Path        : No As-Path
------------------------------------------------------------------------
PMSI Tunnel Attribute : 
Tunnel-type    : RSVP-TE P2MP LSP       Flags          : Leaf not required
MPLS Label     : 0 
P2MP-ID        : 1001                   Tunnel-ID      : 61440
Extended-Tunne*: 10.20.1.1              
 
 
*A:Dut-C# show router bgp routes l2-vpn detail 
========================================================================
BGP Router ID:10.20.1.3        AS:1000        Local AS:1000       
========================================================================
Legend -
Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
========================================================================
BGP L2VPN Routes
========================================================================
Route Type     : AutoDiscovery          
Route Dist.    : 10.20.1.1:1
Prefix         : 10.20.1.1
Nexthop        : 10.20.1.1
From           : 10.20.1.1
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : NotAvailable
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 0
AIGP Metric    : Not Atomic             
Community      : target:4455:4455  target:1.20.30.40:6543
 
                 l2-vpn/vrf-imp:100.1.200.1:65535
 
Cluster        : No Cluster Members   
Originator Id  : None                   Peer Router Id : 10.20.1.1
Flags          : Used  Valid  Best  IGP  
Route Source   : Internal               
AS-Path        : No As-Path
------------------------------------------------------------------------
PMSI Tunnel Attribute : 
Tunnel-type    : RSVP-TE P2MP LSP       Flags          : Leaf not required
MPLS Label     : 0                      
P2MP-ID        : 1001                   Tunnel-ID      : 61440
Extended-Tunne*: 10.20.1.1              
 
 
*A:Dut-C>show>router>bgp# routes l2-vpn 10.20.1.1 rd 10.20.1.1:1 hunt
===============================================================================
 BGP Router ID:10.20.1.3        AS:None        Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP L2VPN-AD Routes
===============================================================================
Route Type     : AutoDiscovery
Route Dist.    : 10.20.1.1:1
Prefix         : 10.20.1.1
Nexthop        : 10.20.1.1
From           : 10.20.1.2
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : NotAvailable
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 0
AIGP Metric    : None
Connector      : None
Community      : target:1.20.30.40:6543
                 l2-vpn/vrf-imp:100.1.200.1:65535
Cluster        : 1.1.1.1
Originator Id  : 10.20.1.1              Peer Router Id : 10.20.1.2
Flags          : Used  Valid  Best  IGP
Route Source   : Internal
AS-Path        : No As-Path
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:Dut-C>show>router>bgp#
 
 
*A:Dut-C>show>router>bgp# routes vpn-ipv4 6.6.6.6/32 rd 10.20.1.4:1 hunt
===============================================================================
 BGP Router ID:10.20.1.3        AS:None        Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network        : 6.6.6.6/32
Nexthop        : 10.20.1.4
Route Dist.    : 10.20.1.4:1            VPN Label      : 131070
Path Id        : None
From           : 10.20.1.4
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : int_to_D
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : None
AIGP Metric    : None
Connector      : None
Community      : target:100:100
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.4
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete
Route Source   : Internal
AS-Path        : 106
VPRN Imported  :  1
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:Dut-C>show>router>bgp#
 
*A:Dut-C>show>router>bgp# routes vpn-ipv4 6.6.6.6 32 hunt << SAME AS ABOVE BUT RD NOT SPECIFIED.I.E. ANY RD (RD is optional).
===============================================================================
 BGP Router ID:10.20.1.3        AS:None        Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network        : 6.6.6.6/32
Nexthop        : 10.20.1.4
Route Dist.    : 10.20.1.4:1            VPN Label      : 131070
Path Id        : None
From           : 10.20.1.4
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : int_to_D
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : None
AIGP Metric    : None
Connector      : None
Community      : target:100:100
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.4
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete
Route Source   : Internal
AS-Path        : 106
VPRN Imported  :  1
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:Dut-C>show>router>bgp#
 
 
*A:Dut-C>show>router>bgp# routes 3FFE::606:609/128 vpn-ipv6 hunt
===============================================================================
 BGP Router ID:10.20.1.3        AS:None        Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv6 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network        : 3FFE::606:609/128
Nexthop        : ::FFFF:A14:104
Route Dist.    : 10.20.1.4:1            VPN Label      : 131070
Path Id        : None
From           : 10.20.1.4
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : int_to_D
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : None
AIGP Metric    : None
Connector      : None
Community      : target:100:100
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.4
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete
Route Source   : Internal
AS-Path        : 106
VPRN Imported  :  1
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:Dut-C>show>router>bgp#
 
 
*A:Dut-C>show>router>bgp# routes vpn-ipv6 3FFE::606:607/128 rd 10.20.1.4:1 hunt
===============================================================================
 BGP Router ID:10.20.1.3        AS:None        Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv6 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network        : 3FFE::606:607/128
Nexthop        : ::FFFF:A14:104
Route Dist.    : 10.20.1.4:1            VPN Label      : 131070
Path Id        : None
From           : 10.20.1.4
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : int_to_D
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : None
AIGP Metric    : None
Connector      : None
Community      : target:100:100
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.4
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete
Route Source   : Internal
AS-Path        : 106
VPRN Imported  :  1
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:Dut-C>show>router>bgp# routes vpn-ipv6 3FFE::606:607/128 rd 10.20.1.4:2 hunt
===============================================================================
 BGP Router ID:10.20.1.3        AS:None        Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP VPN-IPv6 Routes
===============================================================================
No Matching Entries Found
===============================================================================
*A:Dut-C>show>router>bgp#
 
 
*A:Dut-C# show router bgp routes hunt 1.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        : 1.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
Cluster        : No Cluster 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 13.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         :       13.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
Cluster         :       No Cluster Members 
Originator Id   :       None            Peer Router Id   : 10.20.1.20 
Flags           :       Used Valid Best IGP 
AS-Path         :       10070 {14730} 
Modified Attributes 
 
Network :13.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 
Cluster :No Cluster Members 
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:SR-12# show router bgp routes 100.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        : 100.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
Cluster        : No Cluster Members
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:SR-12#
 
 
*A:praragon-sim1# /show router bgp routes mvpn-ipv4
===============================================================================
 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
===============================================================================
Flag  RouteType                   OriginatorIP           LocalPref   MED
          RD                          SourceAS                           VPNLabel
          Nexthop                     SourceIP
          As-Path                     GroupIP
-------------------------------------------------------------------------------
u*>i  Intra-Ad                    10.20.1.4              100         0
          1:1                         -                                  -
          10.20.1.4                   -
          No As-Path                  -
u*>i  Source-Ad                   -                      100         0
          1:1                         -                                  -
          10.20.1.4                   130.100.1.2
          No As-Path                  227.0.0.0
u*>i  Source-Join                 -                      100         0
          1:1                         200                                -
          10.20.1.4                   150.100.1.2
          No As-Path                  226.0.0.0
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
*A:praragon-sim1#
 
 
*A:praragon-sim1# show router bgp routes mvpn-ipv4 brief
===============================================================================
 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
===============================================================================
Flag  RouteType                   OriginatorIP          SourceIP
          RD                          SourceAS              GroupIP
-------------------------------------------------------------------------------
u*>i  Intra-Ad                    10.20.1.4             -
          1:1                         -                     -
u*>i  Source-Ad                   -                     130.100.1.2
          1:1                         -                       227.0.0.0
u* >i  Source-Join                 -                     150.100.1.2
          1:1                         200                   226.0.0.0
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
*A:praragon-sim1#
 
*A:praragon-sim1# 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      : 150.100.1.2
Group IP       : 226.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
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.4
Flags          : Used  Valid  Best  IGP
AS-Path        : No As-Path
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:praragon-sim1#
 
*A:Dut-C# show router bgp routes mvpn-ipv4 type spmsi-ad detail
===============================================================================
 BGP Router ID:10.20.1.3        AS:46000       Local AS:46000
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
                 l - leaked
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP MVPN-IPv4 Routes
===============================================================================
Original Attributes
 
Route Type     : Spmsi-Ad
Route Dist.    : 10.1.200.41:1
Originator IP  : 10.20.1.4
Source IP      : 10.1.101.2
Group IP       : 225.100.0.0
 
<snip>
 
Last Modified  : 00h18m52s
VPRN Imported  :  1
-------------------------------------------------------------------------------
PMSI Tunnel Attribute :
Tunnel-type    : None                   Flags          : Leaf required
MPLS Label     : 0
-------------------------------------------------------------------------------
 
===============================================================================
*A:Dut-C#
 
*A:Dut-C# show router bgp routes mvpn-ipv6 type spmsi-ad detail
===============================================================================
 BGP Router ID:10.20.1.3        AS:46000       Local AS:46000
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
                 l - leaked
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP MVPN-IPv6 Routes
===============================================================================
Original Attributes
 
Route Type     : Spmsi-Ad
Route Dist.    : 10.1.200.41:1
Originator IP  : 10.20.1.4
Source IP      : 2001:10:1:101::2
Group IP       : ff0e:225:100::
 
<snip>
 
VPRN Imported  :  1
-------------------------------------------------------------------------------
PMSI Tunnel Attribute :
Tunnel-type    : None                   Flags          : Leaf required
MPLS Label     : 0
-------------------------------------------------------------------------------
===============================================================================
*A:Dut-C#
 
 
*A:Dut-C# show router bgp routes ms-pw 
===============================================================================
 BGP Router ID:10.20.1.3        AS:100         Local AS:100        
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP MSPW Routes
===============================================================================
Flag  Network                 RD                                       
      Nexthop                 AII-Type2/Preflen                       
      As-Path                                                         
-------------------------------------------------------------------------------
?     3:10.20.1.3             100:3                                    
      10.20.1.5               3:10.20.1.3:0/64                         
      200 100                                                          
?     3:10.20.1.3             100:4                                    
      10.20.1.5               3:10.20.1.3:0/64                         
      200 100                                                          
u*>?  6:10.20.1.6             100:6                                    
      10.20.1.5               6:10.20.1.6:0/64                         
      200 300 400                                                      
-------------------------------------------------------------------------------
Routes : 3
===============================================================================
 
*A:DUT# show router bgp routes ipv4 detail
===============================================================================
 BGP Router ID:1.1.1.1          AS:100         Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
 
Network        : 11.1.1.1/32
Nexthop        : 192.168.1.1
Path Id        : None
From           : 192.168.1.1
Res. Nexthop   : 192.168.1.1
Local Pref.    : n/a                    Interface Name : net
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 5000
AIGP Metric    : 100     
Community      : None
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 2.2.2.2
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete
Route Source   : External
AS-Path        : 200 400 500
 
Modified Attributes
 
Network        : 11.1.1.1/32
Nexthop        : 192.168.1.1
Path Id        : None
From           : 192.168.1.1
Res. Nexthop   : 192.168.1.1
Local Pref.    : None                   Interface Name : net
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 5000
AIGP Metric    : 110
Community      : None
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 2.2.2.2
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete
Route Source   : External
AS-Path        : 200 400 500
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
 
*A:DUT# show router bgp routes 11.1.1.1/32 hunt
===============================================================================
 BGP Router ID:1.1.1.1          AS:100         Local AS:100
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network        : 11.1.1.1/32
Nexthop        : 192.168.1.1
Path Id        : None
From           : 192.168.1.1
Res. Nexthop   : 192.168.1.1
Local Pref.    : None                   Interface Name : net
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 5000
AIGP Metric    : 110
Community      : None
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 2.2.2.2
Fwd Class      : None                   Priority       : None
Flags          : Used  Valid  Best  Incomplete
Route Source   : External
AS-Path        : 200 400 500
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
Network        : 11.1.1.1/32
Nexthop        : 1.1.1.1
Path Id        : None
To             : 3.3.3.3
Res. Nexthop   : n/a
Local Pref.    : 100                    Interface Name : NotAvailable
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 5000
AIGP Metric    : 150
Community      : None
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 3.3.3.3
Origin         : Incomplete
AS-Path        : 200 400 500
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
 
*A:PCE Server 226# show router bgp routes bgp-ls hunt link
===============================================================================
 BGP Router ID:38.120.48.226    AS:65000       Local AS:65000
===============================================================================
 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-LS Link NLRIs
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network:
 Type          : LINK-NLRI
 Protocol      : ISIS Level-2           Identifier     : 0xa
 Local Node descriptor:
  Autonomous System  : 0.0.253.232
  Link State Id      : 10
  IGP Router Id      : 0x38120048184
 Remote Node descriptor:
  Autonomous System  : 0.0.253.232
  Link State Id      : 10
  IGP Router Id      : 0x38120048223
 Link descriptor:
  IPV4 Interface Addr: 10.0.14.184
  IPV4 Neighbor Addr : 10.0.14.223
Nexthop        : 38.120.48.199
From           : 38.120.48.199
Res. Nexthop   : 0.0.0.0
Local Pref.    : 100                    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 : 38.120.48.199
Flags          : Valid  Best  IGP
Route Source   : Internal
AS-Path        : No As-Path
Route Tag      : 0
Neighbor-AS    : N/A
Orig Validation: N/A
Source Class   : 0                      Dest Class     : 0
Add Paths Send : Default
Last Modified  : 02h27m50s
-------------------------------------------------------------------------------
Link State Attribute TLVs :
 Administrative group (color) : 0x0
 Maximum link bandwidth : 100000 Kbps
 Max. reservable link bandwidth : 100000 Kbps
 Unreserved bandwidth0 : 100000 Kbps
 Unreserved bandwidth1 : 100000 Kbps
 Unreserved bandwidth2 : 100000 Kbps
 Unreserved bandwidth3 : 100000 Kbps
 Unreserved bandwidth4 : 100000 Kbps
 Unreserved bandwidth5 : 100000 Kbps
 Unreserved bandwidth6 : 100000 Kbps
 Unreserved bandwidth7 : 100000 Kbps
 TE Default Metric : 100
 IGP Metric : 100
 Adjacency Segment Identifier (Adj-SID) :       flags 0x30 weight 0 sid 262136
-------------------------------------------------------------------------------
Network:
 Type          : LINK-NLRI
 Protocol      : ISIS Level-2           Identifier     : 0xa
 Local Node descriptor:
  Autonomous System  : 0.0.253.232
  Link State Id      : 10
  IGP Router Id      : 0x38120048184
 Remote Node descriptor:
  Autonomous System  : 0.0.253.232
  Link State Id      : 10
  IGP Router Id      : 0x38120048223
 Link descriptor:
  IPV4 Interface Addr: 10.0.14.184
  IPV4 Neighbor Addr : 10.0.14.223
Nexthop        : 38.120.48.221
From           : 38.120.48.221
Res. Nexthop   : 0.0.0.0
Local Pref.    : 100                    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 : 38.120.48.221
Flags          : Valid  IGP
TieBreakReason : OriginatorID
Route Source   : Internal
AS-Path        : No As-Path
Route Tag      : 0
Neighbor-AS    : N/A
Orig Validation: N/A
Source Class   : 0                      Dest Class     : 0
Add Paths Send : Default
Last Modified  : 02h27m54s
-------------------------------------------------------------------------------
Link State Attribute TLVs :
 Administrative group (color) : 0x0
 Maximum link bandwidth : 100000 Kbps
 Max. reservable link bandwidth : 100000 Kbps
 Unreserved bandwidth0 : 100000 Kbps
 Unreserved bandwidth1 : 100000 Kbps
 Unreserved bandwidth2 : 100000 Kbps
 Unreserved bandwidth3 : 100000 Kbps
 Unreserved bandwidth4 : 100000 Kbps
 Unreserved bandwidth5 : 100000 Kbps
 Unreserved bandwidth6 : 100000 Kbps
 Unreserved bandwidth7 : 100000 Kbps
 TE Default Metric : 100
 IGP Metric : 100
 Adjacency Segment Identifier (Adj-SID) :       flags 0x30 weight 0 sid 262136
---------------------------------------------
 
*A:Dut-A>config>router>bgp# show router bgp routes 
===============================================================================
 BGP Router ID:10.20.1.1        AS:1           Local AS:1          
===============================================================================
 Legend -
 Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
 Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
===============================================================================
BGP IPv4 Routes
===============================================================================
Flag  Network                                            LocalPref     MED
      Nexthop                                              Path-Id      Label
      As-Path                                                                 
-------------------------------------------------------------------------------
u*>i  20.0.0.1/32                                        100         2010
      10.20.1.2                                             None        131057
      2       
ub*i  20.0.0.1/32                                        100         2010
      10.20.1.3                                             None        131067
      2
-------------------------------------------------------------------------------
Routes : 2
===============================================================================
*A:DUT-A>config>router>bgp#
 
*A:Dut-A# show router bgp routes evpn mac mac-address 00:00:01:00:01:02 hunt
===============================================================================
BGP Router ID:10.20.1.1        AS:100         Local AS:100       
===============================================================================
Legend -
Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP EVPN Mac Routes
===============================================================================
-------------------------------------------------------------------------------
RIB In Entries
-------------------------------------------------------------------------------
Network        : N/A
Nexthop        : 10.20.1.2
From           : 10.20.1.2
Res. Nexthop   : N/A
Local Pref.    : 100                    Interface Name : NotAvailable
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 0
AIGP Metric    : None                  
Connector      : None
Community      : target:100:1 bgp-tunnel-encap:VXLAN
                 mac-mobility:Seq:0/Static
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.2
Flags          : Used  Valid  Best  IGP 
Route Source   : Internal              
AS-Path        : 111
EVPN type      : MAC                   
ESI            : 0:0:0:0:0:0:0:0:0:0    Tag            : 1
IP Address     : N/A                    Route Dist.    : 10.20.1.2:1
Mac Address    : 00:00:01:00:01:02     
MPLS Label1    : X                      MPLS Label2    : Y
Route Tag      : Z
Neighbor-AS    : 111
Orig Validation: N/A                   
Source Class   : 0                      Dest Class     : 0
 
-------------------------------------------------------------------------------
RIB Out Entries
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
 
*A:Dut-A# show router bgp routes evpn ip-prefix prefix 3.0.1.6/32 detail
===============================================================================
BGP Router ID:10.20.1.1        AS:100         Local AS:100       
===============================================================================
Legend -
Status codes  : u - used, s - suppressed, h - history, d - decayed, * - valid
Origin codes  : i - IGP, e - EGP, ? - incomplete, > - best, b - backup
 
===============================================================================
BGP EVPN IP-Prefix Routes
===============================================================================
-------------------------------------------------------------------------------
Original Attributes
 
Network        : N/A
Nexthop        : 10.20.1.2
From           : 10.20.1.2
Res. Nexthop   : N/A
Local Pref.    : 100                    Interface Name : NotAvailable
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 0
AIGP Metric    : None                  
Connector      : None
Community      : target:100:1 mac-nh:00:00:01:00:01:02
                 bgp-tunnel-encap:VXLAN
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.2
Flags          : Used  Valid  Best  IGP 
Route Source   : Internal              
AS-Path        : No As-Path
EVPN type      : IP-PREFIX             
ESI            : N/A                    Tag            : 1
Gateway Address: 00:00:01:00:01:02     
Prefix         : 3.0.1.6/32             Route Dist.    : 10.20.1.2:1
MPLS Label    : X
Route Tag      : Z
Neighbor-AS    : N/A
Orig Validation: N/A                   
Source Class   : 0                      Dest Class     : 0
 
Modified Attributes
 
Network        : N/A                 
Nexthop        : 10.20.1.2
From           : 10.20.1.2
Res. Nexthop   : N/A
Local Pref.    : 100                    Interface Name : NotAvailable
Aggregator AS  : None                   Aggregator     : None
Atomic Aggr.   : Not Atomic             MED            : 0
AIGP Metric    : None                  
Connector      : None
Community      : target:100:1 mac-nh:00:00:01:00:01:02
                 bgp-tunnel-encap:VXLAN
Cluster        : No Cluster Members
Originator Id  : None                   Peer Router Id : 10.20.1.2
Flags          : Used  Valid  Best  IGP 
Route Source   : Internal              
AS-Path        : 111
EVPN type      : IP-PREFIX             
ESI            : N/A                    Tag            : 1
Gateway Address: 00:00:01:00:01:02     
Prefix         : 3.0.1.6/32             Route Dist.    : 10.20.1.2:1
MPLS Label    : X
Route Tag      : W
Neighbor-AS    : 111
Orig Validation: N/A                   
Source Class   : 0                      Dest Class     : 0
 
-------------------------------------------------------------------------------
Routes : 1
===============================================================================
*A:7750SR7-PE# show router bgp routes bgp-ls 
====================================================================
BGP-LS NLRIs
====================================================================
--------------------------------------------------------------------
Type: Node 
Protocol: ISIS | OSPFLevel: L1 | L2 | NA
Identifier: 
Network : 215.0.0.0/24
Nexthop : 202.50.0.2
Path Id : None
From : 10.255.105.141
AS Path: 65534
Local Node
   Name:<= Do we populate this?
   Autonomous System: 
   Area ID:
   Rtr ID:
   Flags:
Type: Link
Protocol: ISIS | OSPFLevel: L1 | L2 | NA
Identifier: 
Network : 215.0.0.0/24
Nexthop : 202.50.0.2
Path Id : None
From : 10.255.105.141
AS Path: 65534
Local Node
   Name:    
   Autonomous System: 
   Area ID:
   Rtr ID:
Remote Node
   Name:
   Autonomous System: 
   Area ID:
   Rtr ID:
Descriptor
   IPv4 Address: 10.10.1.1
Attributes
   Flags:
   IGP Metric: 1000
   Admin-Grp: 0
   Maximum Link BW (kbps): 100000
   Maximum Reservable BW (kbps): 100000
   TE Default Metric: 1000
   Unreserved BW (kbps): 10000
   
Type: IPv4 Prefix 
Protocol: ISIS | OSPFLevel: L1 | L2 | NA
Identifier: 
Network : 215.0.0.0/24
Nexthop : 202.50.0.2
Path Id : None
From : 10.255.105.141
AS Path: 65534
Local Node
   Name:<= Do we populate this?
   Autonomous System: 
   Area ID: 0.0.0.0
   Rtr ID: 10.20.1.6
   Flags:
Prefix descriptor
   IPv4 Address: 10.20.1.6
   Prefix-len: 32
   MT_ID :0
   Route Type :Unknown

summary

Syntax 
summary [all]
summary [family family] [neighbor ip-address]
Context 
show>router>bgp
Description 

This command displays a summary of BGP neighbor information.

If confederations are not configured, that portion of the output will not display.

The “State” field displays the global BGP operational state. The valid values are:

  1. Up — BGP global process is configured and running.
  2. Down — BGP global process is administratively shutdown and not running.
  3. Disabled — BGP global process is operationally disabled. The process must be restarted by the operator.

For example, if a BGP peer is operationally disabled, then the state in the summary table shows the state ‘Disabled’

Parameters 
family—
Specify the type of routing information to be distributed by the BGP instance.
Values—
ipv4 — Displays only those BGP peers that have the IPv4 family enabled.
vpn-ipv4 — Displays the BGP peers that are IP-VPN capable.
ipv6 — Displays the BGP peers that are IPv6 capable.
mcast-ipv4 — Displays the BGP peers that are mcast-ipv4 capable.

 

neighbor ip-address
Clears damping information for entries received from the BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D

 

Output 

BGP Summary Output

Table 69 describes the command output fields for a BGP summary.

Table 69:  BGP Summary Output Fields  

Label

Description

BGP Router ID

The local BGP router ID.

AS

The configured autonomous system number.

Local AS

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.

Confederation AS

The configured confederation AS.

Member Confederations

The configured members of the BGP confederation.

Number of Peer Groups

The total number of configured BGP peer groups.

Number of Peers

The total number of configured BGP peers.

Total BGP Active Routes

The total number of BGP routes used in the forwarding table.

Total BGP Routes

The total number of BGP routes learned from BGP peers.

Total BGP Paths

The total number of unique sets of BGP path attributes learned from BGP peers.

Total Path Memory

Total amount of memory used to store the path attributes.

Total Suppressed Routes

Total number of suppressed routes due to route damping.

Total History Routes

Total number of routes with history due to route damping.

Total Decayed Routes

Total number of decayed routes due to route damping.

Total VPN Peer Groups

The total number of configured VPN peer groups.

Total VPN Peers

The total number of configured VPN peers.

Total VPN Local Rts

The total number of configured local VPN routes.

Total VPN Remote Rts

The total number of configured remote VPN routes.

Total VPN Remote Active Rts.

The total number of active remote VPN routes used in the forwarding table.

Total VPN Supp.Rts.

Total number of suppressed VPN routes due to route damping.

Total VPN Hist. Rts.

Total number of VPN routes with history due to route damping.

Total VPN Decay Rts.

Total number of decayed routes due to route damping.

Neighbor

BGP neighbor address.

AS

(Neighbor)

BGP neighbor autonomous system number.

PktRcvd

Total number of packets received from the BGP neighbor.

PktSent

Total number of packets sent to the BGP neighbor.

InQ

The number of BGP messages to be processed.

OutQ

The number of BGP messages to be transmitted.

Up/Down

The amount of time that the BGP neighbor has either been established or not established depending on its current state.

State|Recv/Actv/Sent

The BGP neighbor’s current state (if not established) or the number of received routes, active routes and sent routes (if established).

Sample Output
A: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 Supressed 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)
-------------------------------------------------------------------------------
3FFE::A0A:1064
                  103     489    0 00h40m28s IPv4 Incapable
                          569    0           VPN-IPv4 Incapable
                                             1/1/3
                                             MCAST-IPv4 Incapable
===============================================================================
A:Dut-C#
 
 
A:Dut-C# show router bgp summary neighbor 10.20.1.4 family ipv6
===============================================================================
 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 Supressed 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 IPv6 Summary
===============================================================================
Neighbor
                   AS PktRcvd PktSent  InQ OutQ Up/Down   State|Recv/Actv/Sent
-------------------------------------------------------------------------------
10.20.1.4
                  100     554     572    0    0 00h41m27s 1/0/3
===============================================================================
A:Dut-C#
 
 
A:SetupCLI>show>router# bgp summary
===============================================================================
 BGP Router ID : 21.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 Supressed 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
 
Total IPv6 Remote Rts.  : 0           Total IPv6 Rem. Active Rts. : 0
===============================================================================
BGP Summary
===============================================================================
Legend : D - Dynamic Neighbor
===============================================================================
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)
-------------------------------------------------------------------------------
3.3.3.3        20       0    0     01h55m56s Active
                        0    0
===============================================================================
A:SetupCLI>show>router#

fib

Syntax 
fib slot-number [family] [ip-prefix/prefix-length [longer]] [secondary] [qos] [accounting-class] [all]
fib slot-number extensive [ip-prefix/prefix-length] [family] [all]
fib slot-number [family] summaryfib slot-number nh-table-usagefib all summary
Context 
show>router>fib
Description 

This command displays FIB information for a specific IOM.

Parameters 
slot-number—
Specifies the slot number.
Values—
1 to 10

 

family—
Specifies information about the type of routing information to be distributed by the instance.
Values—
ipv4 — Displays only those peers that have the IPv4 family enabled.
ipv6 — Displays the peers that are IPv6 capable.

 

ip-prefix—
Specifies to display IP prefix for prefix list entry in dotted decimal notation information.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D

 

prefix-length—
Specifies prefix length.

ipv4-prefix-length: 0 to 32

ipv6-prefix-length: 0 to 128

longer—
Specifies the prefix list entry matches any route that matches the specified ip-prefix and prefix mask length values equal to or greater than the specified mask.
secondary—
Specifies a secondary FIB.
summary—
Displays a summary of the FIB information.
nh-table-usage—
Displays next-hop table usage.
qos—
Displays QoS information.
accounting-class—
Displays accounting class information.
extensive—
Displays detailed output.
all—
Displays output for all IP prefixes.
Output 

The following output is an example of router FIB information.

Sample Output
*A:pe1# show router fib 1
===============================================================================
FIB Display
===============================================================================
Prefix [Flags] Protocol
NextHop
Src-Class
-------------------------------------------------------------------------------
180.10.0.1/32 [S] BGP
10.10.10.1 Indirect (lag1-to-server1)
10.10.10.5 Indirect (lag2-to-server2)
10.10.10.10 Indirect (lag3-to-server3)
-------------------------------------------------------------------------------
Total Entries : 1
Flags: S = sticky ECMP supported
-------------------------------------------------------------------------------
===============================================================================
show router fib 1 nh-table-usage
===============================================================================
FIB Next-Hop Summary
===============================================================================
IPv4/IPv6 Active Available
-------------------------------------------------------------------------------
IP Next-Hop 4 16383
Tunnel Next-Hop 16519 993279
ECMP Next-Hop 511998 512000
ECMP Tunnel Next-Hop 33030 261120
===============================================================================
 
A:pe1# show router fib 1 summary
===============================================================================
FIB Summary
===============================================================================
                              Active                   
-------------------------------------------------------------------------------
Static                        11                       
Direct                        5                        
HOST                          0                        
BGP                           579643                        
BGP VPN                       0                        
BGP EVPN                      0                        
OSPF                          0                        
ISIS                          0                        
RIP                           0                        
RIP_NG                        0                        
LDP                           0                        
Aggregate                     1                        
Sub Mgmt                      0                        
VPN Leak                      0                        
NAT                           0                        
Managed                       0                        
Periodic                      0                        
dhcpv6-pd                     0                        
dhcpv6-bh                     0                        
dhcpv6-na                     0                        
dhcpv6-ta                     0                        
-------------------------------------------------------------------------------
Total Installed               579660                        
-------------------------------------------------------------------------------
Current Occupancy             7%                       
Overflow Count                0                        
Suppressed by Selective FIB   0                        
Occupancy Threshold Alerts
    Alert Raised 0 Times;
===============================================================================

mvpn

Syntax 
mvpn
Context 
show>router
Description 

This command displays Multicast VPN related information.

Output 

The following output displays MVPN information.

Sample Output
*A:praragon-sim1# show router 100 mvpn
===============================================================================
MVPN 100 configuration data
===============================================================================
i-pmsi             : 224.100.201.101 ssm  admin status       : Up
hello-interval     : 30 seconds           hello-multiplier   : 35 * 0.1
three-way-hello    : Disabled             tracking support   : Disabled
 
s-pmsi range       : 0.0.0.0/0            data-delay-interval: 3 seconds
join-tlv-packing   : N/A
 
signaling          : Bgp
vrf-import         : N/A
vrf-export         : N/A
vrf-target         : N/A
===============================================================================
*A:praragon-sim1# 

route-table

Syntax 
route-table [family] [ip-prefix/prefix-length] [longer | exact | protocol protocol-name] [all] [next-hop-type type] [qos] [alternative] [accounting-class]
route-table [family] summary
route-table tunnel-endpoints [ip-prefix/prefix-length] [longer | exact] [detail]
route-table [family] [ip-prefix/prefix-length] [longer | exact | protocol protocol-name] extensive [all]
Context 
show>router>route-table
Description 

This command displays route-table information.

Parameters 
family
Specifies the type of routing information to be distributed by the BGP instance.

ipv4 — Displays only those BGP peers that have the IPv4 family enabled and not those capable of exchanging IP-VPN routes.

mcast-ipv4 — Displays the BGP peers that are mcast-ipv4 capable.

ipv6 — Displays the BGP peers that are IPv6 capable.

mcast-ipv6 — Displays the BGP peers that are mcast-ipv6 capable.

ip-prefix—
Displays information about the IP prefix for prefix list entry in dotted decimal notation.
Values—
ipv4-prefix:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D

 

prefix-length—
Specifies prefix length.

ipv4-prefix-length: 0 to 32

ipv6-prefix-length: 0 to 128

longer—
Specifies the prefix list entry matches any route that matches the specified ip-prefix and prefix mask length values equal to or greater than the specified mask.
exact—
Specifies the prefix list entry matches any route that matches the specified ip-prefix and prefix mask length values of the specified mask.
protocol-name—
Specifies the protocol name.
Values—
local, sub-mgmt, managed, static, ldp, ospf, ospf3, isis, rip, bgp, bgp-vpn, bgp-evpn, aggregate, vpn-leak, nat, periodic, dhcpv6-pd, dhcpv6-na, dhcpv6-ta, dhcpv6-pd-excl, ripng, ipsec, bgp-label, host, arp-nd

 

all—
Displays information about all inactive routes.
alternative—
Displays LFA and backup route details.
detail—
Displays detailed information.
extensive—
Displays extensive route table information.
Output 

The following output displays route table information.

Sample Output
show router route-table 180.10.0.1/32
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix[Flags]                            Type    Proto     Age        Pref
      Next Hop[Interface Name]                                    Metric
-------------------------------------------------------------------------------
180.10.0.1/32 [B][S]                          Remote  BGP       00h00m49s  170
       10.10.10.1                                                   0
180.10.0.1/32 [B][S]                          Remote  BGP       00h00m49s  170    
       10.10.10.5                                                   0
180.10.0.1/32 [B][S]                          Remote  BGP       00h00m49s  170    
       10.10.10.10                                                  0
-------------------------------------------------------------------------------
No. of Routes: 1
Flags: n = Number of times nexthop is repeated
       B = BGP backup route available
       L = LFA nexthop available
       S = sticky ECMP requested
==============================================================================
*A:vRR>config>router# show router route-table extensive 200.200.200.200/32 
 

Examples of the show router route-table extensive command output with unequal-cost ECMP BGP routes are shown below.

===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix             : 200.200.200.200/32
  Protocol              : BGP
  Age                   : 01h20m41s
  Preference            : 170
  Indirect Next-Hop     : 10.0.0.2
    QoS                 : Priority=n/c, FC=n/c
    Source-Class        : 0
    Dest-Class          : 0
    ECMP-Weight         : 9
    Resolving Next-Hop  : 10.0.0.2
      Interface         : to_bridge_br2
      Metric            : 0
      ECMP-Weight       : N/A
  Indirect Next-Hop     : 192.0.2.2
    QoS                 : Priority=n/c, FC=n/c
    Source-Class        : 0
    Dest-Class          : 0
    ECMP-Weight         : 5
    Resolving Next-Hop  : 192.0.2.2   
      Interface         : to_bridge_br3
      Metric            : 0
      ECMP-Weight       : N/A
-------------------------------------------------------------------------------
No. of Destinations: 1
===============================================================================
*A:vRR>config>router# show router fib 1 extensive 200.200.200.200/32       
 
===============================================================================
FIB Display (Router: Base)
===============================================================================
Dest Prefix             : 200.200.200.200/32
  Protocol              : BGP
  Indirect Next-Hop     : 10.0.0.2
    QoS                 : Priority=n/c, FC=n/c
    Source-Class        : 0
    Dest-Class          : 0
    ECMP-Weight         : 9
    Resolving Next-Hop  : 10.0.0.2 
      Interface         : to_bridge_br2
      ECMP-Weight       : 1
  Indirect Next-Hop     : 192.0.2.2
    QoS                 : Priority=n/c, FC=n/c
    Source-Class        : 0
    Dest-Class          : 0
    ECMP-Weight         : 5
    Resolving Next-Hop  : 192.0.2.2 
      Interface         : to_bridge_br3
      ECMP-Weight       : 1
===============================================================================
Total Entries : 1
===============================================================================
*A:Dut-C>config>router>mpls>lsp# show router route-table 5.3.0.1/32 extensive 
===============================================================================
Route Table (Router: Base)
===============================================================================
Dest Prefix             : 5.3.0.1/32
  Protocol              : BGP
  Age                   : 00h00m59s
  Preference            : 170
  Indirect Next-Hop     : 10.0.0.1
    QoS                 : Priority=n/c, FC=n/c
    Source-Class        : 0
    Dest-Class          : 0
    ECMP-Weight         : 1
    Resolving Next-Hop  : 1.0.0.2 (RSVP tunnel:115)
      Metric            : 10
      ECMP-Weight       : 1
    Resolving Next-Hop  : 1.0.0.2 (RSVP tunnel:61443)
      Metric            : 10
      ECMP-Weight       : 1
  Indirect Next-Hop     : 10.0.0.2
    QoS                 : Priority=n/c, FC=n/c
    Source-Class        : 0
    Dest-Class          : 0
    ECMP-Weight         : 30
    Resolving Next-Hop  : 1.0.0.3 (RSVP tunnel:94)
      Metric            : 10
      ECMP-Weight       : 20
    Resolving Next-Hop  : 1.0.0.3 (RSVP tunnel:61442)
      Metric            : 10
      ECMP-Weight       : 1
-------------------------------------------------------------------------------
No. of Destinations: 1
===============================================================================

station

Syntax 
station [station-name]
Context 
show>router>bmp
Description 

This command displays BGP monitor (BMP) information.

Parameters 
station-name—
Specifies the station name of a BMP monitoring station, up to 32 characters.
Output 

The following is an example of BMP) monitor information.

Sample Output
*A:Dut-C# show router bmp station 
===============================================================================
BMP Stations (monitoring router "Base")
===============================================================================
Station Name                     Session State Since                 Msgs Sent
-------------------------------------------------------------------------------
lys                              ESTABLISHED    05/08/2018 15:32:12   103054
myr                              ESTABLISHED    05/08/2018 15:32:13   100007
-------------------------------------------------------------------------------
No. of BMP Stations: 2
===============================================================================
*A:Dut-C# show router bmp station "lys"
===============================================================================
BMP Station "lys" (monitoring router "Base")
===============================================================================
Admin State      : enabled              Global BMP State : enabled
Station Address  : 100.3.7.7            Station Port     : 12344
Via Router       : Base                 TCP Auth Keychain:
Stats Report     : 15 seconds           Routes Report    : 5 seconds
Connect Interval : 120 seconds          Local Routes     : reporting
Initiation Msg   : Hello Station Lys
Reported families: ipv4
Session State    : ESTABLISHED          Last Change      : 05/08/2018 15:32:12
Local Address    : 100.3.7.3            Local Port       : 51041
Stat Report Msgs : 3028                 Route Report Msgs: 100021
Peer Up Msgs     : 4                    Peer Down Msgs   : 0
Initiation Msgs  : 1                    Goodbye Msgs     : 0
Bytes sent       : 10926521
Stats Timer      : 1 seconds left       Routes Timer     : 3 seconds left
Connect Timer    : not running          Monitored Peers  : 3 of 4
Output queue     : 0/50                 Last Msg Sent    : 05/15/2018 09:27:31
===============================================================================
*A:Dut-C#

5.15.2.2. Clear Commands

damping

Syntax 
damping [{ip-prefix/ip-prefix-length] [neighbor ip-address]} | group name]
Context 
clear>router>bgp
Description 

This command clears or resets the route damping information for received routes.

Parameters 
ip-prefix/ip-prefix-length—
Clears damping information for entries that match the IP prefix and prefix length.
Values—
ipv4-prefix:
  1. a.b.c.d (host bits must be 0)
ipv4-prefix-length: [0 to 32]
ipv6-prefix:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
ipv6-prefix-length: [0 to 128]

 

neighbor ip-address
Clears damping information for entries received from the BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d
ipv6-prefix:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
interface: 32 characters maximum, mandatory for link local addresses

 

group name
Clears damping information for entries received from any BGP neighbors in the peer group.
Values—
32 characters maximum

 

flap-statistics

Syntax 
flap-statistics [{ip-prefix/mask [neighbor ip-address]] | group group-name | [regex reg-exp] | [policy policy-name}]
Context 
clear>router>bgp
Description 

This command clears route flap statistics.

Parameters 
ip-prefix/mask—
Clears route flap statistics for entries that match the specified IP prefix and mask length.
Values—
ip-prefix: a.b.c.d (host bits must be 0)
mask: 0 to 32

 

neighbor ip-address
Clears route flap statistics for entries received from the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d
ipv6-address:
  1. x:x:x:x:x:x:x:x (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D

 

group group-name
Clears route flap statistics for entries received from any BGP neighbors in the specified peer group.
regex reg-exp
Clears route flap statistics for all entries which have the regular expression and the AS path that matches the regular expression.
policy policy-name
Clears route flap statistics for entries that match the specified route policy.

neighbor

Syntax 
neighbor {ip-address | as as-number | external | all} [soft | soft-inbound | hard]
neighbor {ip-address | as as-number | external | all} soft-route-refresh [family]
neighbor {ip-address | as as-number | external | all} statistics
neighbor ip-address end-of-rib
Context 
clear>router>bgp
Description 

This command resets the specified BGP peer or set of peers. By default, or when the hard option is specified, the TCP connection is torn down and the state of the BGP session returns to IDLE.

If the soft-route-refresh option is specified without an accompanying family parameter, then the session remains established and one ROUTE_REFRESH message is transmitted to the peer for each address family active on the session. If the soft-route-refresh option is specified with an accompanying family parameter, then the session remains established and a single ROUTE_REFRESH message is transmitted to the peer requesting that it resend only its routes belonging to that one address family.

SR OS routers respond to route refresh requests for any supported AFI/SAFI.

Parameters 
ip-address—
Resets the BGP neighbor with the specified IP address.
Values—
ipv4-address:
  1. a.b.c.d
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface]
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: up to 32 characters, mandatory for link local addresses

 

as as-number
Resets all BGP neighbors with the specified peer AS.
Values—
1 to 65535

 

external—
Resets all EBGP neighbors.
all—
Resets all BGP neighbors.
soft—
Specifies that BGP neighbors re-evaluate all routes in the Local-RIB against the configured export policies.
soft-inbound—
Specifies that BGP neighbors re-evaluate all routes in the RIB-In against the configures import policies.
hard—
Initiates a hard reconfiguration.
statistics—
Clears BGP neighbor statistics.
end-of-rib—
Clears the routing information base (RIB). This command applies when the router is helping the BGP neighbor through a BGP graceful restart. When the clear router bgp neighbor command is issued without the end-of-rib option and the neighbor is in the process of restarting, stale routes from the neighbor will be retained until the stale-routes-time is reached or else the neighbor exits graceful restart. When the command is issued with the end-of-rib option, stale routes from the neighbor are deleted immediately and graceful restart procedures are aborted.
soft-route-refresh—
Clears the session by sending one or more ROUTE_REFRESH messages to the peer, but the session stays up.
family—
Specifies the one address family that should be encoded in the ROUTE_REFRESH request sent to the peer.
Values—
ipv4, vpn-ipv4, ipv6, mcast-ipv4, vpn-ipv6, l2-vpn, mvpn-ipv4, mdt-safi, flow-ipv4, ms-pw, route-target, mcast-vpn-ipv4, mvpn-ipv6, flow-ipv6, evpn, mcast-ipv6, label-ipv4, label-ipv6, mcast-vpn-ipv6, bgp-ls, sr-policy-ipv4

 

protocol

Syntax 
protocol
Context 
clear>router>bgp
Description 

Resets the entire BGP protocol.

station

Syntax 
station station-name
station all
Context 
clear>router>bgp
Description 

This command resets the specified station connection if one is specified or all connections if the all keyword is specified.

Parameters 
station-name—
Specifies up to station names, up to 32 characters, association with the BMP monitoring station.
all—
Specifies all configured stations.

5.15.2.3. Debug Commands

events

Syntax 
events [neighbor ip-address | group name]
no events
Context 
debug>router>bgp
Description 

This command logs all events changing the state of a BGP peer.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

graceful-restart

Syntax 
graceful-restart [neighbor ip-address | group name]
no graceful-restart
Context 
debug>router>bgp
Description 

This command enables debugging for BGP graceful-restart.

The no form of the command disables the debugging.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

keepalive

Syntax 
keepalive [neighbor ip-addr | group name]
no keepalive
Context 
debug>router>bgp
Description 

This command decodes and logs all sent and received keepalive messages in the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

notification

Syntax 
notification [neighbor ip-address | group name]
no notification
Context 
debug>router>bgp
Description 

This command decodes and logs all sent and received notification messages in the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

open

Syntax 
open [neighbor ip-address | group name]
no open
Context 
debug>router>bgp
Description 

This command decodes and logs all sent and received open messages in the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

outbound-route-filtering

Syntax 
[no] outbound-route-filtering
Context 
debug>router>bgp
Description 

This command enables debugging for all BGP outbound route filtering (ORF) packets. ORF is used to inform a neighbor of targets (using target-list) that it is willing to receive.

packets

Syntax 
packets [neighbor ip-address | group name]
packets
Context 
debug>router>bgp
Description 

This command decodes and logs all sent and received BGP packets in the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

route-refresh

Syntax 
route-refresh [neighbor ip-address | group name]
no route-refresh
Context 
debug>router>bgp
Description 

This command enables and disables debugging for BGP route-refresh.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

rtm

Syntax 
rtm [neighbor ip-address | group name]
no rtm
Context 
debug>router>bgp
Description 

This command logs RTM changes in the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

socket

Syntax 
socket [neighbor ip-address | group name]
no socket
Context 
debug>router>bgp
Description 

This command logs all TCP socket events to the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

timers

Syntax 
timers [neighbor ip-address | group name]
no timers
Context 
debug>router>bgp
Description 

This command logs all BGP timer events to the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

update

Syntax 
update [neighbor ip-address | group name]
no update
Context 
debug>router>bgp
Description 

This command decodes and logs all sent and received update messages in the debug log.

Parameters 
neighbor ip-address
Debugs only events affecting the specified BGP neighbor.
Values—
ipv4-address:
  1. a.b.c.d (host bits must be 0)
ipv6-address:
  1. x:x:x:x:x:x:x:x [-interface] (eight 16-bit pieces)
  2. x:x:x:x:x:x:d.d.d.d [-interface]
  3. x: [0 to FFFF]H
  4. d: [0 to 255]D
  5. interface: 32 characters maximum for link local addresses

 

group name
Debugs only events affecting the specified peer group and associated neighbors.

bmp

Syntax 
bmp
Context 
debug>router
Description 

This command enables the context to debug BMP information.

events

Syntax 
events [station station-name]
no events
Context 
debug>router>bmp
Description 

This command enables debugging for all BMP events.

The no form of the command disables debugging for all BMP events.

Parameters 
station-name—
Specifies the station name of the BMP monitoring station, up to 32 characters.

packets

Syntax 
packets [station station-name]
no packets
Context 
debug>router>bmp
Description 

This command enables debugging for all BMP packets.

The no form of the command disables debugging for all BMP packets.

Parameters 
station-name—
Specifies the station name of the BMP monitoring station, up to 32 characters.