HP MSR Series Configuration Manual page 241

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

Advertisement

Local AS number : 20
Paths:
1 available, 1 best
BGP routing table entry information of 9.1.1.0/24:
From
Original nexthop: 200.1.2.1
AS-path
Origin
Attribute value : MED 0, pref-val 0, pre 255
State
Advertised to such 1 peers:
200.1.3.2
Router B has advertised the route to Router C in AS 30.
# Display BGP routing table information on Router C.
[RouterC] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 3.3.3.3
Status codes: * - valid, ^ - VPNv4 best, > - best, d - damped,
Network
*>
9.1.1.0/24
Router C has learned the route to the destination 9.1.1.0/24 from Router B.
3.
Configure BGP community attribute:
# Configure a routing policy.
[RouterA] route-policy comm_policy permit node 0
[RouterA-route-policy] apply community no-export
[RouterA-route-policy] quit
# Apply the routing policy.
[RouterA] bgp 10
[RouterA-bgp] peer 200.1.2.2 route-policy comm_policy export
[RouterA-bgp] peer 200.1.2.2 advertise-community
# Display BGP routing table information on Router B.
[RouterB] display bgp routing-table 9.1.1.0
BGP local router ID : 2.2.2.2
Local AS number : 20
Paths:
1 available, 1 best
BGP routing table entry information of 9.1.1.0/24:
From
Original nexthop: 200.1.2.1
Community
AS-path
Origin
: 200.1.2.1 (1.1.1.1)
: 10
: igp
: valid, external, best,
h - history,
i - internal, s - suppressed, S - Stale
Origin : i - IGP, e - EGP, ? - incomplete
NextHop
200.1.3.1
: 200.1.2.1 (1.1.1.1)
: No-Export
: 10
: igp
229
MED
LocPrf
0
PrefVal Path/Ogn
0
20 10i

Advertisement

Table of Contents
loading

Table of Contents