S2600E/P CLI Reference Guide Chapter 5 VLAN Configuration Commands
Usage
guidelines
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
v
lan-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.
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
VLAN Name Status Ports
---- ------- ------------
----------------------------
1 VLAN0001 STATIC
Gi0/11,Gi0/12,Gi0/13,Gi0/1
4,Gi0/15,
Gi0/16,Gi0/17,Gi0/18,Gi0/1
9,Gi0/20,Gi0/21, Gi0/22,
Содержание RG-S2600E Series
Страница 1: ...CLI Reference Guide RG S2600E Series Switch RGOS 10 4 3 p1 1...
Страница 5: ...Basic Configuration...
Страница 83: ...Ethernet Switching...
Страница 240: ...IPApplication...
Страница 263: ...S2600E P CLI Reference Guide Chapter 1 IP Address Configuration Commands Platform description...
Страница 317: ...S2600E P CLI Reference Guide Chapter 5 DHCP Relay Configuration Commands Platform description...
Страница 335: ...Network Management and Monitoring...
Страница 361: ...S2600E CLI Reference Guide Chapter 1 SNMP Configuration Command Platform description Supported by switches only...
Страница 408: ...S2600E CLI Reference Guide Chapter 5 SPAN Configuration Commands...
Страница 415: ...S2600E CLI Reference Guide Chapter 6 RSPAN Configuration Commands Platform description N A...
Страница 416: ...Multicast Commands...
Страница 449: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands Example3 Example4...
Страница 450: ...S2600E P CLI Reference Guide Chapter 1 IGMP Snooping Commands...
Страница 477: ...Security...
Страница 526: ...S2600E CLI Reference Guide Chapter 1 AAA Configuration Commands Platform description Supported by switch products only...
Страница 656: ...S2600E CLI Reference Guide Chapter 5 Web Authentication Configuration Commands Configuration Example...
Страница 735: ...S2600E CLI Reference Guide Chapter 10 DHCP Snooping Configuration Commands Examples Command Description Related commands...
Страница 877: ...S2600E CLI Reference Guide Chapter 16 Ruijie Switch Security Compatible Mode Configuration Commands...
Страница 878: ...ACL QOS...
Страница 953: ...Reliability...
Страница 985: ...S2600E CLI Reference Guide Chapter 4 Warm Reload Upgrade Configuration Commands Platform Description None...
Страница 1011: ...S2600E CLI Reference Guide Chapter 5 SRM Configuration Commands Command Description Related commands Platform description...
Страница 1012: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 GRTD Configuration Commands 6 1 Configuration Related Commands...
Страница 1024: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1027: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description 6 2 Test Related Commands...
Страница 1029: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands commands None Platform description...
Страница 1031: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands Platform description...
Страница 1035: ...S2600E CLI Reference Guide Chapter 6 GRTD Configuration Commands 6 3 Display Related Commands...
Страница 1121: ...System Management...