D-Link DES-7200 Refrigerator User Manual


  Open as PDF
of 1968
 
DES-7200 Configuration Guide Chapter 1 Interface Configuration
1-14
Attribute Default Configuration
Interface management status Up
Interface Description Null
Speed Auto-negotiation
Duplex mode Auto-negotiation
Flow control Auto-negotiation
Aggregate port None
Storm suppression Off
Port protection Off
Port Security Off
1.2.8.1 Configuring Switch Ports
1.2.8.1.1 Configuring Access/Trunk Port
This section is devoted to the setting of working modes (access/trunk port) of
switch port and the setting in each mode.
To set the related attributes of a switch port, use the switchport command or
other commands in the interface configuration mode:
Command Function
DES-7200(config-if)# switchport mode {access
| trunk }
Set the operation mode.
The following example shows how to set the operation mode of Gigabitethernet
1/2 to access port.
DES-7200# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)# interface gigabitethernet 1/2
DES-7200(config-if)# switchport mode access
DES-7200(config-if)# end
Command Function
DES-7200(config-if)# switchport access vlan
vlan-id
Set the VLAN to which the
access port belongs.
The following example shows how to configure the VLAN to which the access
port gigabitethernet 2/1 to be 100
DES-7200# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
DES-7200(config)# interface gigabitethernet 2/1
DES-7200(config-if)# switchport access vlan 100
DES-7200(config-if)# end