3Com 3C13636 Configuration Manual page 723

Router 3000 ethernet family
Hide thumbs Also See for 3C13636:
Table of Contents

Advertisement

3Com Router 3000 Ethernet Family
Configuration Guide
[Router C-bgp] group in internal
[Router C-bgp] peer 195.1.1.1 group in
[Router C-bgp] import-route ospf
4)
Configure Router D:
[RouterD] interface serial 1/0/0
[RouterD-Serial1/0/0] ip address 194.1.1.1 255.255.255.0
[RouterD-Serial1/0/0] interface serial 2/0/0
[RouterD-Serial2/0/0] ip address 195.1.1.1 255.255.255.0
[RouterD-Serial2/0/0] quit
[RouterD] ospf
[Router D-ospf-1] import-route bgp
[Router D-ospf] area 0
[Router D-ospf-area-0.0.0.0] network 194.1.1.0 0.0.0.255
[Router D-ospf-area-0.0.0.0] network 195.1.1.0 0.0.0.255
[Router D-ospf-area-0.0.0.0] network 4.0.0.0 0.255.255.255
[Router D] bgp 200
[Router D-bgp] group in internal
[Router D-bgp] peer 195.1.1.2 group in as-number 200
[Router D-bgp] peer 194.1.1.2 group in as-number 200
[Router D-bgp] import-route ospf
To enable the configuration, all BGP peers will be reset via the reset bgp all command.
After above configuration, due to the fact that the MED attribute of route 1.0.0.0
discovered by Router C is less than that of Router B, Router D will first select the route
1.0.0.0 from Router C.
If the MED attribute of Router A is not configured, the local priority on Router C is
configured as follows:
# Configure the local priority attribute of Router C.
Add ACL 2001 on Router C and permit network 1.0.0.0.
[Router C] acl number 2001
[Router C-acl-basic-2001] rule permit source 1.0.0.0 0.255.255.255
Define a routing policy named localpref. Set the local preference of routes
matching ACL 2001 as 200, and that of those not matching as 100.
[Router C] route-policy localpref permit node 10
[Router C-route-policy] if-match acl 2001
[Router C-route-policy] apply local-preference 200
[Router C-route-policy] route-policy localpref permit node 20
[Router C-route-policy] apply local-preference 100
[Router C-route-policy] quit
Apply such routing policy to routing information from BGP neighbor 193.1.1.1
(Router A).
[RouterC] bgp 200
Chapter 7 IP Routing Policy Configuration
3Com Corporation
7-17

Advertisement

Table of Contents
loading

This manual is also suitable for:

3c13636-us - router 30363000 series

Table of Contents