Example For Configuring Communication Between Vlans Through Vlanif Interfaces - Huawei Quidway S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

3 VLAN Configuration
--------------------------------------------------------------------------------
100
----------------
Untagged
----------------
Tagged
----------------
Interface
GigabitEthernet1/0/0
GigabitEthernet2/0/0
# Display the configuration of VLAN 3000.
[S9300] display vlan 3000
VLAN ID Type
--------------------------------------------------------------------------------
3000
----------------
Untagged
----------------
Tagged
----------------
Interface
GigabitEthernet1/0/5
GigabitEthernet2/0/0
The preceding information indicates that GE 2/0/0 allows tagged packets from VLAN 100 and
VLAN 3000 to pass through.
----End
Configuration Files
Configuration file of the S9300
#
sysname S9300
#
vlan batch 100 3000
#
interface GigabitEthernet1/0/0
port link-type access
port default vlan 100
#
interface GigabitEthernet1/0/5
port link-type access
port default vlan 3000
#
interface GigabitEthernet2/0/0
port link-type trunk
port trunk allow-pass vlan 100 3000
#
return
3.10.3 Example for Configuring Communication Between VLANs
Through VLANIF Interfaces
Networking Requirements
As shown in
On SwitchA, the downlink interface Ethernet 0/0/1 is added to VLAN 10 and the downlink
interface Ethernet 0/0/2 is added to VLAN 20.
It is required that PC1 in VLAN 10 can ping PC2 in VLAN 20.
3-32
common
enable
enable
Port: GigabitEthernet1/0/0
Port: GigabitEthernet2/0/0
Physical
UP
UP
Status
MAC Learning Broadcast/Multicast/Unicast Property
common
enable
enable
Port: GigabitEthernet1/0/5
Port: GigabitEthernet2/0/0
Physical
Figure
3-4, GE 1/0/1 of the S9300 is connected to the uplink interface of SwitchA.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
forward
forward
forward
forward
UP
UP
Configuration Guide - Ethernet
forward default
forward default
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents