HP HPE FlexNetwork 7500 series Configuration Manual page 369

Table of Contents

Advertisement

[SwitchC-bgp-default] peer 10.1.2.1 as-number 200
[SwitchC-bgp-default] address-family ipv4
[SwitchC-bgp-default-ipv4] peer 10.1.2.1 enable
# Configure Switch D to establish an IBGP peer relationship with Switch A.
<SwitchD> system-view
[SwitchD] bgp 200
[SwitchD-bgp-default] router-id 4.4.4.4
[SwitchD-bgp-default] peer 10.1.3.1 as-number 200
[SwitchD-bgp-default] address-family ipv4
[SwitchD-bgp-default-ipv4] peer 10.1.3.1 enable
# Display BGP peer information on Switch A. The output shows that Switch A has established
IBGP peer relationships with Switch B, Switch C, and Switch D.
[SwitchA] display bgp peer ipv4
BGP local router ID : 1.1.1.1
Local AS number : 200
Total number of peers : 3
* - Dynamically created peer
Peer
*10.1.1.2
*10.1.2.2
*10.1.3.2
3.
Configure Switch A as the route reflector, and configure peers in network 10.1.0.0/16 as its
clients.
[SwitchA-bgp-default-ipv4] peer 10.1.0.0 16 reflect-client
4.
Configure Switch C to advertise network 9.1.1.0/24.
[SwitchC-bgp-default-ipv4] network 9.1.1.0 24
Verifying the configuration
# Verify that route 9.1.1.0/24 exists in the BGP routing table on Switch A, Switch B, and Switch D.
This example uses Switch A.
[SwitchA-bgp-default] display bgp routing-table ipv4
Total Number of Routes: 1
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - dampened, h - history,
Network
* i 9.1.1.0/24
AS
200
200
200
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
10.1.2.2
Peers in established state : 3
MsgRcvd
MsgSent OutQ PrefRcv Up/Down
7
10
7
10
7
10
MED
LocPrf
0
100
357
0
0 00:06:09 Established
0
0 00:06:09 Established
0
0 00:06:09 Established
PrefVal Path/Ogn
0
?
State

Advertisement

Table of Contents
loading

Table of Contents