DES-7200 Configuration Guide Chapter 2 RIP
Configuration
2-29
DES-7200(config-if-FastEthernet 0/1)#no switchport
DES-7200(config-if-FastEthernet 0/1)#ip address 192.168.12.1 255.255.255.0
DES-7200(config-if-FastEthernet 0/1)#exit
DES-7200(config)#interface FastEthernet0/2
DES-7200(config-if-FastEthernet 0/2)#no switchport
DES-7200(config-if-FastEthernet 0/2)#ip address 192.168.10.1 255.255.255.0
# Configure RIP routing protocol
DES-7200(config)#router rip
DES-7200(config-router)#version 2
DES-7200(config-router)#network 192.168.12.0
DES-7200(config-router)#redistribute ospf 10 metric 3//Redistribute OSPF
routing process in RIP process, with metric value being 3
# Configure OSPF routing protocol
DES-7200(config)#router ospf 10
DES-7200(config-router)#network 192.168.10.0 0.0.0.255 area 0
# SwitchB:
! Configure Ethernet interface
DES-7200(config)#interface FastEthernet 0/1
DES-7200(config-if-FastEthernet 0/1)#no switchport
DES-7200(config-if-FastEthernet 0/1)#ip address 192.168.12.2 255.255.255.0
DES-7200(config-if-FastEthernet 0/1)#exit
! Configure loopback interface
DES-7200(config)#interface Loopback 0
DES-7200(config-if-Loopback 0)#ip address 192.168.20.1 255.255.255.0
! Configure RIP routing protocol
DES-7200(config)#router rip
DES-7200(config-router)#version 2
DES-7200(config-router)#network 192.168.12.0
DES-7200(config-router)#network 192.168.20.0
# SwitchC:
! Configure Ethernet interface
DES-7200(config)#interface FastEthernet 0/1
DES-7200(config-if-FastEthernet 0/1)#no switchport
DES-7200(config-if-FastEthernet 0/1)#ip address 192.168.12.3 255.255.255.0
DES-7200(config-if-FastEthernet 0/1)#ip rip default-information originate
metric 5//Advertise default route, with metric value being 5