EasyManuals Logo

Digitalchina Networks DCS-3950 series User Manual

Digitalchina Networks DCS-3950 series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #165 background imageLoading...
Page #165 background image
155
DCS-3950 series Ethernet switch manual
front of the command, the specified port will be removed from the VLAN.
Parameters: <vlan-id> is for the VLAN ID of the port to be added to the VLAN, which is
limited between 1 and 4094.
Command mode: Port Mode.
Default: All the switch ports belong to VLAN1 by default.
Usage Guide: Only the access port on the switch can be added to the specified VLAN.
And one access port can be added to only one VLAN at the same time.
Example: Add the specified port to VLAN100.
Switch(Config)#interface ethernet 0/0/8
Switch(Config-ethernet0/0/8)#switchport mode access
Switch(Config-ethernet0/0/8)#switchport access vlan 100
Switch(Config-ethernet0/0/8)#exit
9.2.2.4 switchport interface
Command: switchport interface <interface-list>
no switchport interface <interface-list>
Function: Add an ethernet interface to a VLAN. If no is put in front of this command, the
specified ethernet interface will be removed from the VLAN.
Parameters: <interface-list> is the list of interfaces to be added to or removed from the
VLAN which can be separated by ‘;’ or ‘-’. For example, ethernet 0/0/1;2;5 or ethernet
0/0/1-6;8.
Command mode: VLAN configuration mode.
Default: No port will be contained in a newly created VLAN by default.
Usage Guide: Access port of the switch is normal port, which can be added to one and
only one VLAN.
Example: Add ethernet 0/0/1;3;4-7;8 to VLAN100.
Switch(Config-Vlan100)#switchport interface ethernet 0/0/1;3;4-7;8
9.2.2.5 switchport mode
Command: switchport mode {trunk|access}
Function: Configure the port as trunk mode or access mode.
Parameters; trunk enables the port for transmission of packets from multiple VLANs.
access configures the port to be able to belong to only one VLAN.
Command mode: Port Mode.
Default: The port is in access mode by default.
Usage Guide: Ports configured as trunk mode is called trunk ports, while port working in
access mode is called access ports. For trunk ports, packets from multiple VLANs can be
transferred, which can be used to connect the same VLAN from different switches. For
access ports, one and only one VLAN can be configured for the VLAN.
Notice: 802.1X authentication is disabled for trunk ports.
Example: Configure port 5 in trunk mode, and port 8 in access mode.
Switch(Config)#interface ethernet 0/0/5

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digitalchina Networks DCS-3950 series and is the answer not in the manual?

Digitalchina Networks DCS-3950 series Specifications

General IconGeneral
BrandDigitalchina Networks
ModelDCS-3950 series
CategoryNetwork Router
LanguageEnglish