DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-50
DES-7200(config-router)# network 192.168.10.0 0.0.0.255 area 0
DES-7200(config-router)# network 192.168.12.0 0.0.0.255 area 0
DES-7200(config-router)# network 192.168.100.0 0.0.0.255 area 0
Configurations on Router B:
# Configure network interface
DES-7200(config)# interface gigabitEthernet 0/0
DES-7200(config-if)# ip address 192.168.12.5 255.255.255.0
DES-7200(config)# interface Serial 1/0
DES-7200(config-if)# ip address 192.168.23.2 255.255.255.0
# Configure OSPF and the type of routes to be redistributed
DES-7200(config)# router ospf 12
DES-7200(config-router)# redistribute rip metric 100 metric-type 1 subnets
DES-7200(config-router)# redistribute bgp route-map ospfrm subnets
DES-7200(config-router)# network 192.168.12.0 0.0.0.255 area 0
# Configure RIP and distribute list to filter the redistributed routes
DES-7200(config)# router rip
DES-7200(config-router)# redistribute ospf 12 metric 2
DES-7200(config-router)# network 192.168.23.0
DES-7200(config-router)# distribute-list 10 out ospf
DES-7200(config-router)# default-information originate always
DES-7200(config-router)# no auto-summary
# Configure BGP
DES-7200(config)# router bgp 2
DES-7200(config-router)# neighbor 192.168.24.4 remote-as 4
DES-7200(config-router)# address-family ipv4
DES-7200(config-router-af)# neighbor 192.168.24.4 activate
DES-7200(config-router-af)# neighbor 192.168.24.4 send-community
# Configure route map
DES-7200(config)# route-map ospfrm
DES-7200(config-route-map)# match community cl_110
# Define access list
DES-7200(config)# access-list 10 permit 192.168.10.0
# Define community list
DES-7200(config)# ip community-list standard cl_110 permit 11:11
Configurations on Router C: