Ruijie Networks RG-S2600E Series Cli Reference Manual page 148

Table of Contents

Advertisement

S2600E/P CLI Reference Guide
guidelines
Examples
Related
commands
5.1.3
switchport access
Use this command to configure an interface as a statics access port and assign
it to a VLAN. Use the no form of the command to assign the port to the default
VLAN.
switchport access vlan vlan-id
no switchport access vlan
Parameter
description
Default
configuration
Command
mode
Usage
guidelines
Examples
Related
commands
Chapter 5 VLAN Configuration Commands
command.
Ruijie(config)# vlan 10
Ruijie(config-vlan)# name vlan10
Command
Description
Show member ports of the VLAN.
show vlan
Parameter
Description
The VLAN ID at which the port to be
vlan-id
added.
By default, the switch port is an access port and the VLAN
is VLAN 1.
Interface configuration mode.
Enter one VLAN ID. The system will create a new one and
add the interface to the VLAN if you enter a new VLAN ID.
If the VLAN ID already exists, the command adds the port
to the VLAN.
If the port is a trunk port, the operation does not take
effect.
Ruijie(config)# interface gigabitethernet 1/1
Ruijie(config-if)# switchport access vlan 2
Command
Description
Specify the interface as Layer 2 mode
switchport
(switch port mode).
mode

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