Specifications

Configuring VLANs
March 15, 2011 Page 13 of 20
6. (cont)
•If forbidden is not specified, tagged and
untagged egress settings will be cleared from
the designated ports.
Dynamic configuration:
By default, dynamic egress is disabled on all
VLANs. If dynamic egress is enabled for a
VLAN, the device will add the port receiving a
frame to the VLAN’s egress list as untagged
according to the VLAN ID of the received frame.
set vlan dynamicegress vlan-id
{enable | disable}
7. (Applies to N -Series, S-Series, K-Series only.)
Optionally, set VLAN constraints to control the
filtering database a VLAN will use for forwarding
traffic. Filtering databases can be shared or
independent.
By default, filtering databases are independent.
set vlan constraint vlan-id set-
num [shared | independent]
8. Optionally, enable ingress filtering on a port to
drop those incoming frames that do not have a
VLAN ID that matches a VLAN ID on the port’s
egress list.
set port ingress-filter port-
string enable
9. Optionally, choose to discard tagged or
untagged, (or both) frames on selected ports.
Select none to allow all frames to pass through.
set port discard port-string
{tagged | untagged | none | both}
10. (Applies to stackable and standalone switches
only.)
Optionally, configure protected ports. This
prevents ports from forwarding traffic to each
other, even when they are on the same VLAN.
The group-id value identifies the assigned ports
and can range from 0 to 2.
You can also set a protected port group name of
up to 32 characters in length.
set port protected port-string
group-id
set port protected name group-id
name
11. If the device supports routing, enter router
configuration mode and configure an IP address
on the VLAN interface, as shown in the following
sub-steps:
11a. X-Series configuration: router
configure
interface vlan.1.vlan_id
ip address ip-address/maxlen
no shutdown
11b. Stackable /Standalone configuration: router
enable
configure terminal
interface vlan vlan_id
ip address
ip-address ip-mask
no shutdown
Procedure 1 Static VLAN Configuration (continued)
Step Task Command(s)