Deployment Guide – ExtremeXOS, NetSight, NAC on BlackDiamond X8, BlackDiamond 8K, Summit Switches
© Extreme Networks, Inc. All rights reserved. 13
VLANs and VRs
As mentioned before, by default, all ports are enabled and in the “Default” VLAN. To add ports
to other user-defined VLANs, these ports must be first removed from the default VLAN. To do
this, use the commands:
configure vlan default delete ports all
Tagging and untagging VLANs on ports is one way the switch handles and directs traffic on
multiple subnets. The best way to remember whether the port needs to be tagged or untagged
is what the port’s purpose will be. Generally speaking, an untagged port is plugged into an end-
user device, such as a PC or a printer. A tagged port is a trunk port that is used to transport
multiple VLANs over a common single Ethernet link. Tagged ports are uplink/downlink ports.
Each port can have one VLAN untagged and multiple VLANs tagged.
The following are examples. If a port is added to a VLAN without specifying “tagged” or
“untagged” keyword, it defaults to add as untagged.
create vlan Red
configure Red ipaddress 10.1.10.1/24
configure Red tag 10
configure Red add ports 1-12 untagged
configure Red add ports 1 tag
create vlan Blue
configure Blue ipaddress 10.1.20.1/24
configure Blue tag 20
configure Blue add ports 1:1-1:12, 5:1 tagged
Notice the difference in the port numbering scheme, which is because ExtremeXOS runs on
both standalone and modular switches. On a standalone switch, such as a Summit family
switch, the port number is simply noted by the physical port number (e.g., port 1, as seen
above). On a modular switch and SummitStack, the port number is a combination of the slot
number and the port number (e.g., port 1:1, as seen above).
VLANs are in the context of Virtual Routers (VRs), and by default they are in the VR-Default VR.
If you want to use different VRs for more strict logical separation, you need to delete the ports
from the default and added to the user-defined VR.
For example, to move port 34 from VR-Default to VR-New and add it to a new VLAN in that VR:
configure vr VR-Default delete ports 34
create vr VR-New
configure vr VR-New add ports 34
create vlan Blue vr VR-New
configure vlan “Blue” add ports 34
To view configured VLANs and VRs through CLI, use the commands
show vlan
show vr
Comentarios a estos manuales