Bgp Community Configuration Example - HPE 5800 Series Configuration Manual

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

Advertisement

192.168.64.0/24
192.168.74.0/24
192.168.99.0/24
The output shows that Switch C has a summary route 192.168.64.0/18 with the output interface
Null0.
# Display IP routing table on Switch D.
[SwitchD] display ip routing-table
Routing Tables: Public
Destination/Mask
4.4.4.4/32
10.220.2.0/24
10.220.2.217/32
127.0.0.0/8
127.0.0.1/32
192.168.64.0/18
The output shows that Switch D has only one route 192.168.64.0/18 to AS 65106.
After the above configurations, ping the hosts on networks 192.168.64.0/24, 192.168.74.0/24
and 192.168.99.0/24 from Switch D. The ping operations succeed.

BGP community configuration example

Network requirements
As shown in
Switch C. Configure NO_EXPORT community attribute on Switch A to make routes from AS 10 not
advertised by AS 20 to any other AS.
Figure 75 Network diagram
Configuration procedure
Configure IP addresses for interfaces. (Details not shown.)
1.
Configure EBGP:
2.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 10
O_ASE
O_ASE
O_ASE
Destinations : 6
Proto
Direct 0
Direct 0
Direct 0
Direct 0
Direct 0
BGP
Figure
75, EBGP runs between Switch B and Switch A, and between Switch B and
150
1
172.17.100.1
150
1
172.17.100.1
150
1
172.17.100.1
Routes : 6
Pre
Cost
NextHop
0
127.0.0.1
0
10.220.2.217
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
255
0
10.220.2.16
229
Vlan100
Vlan100
Vlan100
Interface
InLoop0
Vlan200
InLoop0
InLoop0
InLoop0
Vlan200

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents