Switchport Native Vlan - Motorola EX-3524 Cli Reference Manual

Layer 2 gigabit ethernet poe/poe+ switch
Hide thumbs Also See for EX-3524:
Table of Contents

Advertisement

Chapter 17
| VLAN Commands
Configuring VLAN Interfaces

switchport native vlan

Command Usage
Access mode is mutually exclusive with VLAN trunking (see the
command). If VLAN trunking is enabled on an interface, then that interface cannot
be set to access mode, and vice versa.
Example
The following shows how to set the configuration mode to port 1, and then set the
switchport mode to hybrid:
Console(config)#interface ethernet 1/1
Console(config-if)#switchport mode hybrid
Console(config-if)#
Related Commands
switchport acceptable-frame-types (403)
This command configures the PVID (i.e., default VLAN ID) for a port. Use the no form
to restore the default.
Syntax
switchport native vlan vlan-id
no switchport native vlan
vlan-id - Default VLAN ID for a port. (Range: 1-4093)
Default Setting
VLAN 1
Command Mode
Interface Configuration (Ethernet, Port Channel)
Command Usage
When using Access mode, and an interface is assigned to a new VLAN, its PVID
is automatically set to the identifier for that VLAN. When using Hybrid mode,
the PVID for an interface can be set to any VLAN for which it is an untagged
member.
If acceptable frame types is set to all or switchport mode is set to hybrid, the
PVID will be inserted into all untagged frames entering the ingress port.
Example
The following example shows how to set the PVID for port 1 to VLAN 3:
Console(config)#interface ethernet 1/1
Console(config-if)#switchport native vlan 3
Console(config-if)#
– 406 –
vlan-trunking

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ex-3548

Table of Contents