HPE 5800 Series Configuration Manual page 230

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

To enable Switch C to access the network 8.1.1.0/24 connected directly to Switch A, inject
network 8.1.1.0/24 to the BGP routing table of Switch A.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 65008
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 3.1.1.1 as-number 65009
[SwitchA-bgp] network 8.1.1.1 24
[SwitchA-bgp] quit
# Configure Switch B.
[SwitchB] bgp 65009
[SwitchB-bgp] peer 3.1.1.2 as-number 65008
[SwitchB-bgp] quit
# Display BGP peer information on Switch B.
[SwitchB] display bgp peer
BGP local router ID : 2.2.2.2
Local AS number : 65009
Total number of peers : 2
Peer
3.3.3.3
3.1.1.2
The output shows that Switch B has established an IBGP peer relationship with Switch C and
an EBGP peer relationship with Switch A.
# Display the BGP routing table on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 1.1.1.1
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>
8.1.1.0/24
# Display the BGP routing table on Switch B.
[SwitchB] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 2.2.2.2
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
AS
MsgRcvd
MsgSent OutQ PrefRcv Up/Down
65009
4
65008
2
i - internal, s - suppressed, S - Stale
NextHop
MED
0.0.0.0
0
i - internal, s - suppressed, S - Stale
219
Peers in established state : 2
4
0
0 00:02:49 Established
2
0
0 00:00:05 Established
LocPrf
State
PrefVal Path/Ogn
0
i

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents