Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Verification

    Purpose

    The following verification commands (with sample output) can be used to confirm BGP configuration.

    Results

    1. Verify on Edge-R1 that an EBGP session with SP1 exists. Also verify the iBGP session with Edge-R2.
      root@VDC-edge-r01-re0>show bgp summary
      Groups: 2 Peers: 2 Down peers: 0
      Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
      inet.0               
                            16          7          0          0          0          0
      Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn 
      State|#Active/Received/Accepted/Damped...
      10.94.127.229           100      46637      46471       0       0     2w0d12h 7/16/16/0            
      0/0/0/0
      192.168.168.2         64512      46210      47057       0       0     2w0d12h 0/0/0/0              
      0/0/0/0
      
    2. Verify on the Edge-R2 that EBGP peering with SP2 and iBGP peering with Edge-R1 is successful.
      root@VDC-edge-r2-re0>show bgp summary
      Groups: 2 Peers: 2 Down peers: 0
      Table          Tot Paths  Act Paths Suppressed    History Damp State    Pending
      inet.0               
                            75          8          0          0          0          0
      Peer                     AS      InPkt     OutPkt    OutQ   Flaps Last Up/Dwn 
      State|#Active/Received/Accepted/Damped...
      10.94.127.245           200      46378      46671       0       0     2w0d12h 0/16/16/0            
      0/0/0/0
      192.168.168.1         64512      47062      46215       0       0     2w0d12h 8/59/59/0            
      0/0/0/0
      
    3. Verify the routing table on Edge-R1 by showing routes received via BGP.
      root@VDC-edge-r01-re0>show route receive-protocol bgp 10.94.127.229
      inet.0: 65 destinations, 76 routes (65 active, 0 holddown, 0 hidden)
        Prefix                  Nexthop              MED     Lclpref    AS path
        0.0.0.0/0               10.94.127.229                           100 I
      * 10.10.0.0/16            10.94.127.229        2                  100 I
      * 10.40.0.0/16            10.94.127.229        2                  100 I
        10.93.222.0/23          10.94.127.229                           100 I
        10.94.47.0/27           10.94.127.229                           100 I
        10.94.63.18/32          10.94.127.229                           100 I
        10.94.63.19/32          10.94.127.229                           100 I
      * 10.94.127.192/27        10.94.127.229        2                  100 I
      * 10.94.127.224/30        10.94.127.229                           100 I
        10.94.127.228/30        10.94.127.229                           100 I
      * 10.94.127.240/30        10.94.127.229        2                  100 I
      * 12.12.12.12/32          10.94.127.229        1                  100 I
        172.17.0.0/16           10.94.127.229                           100 I
        172.22.0.0/16           10.94.127.229                           100 I
        172.23.0.0/16           10.94.127.229                           100 I
      * 192.168.253.180/30      10.94.127.229        2                  100 I
      
    4. Verify the routing table on Edge-R2 by showing routes received via BGP.
      root@VDC-edge-r2-re0>show route receive-protocol bgp 10.94.127.245
      inet.0: 66 destinations, 135 routes (66 active, 0 holddown, 0 hidden)
        Prefix                  Nexthop              MED     Lclpref    AS path
        0.0.0.0/0               10.94.127.245                           200 I
        10.10.0.0/16            10.94.127.245        2                  200 I
        10.40.0.0/16            10.94.127.245        2                  200 I
        10.93.222.0/23          10.94.127.245                           200 I
        10.94.47.0/27           10.94.127.245                           200 I
        10.94.63.18/32          10.94.127.245                           200 I
        10.94.63.19/32          10.94.127.245                           200 I
        10.94.127.192/27        10.94.127.245        2                  200 I
        10.94.127.224/30        10.94.127.245        2                  200 I
        10.94.127.240/30        10.94.127.245                           200 I
        10.94.127.244/30        10.94.127.245                           200 I
        12.12.12.12/32          10.94.127.245        1                  200 I
        172.17.0.0/16           10.94.127.245                           200 I
        172.22.0.0/16           10.94.127.245                           200 I
        172.23.0.0/16           10.94.127.245                           200 I
        192.168.253.180/30      10.94.127.245        2                  200 I
      
    5. Verify that only the configured prefixes on Edge-R1 are advertised to the service providers as per the configured policy.
      root@VDC-edge-r01-re0>show route advertising-protocol bgp 10.94.127.229
      inet.0: 65 destinations, 76 routes (65 active, 0 holddown, 0 hidden)
        Prefix                  Nexthop              MED     Lclpref    AS path
      * 10.20.127.0/24          Self                 0                  I
      * 10.30.2.0/24            Self                 3025               I
      * 10.30.3.0/24            Self                 2025               I
      * 10.30.4.0/24            Self                 3025               I
      * 10.94.127.0/27          Self                 1025               I
      * 10.94.127.32/27         Self                 0                  I
      * 10.94.127.128/26        Self                 0
      
    6. Verify that only the configured prefixes on Edge-R2 are advertised to the service provider as per the configured export policy.
      root@VDC-edge-r2-re0>show route receive-protocol bgp 10.94.127.245
      inet.0: 66 destinations, 135 routes (66 active, 0 holddown, 0 hidden)
        Prefix                  Nexthop              MED     Lclpref    AS path
        0.0.0.0/0               10.94.127.245                           200 I
        10.10.0.0/16            10.94.127.245        2                  200 I
        10.40.0.0/16            10.94.127.245        2                  200 I
        10.93.222.0/23          10.94.127.245                           200 I
        10.94.47.0/27           10.94.127.245                           200 I
        10.94.63.18/32          10.94.127.245                           200 I
        10.94.63.19/32          10.94.127.245                           200 I
        10.94.127.192/27        10.94.127.245        2                  200 I
        10.94.127.224/30        10.94.127.245        2                  200 I
        10.94.127.240/30        10.94.127.245                           200 I
        10.94.127.244/30        10.94.127.245                           200 I
        12.12.12.12/32          10.94.127.245        1                  200 I
        172.17.0.0/16           10.94.127.245                           200 I
        172.22.0.0/16           10.94.127.245                           200 I
        172.23.0.0/16           10.94.127.245                           200 I
        192.168.253.180/30      10.94.127.245        2                  200 I
      

    Published: 2015-04-20