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.
Summary of Contents for S3100 Series
Page 74: ...7 7 Sysname ip http acl 2030...
Page 270: ...1 51 Sysname GigabitEthernet1 0 1 port trunk permit vlan all...
Page 579: ...ii Configuration Example 2 4 QoS Profile Configuration Example 2 4...
Page 713: ...1 22 Total associations 1...
Page 823: ...1 16...
Page 1054: ...i Table of Contents Appendix A Acronyms A 1...