Example For Configuring Communication Across A Layer 3 Network Through Vlanif Interfaces - Huawei Quidway S7700 Configuration Manual - Ethernet

Smart routing switch
Hide thumbs Also See for Quidway S7700:
Table of Contents

Advertisement

Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet
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
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.
Issue 01 (2011-07-15)
Figure
3-15, Switch A and Switch B are connected to Layer 2 networks that VLAN
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
3 VLAN Configuration
131

Advertisement

Table of Contents
loading

This manual is also suitable for:

Quidway s9300

Table of Contents