VLAN Commands
Page 261
Example
The following example configures a VLAN ID of 23 to the untagged layer 2 VLAN Ethernet port 1/e16.
switchport trunk allowed vlan
The
switchport trunk allowed vlan
Interface Configuration mode command adds or removes VLANs to or from a
trunk port.
Syntax
switchport trunk allowed vlan
{
add vlan-list
|
remove vlan-list
}
Parameters
•
add
vlan-list
— List of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no
spaces. A hyphen designates a range of IDs.
•
remove vlan-list
— List of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a comma and
no spaces. A hyphen designates a range of IDs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines for this command.
Example
The following example adds VLANs 1, 2, 5 to 6 to the allowed list of Ethernet port 1/e16.
switchport trunk native vlan
The
switchport trunk native vlan
Interface Configuration mode command defines the native VLAN when the
interface is in trunk mode. To return to the default configuration, use the
no
form of this command.
Syntax
switchport trunk native vlan vlan-id
no switchport trunk native vlan
Console(config)#
interface ethernet
1/e16
Console(config-if)#
switchport access vlan
23
Console(config)#
interface ethernet
1/e16
console(config-if)#
switchport trunk allowed vlan add
1
-
2,5-6
Содержание AT-8000S Series
Страница 1: ...Layer 2 Ethernet Switch Allied Telesyn AT 8000S CLI Reference Guide...
Страница 2: ...Allied Telesyn AT 8000S CLI Reference Guide...
Страница 15: ...Preface Contacting Allied Telesyn Page 13 Page 13...
Страница 23: ...Using the CLI Editing Features Page 21...
Страница 61: ...Clock Commands Page 59...
Страница 69: ...Configuration and Image File Commands Page 67...
Страница 95: ...GVRP Commands Page 93...
Страница 102: ...Page 100 Allied Telesyn AT 8000S Switch CLI Reference Guide Vlan IP Address Ports 1 224 239 130 2 2 3 1 e19...
Страница 103: ...IGMP Snooping Commands Page 101...
Страница 107: ...IP Addressing Commands Page 105 IP address Interface Type 10 7 1 192 24 VLAN 1 Static...
Страница 119: ...Management ACL Commands Page 117...
Страница 123: ...PHY Diagnostics Commands Page 121...
Страница 127: ...Port Channel Commands Page 125...
Страница 131: ...Port Monitor Commands Page 129...
Страница 147: ...QoS Commands Page 145...
Страница 153: ...Radius Commands Page 151...
Страница 211: ...Spanning Tree Commands Page 209...
Страница 221: ...SSH Commands Page 219...
Страница 233: ...Syslog Commands Page 231...
Страница 245: ...System Management Commands Page 243...
Страница 257: ...User Interface Commands Page 255...
Страница 283: ...Web Server Commands Page 281...
Страница 299: ...802 1x Commands Page 297...