Vlan, Vlan 34-6, Configuring vlan interfaces – Asante Technologies 40240/40480-10G User Manual

Page 594

Advertising
background image

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-4093, no leading zeroes)

Default Setting

None

Command Mode

Global Configuration

34-7

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 (34-13)

Configuring VLAN Interfaces

Table 34-4 Commands for 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

Function Mode

Page

Enters interface configuration mode for a specified VLAN

IC

34-7

Configures VLAN membership mode for an interface

IC

34-8

Configures frame types to be accepted by an interface

IC

34-9

Enables ingress filtering on an interface

IC

34-9

Configures the PVID (native VLAN) of an interface

IC

34-10

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

IC 34-11

IC 34-3

IC 34-12

IC 35-3

Configuring VLAN Interfaces

34

Advertising