Vlan Configuration Example - H3C S5500-SI Series Operation Manual

Vlan
Hide thumbs Also See for S5500-SI Series:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S5500-SI Series Ethernet Switches

1.7 VLAN Configuration Example

I. Network requirements
Device A connects to Device B through Trunk port GigabitEthernet 1/0/1;
The default VLAN ID of the port is 100;
This port allows packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100
to pass through.
II. Network diagram
Figure 1-4 Network diagram for port-based VLAN configuration
III. Configuration procedure
1)
Configure Device A
# Create VLAN 2, VLAN 6 through VLAN 50, and VLAN 100.
<DeviceA> system-view
[DeviceA] vlan 2
[DeviceA-vlan2] quit
[DeviceA] vlan 100
[DeviceA-vlan100] vlan 6 to 50
Please wait... Done.
# Enter GigabitEthernet 1/0/1 port view.
[DeviceA] interface GigabitEthernet 1/0/1
# Configure GigabitEthernet 1/0/1 as a Trunk port and configure its default VLAN ID as
100.
[DeviceA-GigabitEthernet1/0/1] port link-type trunk
[DeviceA-GigabitEthernet1/0/1] port trunk pvid vlan 100
# Configure GigabitEthernet 1/0/1 to deny the packets of VLAN 1 (by default, the
packets of VLAN 1 are permitted on all the ports).
[DeviceA-GigabitEthernet1/0/1] undo port trunk permit vlan 1
# Configure packets from VLAN 2, VLAN 6 through VLAN 50, and VLAN 100 to pass
through GigabitEthernet 1/0/1.
[DeviceA-GigabitEthernet1/0/1] port trunk permit vlan 2 6 to 50 100
Please wait... Done.
2)
Configure Device B following similar steps as that of Device A.
1-13
Chapter 1 VLAN Configuration

Advertisement

Table of Contents
loading

Table of Contents