Applying A Routing Policy To Filter Received Bgp Routes - HPE 5800 Series Configuration Manual

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

Advertisement

Applying a routing policy to filter received BGP routes

Network requirements
All switches in
Configure a routing policy on Switch D to reject routes from AS 200.
Figure 105 Network diagram
Configuration procedure
Configure IP addresses for the interfaces. (Details not shown.)
1.
Configure BGP:
2.
# Configure Switch A.
<SwitchA> system-view
[SwitchA] bgp 100
[SwitchA-bgp] router-id 1.1.1.1
[SwitchA-bgp] peer 1.1.1.2 as-number 300
# Configure Switch B.
<SwitchB> system-view
[SwitchB] bgp 200
[SwitchB-bgp] router-id 2.2.2.2
[SwitchB-bgp] peer 1.1.2.2 as-number 300
# Configure Switch C.
<SwitchC> system-view
[SwitchC] bgp 300
[SwitchC-bgp] router-id 3.3.3.3
[SwitchC-bgp] peer 1.1.1.1 as-number 100
[SwitchC-bgp] peer 1.1.2.1 as-number 200
[SwitchC-bgp] peer 1.1.3.2 as-number 400
# Configure Switch D.
<SwitchD> system-view
[SwitchD] bgp 400
[SwitchD-bgp] router-id 4.4.4.4
[SwitchD-bgp] peer 1.1.3.1 as-number 300
Figure 105
run BGP. Switch C establishes EBGP connections with other switches.
362

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents