Ruijie Networks RG-S2600E Series Cli Reference Manual page 146

Table of Contents

Advertisement

S2600E/P CLI Reference Guide
Usage
guidelines
Examples
Chapter 5 VLAN Configuration Commands
This command is only valid for the access port.
The configuration of this command is the same as
specifying the VLAN to which interface belongs in the
interface configuration mode (that is the switchport
access vlan vlan-id). For the two commands of
adding the interface to the VLAN, the command
configured later will overwrite the one configured
before and take effect.
The configuration of adding the layer-2 AP into
current VLAN through this command will only take
effect for the layer-2 AP port, but not for the member
port of the layer-2 AP port.
The following example adds the interface GigabitEthernet
0/10 into the VLAN20.
Ruijie# configure terminal
SwitchA(config)#vlan 20
SwitchA(config-vlan)#add interface GigabitEthernet 0/10
Ruijie# show interface GigabitEthernet 0/10 switchport
Interface
Switchport
VLAN lists
----------
--------
-------
GigabitEthernet 0/10 enabled
ALL
The
following
example
GigabitEthernet 0/1-10 into the VLAN200.
Ruijie# configure terminal
SwitchA(config)#vlan 200
SwitchA(config-vlan)#add interface range GigabitEthernet
0/1-10
Ruijie# show vlan
SwitchA#show vlan
VLAN Name
Status
----
-------
----------------------------
1
VLAN0001
Mode
Access
Native Protected
-----
-----
---- ----------
ACCESS
20
1
adds
the
interface
Ports
------------
Gi0/11,Gi0/12,Gi0/13,Gi0/1
4,Gi0/15,
Gi0/16,Gi0/17,Gi0/18,Gi0/1
9,Gi0/20,Gi0/21,
Disabled
range
STATIC
Gi0/22,

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