![Huawei S6700 Series Configuration Manual Download Page 72](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517072.webp)
vlan batch 20
#
interface Vlanif20
ip address 172.16.1.2 255.255.255.0
#
interface XGigabitEthernet0/0/2
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
rip 1
version 2
network 172.16.0.0
#
return
l
Configuration file of Switch D
#
sysname SwitchD
#
vlan batch 30
#
interface Vlanif30
ip address 10.1.1.2 255.255.255.0
#
interface XGigabitEthernet0/0/3
port hybrid pvid vlan 30
port hybrid untagged vlan 30
#
rip 1
version 2
network 10.0.0.0
#
return
2.10.2 Example for Configuring RIP to Import Routes
Networking Requirements
, two RIP processes, RIP100 and RIP200, run on Switch B. Switch B
exchanges routing information with Switch A through RIP100 and exchanges routing
information with Switch C through RIP200.
You must configure route import on Switch B so that the two RIP processes can import RIP
routes of each other. By default, the metric of the imported routes of RIP200 is set to 3. In
addition, you must configure a filtering policy on Switch B. Thus, Switch B can filter out a route
imported from RIP200 (route to 192.168.4.0/24) and does not advertise the route to Switch A.
Figure 2-2
Networking diagram for configuring RIP to import external route
SwitchA
XGE0/0/1
XGE0/0/1
XGE0/0/2
RIP
100
RIP
200
XGE0/0/2
XGE0/0/1
XGE0/0/3
XGE0/0/2
SwitchB
SwitchC
switch
Interface
VLANIF interface IP address
Switch A
XGigabitEthernet0/0/1
VLANIF 10
192.168.1.1/24
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.
53