98 CHAPTER 15: ROUTING CONFIGURATION GUIDE
Precautions ■RIPv2 supports automatic route summarization (with the summary command).
This function is enabled by default.
■Based on your needs, you can configure the switch to receive or send RIP
packets with the rip input command or the rip output command.
■RIPv2 can transmit packets in two modes: broadcast and multicast. By default,
RIPv2 transmits packets in the multicast mode.
Configuring OSPF Open Shortest Path First (OSPF) is a link state interior gateway protocol developed
by IETF. At present, OSPF version 2 (RFC 2328) is used. OSPF has the following
features:
■Wide-spread application
■Fast convergence
■Loop-free
■Multicast transmission
■Area partition
■Routing hierarchy
■Authentication
Network Diagram Figure28 Network diagram for OSPF basic configuration
Device Interface IP address Router ID
Switch A Vlan-int100 10.1.1.1/24 1.1.1.1
Vlan-int200 10.1.2.1/24
Switch B Vlan-int100 10.1.1.2/24 2.2.2.2
Vlan-int200 10.1.3.1/24
Switch C Vlan-int200 10.1.2.2/24 3.3.3.3
Vlan-int300 10.1.4.1/24
Vlan-int10 192.168.1.1/24
Vlan-int20 192.168.2.1/24
Area 0
Area 1
Switch C
Vlan-int100
Switch BSwitch A
Switch D
Vlan-int200 Vlan-int200
Vlan-int300
Vlan-int10 Vlan-int20 Vlan-int10 Vlan-int20