Configuring VLANs on the Switch
Summit24e3 Switch Installation and User Guide
85
Renaming a VLAN
To rename an existing VLAN, use the following command:
config vlan <old_name> name <new_name>
The following rules apply to renaming VLANs:
•
Once you change the name of the default VLAN, it cannot be changed back to default.
•
You cannot create a new VLAN named default.
•
You cannot change the VLAN name MacVlanDiscover. Although the switch accepts a name change,
once it is rebooted, the original name is recreated.
Configuring VLANs on the Switch
This section describes the commands associated with setting up VLANs on the switch. Configuring a
VLAN involves the following steps:
1
Create and name the VLAN.
2
Assign an IP address and mask (if applicable) to the VLAN, if needed.
NOTE
Each IP address and mask assigned to a VLAN must represent a unique IP subnet. You cannot
configure the same IP subnet on different VLANs.
3
Assign a VLANid, if any ports in this VLAN will use a tag.
4
Assign one or more ports to the VLAN.
As you add each port to the VLAN, decide if the port will use an 802.1Q tag.
VLAN Configuration Commands
Table 23 describes the commands used to configure a VLAN.
Table 23: VLAN Configuration Commands
Command
Description
config vlan <name> add port <portlist> {tagged
| untagged} {nobroadcast}
Adds one or more ports to a VLAN. You can
specify tagged port(s), untagged port(s).
Specify
nobroadcast
to prevent the switch
from forwarding broadcast, multicast, and
unknown unicast traffic. By default, ports are
untagged.
config vlan <name> delete port <portlist>
{tagged | untagged} {nobroadcast}
Deletes one or more ports from a VLAN.
config vlan <name> ipaddress <ipaddress>
{<mask>}
Assigns an IP address and an optional mask to
the VLAN.
config vlan <name> tag <vlanid>
Assigns a numerical VLANid. The valid range
is from 2 to 4094 (1 is used by the default
VLAN).
Summary of Contents for Summit Summit24
Page 12: ...12 Contents Summit24e3 Switch Installation and User Guide Index Index of Commands ...
Page 14: ...14 Figures Summit24e3 Switch Installation and User Guide ...
Page 24: ...24 Summit24e3 Switch Installation and User Guide Summit24e3 Switch Overview ...
Page 32: ...32 Summit24e3 Switch Installation and User Guide Switch Installation ...
Page 78: ...78 Summit24e3 Switch Installation and User Guide Configuring Ports on a Switch ...
Page 118: ...118 Summit24e3 Switch Installation and User Guide Network Address Translation NAT ...
Page 132: ...132 Summit24e3 Switch Installation and User Guide Ethernet Automatic Protection Switching ...
Page 146: ...146 Summit24e3 Switch Installation and User Guide Quality of Service QoS ...
Page 158: ...158 Summit24e3 Switch Installation and User Guide Status Monitoring and Statistics ...
Page 204: ...204 Summit24e3 Switch Installation and User Guide Interior Gateway Routing Protocols ...
Page 212: ...212 Summit24e3 Switch Installation and User Guide Safety Information ...
Page 216: ...216 Summit24e3 Switch Installation and User Guide Supported Standards ...
Page 238: ...238 Index Summit24e3 Switch Installation and User Guide ...
Page 244: ...244 Index of Commands Summit24e3 Switch Installation and User Guide ...