VLAN COMMANDS

Command

Function

Mode

Page

switchport allowed

Configures the VLANs associated with an

IC

4-170

vlan

interface

 

 

 

 

 

 

switchport gvrp

Enables GVRP for an interface

IC

4-177

 

 

 

 

switchport forbidden

Configures forbidden VLANs for an

IC

4-171

vlan

interface

 

 

 

 

 

 

interface vlan

Use this command to enter interface configuration mode for VLANs, and configure 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

Example

The following example shows how to set the interface configuration mode to VLAN 1, and then assign an IP address to the VLAN:

Console(config)#interface vlan 1 Console(config-if)#ip address 192.168.1.254 255.255.255.0 Console(config-if)#

Related Commands

shutdown (4-125)

4-165

Page 451
Image 451
SMC Networks SMC6724L3 manual Syntax Interface vlan vlan-id