DES-7200 Configuration Guide Chapter 1 Interface Configuration
1-16
Command Description
configure terminal
Enter configuration mode
interface <interface>
Enter the interface configuration
mode.
Megabit, Gigabit, 10 Gigabit
switchport mode hybrid
Configure the port as a hybrid
port.
no switchport mode
Delete the port mode.
switchport hybrid native vlan id
Set the default VLAN for the
hybrid port.
switchport hybrid allowed vlan
[[add] [tagged | untaged]] |remove ] vlist
Set the output rule for the port.
DES-7200# configure terminal
DES-7200(config)# interface g 0/1
DES-7200(config-if)# switchport mode hybrid
DES-7200(config-if)# switchport hybrid native vlan 3
DES-7200(config-if)# switchport hybrid allowed vlan untagged 20-30
DES-7200(config-if)# end
DES-7200# show running interface g 0/1
1.2.8.2 Configuring L2 Aggregate
Ports
This section describes how to create an L2 aggregate port and some related
settings.
You may create an L2 aggregate port by using the aggregateport command in
the interface configuration mode. For details, see Configuring Aggregate Port.
1.2.8.3 Clearing Statistics and
Resetting an Interface
In the privileged EXEC mode, you may clear the statistics of an interface and
then reset it by using the clear command. This command is only applicable for
switch port, port members of an L2 aggregate port, routed port, and port
members of an L3 aggregate port. The clear command is shown as follows.
Command Function
DES-7200# clear counters [interface-id]
Clear interface statistics.
DES-7200# clear interface interface-id
Reset the interface.
In the privileged EXEC mode, use the show interfaces command to display
interface statistics, or use the clear counters command to clear the counters. If
no interface is specified, the counters of all layer 2 interfaces will be cleared.