1-8
Parameters
interface-list
: List of Ethernet ports to be added to or removed from a VLAN. Provide this argument in
the form of
interface-list
= {
interface-type interface-number
[
to
interface-type interface-number
] }
&<1-10>, where:
z
interface-type
is port type and
interface-number
is port number.
z
The port number to the right of the
to
keyword must be larger than or equal to the one to the left of
the keyword.
z
&<1-10> means that you can provide up to 10 port lists.
Description
Use the
port
command to assign one or multiple ports to a VLAN.
Use the
undo port
command to remove the specified ports from a VLAN.
Related command:
display
vlan
.
Examples
# Assign GigabitEthernet1/0/2 through GigabitEthernet1/0/4 to VLAN 2.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] vlan 2
[Sysname-vlan2] port GigabitEthernet 1/0/2 to GigabitEthernet 1/0/4
port access vlan
Syntax
port access vlan vlan-id
undo
port
access vlan
View
Ethernet port view
Parameters
vlan-id
: VLAN ID defined in IEEE802.1Q, in the range of 1 to 4094.
Description
Use the
port access vlan
command to assign the current access port to the specified VLAN.
Use the
undo port access vlan
command to remove the access port from the specified VLAN.
The VLAN specified by the
vlan
-
id
argument must already exist.
All access ports belong to VLAN 1, the system default VLAN. You cannot assign an access port to or
remove an access port from VLAN 1. If you do that, you can see the message “Can't delete ports from
or add ports to the default VLAN!”
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...