EasyManuals Logo

Huawei Quidway S9300 Configuration Guide - Ethernet

Huawei Quidway S9300
648 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #151 background imageLoading...
Page #151 background image
On the computer on the Layer 2 network connected to Switch B, set the default gateway address
to the IP address of VLANIF 10, that is, 20.20.20.1/24.
After the configurations are complete, computers of the two Layer 2 networks are isolated at
Layer 2 and interwork at Layer 3.
----End
Configuration Files
Configuration file of Switch A
#
sysname SwitchA
#
router id 1.1.1.1
#
vlan batch 10 30
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
#
interface Vlanif30
ip address 30.30.30.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 10
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk allow-pass vlan 30
#
ospf 1
area 0.0.0.0
network 10.10.10.0 0.0.0.255
network 30.30.30.0 0.0.0.255
#
return
Configuration file of Switch B
#
sysname SwitchB
#
router id 2.2.2.2
#
vlan batch 10 30
#
interface Vlanif10
ip address 20.20.20.1 255.255.255.0
#
interface Vlanif30
ip address 30.30.30.2 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 30
#
interface GigabitEthernet1/0/2
port link-type trunk
port trunk allow-pass vlan 10
#
ospf 1
area 0.0.0.0
network 20.20.20.0 0.0.0.255
network 30.30.30.0 0.0.0.255
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
134

Table of Contents

Other manuals for Huawei Quidway S9300

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Huawei Quidway S9300 and is the answer not in the manual?

Huawei Quidway S9300 Specifications

General IconGeneral
BrandHuawei
ModelQuidway S9300
CategoryNetwork Router
LanguageEnglish

Related product manuals