
switch access vlan 1
00
Switch(config-if-GigabitEthernet-0/2)#
speed auto
Switch(config-if-GigabitEthernet-0/2)#
duplex auto
4.1.1.
port
You can confirgure the Hy bid port by below steps
:
S
t
e
p
1
S
Switch# configure terminal
Switch(config)# interface gigabitEthernet
0/2
Switch(config-if-GigabitEthernet-0/2)#
switch mode hybrid
Switch(config-if-GigabitEthernet-0/2)#
switch hybrid native vlan
3
Switch(config-if-GigabitEthernet-0/2)#
switch hybrid vlan
20
untagged
4.1.2.
Configure the Link-aggregation port
This section mainly shows how to create Link-aggregation Port and some configurations of
Link-aggregation Port
。
You can creat Link-aggregation Port in the port configuration pattern by using
Link-aggregation Port
,
Specific configuration process ,please refer to “Configure Link-aggregation
Port”
。
4.1.3.
Clear the port statistics .
Clear the port statistics by “Clear” Command in the privileged mode
Command
Function
Switch# clear counters [all | gigabitEthernet] [
id
]
Clear the port statistics
。
You can check the port statistics by Command:
show
interface GigabitEthernet
0/1
statistics
in
the
privileged mode .You can clear the statistics by Command:
clear counters GigabitEthernet
0/1
in the privileged mode
。
Command
Function
configure terminal
Enter the configuration pattern
Interface gigabitEthernet <
portnumber
>
Enter the port configuration pattern
100M,1000M,10000M
switchport mode hybrid
Configure port to be hybrid port
switchport hybrid native vlan
id
Configure the default port to be VLAN
switchport hybrid vlan
id
[[tagged | untaged]]
Congfigure the port output rule.