3Com S7906E Configuration Manual page 824

S7900e family release 6600 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

[SwitchC-bgp] peer 200.1.3.1 as-number 20
[SwitchC-bgp] quit
# Display the BGP routing table on Switch B.
[SwitchB] 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
: 200.1.2.1 (1.1.1.1)
Original nexthop: 200.1.2.1
AS-path
: 10
Origin
: igp
Attribute value : MED 0, pref-val 0, pre 255
State
: valid, external, best,
Advertised to such 1 peers:
200.1.3.2
Switch B advertised routes to Switch C in AS30.
# Display the routing table on Switch C.
[SwitchC] display bgp routing-table
Total Number of Routes: 1
BGP Local router ID is 3.3.3.3
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>
9.1.1.0/24
Switch C 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] apply community no-export
[SwitchA-route-policy] quit
# Apply the routing policy.
[SwitchA] bgp 10
[SwitchA-bgp] peer 200.1.2.2 route-policy comm_policy export
[SwitchA-bgp] peer 200.1.2.2 advertise-community
# Display the routing table on Switch B.
[SwitchB] display bgp routing-table 9.1.1.0
BGP local router ID : 2.2.2.2
Local AS number : 20
i - internal, s - suppressed, S - Stale
NextHop
MED
200.1.3.1
0
1-55
LocPrf
PrefVal Path/Ogn
0
20 10i

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents