HP HPE FlexNetwork 7500 series Configuration Manual page 345

Table of Contents

Advertisement

Total number of routes: 1
BGP local router ID is 3.3.3.3
Status codes: * - valid, > - best, d - dampened, h - history,
Network
* >e 9.1.1.0/24
The output shows that Switch C has learned route 9.1.1.0/24 from Switch B.
3.
Configure BGP community:
# Configure a routing policy.
[SwitchA] route-policy comm_policy permit node 0
[SwitchA-route-policy-comm_policy-0] apply community no-export
[SwitchA-route-policy-comm_policy-0] quit
# Apply the routing policy.
[SwitchA] bgp 10
[SwitchA-bgp-default] address-family ipv4 unicast
[SwitchA-bgp-default-ipv4] peer 200.1.2.2 route-policy comm_policy export
[SwitchA-bgp-default-ipv4] peer 200.1.2.2 advertise-community
Verifying the configuration
# Display the routing table on Switch B.
[SwitchB] display bgp routing-table ipv4 9.1.1.0
BGP local router ID: 2.2.2.2
Local AS number: 20
Paths:
1 available, 1 best
BGP routing table information of 9.1.1.0/24:
From
Rely nexthop
Original nexthop: 200.1.2.1
OutLabel
Community
AS-path
Origin
Attribute value : pref-val 0
State
IP precedence
QoS local ID
Traffic index
# Display advertisement information for the route 9.1.1.0 on Switch B.
[SwitchB] display bgp routing-table ipv4 9.1.1.0 advertise-info
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
200.1.3.1
: 200.1.2.1 (1.1.1.1)
: 200.1.2.1
: NULL
: No-Export
: 10
: igp
: valid, external, best
: N/A
: N/A
: N/A
MED
LocPrf
333
PrefVal Path/Ogn
0
20 10i

Advertisement

Table of Contents
loading

Table of Contents