Versions Compared

Key

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

...

https://github.com/dahai0013/vlabs/tree/master/vRR_config_1

Image Added


Code Block
titlebgp conf
set protocols bgp group bgp-orr type internal
set protocols bgp group bgp-orr local-address 11.11.11.11
set protocols bgp group bgp-orr cluster 11.11.11.11
set protocols bgp group bgp-orr optimal-route-reflection igp-primary 12.12.12.12
set protocols bgp group bgp-orr neighbor 12.12.12.12


Code Block
titleshow command on remote bgp-orr
collapsetrue
root@vRR2> show route 51.148.72.88/31

inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

51.148.72.88/31    *[BGP/170] 01:37:25, localpref 100, from 11.11.11.11
                      AS path: I, validation-state: unverified
                    > to 40.12.14.14 via em1.40


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: 0xc632290
                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: 0x141
                Protocol next hop: 14.14.14.14
                Indirect next hop: 0xb23e980 1048576 INH Session ID: 0x14a
                State: <Active Int Ext>
                Local AS: 65432 Peer AS: 65432
                Age: 6:03       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>



Code Block
titleshow commands
collapsetrue
root@vRR1> show route 51.148.72.88/31

inet.0: 14 destinations, 24 routes (14 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

51.148.72.88/31    *[BGP/170] 01:40:53, localpref 100, from 13.13.13.13
                      AS path: I, validation-state: unverified
                    > to 20.11.13.13 via em1.20
                    [BGP/170] 01:38:15, localpref 100, from 14.14.14.14
                      AS path: I, validation-state: unverified
                    > to 10.11.12.12 via em1.10
                      to 20.11.13.13 via em1.20


root@vRR1> show isis bgp-orr
BGP ORR Peer Group: bgp-orr
  Primary: 12.12.12.12, active
IPv4/IPv6 ORR Routes
--------------------
Prefix                  L Version   Metric Type
12.12.12.12/32          2      82        0 int
13.13.13.13/32          2      82     2000 int
14.14.14.14/32          2      82     1000 int
22.22.22.22/32          2      82     2000 int
30.13.14.0/24           2      82     2000 int
40.12.14.0/24           2      82     1000 int

root@vRR1> show route protocol bgp 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, 2 announced)
        *BGP    Preference: 170/-101
                Next hop type: Indirect, Next hop index: 0
                Address: 0xc632350
                Next-hop reference count: 7
                Source: 13.13.13.13
                Next hop type: Router, Next hop index: 583
                Next hop: 20.11.13.13 via em1.20, selected
                Session Id: 0x145
                Protocol next hop: 13.13.13.13
                Indirect next hop: 0xb23e380 1048575 INH Session ID: 0x147
                State: <Active Int Ext>
                Local AS: 65432 Peer AS: 65432
                Age: 9:13       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
         BGP    Preference: 170/-101
                Next hop type: Indirect, Next hop index: 0
                Address: 0xc632530
                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: 0xb23e980 - INH Session ID: 0x0
                State: <NotBest Int Ext>
                Inactive reason: Not Best in its group - IGP metric
                Local AS: 65432 Peer AS: 65432
                Age: 6:35       Metric2: 2000
                Validation State: unverified
                ORR Generation-ID: 2
                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

root@vRR1> show route table inet.0 advertising-protocol bgp 51.148.72.2 51.148.72.88/31 detail

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, 2 announced)
 BGP group bgp-orr type Internal
     Nexthop: 14.14.14.14
     Localpref: 100
     AS path: [65432] I
     Cluster ID: 11.11.11.11
     Originator ID: 14.14.14.14


...