Applying A Routing Policy To Filter Received Bgp Routes - HPE FlexNetwork HSR6800 Configuration Manual

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

Applying a routing policy to filter received BGP routes

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

Advertisement

Table of Contents
loading

Table of Contents