Ruijie Networks RG-S2600E Series Cli Reference Manual page 150

Table of Contents

Advertisement

S2600E/P CLI Reference Guide
Related
commands
5.1.5
switchport trunk
Use this command to specify a native VLAN and the allowed-VLAN list for the
trunk port. Use the no form of the command to restore the default setting.
switchport trunk {allowed vlan { all | [add | remove | except] vlan-list }|
native vlan vlan-id}
no switchport trunk {allowed vlan | native vlan }
Parameter
description
Default
configuration
Chapter 5 VLAN Configuration Commands
Command
Description
Use this command to configure an
switchport
interface as a statics access port and
access
assign it to a VLAN.
Use this command to specify a native
switchport
VLAN and the allowed-VLAN list for the
trunk
trunkport.
Parameter
Description
Configure the list of VLANs allowed on
the trunk port. vlan-list can be a VLAN
or a range of VLANs starting with the
smaller VLAN ID and ending with the
larger VLAN ID and being separated by
hyphen, for example, 10 to 20. The
segments can be separated with a
comma (,), for example, 1 to 10, 20 to
25, 30, 33.
allowed vlan
all means that the allowed VLAN list
vlan-list
contains all the supported VLANs;
add means to add the specified VLAN
list to the allowed VLAN list;
remove means to remove the specified
VLAN list from the allowed VLAN list;
except means to add all the VLANs
other than those in the specified VLAN
list to the allowed VLAN list;
native vlan
Specify the native VLAN.
vlan-id
The default allowed-VLAN list is all the VLANs, the default
native VLAN is VLAN 1.

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RG-S2600E Series and is the answer not in the manual?

Questions and answers

Table of Contents