Command Reference Interface Commands
Usage Guide
The ports that are set as the protected ports cannot switch on L2, but can route on L3. A protected
port can communicate with an unprotected port. Use the
show interfaces
command to display
configuration.
Configuration
Examples
The following example configures interface
gigabitethernet 1/1 as a protected port.
Ruijie(config)#interface gigabitethernet 1/1
Ruijie(config-if)# switchport protected
Related
Commands
Command
Description
show interfaces
Displays the interface information.
Platform
Description
N/A
1.37 switchport trunk
Use this command to specify a native VLAN and the allowed-VLAN list for the trunk port. Use the
no
form of this 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
Parameter
Description
allowed vlan
vlan-list
Configures 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.
all means that the allowed 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
vlan-id
Configures the native VLAN.
Defaults
The allowed VLAN list is all, the Native VLAN is VLAN1.
Command
Mode
Interface configuration mode.
Содержание RG-S29 Series
Страница 1: ...RG S29 Series Switch RGOS Command Reference Release 11 4 1 B12...
Страница 10: ...Command Reference Command Line Interface Commands Platform Description N A...
Страница 93: ...Command Reference Line Commands Description...
Страница 236: ...Command Reference PoE Management Commands Related Commands Command Description N A N A Platform Description N A...
Страница 248: ...Command Reference PKG_MGMT Commands...
Страница 332: ...Command Reference Protocol VLAN Commands Commands N A N A Platform Description...
Страница 350: ...Command Reference Voice VLAN Commands Description...
Страница 430: ...Command Reference LLDP Commands Description...
Страница 467: ...Command Reference ERPS Commands Commands N A N A Platform Description N A...
Страница 541: ...Command Reference IPv6 Commands Platform Description N A...
Страница 858: ...Command Reference NSM Commands Description N A N A Defaults N A Command Mode Privileged EXEC mode Usage guideline N A...
Страница 914: ...Multicast Commands 1 IPv4 Multicast Routing Commands 2 IGMP Snooping Commands...
Страница 1092: ...Configuration Guide SCC Commands Platforms N A...
Страница 1196: ...Configuration Guide IPv6 Source Guard Commands Platform Description N A...
Страница 1290: ...ACL QoS Configuration Commands 1 ACL Commands 2 QoS Commands...