beautypg.com

Vlan (cli) – Comtrol ES8508 Series User Guide User Manual

Page 164

background image

164 - VLAN (CLI)

RocketLinx ES8508 Series User Guide: 2000575 Rev. A

Configuration Using the Command Line Interface (CLI)

VLAN (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 ES8508 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

VLAN

on Page 89.

The following table provides detailed information about command lines for the VLAN.

VLAN Port Configuration

VLAN Port PVID

Switch(config-if)# switchport trunk native vlan 2

Set port default vlan id to 2 success

Port Accept Frame
Type

Switch(config)# inter fa1

Switch(config-if)# acceptable frame type all

any kind of frame type is accepted!

Switch(config-if)# acceptable frame type vlantaggedonly

only vlan-tag frame is accepted!

Ingress Filtering
(for Fast Ethernet
Port 1)

Switch(config)# interface fa1

Switch(config-if)# ingress filtering enable

ingress filtering enable

Switch(config-if)# ingress filtering disable

ingress filtering disable

Egress rule –
Untagged (for
VLAN 2)

Switch(config-if)# switchport access vlan 2

switchport access vlan - success

Egress rule –
Tagged (for VLAN
2)

Switch(config-if)# switchport trunk allowed vlan add 2

Display – Port Ingress
Rule (PVID, Ingress
Filtering, Acceptable
Frame Type)

Switch# show interface fa1

Interface fastethernet1

Administrative Status : Enable

Operating Status : Not Connected

Duplex : Auto

Speed : Auto

Flow Control :off

Default Port VLAN ID: 2

Ingress Filtering : Disabled

Acceptable Frame Type : All

Port Security : Disabled

Auto Negotiation : Enable

Loopback Mode : None

STP Status: disabled

Default CoS Value for untagged packets is 0.

Mdix mode is Auto.

Medium mode is Copper.