Technical data

Configuring VLANs 51
[SW7700-vlan2] vlan 3
4 Add Ethernet1/0/3 and Ethernet1/0/4 to VLAN3.
[SW7700-vlan3] port ethernet1/0/3 to ethernet1/0/4
Example:
Protocol-Based VLAN
Configuration
From port G1/0/1, all the traffic with source IP 10.0.0.1 will belong to VLAN 2 and
any other IP traffic will belong to VLAN 3. If we configure port G1/0/2 in VLAN 2,
the traffic with source IP 10.0.0.1 will be sent from port G1/0/2. If we configure
port G1/0/3 in VLAN 3, any other IP traffic will be sent out form port G1/0/3.
Figure 3 Protocol-Based VLAN Configuration Example
1 Configure port G1/0/1 as hybrid port and allow VLAN 2 and VLAN 3 to pass.
[SW7700-GigabitEthernet1/0/1]port link-type hybrid
[SW7700-GigabitEthernet1/0/1]display th
#
interface GigabitEthernet1/0/1
port link-type hybrid
port hybrid vlan 1 untagged
#
return
[SW7700-GigabitEthernet1/0/1]port hybrid vlan 2 to 3 t
[SW7700-GigabitEthernet1/0/1]display th
#
interface GigabitEthernet1/0/1
port link-type hybrid
port hybrid vlan 2 to 3 tagged
port hybrid vlan 1 untagged
#
return
VLAN 2
VLAN 3
G 1/0/2
G 1/0/3
G 1/0/1