Huawei S6700 Series Configuration Manual page 197

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

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
l
l
Issue 01 (2012-03-15)
#
interface XGigabitEthernet 0/0/1
port hybrid pvid vlan 20
port hybrid untagged vlan 20
#
interface XGigabitEthernet 0/0/2
port hybrid pvid vlan 40
port hybrid untagged vlan 40
#
ospf 1
area 0.0.0.1
network 192.168.1.0 0.0.0.255
network 172.16.1.0 0.0.0.255
#
ospf valid-ttl-hops 4
#
return
Configuration file of Switch D
#
sysname SwitchD
#
vlan batch 30 50
#
router id 4.4.4.4
#
interface Vlanif30
ip address 192.168.2.2 255.255.255.0
#
interface Vlanif50
ip address 172.17.1.1 255.255.255.0
#
interface XGigabitEthernett 0/0/1
port hybrid pvid vlan 30
port hybrid untagged vlan 30
#
interface XGigabitEthernet 0/0/2
port hybrid pvid vlan 50
port hybrid untagged vlan 50
#
ospf 1
area 0.0.0.2
network 192.168.2.0 0.0.0.255
network 172.17.1.0 0.0.0.255
#
ospf valid-ttl-hops 3
#
return
Configuration file of Switch E
#
sysname SwitchE
#
vlan batch 40
#
router id 5.5.5.5
#
interface Vlanif40
ip address 172.16.1.2 255.255.255.0
#
interface XGigabitEthernet 0/0/2
port hybrid pvid vlan 40
port hybrid untagged vlan 40
#
ospf 1
area 0.0.0.1
network 172.16.1.0 0.0.0.255
#
ospf valid-ttl-hops 1
#
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
4 OSPF Configuration
178

Advertisement

Table of Contents
loading

Table of Contents