Switchport Mode - Alcatel OmniStack LS 6248 User Manual

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

Advertisement

4
Command Line Interface
Command Mode
Interface configuration (Ethernet, port-channel)
Command Usage
The priority between VLAN classification rules is:
1) MAC based VLAN (Best match between the rules)
2) Subnet based VLAN (Best match between the rules)
3) Protocol based VLAN
4) PVID
Example
Console (config-if)# switchport general map protocols-group 1 vlan 8
The following example sets a protocol-based classification rule for Ethernet port 1/
e16.
Console(config)# interface ethernet 1/e16
Console(config-if)# switchport general map protocols-group 1 vlan 8
Related Commands
vlan database
vlan
show vlan

switchport mode

The
switchport mode
membership mode of a port. To return to the default configuration, use the
this command.
Syntax
switchport mode
no switchport mode
Parameters
access
— Indicates a trunking layer 2 VLAN port.
trunk
general
Default Setting
All ports are in access mode, and belong to the default VLAN (whose VID=1).
Command Mode
Interface Configuration (Ethernet, port-channel) mode
Command Usage
There are no user guidelines.
668
Interface Configuration mode command configures the VLAN
{
|
access
trunk | general
— Indicates an untagged layer 2 VLAN port.
— Indicates a full 802-1q supported VLAN port.
}
form of
no

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents