3Com MSR 50 Series Configuration Manual page 865

3com msr 30-16: software guide
Hide thumbs Also See for MSR 50 Series:
Table of Contents

Advertisement

# Configure Router B.
<RouterB> system-view
[RouterB] bgp 20
[RouterB-bgp] router-id 2.2.2.2
[RouterB-bgp] peer 200.1.2.1 as-number 10
[RouterB-bgp] peer 200.1.3.2 as-number 30
[RouterB-bgp] quit
# Configure Router C.
<RouterC> system-view
[RouterC] bgp 30
[RouterC-bgp] router-id 3.3.3.3
[RouterC-bgp] peer 200.1.3.1 as-number 20
[RouterC-bgp] quit
# 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
: 200.1.2.1 (1.1.1.1)
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 advertised received routes 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, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>
9.1.1.0/24
Router C 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
BGP Typical Configuration Examples
: 10
: igp
: valid, external, best,
i - internal, s - suppressed, S - Stale
NextHop
MED
200.1.3.1
LocPrf
PrefVal Path/Ogn
0
20 10i
865

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents