![Cisco Small Business 300 1.1 Series Скачать руководство пользователя страница 413](http://html.mh-extra.com/html/cisco/small-business-300-1-1-series/small-business-300-1-1-series_administration-manual_2609294413.webp)
Virtual Local Area Network (VLAN) Commands
78-20269-01 Command Line Interface Reference Guide
414
30
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
The command automatically removes the port from its previous VLAN and adds it
to the new VLAN.
Example
The following example sets gi1 as an access port and assigns it to VLAN 2 (and
removes it from its previous VLAN).
Console(config)#
interface
gi2
Console(config-if)#
switchport mode access
Console(config-if)#
switchport access vlan
2
30.13 switchport trunk allowed vlan
A trunk interface is an untagged member of a single VLAN, and, in addition, it may
be an tagged member of one or more VLANs. The switchport trunk allowed vlan
Interface Configuration mode command adds/removes VLAN(s) to/from a trunk
port.
Syntax
switchport trunk allowed vlan {add
vlan-list
| remove
vlan-list
}
Parameters
•
add
vlan-list
— Specifies a list of VLAN IDs to add to a port. Separate
nonconsecutive VLAN IDs with a comma and no spaces; use a hyphen to
designate a range of IDs.
•
remove
vlan-list
— Specifies a list of VLAN IDs to remove from a port.
Separate nonconsecutive VLAN IDs with a comma and no spaces; use a
hyphen to designate a range of IDs.
Default Configuration
By default, trunk ports belongs to all created VLANs.
Содержание 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 ...