SMC Networks SMC8624/48T manual Configuring Vlan Interfaces, 234

Models: SMC8624/48T

1 556
Download 556 pages 10.96 Kb
Page 479
Image 479

VLAN COMMANDS

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 -242)

Configuring VLAN Interfaces

Table 4-40. Configuring VLAN Interfaces

Command

Function

Mode

Page

interface vlan

Enters interface configuration mode for

IC

4-235

 

a specified VLAN

 

 

 

 

 

 

switchport mode

Configures VLAN membership mode

IC

4-236

 

for an interface

 

 

 

 

 

 

switchport

Configures frame types to be accepted

IC

4-237

acceptable-frame-types

by an interface

 

 

 

 

 

 

switchport

Enables ingress filtering on an interface

IC

4-238

ingress-filtering

 

 

 

 

 

 

 

switchport native vlan

Configures the PVID (native VLAN) of

IC

4-239

 

an interface

 

 

 

 

 

 

switchport allowed

Configures the VLANs associated with

IC

4-240

vlan

an interface

 

 

 

 

 

 

switchport gvrp

Enables GVRP for an interface

IC

4-252

 

 

 

 

switchport forbidden

Configures forbidden VLANs for an

IC

4-241

vlan

interface

 

 

 

 

 

 

4-234

Page 479
Image 479
SMC Networks SMC8624/48T manual Configuring Vlan Interfaces, 234