Example
The following example adds a VLAN, using VLAN ID 105 and name RD5. The VLAN
is activated by default.
Console(config)#vlan database
Console(config-vlan)#vlan 105 name RD5 media ethernet
Console(config-vlan)#
Related Commands
show vlan (4-175)
Configuring VLAN Interfaces
Command
interface vlan
switchport mode
switchport
acceptable-frame-types
switchport ingress-filtering
switchport native vlan
switchport allowed vlan
switchport gvrp
switchport forbidden vlan
switchport priority default
interface vlan
This command enters interface configuration mode for VLANs, which is used to
configure VLAN parameters for a physical interface.
Syntax
interface vlan vlan-id
vlan-id - ID of the configured VLAN. (Range: 1-4094, no leading zeroes)
Default Setting
None
Command Mode
Global Configuration
Table 4-56
Configuring VLAN Interfaces
Function
Enters interface configuration mode for a specified VLAN
Configures VLAN membership mode for an interface
Configures frame types to be accepted by an interface
Enables ingress filtering on an interface
Configures the PVID (native VLAN) of an interface
Configures the VLANs associated with an interface
Enables GVRP for an interface
Configures forbidden VLANs for an interface
Sets a port priority for incoming untagged frames
4
VLAN Commands
Mode
Page
GC
4-169
IC
4-170
IC
4-171
IC
4-171
IC
4-172
IC
4-173
IC
4-165
IC
4-174
IC
4-185
4-169
Need help?
Do you have a question about the SMC8126L2 and is the answer not in the manual?
Questions and answers