Bgp Community Configuration - 3Com Switch 4800G 24-Port Configuration Manual

Switch 4800g family 24-port, pwr 24-port, 48-port, pwr 48-port, 24-port sfp
Hide thumbs Also See for Switch 4800G 24-Port:
Table of Contents

Advertisement

# Display the routing table on Switch A.
[SwitchA] display bgp routing-table
Total Number of Routes: 3
BGP Local router ID is 1.1.1.1
Status codes: * - valid, > - best, d - damped,
*>
*>
*
From the above information, you can find the route with the next hop 200.1.2.1 is
the best route, because its MED (0) is smaller than the MED (100) of the other
route with the next hop 200.1.1.1 (Switch B).
BGP Community
Network requirements
Configuration
Switch B establishes EBGP connections with Switch A and C. Configure No_Export
community attribute on Switch A to make routes from AS 10 not advertised by AS
20 to any other AS.
Network diagram
Figure 133 Network diagram for BGP community configuration
AS 20
Configuration procedure
1 Configure IP addresses for interfaces (omitted)
2 Configure EBGP
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 10
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 200.1.2.2 as-number 20
[SwitchA-bgp] network 9.1.1.0 255.255.255.0
[SwitchA-bgp] quit
# Configure Switch B.
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
NextHop
8.0.0.0
0.0.0.0
9.1.1.0/24
200.1.2.1
200.1.1.1
Vlan- int200
200 .1.2.1/24
EBGP
Vlan- int200
200 .1.2.2/24
Vlan -int300
200 .1.3 .1/24
Switch B
BGP Configuration Examples
i - internal, s - suppressed, S - Stale
MED
LocPrf
0
0
100
Vlan -int100
9.1.1 .1/24
AS 10
Switch A
EBGP
Vlan-int300
200.1.3.2/24
Switch C
PrefVal Path/Ogn
0
i
0
65009i
0
65009i
AS 30
403

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents