Switchport allowed vlan – Microsens MS453490M Management Guide User Manual

Page 790

Advertising
background image

C

HAPTER

34

| VLAN Commands

Configuring VLAN Interfaces

– 790 –

tagged - The port only receives tagged frames.

D

EFAULT

S

ETTING

All frame types

C

OMMAND

M

ODE

Interface Configuration (Ethernet, Port Channel)

C

OMMAND

U

SAGE

When set to receive all frame types, any received frames that are untagged

are assigned to the default VLAN.

E

XAMPLE

The following example shows how to restrict the traffic received on port 1

to tagged frames:

Console(config)#interface ethernet 1/1

Console(config-if)#switchport acceptable-frame-types tagged

Console(config-if)#

R

ELATED

C

OMMANDS

switchport mode (792)

switchport allowed

vlan

This command configures VLAN groups on the selected interface. Use the

no form to restore the default.

S

YNTAX

switchport allowed vlan {add vlan-list [tagged | untagged] |

remove vlan-list}

no switchport allowed vlan

add vlan-list - List of VLAN identifiers to add.
remove vlan-list - List of VLAN identifiers to remove.
vlan-list - Separate nonconsecutive VLAN identifiers with a comma

and no spaces; use a hyphen to designate a range of IDs. Do not

enter leading zeros. (Range: 1-4093).

D

EFAULT

S

ETTING

All ports are assigned to VLAN 1 by default.

The default frame type is untagged.

C

OMMAND

M

ODE

Interface Configuration (Ethernet, Port Channel)

C

OMMAND

U

SAGE

A port, or a trunk with switchport mode set to hybrid, must be

assigned to at least one VLAN as untagged.

Advertising