Ruijie Networks RG-S2600E Series Cli Reference Manual page 98

Table of Contents

Advertisement

S2600E/P CLI Reference Guide
no switchport mode
Parameter
description
Default
configuration
Command
mode
Usage
guidelines
Examples
Related
commands
1.1.19
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 it to the default setting.
switchport trunk {allowed vlan {all | [add | remove | except] vlan-list }| native
vlan vlan-id}
no switchport trunk {allowed vlan | native vlan}
Chapter 1 Interface Configuration Commands
Parameter
Description
Configure the switch port as an access
access
port.
Configure the switch port as a trunk port.
trunk
The default mode of switch port is access port.
Interface configuration mode.
If a switch port mode is access port, it can be the member
port of only one VLAN. Use switchport access vlan to
specify the member of the VLAN.
A trunk port can be the member port of various VLANs
defined by the allowed-VLAN list. The allowed VLAN list of
the interface determines the VLANs to which the interface
may belong. The trunk port is the member of all the VLANs
in the allowed VLAN list. Use switchport trunk to define
the allowed-VLANs list.
Ruijie(config-if)# switchport mode trunk
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
VLAN and the allowed-VLAN list for
switchport trunk
the trunk port.

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?

Table of Contents