Applying A Route Policy To Filter Received Bgp Routes - HP 4800G Series Configuration Manual

24/48 port
Table of Contents

Advertisement

[SwitchB-Vlan-interface100] ripng 1 enable
[SwitchB-Vlan-interface100] quit
# Enable RIPng.
[SwitchB] ripng
# Display RIPng routing table information.
[SwitchB-ripng-1] display ripng 1 route
Route Flags: A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::7D58:0:CA03:1
Dest 10::/32,
via FE80::7D58:0:CA03:1, cost
Dest 20::/32,
via FE80::7D58:0:CA03:1, cost
Dest 40::/32,
via FE80::7D58:0:CA03:1, cost

Applying a Route Policy to Filter Received BGP Routes

Network requirements
As shown in the following figure:
All the switches run BGP. Switch C establishes eBGP connections with other switches.
Configure a route policy on Switch D to reject routes from AS 200.
Figure 1-3 Route policy configuration to filter received BGP routes (on switches)
Swtich A
Vlan-int100
AS 100
1.1.1.1/24
Vlan-int200
1.1.2.1/24
Swtich B
AS 200
Configuration procedure
1)
Configure IP addresses for the interfaces (omitted).
2)
Configure BGP.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 100
on Vlan-interface 100
1, tag 0, A, 18 Sec
1, tag 0, A, 8 Sec
1, tag 0, A, 3 Sec
AS 300
Vlan-int100
Vlan-int300
1.1.1.2/24
1.1.3.1/24
Vlan-int200
1.1.2.2/24
Swtich C
1-14
AS 400
Vlan-int300
1.1.3.2/24
Swtich D

Advertisement

Chapters

Table of Contents
loading

Table of Contents