3Com Router 3000 Ethernet FamilyConfiguration Guide Chapter 7 IP Routing Policy Configuration3Com Corporation7-14[Router A] ip route-static 20.0.0.1 32 serial 1/0/0[Router A] ip route-static 30.0.0.1 32 serial 1/0/0[Router A] ip route-static 40.0.0.1 32 serial 1/0/0# Enable the OSPF protocol and specify the area ID of the interface.[Router A] router id 1.1.1.1[Router A] ospf[Router A-ospf] area 0[Router A--ospf-area-0.0.0.0] network 10.0.0.0 0.0.0.255# Redistribute the static routes[Router A-ospf] import-route static2) Configure Router B:# Configure the IP address of interface Serial1/0/0 and encapsulate the PPP protocol.[Router B] interface serial 1/0/0[Router B-Serial1/0/0] ip address 10.0.0.2 255.0.0.0[Router B-Serial1/0/0] link-protocol ppp[Router B-Serial1/0/0] quit# Configure ACL.[Router B] acl number 2001[Router B-acl-basic-2001] rule deny source 30.0.0.0 0.255.255.255[Router B-acl-basic-2001] rule permit source any# Enable the OSPF protocol and specify the area ID of the interface.[Router B] router id 2.2.2.2[Router B] ospf[Router B-ospf] area 0[Router A-ospf-area-0.0.0.0] network 10.0.0.0 0.0.0.255# Configure the OSPF to filter the received external routes.[Router B-ospf] filter-policy 1 import7.4.4 Configuring the BGP cost Attribute to Select PathI. Network requirementsThis example illustrates how the administrator manages the routing via BGP attributes.All routers are configured with BGP, and IGP in AS200 adopts OSPF.Router A is in AS100, Router B, Router C and Router D are in AS200. EBGP is enabledon Router A, Router B and Router C. IBGP is enabled on Router B, Router C andRouter D.