EasyManua.ls Logo

Huawei quidway s7700 - Page 141

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...
Data Preparation
To complete the configuration, you need the following data:
l VLANs to which GE1/0/1 needs to be added in untagged mode: VLAN 100, VLAN 200,
and VLAN 300
l VLANs to which GE1/0/2, GE1/0/3, and GE1/0/4 need to be added in tagged mode
respectively: VLAN 100, VLAN 200, and VLAN 300
l Configuration data for IP subnet-based VLAN assignment, as shown in Table 3-9
Table 3-9 Configuration data for IP subnet-based VLAN assignment
VLAN ID IP Subnet
Index
Source IP
Address
Subnet Mask 802.1p Priority
100 1 192.168.1.2 255.255.255.0 2
200 1 192.168.2.2 255.255.255.0 3
300 1 192.168.3.2 255.255.255.0 4
Procedure
Step 1 Create VLANs.
# Create VLAN 100, VLAN 200, and VLAN 300 on the Switch.
<Quidway> system-view
[Quidway] vlan batch 100 200 300
Step 2 Configure interfaces.
# Set the link type of GE1/0/1 to hybrid and add it to VLAN 100, VLAN 200, and VLAN 300.
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port link-type hybrid
[Quidway-GigabitEthernet1/0/1] port hybrid untagged vlan 100 200 300
[Quidway-GigabitEthernet1/0/1] quit
# Add GE1/0/2 of the Switch to VLAN 100.
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port link-type trunk
[Quidway-GigabitEthernet1/0/2] port trunk allow-pass vlan 100
[Quidway-GigabitEthernet1/0/2] quit
# Add GE1/0/3 of the Switch to VLAN 200.
[Quidway] interface gigabitethernet 1/0/3
[Quidway-GigabitEthernet1/0/3] port link-type trunk
[Quidway-GigabitEthernet1/0/3] port trunk allow-pass vlan 200
[Quidway-GigabitEthernet1/0/3] quit
# Add GE1/0/4 of the Switch to VLAN 300.
[Quidway] interface gigabitethernet 1/0/4
[Quidway-GigabitEthernet1/0/4] port link-type trunk
[Quidway-GigabitEthernet1/0/4] port trunk allow-pass vlan 300
[Quidway-GigabitEthernet1/0/4] quit
# Enable IP subnet-based VLAN assignment on GE1/0/1.
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.
124

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals