DES-7200 Configuration Guide Chapter 1 Interface Configuration
1-15
Set the native VLAN of the trunk port.
Command Function
DES-7200(config-if)# switchport trunk native
vlan vlan-id
Set the Native VLAN of the trunk
port.
The following example shows how to set the native VLAN of the trunk port
Gigabitethernet 2/1 to be 10.
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 trunk native vlan 10
DES-7200(config-if)# end
Set port security. For more information about port security, refer to Port-based
Flow Control:
Command Function
DES-7200(config-if)# switchport port-security
Set port security.
The following example shows how to enable port security on Gigabitethernet
2/1.
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 port-security
DES-7200(config-if)# end
For more information on configuring the speed, duplexing, and flow control of an
interface, see the section of Setting Speed, Duplexing, and Flow Control foran
Interface.
The following example shows how to set Gigabitethernet 2/1 to access port, its
VLAN to 100, its speed, duplexing, and flow control to self-negotiation and
enable port security.
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)# speed auto
DES-7200 (config-if)# duplex auto
DES-7200 (config-if)# flowcontrol auto
DES-7200 (config-if)# switchport port-security
DES-7200 (config-if)# end
1.2.8.1.2 Configuring Hybrid Port
You can configure the hybrid port by performing the following steps:
Command Description