![FoxGate S6124 Скачать руководство пользователя страница 124](http://html1.mh-extra.com/html/foxgate/s6124/s6124_command-manual_2325479124.webp)
124
access vlan
‖ command deletes the current port from the specified VLAN, and the port will
be partitioned to VLAN1.
Parameter: <
vlan-id>
is the VID for the VLAN to be added the current port, valid range is
1 to 4094.
Command mode:
Port Mode.
Default:
All ports belong to VLAN1 by default.
Usage Guide:
Only ports in Access mode can join specified VLANs, and an Access port
can only join one VLAN at a time.
Example:
Add some Access port to VLAN100.
Switch(config)#interface ethernet 1/8
Switch(Config-If-Ethernet1/8)#switchport mode access
Switch(Config-If-Ethernet1/8)#switchport access vlan 100
Switch(Config-If-Ethernet1/8)#exit
10.1.14 switchport interface
Command: switchport interface [ethernet | portchannel] [interface-name |
interface-list]
no switchport interface [ethernet | portchannel] [interface-name |
interface-list]
Function:
Specify
Ethernet port to VLAN; the ―
no switchport interface [ethernet |
portchannel] [
<interface-name | interface-list>
]
‖ command deletes one or one set of
ports from the specified VLAN.
Parameter: ethernet
is the Ethernet port to be added.
portchannel
means that the port
to be added is a link-aggregation port.
interface-name
port name, such as e1/1. If this
option is selected, ethernet or portchannel should not be.
interface-list
is the port list to
be added or deleted, ―;‖ and ―-‖ are supported, for
example:
ethernet1/1;3;4-7;8.
Command mode:
VLAN Mode.
Default:
A newly created VLAN contains no port by default.
Usage Guide:
Access ports are normal ports and can join a VLAN, but a port can only join
one VLAN for a time.
Example:
Assign Ethernet port 1, 3, 4-7, 8 of VLAN100.
Switch(Config-Vlan100)#switchport interface ethernet 1/1;3;4-7;8
10.1.15 switchport mode
Command: switchport mode {trunk | access}
Function:
Set the port in access mode or trunk mode.
Содержание S6124
Страница 311: ...311 Machine...
Страница 314: ...314...
Страница 318: ...318 am interface am ip pool 50 10 10 1 30 am mac ip pool 00 02 04 06 08 09 20 10 10 5 am ip pool 50 20 10 1 20...