HP HSR6800 Configuration Manual page 148

Hide thumbs Also See for HSR6800:
Table of Contents

Advertisement

6.
Configure BGP:
# Configure CE 1.
[CE1] bgp 65001
[CE1-bgp] peer 192.168.1.1 as-number 100
[CE1-bgp] quit
# Configure PE 1 to establish the EBGP peer relationship with CE 1, and the IBGP peer
relationship with PE 2.
[PE1] bgp 100
[PE1-bgp] ipv4-family vpn-instance vpn1
[PE1-bgp-vpn1] peer 192.168.1.2 as-number 65001
[PE1-bgp-vpn1] import-route direct
[PE1-bgp-vpn1] quit
[PE1-bgp] peer 3.3.3.3 as-number 100
[PE1-bgp] peer 3.3.3.3 connect-interface loopback 0
[PE1-bgp] ipv4-family vpnv4
[PE1-bgp-af-vpnv4] peer 3.3.3.3 enable
[PE1-bgp-af-vpnv4] quit
[PE1-bgp] quit
# Configure CE 2.
[CE2] bgp 65002
[CE2-bgp] peer 192.168.2.1 as-number 100
[CE2-bgp] quit
# Configure PE 2 to establish the EBGP peer relationship with CE 2 and the IBGP relationship
with PE 1.
[PE2] bgp 100
[PE2-bgp] ipv4-family vpn-instance vpn1
[PE2-bgp-vpn1] peer 192.168.2.2 as-number 65002
[PE2-bgp-vpn1] import-route direct
[PE2-bgp-vpn1] quit
[PE2-bgp] peer 2.2.2.2 as-number 100
[PE2-bgp] peer 2.2.2.2 connect-interface loopback 0
[PE2-bgp] ipv4-family vpnv4
[PE2-bgp-af-vpnv4] peer 2.2.2.2 enable
[PE2-bgp-af-vpnv4] quit
[PE2-bgp] quit
Execute the display bgp peer command and the display bgp vpn-instance peer command
on PEs. The output shows that the BGP peer relationships have been formed between PEs and
between PEs and CEs and have reached Established state. Take PE 1 for example:
[PE1-bgp] display bgp peer
BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 1
Peer
V
3.3.3.3
4
[PE1-bgp] display bgp vpn-instance vpn1 peer
BGP local router ID : 2.2.2.2
Local AS number : 100
Total number of peers : 1
Peer
V AS
AS
MsgRcvd
MsgSent
100
3
MsgRcvd MsgSent
140
Peers in established state : 1
OutQ
Up/Down
State
3
0
00:00:11 Established
Peers in established state : 1
OutQ
Up/Down
PrefRcv
0
State
PrefRcv

Advertisement

Table of Contents
loading

Table of Contents