![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 412](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294412.webp)
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
413
30
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
•
When the port’s mode is changed, it receives the configuration
corresponding to the mode.
•
If the port mode is changed to access and the access VLAN does not exist,
then the port does not belong to any VLAN.
•
Trunk and general mode ports can be changed to access mode only if all
VLANs (except for an untagged PVID are first removed.
Example
The following example configures
gi1
as an access port (untagged layer 2) VLAN
port.
Console(config)#
interface
gi1
Console(config-if)#
switchport mode access
Console(config-if)#
switchport access vlan
2
30.12 switchport access vlan
An interface in access mode can belong to only one VLAN. The switchport access
vlan Interface Configuration command reassigns an interface to a different VLAN
than it currently belongs to.
Use the no form of this command to restore the default configuration.
Syntax
switchport access vlan
vlan-id
no switchport access vlan
Parameters
vlan
vlan-id
—Specifies the VLAN ID to which the port is configured.
Default Configuration
The interface belongs to the default VLAN.
Содержание Small Business 300 1.1 Series
Страница 1: ...Cisco Small Business 300 1 1 Series Managed Switch Administration Guide CLI GUIDE ...
Страница 527: ...DHCP Relay Commands 78 20269 01 Command Line Interface Reference Guide 528 38 Servers 1 1 1 1 2 2 2 2 ...
Страница 705: ...Revision History 78 20269 01 Command Line Interface Reference Guide 936 4 ...