EasyManuals Logo

Ruijie RG-S2600G-I Series User Manual

Ruijie RG-S2600G-I Series
1192 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #222 background imageLoading...
Page #222 background image
CLI ReferenceInterface Configuration Commands VLAN Configuration Commands
VLAN Configuration Commands
add
Use this command to add one or a group Access interface into current VLAN. Use the no form of the
command to remove the Access interface.
add interface { interface-id | range interface-range }
no add interface { interface-id | range interface-range }
Parameter
Description
Parameter
Description
interface-id
Layer-2 Ethernet interface or layer-2 AP port.
range interface-range
Range of the Layer-2 Ethernet interface or layer-2 AP port.
Defaults
All layer-2 Ethernet interfaces are in the VLAN1.
Command
mode
VLAN configuration mode.
Usage Guide
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 command). 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.
Configuration
Examples
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 Mode Access Native Protected VLAN lists
---------- -------- ----- ----- ---- ---------- -------
GigabitEthernet 0/10 enabled ACCESS 20 1 Disabled ALL
The following example adds the interface range 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

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

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

Ruijie RG-S2600G-I Series Specifications

General IconGeneral
BrandRuijie
ModelRG-S2600G-I Series
CategorySwitch
LanguageEnglish

Related product manuals