3Com 10014299 Network Router User Manual


 
474 CHAPTER 30: CONFIGURING BGP
[RouterC-Serial0] ip address 193.1.1.1 255.255.255.0
d Configure Serial 1
[RouterC-Serial0] interface serial 1
[RouterC-Serial1] ip address 194.1.1.1 255.255.255.0
[RouterC-Serial1] ospf enable area 0
4 Configure Router D:
a Configure BGP peers
[RouterD] bgp 200
[RouterA-bgp] undo synchronization
[RouterD-bgp] peer 194.1.1.1 as-number 200
b Enable OSPF
[RouterD] ospf enable
c Configure Serial 0
[RouterD-ospf] interface serial 0
[RouterD-Serial0] ip address 194.1.1.2 255.255.255.0
[RouterD-Serial0] ospf enable area 0
View BGP routing table on Router B with display bgp routing-table
command. Note that Router B knows that network 1.0.0.0 exists.
[RouterB] display bgp routing-table
View BGP routing table on Router C with display bgp routing-table
command. Note that Router C knows that network 1.0.0.0 exists.
[RouterD] display bgp routing-table
Configuring BGP Path
Selection
This example describes how the administrator manages the routing with the BGP
attribute. All routers are configured with BGP. OSPF is used by IGP in AS200.
Router A is in AS100, functioning as the BGP peer of Router B and Router C in
AS200. When Router B and Router C run IBGP to Router D, Router D is also in
AS200.
network next hop metric localpref
1.0.0.0 192.1.1.1 0
network next hop metric llocalpref
1.0.0.0 194.1.1.1 0 100