EasyManua.ls Logo

Huawei quidway s7700 - Example for Configuring Communication Across a Layer 3 Network through VLANIF Interfaces

Huawei quidway s7700
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
Loading...
On PC2 in VLAN 20, set the default gateway address to 20.20.20.1/24, which is the IP address
of VLANIF20.
After the preceding configurations are complete, PC1 in VLAN 10 and PC2 in VLAN 20 can
communicate.
----End
Configuration Files
Configuration file of the Switch
#
sysname Quidway
#
vlan batch 10 20
#
interface Vlanif10
ip address 10.10.10.1 255.255.255.0
#
interface Vlanif20
ip address 20.20.20.1 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
#
return
Configuration file of SwitchA
#
sysname Quidway
#
vlan batch 10 20
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 10 20
#
interface GigabitEthernet1/0/2
port link-type access
port default vlan 10
#
interface GigabitEthernet1/0/3
port link-type access
port default vlan 20
#
return
3.12.6 Example for Configuring Communication Across a Layer 3
Network Through VLANIF Interfaces
Networking Requirements
As shown in Figure 3-15, Switch A and Switch B are connected to Layer 2 networks that VLAN
10 belongs to. Switch A and Switch B communicate with each other through an OSPF-enabled
Layer 3 network.
It is required that the computers on the two Layer 2 networks be isolated at Layer 2 and
communicate at Layer 3.
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.
131

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals