Port; Port Access Vlan - HP E4510-48G Command Reference Manual

4510g series
Table of Contents

Advertisement

port

Syntax
port interface-list
undo port interface-list
View
VLAN view
Default Level
2: System level
Parameters
interface interface-list: Specifies an Ethernet port list or Layer-2 aggregate interface list, in the format
of interface-list = { interface-type interface-number [ to interface-type interface-number ] }&<1-10>,
where &<1-10> indicates that you can specify up to 10 ports or port ranges.
Description
Use the port command to assign the specified access port(s) to the current VLAN.
Use the undo port command to remove the specified access port(s) from the current VLAN.
By default, all ports are in VLAN 1.
Note that:
This command is only applicable on access ports.
All ports are access ports by default. However, you can manually configure the port type. For more
information, refer to port link-type.
Related commands: display vlan.
Examples
# Assign GigabitEthernet 1/0/1 through GigabitEthernet 1/0/3 to VLAN 2.
<Sysname> system-view
[Sysname] vlan 2
[Sysname-vlan2] port gigabitethernet 1/0/1 to gigabitethernet 1/0/3

port access vlan

Syntax
port access vlan vlan-id
undo port access vlan
View
Ethernet interface view, port group view, Layer-2 aggregate interface view
Default Level
2: System level
6-10

Advertisement

Table of Contents
loading

Table of Contents