EasyManuals Logo

H3C S3100 Series User Manual

H3C S3100 Series
1057 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
Page #867 background imageLoading...
Page #867 background image
1-9
Figure 1-6 Network diagram for many-to-one VLAN mapping configuration
……
Configuration Procedure
Configuring Many-to-One VLAN Mapping
# Create VLAN 1 (which exits by default), VLAN 2, and VLAN 3, and the target VLANs (VLAN 1001 and
VLAN 2001) on Switch A.
<SwitchA> system-view
[SwitchA] vlan 2 to 3
[SwitchA] vlan 1001 to 1003
[SwitchA] vlan 2001 to 2003
# Configure Ethernet 1/0/1 as a trunk port, and assign it to VLANs 1 through 3.
[SwitchA] interface Ethernet 1/0/1
[SwitchA-Ethernet1/0/1] port link-type trunk
[SwitchA-Ethernet1/0/1] port trunk permit vlan 1 to 3
# Assign Ethernet 1/0/1 to VLAN 1001, the target VLAN.
[Sysname-Ethernet1/0/1] port trunk permit vlan 1001
# Define a many-to-one VLAN mapping rule on Ethernet 1/0/1 to map original VLANs 1 through 3 to
target VLAN 1001.
[Sysname-Ethernet1/0/1] vlan-mapping n-to-1 vlan 1 remark 1001
[Sysname-Ethernet1/0/1] vlan-mapping n-to-1 vlan 2 remark 1001
[Sysname-Ethernet1/0/1] vlan-mapping n-to-1 vlan 3 remark 1001
[Sysname-Ethernet1/0/1] quit
# Configure many-to-one VLAN mapping on port Ethernet 1/0/2 in the same way.
[SwitchA] interface Ethernet 1/0/2
[SwitchA-Ethernet1/0/2] port link-type trunk
[SwitchA-Ethernet1/0/2] port trunk permit vlan 1 to 3
[SwitchA-Ethernet1/0/2] port trunk permit vlan 2001
[Sysname-Ethernet1/0/2] vlan-mapping n-to-1 vlan 1 remark 2001
[Sysname-Ethernet1/0/2] vlan-mapping n-to-1 vlan 2 remark 2001
[Sysname-Ethernet1/0/2] vlan-mapping n-to-1 vlan 3 remark 2001
[Sysname-Ethernet1/0/2] quit
# Configure GigabitEthernet 1/1/1 as a trunk port, and assign it to VLANs 1001 and 2001.

Table of Contents

Other manuals for H3C S3100 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the H3C S3100 Series and is the answer not in the manual?

H3C S3100 Series Specifications

General IconGeneral
BrandH3C
ModelS3100 Series
CategorySwitch
LanguageEnglish

Related product manuals