EasyManua.ls Logo

Huawei quidway s7700 - Page 147

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 GE1/0/1 of the Switch needs to be added to VLAN 10 and VLAN 20.
l The IP address of VLANIF10 on the Switch is 10.10.10.1/24.
l The IP address of VLANIF20 on the Switch is 20.20.20.1/24.
l GE1/0/1of SwitchA needs to be added to VLAN 10 and VLAN 20.
l GE1/0/2 of SwitchA needs to be added to VLAN 10.
l GE1/0/3 of SwitchA needs to be added to VLAN 20.
Procedure
Step 1 # Configure the Switch.
# Create VLANs.
<Quidway> system-view
[Quidway] vlan batch 10 20
# Add GE1/0/1 to VLANs.
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port link-type trunk
[Quidway-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 20
[Quidway-GigabitEthernet1/0/1] quit
# Assign IP addresses to VLANIF interfaces.
[Quidway] interface vlanif 10
[Quidway-Vlanif10] ip address 10.10.10.1 24
[Quidway-Vlanif10] quit
[Quidway] interface vlanif 20
[Quidway-Vlanif20] ip address 20.20.20.1 24
[Quidway-Vlanif20] quit
Step 2 Configure SwitchA.
# Create VLANs.
<Quidway> system-view
[Quidway] vlan batch 10 20
# Add interfaces to VLANs.
[Quidway] interface gigabitethernet 1/0/1
[Quidway-GigabitEthernet1/0/1] port link-type trunk
[Quidway-GigabitEthernet1/0/1] port trunk allow-pass vlan 10 20
[Quidway-GigabitEthernet1/0/1] quit
[Quidway] interface gigabitethernet 1/0/2
[Quidway-GigabitEthernet1/0/2] port link-type access
[Quidway-GigabitEthernet1/0/2] port default vlan 10
[Quidway-GigabitEthernet1/0/2] quit
[Quidway] gigabitethernet 1/0/3
[Quidway-GigabitEthernet1/0/2] port link-type access
[Quidway-GigabitEthernet1/0/2] port default vlan 20
[Quidway-GigabitEthernet1/0/3] quit
Step 3 Verify the configuration.
On PC1 in VLAN 10, set the default gateway address to 10.10.10.1/24, which is the IP address
of VLANIF10.
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.
130

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals