Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

vRR1R2R3R4


Code Block
titleBeforeBefor
root@vRR3# runroot@vRR1> show route table inet.0 advertising-protocol bgp 11.11.11.11 51.148.72.88/31 detailextensive

inet.0: 1514 destinations, 1524 routes (1514 active, 0 holddown, 0 hidden)
*
51.148.72.88/31 (12 entryentries, 12 announced)
TSI:
BGPKRT group iBGP type Internal
     Nexthop: Selfin-kernel 51.148.72.88/31 -> {indirect(1048574)}
Page 0 idx 0, (group bgp-orr type Internal) Type 1 val 0xb20c2b4 (adv_entry)
   Advertised metrics:
     Nexthop: 14.14.14.14
     Localpref: 100       	<<<<<<<<<<<<<<<<<<<<<<<<<<<<<  <<<<<<<<<<<<< Default LP
     AS path: [65432] I
 
Code Block
titlechange of policy
set local-preference 200
Code Block
titleAfter
[edit policy-options policy-statement from_static_2_iBGP term term2 then]
root@vRR3# run show route table inet.0 advertising-protocol bgp 11.11.11.11 Communities:
     Cluster ID: 11.11.11.11
     Originator ID: 14.14.14.14
Path 51.148.72.88/31 detail

inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden)
* 51.148.72.88/31 (1 entry, 1 announced)
 BGP group iBGP type Internal from 14.14.14.14 Vector len 4.  Val: 0
        *BGP    Preference: 170/-101
               Nexthop: SelfNext hop type: Indirect, Next hop Localprefindex: 0
200     <<<<<<<<<<<<<<<<<<<<<<< modify to LP= 200      AS pathAddress: [65432] I

Code Block
titleadv to R2
root@vRR1> show route table inet.0 advertising-protocol bgp 12.12.12.12 51.148.72.88/31 detail

inet.0: 14 destinations, 24 routes (14 active, 0 holddown, 0 hidden)
* 51.148.72.88/31 (2 entries, 1 announced)
 BGP group bgp-orr type Internal 0xc6327d0
                Next-hop reference count: 7
                Source: 13.13.13.13
           Nexthop: 13.13.13.13    Next hop Localpreftype: 200Router, Next hop index:  581
<<<<<<<<<<<<<< LP=200      AS path: [65432] I      ClusterNext IDhop: 1120.11.1113.1113 via em1.20, selected
  Originator ID: 13.13.13.13  
Code Block
titleAfter
root@vRR1> show route 51.148.72.88/31 extensive

inet.0: 14 destinations, 24 routes (14 active, 0 holddown, 0 hidden)
51.148.72.88/31 (2 entries, 1 announced)
TSI:
KRT in-kernel 51.148.72.88/31 -> {indirect(1048574)}
Page 0 idx 0, (group bgp-orr type Internal) Type 1 val 0xb20c2b4 (adv_entry)
   Advertised metrics:
     Nexthop: 13.13.13.13
     Localpref: 200  <<<<<<<<< LP=200
     AS path: [65432] I
     Communities:
     Cluster ID: 11.11.11.11
     Originator ID          Session Id: 0x141
                Protocol next hop: 13.13.13.13
                Indirect next hop: 0xb23e200 1048574 INH Session ID: 0x142
                State: <Active Int Ext>
                Local AS: 65432 Peer AS: 65432
                Age: 29:53      Metric2: 1000
                Validation State: unverified
                ORR Generation-ID: 1
                Task: BGP_65432.13.13.13.13+179
                Announcement bits (2): 0-KRT 4-Resolve tree 4
                AS path: I
                Accepted
                Localpref: 100
                Router ID: 13.13.13.13
                Indirect next hops: 1
                        Protocol next hop: 13.13.13.13 Metric: 1000
                        Indirect next hop: 0xb23e200 1048574 INH Session ID: 0x142
                        Indirect path forwarding next hops: 1
                                Next hop type: Router
                                Next hop: 20.11.13.13 via em1.20
                                Session Id: 0x141
                                13.13.13.13/32 Originating RIB: inet.0
                                  Metric: 1000  Node path count: 1
                                  Forwarding nexthops: 1
                                        Nexthop: 20.11.13.13 via em1.20
                                        Session Id: 141
         BGP    Preference: 170/-101
                Next hop type: Indirect, Next hop index: 0
                Address: 0xc632ad0
                Next-hop reference count: 5
                Source: 14.14.14.14
                Next hop type: Router, Next hop index: 0
                Next hop: 10.11.12.12 via em1.10, selected
                Session Id: 0x0
                Next hop: 20.11.13.13 via em1.20
                Session Id: 0x0
                Protocol next hop: 14.14.14.14
                Indirect next hop: 0xb23e380 - INH Session ID: 0x0
                State: <NotBest Int Ext>
                Inactive reason: Not Best in its group - IGP metric
                Local AS: 65432 Peer AS: 65432
                Age: 29:06      Metric2: 2000
                Validation State: unverified
                ORR Generation-ID: 1
                Task: BGP_65432.14.14.14.14+179
                Announcement bits (1): 3-BGP_RT_Background
                AS path: I
                Accepted
                Localpref: 100
                Router ID: 14.14.14.14
                Indirect next hops: 1
                        Protocol next hop: 14.14.14.14 Metric: 2000
                        Indirect next hop: 0xb23e380 - INH Session ID: 0x0
                        Indirect path forwarding next hops: 2
                                Next hop type: Router
                                Next hop: 10.11.12.12 via em1.10
                                Session Id: 0x0
                                Next hop: 20.11.13.13 via em1.20
                                Session Id: 0x0
                                14.14.14.14/32 Originating RIB: inet.0
                                  Metric: 2000  Node path count: 1
                                  Forwarding nexthops: 2
                                        Nexthop: 10.11.12.12 via em1.10
                                        Session Id: 0
                                        Nexthop: 20.11.13.13 via em1.20
                                        Session Id: 0

root@vRR1>




Code Block
titleBefore
root@vRR3# run show route table inet.0 advertising-protocol bgp 11.11.11.11 51.148.72.88/31 detail

inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden)
* 51.148.72.88/31 (1 entry, 1 announced)
 BGP group iBGP type Internal
     Nexthop: Self
     Localpref: 100    	<<<<<<<<<<<<<<<<<<<<<<<<<<<<< Default
     AS path: [65432] I






Code Block
titlechange of policy
set local-preference 200






Code Block
titleAfter
[edit policy-options policy-statement from_static_2_iBGP term term2 then]
root@vRR3# run show route table inet.0 advertising-protocol bgp 11.11.11.11 51.148.72.88/31 detail

inet.0: 15 destinations, 15 routes (15 active, 0 holddown, 0 hidden)
* 51.148.72.88/31 (1 entry, 1 announced)
 BGP group iBGP type Internal
     Nexthop: Self
     Localpref: 200     <<<<<<<<<<<<<<<<<<<<<<< modify to LP= 200
     AS path: [65432] I




Code Block
titleadv to R2
root@vRR1> show route table inet.0 advertising-protocol bgp 12.12.12.12 51.148.72.88/31 detail

inet.0: 14 destinations, 24 routes (14 active, 0 holddown, 0 hidden)
* 51.148.72.88/31 (2 entries, 1 announced)
 BGP group bgp-orr type Internal
     Nexthop: 13.13.13.13
     Localpref: 200      <<<<<<<<<<<<<< LP=200
     AS path: [65432] I
     Cluster ID: 11.11.11.11
     Originator ID: 13.13.13.13


Code Block
titleAfter
root@vRR1> show route 51.148.72.88/31 extensive

inet.0: 14 destinations, 24 routes (14 active, 0 holddown, 0 hidden)
51.148.72.88/31 (2 entries, 1 announced)
TSI:
KRT in-kernel 51.148.72.88/31 -> {indirect(1048574)}
Page 0 idx 0, (group bgp-orr type Internal) Type 1 val 0xb20c2b4 (adv_entry)
   Advertised metrics:
     Nexthop: 13.13.13.13
     Localpref: 200  <<<<<<<<< LP=200
     AS path: [65432] I
     Communities:
     Cluster ID: 11.11.11.11
     Originator ID: 13.13.13.13
Path 51.148.72.88 from 13.13.13.13 Vector len 4.  Val: 0
        *BGP    Preference: 170/-201
                Next hop type: Indirect, Next hop index: 0
                Address: 0xc6327d0
                Next-hop reference count: 7
                Source: 13.13.13.13
Path 51.148.72.88 from 13.13.13.13 Vector len 4.  Val: 0       Next hop *BGPtype: Router, Next hop Preferenceindex: 170/-201581
                Next hop type: Indirect, Next hop index: 0: 20.11.13.13 via em1.20, selected
                Session Id: 0x141
                Protocol next Addresshop: 0xc6327d013.13.13.13
                Next-hopIndirect referencenext counthop: 70xb23e200 1048574 INH Session ID: 0x142
           Source: 13.13.13.13    State: <Active Int Ext>
         Next hop type: Router, Next hop index: 581Local AS: 65432 Peer AS: 65432
           Next hop: 20.11.13.13 via em1.20, selected
 Age: 10:46      Metric2: 1000
        Session Id: 0x141      Validation State: unverified
        Protocol next hop: 13.13.13.13     ORR Generation-ID: 1
         Indirect next hop: 0xb23e200 1048574 INH Session ID: 0x142Task: BGP_65432.13.13.13.13+179
                Announcement bits State: <Active Int Ext>
(3): 0-KRT 3-BGP_RT_Background 4-Resolve tree 4
               Local AS: 65432 Peer ASpath: 65432I
                Age:Accepted
10:46      Metric2: 1000         Localpref: 200
      Validation State: unverified        Router ID: 13.13.13.13
      ORR Generation-ID: 1        Indirect next hops:   1
   Task: BGP_65432.13.13.13.13+179                 Announcement bits (3): 0-KRT 3-BGP_RT_Background 4-Resolve tree 4
 Protocol next hop: 13.13.13.13 Metric: 1000
               AS path: I       Indirect next hop: 0xb23e200 1048574 INH Session ID: 0x142
 Accepted                 Localpref: 200     Indirect path forwarding next hops: 1
      Router ID: 13.13.13.13                 Indirect next hops: 1    Next hop type: Router
                 Protocol next hop: 13.13.13.13 Metric: 1000             Next hop: 20.11.13.13 via em1.20
           Indirect next hop: 0xb23e200 1048574 INH Session ID: 0x142             Session Id: 0x141
         Indirect path forwarding next hops: 1                  13.13.13.13/32 Originating RIB: inet.0
           Next hop type: Router                    Metric: 1000  Node path count: 1
      Next hop: 20.11.13.13 via em1.20                        Forwarding nexthops: 1
      Session Id: 0x141                                Nexthop: 1320.11.13.13.13/32 Originating RIB: inet.0 via em1.20
                                        Session Metric: 1000Id: 141
         BGP  Node path countPreference: 170/-101
1                Next hop type: Indirect, Next hop index: 0
           Forwarding nexthops: 1   Address: 0xc632ad0
                Next-hop reference count: 5
                NexthopSource: 2014.1114.13.13 via em1.2014.14
                Next hop type: Router, Next hop index: 0
                Next hop: 10.11.12.12 via em1.10, selected
 Session Id: 141          BGP   Session PreferenceId: 170/-1010x0
                Next hop type: Indirect, Next hop index: 0: 20.11.13.13 via em1.20
                Session Id: 0x0
Address: 0xc632ad0               Protocol next Next-hop reference count: 5: 14.14.14.14
                Indirect next Sourcehop: 14.14.14.14
    0xb23e380 - INH Session ID: 0x0
           Next hop type: Router, Next hopState: index:<Int 0Ext>
                NextInactive hopreason: 10.11.12.12 via em1.10, selectedLocal Preference
                SessionLocal IdAS: 0x0
 65432 Peer AS: 65432
               Next hopAge: 20.11.13.13 via em1.2046:49      Metric2: 2000
          Session Id: 0x0    Validation State: unverified
          Protocol next hop: 14.14.14.14   ORR Generation-ID: 1
           Indirect next hop: 0xb23e380 - INH Session ID: 0x0Task: BGP_65432.14.14.14.14+179
                AS  Statepath: <IntI
Ext>                Accepted
Inactive reason: Local Preference             Localpref: 100
  Local AS: 65432 Peer AS: 65432         Router ID: 14.14.14.14
     Age: 46:49      Metric2: 2000   Indirect next hops: 1
          Validation State: unverified            Protocol     ORR Generation-ID: 1
   next hop: 14.14.14.14 Metric: 2000
            Task: BGP_65432.14.14.14.14+179           Indirect next hop: 0xb23e380 - INH ASSession pathID: I0x0
                Accepted        Indirect path forwarding next hops:  2
  Localpref: 100                 Router ID: 14.14.14.14          Next hop type: Router
   Indirect next hops: 1                         Protocol nextNext hop: 1410.11.14.14.14 Metric: 200012.12 via em1.10
                          Indirect next hop: 0xb23e380 - INH Session IDId: 0x0
                            Indirect  path forwarding nextNext hops: 2
hop: 20.11.13.13 via em1.20
                               Next hopSession typeId: Router0x0
                                Next hop: 10.11.12.12 via em1.1014.14.14.14/32 Originating RIB: inet.0
                                 Session IdMetric: 0x02000       Node path count: 1
                      Next hop: 20.11.13.13 via em1.20        Forwarding nexthops: 2
                      Session Id: 0x0                Nexthop: 10.11.12.12 via em1.10
             14.14.14.14/32 Originating RIB: inet.0                        Session Id: 0
        Metric: 2000  Node path count: 1                          Nexthop: 20.11.13.13 via em1.20
     Forwarding nexthops: 2                                 Session Id: 0

root@vRR1>



Code Block
titleAfter change
root@vRR2> show Nexthop:route 1051.11148.1272.1288
via
em1inet.100: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

51.148.72.88/31           *[BGP/170] 00:28:00, localpref 200, from 11.11.11.11
      Session Id: 0               AS path: I, validation-state: unverified
                    > Nexthop:to 2010.11.1312.1311 via em1.2010
                      to 40.12.14.14                 Session Id: 0

root@vRR1>via em1.40


Code Block
titlechange
root@vRR2> show route protocol bgp detail

inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
51.148.72.88/31 (1 entry, 1 announced)
        *BGP    Preference: 170/-101
                Next hop type: Indirect, Next hop index: 0
                Address: 0xc6324d0
                Next-hop reference count: 2
                Source: 11.11.11.11
                Next hop type: Router, Next hop index: 581
                Next hop: 40.12.14.14 via em1.40, selected
                Session Id: 0x142
                Protocol next hop: 14.14.14.14
                Indirect next hop: 0xb23e380 1048575 INH Session ID: 0x143
                State: <Active Int Ext>
                Local AS: 65432 Peer AS: 65432
                Age: 31:21      Metric2: 1000
                Validation State: unverified
                ORR Generation-ID: 0
                Task: BGP_65432.11.11.11.11+179
                Announcement bits (2): 0-KRT 4-Resolve tree 4
                AS path: I  (Originator)
                Cluster list:  11.11.11.11
                Originator ID: 14.14.14.14
                Accepted
                Localpref: 100
                Router ID: 11.11.11.11

iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)

inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)



root@vRR2> show route protocol bgp detail

inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
51.148.72.88/31 (1 entry, 1 announced)
        *BGP    Preference: 170/-201
                Next hop type: Indirect, Next hop index: 0
                Address: 0xc632470
                Next-hop reference count: 2
                Source: 11.11.11.11
                Next hop type: Router, Next hop index: 0
                Next hop: 10.11.12.11 via em1.10, selected
                Session Id: 0x0
                Next hop: 40.12.14.14 via em1.40
                Session Id: 0x0
                Protocol next hop: 13.13.13.13
                Indirect next hop: 0xb23e200 1048576 INH Session ID: 0x144
                State: <Active Int Ext>
                Local AS: 65432 Peer AS: 65432
                Age: 11         Metric2: 2000
                Validation State: unverified
                ORR Generation-ID: 0
                Task: BGP_65432.11.11.11.11+179
                Announcement bits (2): 0-KRT 4-Resolve tree 4
                AS path: I  (Originator)
                Cluster list:  11.11.11.11
                Originator ID: 13.13.13.13
                Accepted
                Localpref: 200
                Router ID: 11.11.11.11

iso.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)

inet6.0: 1 destinations, 1 routes (1 active, 0 holddown, 0 hidden)

root@vRR2>
























































...