EasyManua.ls Logo

Ruijie RG-S29 Series

Ruijie RG-S29 Series
1510 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...
Command Reference VLAN Commands
Platform
Description
N/A
4.5 switchport hybrid allowed
Use this command to add the port to the VLAN or remove the port from the VLAN, Use the no or
default form of this command to restore the default setting.
switchport hybrid allowed vlan { { [ add | only ] tagged vlist | [ add ] untagged vlist } | remove
vlist }
no switchport hybrid allowed vlan
default switchport hybrid allowed vlan
Parameter
Description
Parameter
Description
add
Adds the port to the VLAN.
only
Adds the port to the VLAN and removes the port from the VLANs not
on the VLAN list.
tagged
Adds the port to the VLAN and the VLAN packets going out on the
port are tagged with VLAN ID.
untagged
Adds the port to the VLAN and the VLAN packets going out on the
port are not tagged with VLAN ID.
remove
Removes the port from the VLAN.
vlist
Specifies the VLAN.
Defaults
By default, the hybrid port is in all VLANs. All VLAN packets (except native VLAN packets) going out
on the port are tagged with VLAN ID. Native VLAN packets are not tagged with VLAN ID.
Command
mode
Interface configuration mode
Usage Guide
N/A
Configuration
Examples
The following example adds the hybrid port to VLAN 20 and VLAN 30 and the VLAN packets going
out on the port are not tagged with VLAN ID.
Ruijie(config)# interface gigabitEthernet 0/1
Ruijie(config-if-GigabitEthernet 0/1)# switchport mode hybrid
Ruijie(config-if-GigabitEthernet 0/1)#switchport hybrid allowed vlan untagged
20
Ruijie(config-if-GigabitEthernet 0/1)#switchport hybrid allowed vlan add
untagged 30
The following example adds the hybrid port to VLAN 40 and VLAN 50 and the VLAN packets going
out on the port are tagged with VLAN ID,

Table of Contents

Related product manuals