Switchport Access Vlan - Alcatel OmniStack LS 6248 User Manual

Os-ls-6200 series
Hide thumbs Also See for OmniStack LS 6248:
Table of Contents

Advertisement

Example
The following example configures Ethernet port 1/e16 as an untagged layer 2 VLAN
port.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport mode
Related Commands

switchport access vlan

switchport trunk allowed vlan
switchport trunk native vlan
switchport general allowed vlan
switchport general pvid
switchport general ingress-filtering disable
switchport general acceptable-frame-type tagged-only
switchport forbidden vlan
show interfaces switchport
switchport access multicast-tv vlan
switchport access vlan
The
switchport access vlan
VLAN ID when the interface is in access mode. To return to the default configuration,
use the
form of this command.
no
Syntax
switchport access vlan {
no switchport access vlan
Parameters
• vlan-id — Specifies the ID of the VLAN to which the port is configured.
—Indicates that the port is assigned to a VLAN based on the
dynamic
source MAC address of the host connected to the port.
Default Setting
All ports belong to VLAN 1.
Command Mode
Interface configuration (Ethernet, port-channel) mode
Command Usage
The command automatically removes the port from the previous VLAN and
adds it to the new VLAN.
access
Interface Configuration mode command configures the
vlan-id |
dynamic
VLAN Commands
}
4
669

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents