3Com MSR 50 Series Configuration Manual page 873

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

Advertisement

[RouterD] bgp 200
[RouterD-bgp] peer 194.1.1.2 as-number 200
[RouterD-bgp] peer 195.1.1.2 as-number 200
[RouterD-bgp] quit
4 Configure different attribute values for the route 1.0.0.0/8 to make Router D give
priority to the route learned from Router C.
Specify a higher MED value for the route 1.0.0.0/8 advertised to 192.1.1.2 to
make Router D give priority to the route learned from Router C.
# Define ACL 2000 to permit the route 1.0.0.0/8
[RouterA] acl number 2000
[RouterA-acl-basic-2000] rule permit source 1.0.0.0 0.255.255.255
[RouterA-acl-basic-2000] quit
# Define routing policy apply_med_50 that sets the MED value of route 1.0.0.0/8
to 50, and routing policy apply_med_100 that sets the MED value of route
1.0.0.0/8 to 100.
[RouterA] route-policy apply_med_50 permit node 10
[RouterA-route-policy] if-match acl 2000
[RouterA-route-policy] apply cost 50
[RouterA-route-policy] quit
[RouterA] route-policy apply_med_100 permit node 10
[RouterA-route-policy] if-match acl 2000
[RouterA-route-policy] apply cost 100
[RouterA-route-policy] quit
# Apply routing policy apply_med_50 to the route advertised to 193.1.1.2 (Router
C), and apply routing policy apply_med_100 to the route advertised to 192.1.1.2
(Router B).
[RouterA] bgp 100
[RouterA-bgp] peer 193.1.1.2 route-policy apply_med_50 export
[RouterA-bgp] peer 192.1.1.2 route-policy apply_med_100 export
[RouterA-bgp] quit
# Display the BGP routing table on Router D.
[RouterD] display bgp routing-table
Total Number of Routes: 2
BGP Local router ID is 194.1.1.1
Status codes: * - valid, > - best, d - damped,
h - history,
Origin : i - IGP, e - EGP, ? - incomplete
Network
*>i 1.0.0.0
* i
The route 1.0.0.0/8 learned from Router C is the optimal.
Specify different local priorities for route 1.0.0.0/8 on Router B and C to make
Router D give priority to the route learned from Router C.
# Define ACL 2000 to permit the route 1.0.0.0/8 on Router C.
BGP Typical Configuration Examples
i - internal, s - suppressed, S - Stale
NextHop
MED
193.1.1.1
50
192.1.1.1
100
LocPrf
PrefVal Path/Ogn
100
0
100i
100
0
100i
873

Hide quick links:

Advertisement

Table of Contents

Troubleshooting

loading

Table of Contents