HP 6125XLG Layer 3 - Ip Routing Configuration Manual page 284

Blade switch
Hide thumbs Also See for 6125XLG:
Table of Contents

Advertisement

[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
Relay nexthop
Original nexthop: 200.1.2.1
OutLabel
AS-path
Origin
Attribute value : pref-val 0
State
# Display advertisement information for network 9.1.1.0 on Switch B.
[SwitchB] display bgp routing-table ipv4 9.1.1.0 advertise-info
BGP local router ID: 2.2.2.2
Local AS number: 20
Paths:
1 best
BGP routing table information of 9.1.1.0/24:
Advertised to peers (1 in total):
200.1.3.2
The output shows that Switch B can advertise the route with the destination 9.1.1.0/24 to other
ASs through BGP.
# Display the BGP routing table on Switch C.
[SwitchC] display bgp routing-table ipv4
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
: 200.1.2.1 (1.1.1.1)
: 200.1.2.1
: NULL
: 10
: igp
: valid, external, best,
s - suppressed, S - stale, i - internal, e - external
Origin: i - IGP, e - EGP, ? - incomplete
NextHop
200.1.3.1
272
MED
LocPrf
PrefVal Path/Ogn
0
20 10i

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

5920 series5900 series

Table of Contents