![Huawei S6700 Series Configuration Manual Download Page 69](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517069.webp)
Switch A
XGigabitEthernet0/0/1
VLANIF 10
192.168.1.1/24
Switch B
XGigabitEthernet0/0/1
VLANIF 10
192.168.1.2/24
Switch B
XGigabitEthernet0/0/2
VLANIF 20
172.16.1.1/24
Switch B
XGigabitEthernet0/0/3
VLANIF 30
10.1.1.1/24
Switch C
XGigabitEthernet0/0/2
VLANIF 20
172.16.1.2/24
Switch D
XGigabitEthernet0/0/3
VLANIF 30
10.1.1.2/24
Configuration Roadmap
The configuration roadmap is as follows:
1.
Assign IP addresses to all the interfaces to ensure network reachability.
2.
Enable RIP on each Switch and configure the basic RIP functions.
3.
Configure RIPv2 on each Switch and check the accurate subnet masks.
Data Preparation
To complete the configuration, you need the following data:
l
IDs of the VLANs that the interfaces belong to, as shown in
l
IP addresses of VLANIF interfaces, as shown in
l
RIP version on the Switches, namely, RIPv2
Procedure
Step 1
Configure VLANs that the related interfaces belong to.
<Quidway>
system-view
[Quidway]
sysname SwitchA
[SwitchA]
vlan 10
[SwitchA-vlan10]
quit
[SwitchA]
interface xgigabitethernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1]
port hybrid pvid vlan 10
[SwitchA-XGigabitEthernet0/0/1]
port hybrid untagged vlan 10
[SwitchA-XGigabitEthernet0/0/1]
quit
The configurations of Switch B, Switch C, and Switch D are similar to the configuration of
Switch A, and are not mentioned here.
Step 2
Assign an IP address to each VLANIF interface.
[SwitchA]
interface vlanif 10
[SwitchA-Vlanif10]
ip address 192.168.1.1 24
[SwitchA-Vlanif10]
quit
The configurations of Switch B, Switch C, and Switch D are similar to the configuration of
Switch A, and are not mentioned here.
Step 3
Configure the basic RIP functions.
Configure Switch A.
[SwitchA]
rip
[SwitchA-rip-1]
network 192.168.1.0
[SwitchA-rip-1]
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.
50