
Example
Console(config)#vlan database
Console(config-vlan)#vlan 105 name RD5 media ethernet
Console(config-vlan)#exit
Console(config)#interface ethernet 1/1
Console(config-if)#switchport allowed vlan add 105,7,9 tagged
Console(config-if)#exit
Console(config)#exit
Console#show vlan id 105
VLAN Name Status Ports/Channel groups
---- -------- --------- ------------------------------ ---
105 RD5 active Eth1/ 1 Eth1/ 2 Eth1/ 3 Eth1/ 4 Eth1/ 5
Eth1/ 6 Eth1/ 7 Eth1/ 8 Eth1/ 9 Eth1/10
Console#
Port Settings
On the
Port Settings
page, you can specify the default port VLAN ID (PVID) for each port on your switch. All untagged packets entering the switch are tagged
by default with the ID specified by the port's PVID.
The
Port Settings
page is set up in a table format. For each port listed in the
Port
column, the following options are available:
l
PVID
—
Specifies the VLAN ID assigned to untagged frames received on the port. To assign a VLAN ID as the port's PVID, the port must be an untagged
VLAN member.
use a hyphen to designate a range of IDs.
switchport forbidden vlan {add
vlan-list
| remove
vlan-list
}
Configures forbidden VLANs for a port.
show vlan [id
vlan-id
| name
vlan-
name
]
Shows VLAN information.
l
Acceptable Frame Type
—
Allows you to set the switch port to accept all frame types, including VLAN tagged or VLAN untagged frames, or only tagged
frames.
l
Ingress Filtering
—
Discards incoming frames for VLANS that do not include the ingress port in their member set, if enabled.
l
GVRP Status
—
Enables/disables GVRP (GARP VLAN Registration Protocol) for the port. GVRP defines a way for switches to exchange VLAN information to
automatically register VLAN members on ports across the network. GVRP must be globally enabled for the switch before you can individually enable
GVRP for a specific port. For more information, see "
GVRP
."
l
GARP Join Timer
—
Specifies the interval (in centiseconds) between transmitting requests/queries to participate in a VLAN group. (The range is 20 to
1000 centiseconds.)
l
GARP Leave Timer
—
Specifies the interval (in centiseconds) a port waits before leaving a VLAN group. This time should be set to more than twice the
join time. This interval ensures that after a Leave or LeaveAll message has been issued, the applicants can rejoin before the port actually leaves the
group. (The range is 60 to 3000 centiseconds.)
l
GARP LeaveAll Timer
—
Specifies the interval (in centiseconds) between sending out a LeaveAll query message for VLAN group participants and the
port leaving the group. This interval should be considerably larger than the Leave Time to minimize the amount of traffic generated by nodes rejoining
the group. (The range is 500 to 18000 centiseconds.)
To save any changes you make in this page, click
Apply Changes
. If you don't want to save the changes, click
Refresh
.
CLI Commands