Configuring Routing Policy Based On Next-Hop/As-Path/Origin/ Local-Preference - 3Com 3C13636 Configuration Manual

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

Advertisement

3Com Router 3000 Ethernet Family
Configuration Guide
[RouterC-bgp] peer 193.1.1.1 route-policy localpref import
By then, due to the fact that the local preference attribute value (200) of
the route 1.0.0.0 learned by Router C is greater than that of Router B (Router
B is not configured with local preference attribute, 100 by default), Router
D will also first select the route 1.0.0.0 from Router C.
7.4.5 Configuring Routing Policy Based on next-hop/as-path/origin/
local-preference
I. Network requirements
RouterA and RouterB are in AS300, RouterD is in AS100, and RouterC is in AS200.
Configure RouterA and D, RouterB and C, RouterC and D to be EBGP peers; configure
RouterA and B to be IBGP peers; configure RouterA and B to use the RIP protocol
between them.
II. Network diagram
e1/0/0:192.168.1.1/24
RouterD
AS100
172.16.1.1/24
Figure 7-5 Configure routing policy based on next-hop/as-path/origin/ local-preference
III. Configuration procedure
1)
Configure RouterA:
# Configure the IP addresses of the interfaces.
[RouterA] interface serial 0/0/0
[RouterA-serial 0/0/0] ip address 172.16.1.1 255.255.255.0
[RouterA-serial 0/0/0] interface ethernet 1/0/0
[RouterA-ethernet 1/0/0] ip address 129.102.1.6 255.255.255.0
[RouterA-ethernet 1/0/0] quit
s0/0/1:
120.56.0.1/24
s0/0/0:
172.16.1.2/24
s0/0/0:
AS300
e1/0/0:
129.102.1.6/16
129.102.1.1/16
RouterA
3Com Corporation
7-18
Chapter 7 IP Routing Policy Configuration
AS200
s0/0/1:
120.56.0.2/24
s0/0/0:
10.0.0.2/24
s0/0/0:
10.0.0.1/24
e1/0/0:
RouterB
RouterC

Advertisement

Table of Contents
loading

This manual is also suitable for:

3c13636-us - router 30363000 series

Table of Contents