DES-7200 Configuration Guide Chapter 4 OSPF
Configuration
4-51
# Configure network interface
DES-7200(config)# interface gigabitEthernet 0/0
DES-7200(config-if)# ip address 192.168.30.1 255.255.255.0
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-if)# ip address 192.168.3.1 255.255.255.0
DES-7200(config)# interface Serial 1/0
DES-7200(config-if)# ip address 192.168.23.3 255.255.255.0
# Configure RIP
DES-7200(config)# router rip
DES-7200(config-router)# network 192.168.23.0
DES-7200(config-router)# network 192.168.3.0
DES-7200(config-router)# network 192.168.30.0
Configurations on Router D:
# Configure network interface
DES-7200(config)# interface gigabitEthernet 0/0
DES-7200(config-if)# ip address 192.168.40.1 255.255.255.0
DES-7200(config)# interface gigabitEthernet 0/1
DES-7200(config-if)# ip address 192.168.4.1 255.255.255.0
DES-7200(config)# interface gigabitEthernet 1/0
DES-7200(config-if)# ip address 192.168.24.4 255.255.255.0
# Configure BGP
DES-7200(config)# router bgp 4
DES-7200(config-router)# neighbor 192.168.24.2 remote-as 2
DES-7200(config-router)# redistribute connected route-map bgprm
DES-7200(config-router)# address-family ipv4
DES-7200(config-router-af)# neighbor 192.168.24.2 activate
DES-7200(config-router-af)# neighbor 192.168.24.2 send-community
# Configure route map
DES-7200(config)# route-map bgprm
DES-7200(config-route-map)# set community 22:22
OSPF routes learned by Router A:
O E1 192.168.30.0/24[110/101]via 192.168.12.5,00:04:07,FastEthernet0/1
O E1 192.168.3.0/24[110/101]via 192.168.12.5,00:04:07,FastEthernet0/1
RIP routes learned by Router C:
R 0.0.0.0/0 [120/1] via 200.168.23.2, 00:00:00, Serial1/0
R 192.168.10.0/24 [120/2] via 200.168.23.2, 00:00:00, Serial1/0