Switch A XGigabitEthernet0/0/2 VLANIF 50 192.168.0.1/24
Switch B XGigabitEthernet0/0/1 VLANIF 10 192.168.1.2/24
Switch B XGigabitEthernet0/0/2 VLANIF 20 192.168.2.1/24
Switch C XGigabitEthernet0/0/2 VLANIF 20 192.168.2.2/24
Switch C XGigabitEthernet0/0/1 VLANIF 30 192.168.3.1/24
Switch C XGigabitEthernet0/0/3 VLANIF 40 192.168.4.1/24
Configuration Roadmap
The configuration roadmap is as follows:
1. Enable RIP100 and RIP200 on switch and specify the network segment.
2. Configure Switch B to import routes of a RIP process into the routing table of the other
RIP process, and set the default metric of the routes imported from RIP200 to 3.
3. Configure an ACL on Switch B to filter the routes imported from RIP200.
Data Preparation
To complete the configuration, you need the following data:
l IDs of the VLANs that the interfaces belong to, as shown in Figure 2-2
l IP addresses of VLANIF interfaces, as shown in Figure 2-2
l RIP100 enabled network segments on Switch A: 192.168.1.0 and 192.168.1.0
l Network segments with RIP100 and RIP200 enabled on Switch B: 192.168.1.0 and
192.168.2.0.
l RIP200 enabled network segments on Switch C: 192.168.2.0, 192.168.3.0, and 192.168.4.0
l Default metric of routes that are imported to RIP100 from RIP200: 3
l ACL 2000 for the routes that are imported to RIP100 from RIP200, which denies the routes
of network segment 192.168.4.0
Procedure
Step 1 Configure VLANs that the related interfaces belong to.
<Quidway> system-view
[Quidway] sysname Switch A
[Switch A] vlan 10
[Switch A-Vlan10] quit
[Switch A] interface xgigabitethernet 0/0/1
[Switch A-XGigabitEthernet0/0/1] port hybrid pvid vlan 10
[Switch A-XGigabitEthernet0/0/1] port hybrid untagged vlan 10
[Switch A-XGigabitEthernet0/0/1] quit
[Switch A] vlan 50
[Switch A-Vlan50] quit
[Switch A]interface xgigabitethernet 0/0/2
[Switch A-XGigabitEthernet0/0/2] port hybrid pvid vlan 50
[Switch A-XGigabitEthernet0/0/2] port hybrid untagged vlan 50
[Switch A-XGigabitEthernet0/0/2] quit
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 2 RIP Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
54