3com 8807 Guia De Referência

Página de 1099
146
C
HAPTER
 10: E
THERNET
 P
ORT
 C
ONFIGURATION
 C
OMMANDS
Description
Use the port trunk pvid vlan command to configure the default VLAN ID of 
trunk port.
Use the undo port trunk pvid command to restore the default VLAN ID of the 
port.
The default VLAN ID of local trunk port should be consistent with that of the peer 
one, otherwise, the packet cannot be properly transmitted.
Related command: port link-type.
Example
# Configure the default VLAN of the trunk port Ethernet2/1/1 to 100.
<SW8800> system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] interface Ethernet2/1/1
 
[3Com-Ethernet2/1/1] port trunk pvid vlan 100 
reset counters interface
Syntax
reset counters interface [ interface-type | interface-type interface-number ]
View
User view
Parameter
interface-type: Specifies the port type.
interface-number: Specifies the port number.
For parameter description, refer to the interface command.
Description
Use the reset counters interface command to reset the statistical information on 
the port and count the related information again on the port for the user.
If the port type and number are not specified when clearing the port information, 
information of all ports on the switch will be cleared. If only the port type is 
specified, all the information on the ports of this type will be cleared. If both port 
type and port number are specified, the information on the designated port will 
be cleared.
You cannot clear statistics on the 802.1x-enabled port.
Example
# Clear the statistical information of Ethernet port Ethernet2/1/1.
<SW8800> reset counters interface ethernet2/1/1 
shutdown
Syntax
shutdown