Owner manual
Table Of Contents
- Contents
- Tables
- Preface
- Section I
- Basic Operations
- Chapter 1
- Starting a Command Line Management Session
- Chapter 2
- Basic Command Line Commands
- Chapter 3
- Basic Switch Commands
- DISABLE DHCPBOOTP
- DISABLE IP REMOTEASSIGN
- DISABLE TELNET
- ENABLE BOOTP
- ENABLE DHCP
- ENABLE IP REMOTEASSIGN
- ENABLE TELNET
- PING
- PURGE IP
- RESET SWITCH
- RESET SYSTEM
- RESTART REBOOT
- RESTART SWITCH
- SET ASYN
- SET IP INTERFACE
- SET IP ROUTE
- SET PASSWORD MANAGER
- SET PASSWORD OPERATOR
- SET SWITCH CONSOLETIMER
- SET SYSTEM
- SET TELNET INSERTNULL
- SET USER PASSWORD
- SHOW ASYN
- SHOW CONFIG DYNAMIC
- SHOW CONFIG INFO
- SHOW DHCPBOOTP
- SHOW IP INTERFACE
- SHOW IP ROUTE
- SHOW SWITCH
- SHOW SYSTEM
- Chapter 4
- Enhanced Stacking Commands
- Chapter 5
- Simple Network Time Protocol (SNTP) Commands
- Chapter 6
- SNMPv2 and SNMPv2c Commands
- Chapter 7
- Port Parameter Commands
- Chapter 8
- Port Statistics Commands
- Chapter 9
- MAC Address Table Commands
- Chapter 10
- Static Port Trunking Commands
- Chapter 11
- LACP Port Trunking Commands
- Chapter 12
- Port Mirroring Commands
- Chapter 13
- Networking Stack
- Section II
- Advanced Operations
- Chapter 14
- File System Commands
- Chapter 15
- File Download and Upload Commands
- Chapter 16
- Event Log and Syslog Server Commands
- Chapter 17
- Classifier Commands
- Chapter 18
- Access Control List Commands
- Chapter 19
- Class of Service (CoS) Commands
- Chapter 20
- Quality of Service (QoS) Commands
- ADD QOS FLOWGROUP
- ADD QOS POLICY
- ADD QOS TRAFFICCLASS
- CREATE QOS FLOWGROUP
- CREATE QOS POLICY
- CREATE QOS TRAFFICCLASS
- DELETE QOS FLOWGROUP
- DELETE QOS POLICY
- DELETE QOS TRAFFICCLASS
- DESTROY QOS FLOWGROUP
- DESTROY QOS POLICY
- DESTROY QOS TRAFFICCLASS
- PURGE QOS
- SET QOS FLOWGROUP
- SET QOS POLICY
- SET QOS PORT
- SET QOS TRAFFICCLASS
- SHOW QOS FLOWGROUP
- SHOW QOS POLICY
- SHOW QOS TRAFFICCLASS
- Chapter 21
- Denial of Service Defense Commands
- Section III
- IGMP Snooping, MLD Snooping, and RRP Snooping
- Chapter 22
- IGMP Snooping Commands
- Chapter 23
- MLD Snooping Commands
- Chapter 24
- RRP Snooping Commands
- Section IV
- SNMPv3
- Chapter 25
- SNMPv3 Commands
- ADD SNMPV3 USER
- CLEAR SNMPV3 ACCESS
- CLEAR SNMPV3 COMMUNITY
- CLEAR SNMPV3 NOTIFY
- CLEAR SNMPV3 TARGETADDR
- CLEAR SNMPV3 VIEW
- CREATE SNMPV3 ACCESS
- CREATE SNMPV3 COMMUNITY
- CREATE SNMPV3 GROUP
- CREATE SNMPV3 NOTIFY
- CREATE SNMPV3 TARGETADDR
- CREATE SNMPV3 TARGETPARAMS
- CREATE SNMPV3 VIEW
- DELETE SNMPV3 USER
- DESTROY SNMPv3 ACCESS
- DESTROY SNMPv3 COMMUNITY
- DESTROY SNMPv3 GROUP
- DESTROY SNMPv3 NOTIFY
- DESTROY SNMPv3 TARGETADDR
- DESTROY SNMPv3 TARGETPARMS
- DESTROY SNMPV3 VIEW
- PURGE SNMPV3 ACCESS
- PURGE SNMPV3 COMMUNITY
- PURGE SNMPV3 NOTIFY
- PURGE SNMPV3 TARGETADDR
- PURGE SNMPV3 VIEW
- SET SNMPV3 ACCESS
- SET SNMPV3 COMMUNITY
- SET SNMPV3 GROUP
- SET SNMPV3 NOTIFY
- SET SNMPV3 TARGETADDR
- SET SNMPV3 TARGETPARAMS
- SET SNMPV3 USER
- SET SNMPV3 VIEW
- SHOW SNMPV3 ACCESS
- SHOW SNMPV3 COMMUNITY
- SHOW SNMPv3 GROUP
- SHOW SNMPV3 NOTIFY
- SHOW SNMPV3 TARGETADDR
- SHOW SNMPV3 TARGETPARAMS
- SHOW SNMPV3 USER
- SHOW SNMPV3 VIEW
- Section V
- Spanning Tree Protocols
- Chapter 26
- Spanning Tree Protocol Commands
- Chapter 27
- Rapid Spanning Tree Protocols Commands
- Chapter 28
- Multiple Spanning Tree Protocol Commands
- Section VI
- Virtual LANs
- Chapter 29
- Port-based, Tagged, and Multiple Mode VLAN Commands
- Chapter 30
- GARP VLAN Registration Protocol Commands
- Chapter 31
- Protected Ports VLAN Commands
- Chapter 32
- MAC Address-based VLAN Commands
- Section VII
- Port Security
- Chapter 33
- MAC Address-based Port Security Commands
- Chapter 34
- 802.1x Port-based Network Access Control Commands
- Section VIII
- Management Security
- Chapter 35
- Web Server Commands
- Chapter 36
- Encryption Key Commands
- Chapter 37
- Public Key Infrastructure (PKI) Certificate Commands
- Chapter 38
- Secure Sockets Layer (SSL) Commands
- Chapter 39
- Secure Shell (SSH) Commands
- Chapter 40
- TACACS+ and RADIUS Commands
- Chapter 41
- Management ACL Commands
- Index
Chapter 29: Port-based, Tagged, and Multiple Mode VLAN Commands
520 Section VI: Virtual LANs
Tagged ports of the new VLAN remain as tagged and untagged members
of their current VLAN assignments. No change is made to a tagged port’s
current VLAN assignments, other than its addition to the new VLAN. This
is because a tagged port can belong to more than one VLAN at a time. For
example, if you add port 6 as a tagged port to a new VLAN, port 6 remains
a member of its other current untagged and tagged VLAN assignments.
Examples
The following command uses Syntax 1 to create a port-based VLAN called
Sales with a VID of 3. The VLAN will consist of ports 4 to 8 and ports 12 to
16. All ports will be untagged ports in the VLAN:
create vlan=Sales vid=3 ports=4-8,12-16 frame=untagged
The following command uses Syntax 2 to create the same VLAN:
create vlan=Sales vid=3 untaggedports=4-8,12-16
In the following command, Syntax 1 is used to create a tagged VLAN
called Production with a VID of 22. The VLAN will consist of two tagged
ports, ports 3 and 6:
create vlan=Production vid=22 ports=3,6 frame=tagged
The following command uses Syntax 2 to create the same VLAN:
create vlan=Sales vid=22 taggedports=3,6
You cannot use Syntax 1 to create a tagged VLAN that contains both
untagged and tagged ports. For instance, suppose you wanted to create a
VLAN called Service with a VID of 16 and untagged ports 1, 4, 5-7 and
tagged ports 11 and 12. Creating this VLAN using Syntax 1 would actually
require two commands. You would first need to create the VLAN,
specifying either the untagged or tagged ports. As an example, the
following command creates the VLAN and specifies the untagged ports:
create vlan=Service vid=16 ports=1,4,5-7 frame=untagged
Then, to add the other ports (in this case tagged ports), you would need to
use the ADD VLAN command.
Syntax 2 allows you to create a VLAN of both tagged and untagged ports
all in one command. Here is the command that would create our example:
create vlan=Service vid=16 untaggedports=1,4,5-7
taggedports=11-12
The advantage of Syntax 2 over Syntax 1 is that you can create VLANs
containing both types of ports with one rather than two commands.