Vlan port-based (cli) – Comtrol ES7506 User Manual
Page 126

126 - RocketLinx ES7506 User Guide: 2000529 Rev. F
VLAN Port-Based (CLI)
VLAN Port-Based (CLI)
VLAN Port-Based (CLI)
A Virtual LAN (VLAN) is a logical grouping of nodes for the purpose of limiting a broadcast domain to specific
members of a group without physically grouping the members. The VLAN allows you to isolate network traffic
so that only members of the VLAN could receive traffic from the same VLAN members. Basically, creating a
VLAN from a switch is the logical equivalent of physically reconnecting a group of network devices to another
Layer 2 switch, without actually disconnecting these devices from their original switches.
The ES7506 supports IEEE 802.1Q VLAN, which is also known as Tag-Based VLAN. This Tag-Based VLAN
allows a VLAN to be created across different switches. IEEE 802.1Q tag-based VLAN makes use of VLAN
control information stored in a VLAN header attached to IEEE 802.3 packet frames. This tag contains a
VLAN Identifier (VID) that indicates which VLAN a frame belongs to. Since each switch only has to check a
frame’s tag, without the need to dissect the contents of the frame, this also saves a lot of computing resources
within the switch.
Optionally, you can use the web user interface for configuration, see
The following table provides detailed information about command lines for VLAN port configuration, VLAN
configuration, and VLAN table display.
VLAN Port Configuration
Displays the
current port based
vlan configuration
for each port, which
include the default
PVID, the ports for
forwarding, and the
egress mode of the
port.
show vlan
ex:
Switch# sh vlan
Port-based vlan mode:
Port PVID EgressMode Egress Ports
---- ---- ---------- ----------------------------
fa1 1 Tagged fa2-3
fa2 1 Untagged fa3-4
fa3 1 Untagged fa1-2,fa4-6
fa4 1 Untagged fa1-3,fa5-6
fa5 3 Untagged fa1-4,fa6
fa6 1 Untagged fa1-5
Switch#
The ports where the
frame comes in to
this port are
allowed to forward
to.
switchport port-based-vlan egress-ports [IFLIST]
ex: port 1 can forward packet to port 2,3
Switch(config-if)# switchport port-based-vlan egress-ports fa2,fa3
Set port-based vlan success
Assign default
PVID for this port
switchport trunk native vlan VID
ex: assign VID 1 to port 1
Switch# configure terminal
Switch(config)# interface fa1
Switch(config-if)# switchport trunk native vlan 1
Set port default vlan id to 1 success
Switch(config-if)#
Specify when a
frame that is
egressing from this
port should be
tagged, untagged or
unmodified
switchport port-based-vlan mode (untagged|tagged|unmodified)
ex: Egress packet of port 1 with tagged.
Switch(config-if)# switchport port-based-vlan mode tagged
Set port-based vlan mode success