H3C S9500 Series Command Manual page 101

Routing switches
Hide thumbs Also See for S9500 Series:
Table of Contents

Advertisement

Command Manual – Ethernet Port
H3C S9500 Series Routing Switches
Description
Use the port trunk pvid vlan command to configure the default VLAN ID of the trunk
port.
Use the undo port trunk pvid command to restore the default.
The default VLAN ID of the local trunk port should be consistent with that of the peer
one. Otherwise, the packets cannot be properly transmitted.
Related commands: port link-type.
Examples
# Configure the default VLAN of the trunk port Ethernet 2/1/1 as 100.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface Ethernet2/1/1
[H3C-Ethernet2/1/1] port trunk pvid vlan 100
1.1.29 reset counters interface
Syntax
reset counters interface [ interface-type | interface-type interface-number ]
View
User view
Parameters
interface-type: Specifies the port type.
interface-number: Specifies the port number.
Description
Use the reset counters interface command to clear statistics for ports.
If the port type and number are not specified, the statistics of all ports are cleared. If
only the port type is specified, all the statistics of the ports of this type are cleared. If
both port type and port number are specified, only the statistics of the specified port are
cleared.
This command cannot clear the statistics of 802.1x-enabled ports.
Examples
# Clear the statistics of Ethernet port Ethernet 2/1/1.
<H3C> reset counters interface ethernet2/1/1
Chapter 1 Ethernet Port Configuration
1-29
Commands

Advertisement

Table of Contents
loading

Table of Contents