User's Manual

Table Of Contents
36-11
c) Layer 3 SwitchC
Configure the IP address of interface vlan 1
SwitchC#config
SwitchC(config)# interface vlan 1
Configure the IP address of interface vlan 1
SwitchC(Config-if-Vlan1)# ip address 20.1.1.2 255.255.255.0
SwitchC(Config-if-Vlan1)#exit
Initiate RIP protocol and configure the RIP segments
SwitchC(config)#router rip
SwitchC(config-router)#network vlan 1
SwitchC(config-router)#exit
36.3.2 Typical Examples of RIP aggregation function
The application topology as follows
Figure 36-2 Typical application of RIP aggregation
As the above network topology, S2 is connected to S1 through interface vlan1, there are other 4 subnet
routers of S2, which are 192.168.21.0/24, 192.168.22.0/24, 192.168.23.0/24, 192.168.24.0/24. S2 supports
route aggregation, and to configure aggregation route 192.168.20.0/22 in interface vlan1 of S2, after that,
sending router messages to S1 through vlan1, and put the four subnet routers aggregated to one router as
192.168.20.0/22, and send to S1, and not send subnet to neighbor. It can reduce the router table of S1, save
the memory.
S1
S2
vlan1:192.168.10.1
vlan1:192.168.10.2
192.168.20.0/22
192.168.21.0/24
192.168.22.0/24
192.168.23.0/24
192.168.24.0/24