D-Link xStack DGS-3610 Series Configuration Manual page 84

Hide thumbs Also See for xStack DGS-3610 Series:
Table of Contents

Advertisement

Chapter 6 Configuring Interfaces
Attribute
Aggregate port
Storm Control
Port protection
Port Security
6.2.8.1
Configuring Switch Port
6.2.8.1.1 Configuring Access/Trunk Port
This section is described to the operation modes(access/trunk port) of setting the Switchport
of and the related configuration in each mode.
To set the attributes of a Switch Port, use switchport or other commands in interface
configuration mode:
Command
DGS-3610(config-if)# switchport mode {access
| trunk }
The following example shows how to set the operation mode of Gigabitethernet 1/2 interface
to access port.
DGS-3610# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DGS-3610(config)# interface gigabitethernet 1/2
DGS-3610(config-if)# switchport mode access
DGS-3610(config-if)# end
Command
DGS-3610(config-if)# switchport access vlan
vlan-id
The following example shows how to configure the vlan to which the access port
gigabitethernet 2/1 to 100
DGS-3610# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DGS-3610(config)# interface gigabitethernet 2/1
DGS-3610(config-if)# switchport access vlan 100
DGS-3610(config-if)# end
Set the native VLAN of the trunk port.
Command
DGS-3610(config-if)# switchport trunk native
vlan vlan-id
6-12
DGS-3610 Series Configuration Guide
Default Configuration
None
Off
Off
Off
Function
Set the operation mode of the interface.
Function
Set the VLAN to which the access port belongs.
Function
Set the NATIVE VLAN of the trunk port.

Advertisement

Table of Contents
loading

Table of Contents