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
remove
Removes the trunk/uplink port from the VLAN port.
except
Removes the trunk/uplink port from the VLAN and adds the port to all
the other VLANs.
only
Adds the trunk/uplink port to the specified VLAN and removes the
port from the VLANs not on the VLAN list.
vlan-list
Specifies the VLAN.
Defaults
The trunk/unlink port is in all VLANs by default.
Command
mode
Interface configuration mode.
Usage Guide
A trunk/uplink port transmits all VLAN (1-4094) data by default. You can block some VLAN data by
configuring this command. Use the show interfaces command to display configuration.
Configuration
Examples
The following example removes trunk port GigabitEthernet 0/10 from VLAN 2.
Ruijie(config)# interface gigabitEthernet 0/10
Ruijie(config-if-GigabitEthernet 0/10)# switchport mode trunk
Ruijie(config-if-GigabitEthernet 0/10)# switchport trunk allowed vlan remove
2
The following example removes trunk port GigabitEthernet 0/10 from VLAN 2.
Ruijie(config)# interface gigabitEthernet 0/10
Ruijie(config-if-GigabitEthernet 0/10)# switchport trunk allowed vlan except
10
The following example removes uplink port GigabitEthernet 0/10 from VLAN 10.
Ruijie(config)# interface gigabitEthernet 0/10
Ruijie(config-if-GigabitEthernet 0/10)# switchport mode uplink
Ruijie(config-if-GigabitEthernet 0/10)# switchport trunk allowed vlan remove
10
The following example adds uplink port GigabitEthernet 0/10 to all VLANs except VLAN10.
Ruijie(config)# interface gigabitEthernet 0/10
Ruijie(config-if-GigabitEthernet 0/10)# switchport trunk allowed
vlan except 10
Related
Commands
Command
Description
N/A
N/A
Platform
Description
N/A

Table of Contents

Related product manuals