Huawei S6700 Series Configuration Manual page 76

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
127.255.255.255/32
255.255.255.255/32
----End
Configuration Files
l
l
Issue 01 (2012-03-15)
Direct 0
Direct 0
Configuration file of Switch A
#
sysname Switch A
#
vlan batch 10 50
#
interface Vlanif10
ip address 192.168.1.1 255.255.255.0
#
interface Vlanif50
ip address 192.168.0.1 255.255.255.0
#
interface XGigabitEthernet0/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface XGigabitEthernet0/0/2
port hybrid pvid vlan 50
port hybrid untagged vlan 50
#
rip 100
network 192.168.0.0
network 192.168.1.0
#
return
Configuration file of Switch B
#
sysname Switch B
#
vlan batch 10 20
#
acl number 2000
rule 5 deny source 192.168.4.0 0.0.0.255
rule 10 permit
#
interface Vlanif10
ip address 192.168.1.2 255.255.255.0
#
interface Vlanif20
ip address 192.168.2.1 255.255.255.0
#
interface XGigabitEthernet0/0/1
port hybrid pvid vlan 10
port hybrid untagged vlan 10
#
interface XGigabitEthernet0/0/2
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
rip 100
default-cost 3
network 192.168.1.0
filter-policy 2000 export
import-route rip 200
#
rip 200
network 192.168.2.0
import-route rip 100
#
return
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
0
D
127.0.0.1
0
D
127.0.0.1
2 RIP Configuration
InLoopBack0
InLoopBack0
57

Advertisement

Table of Contents
loading

Table of Contents