3Com 4500 50-PORT manual Reset counters interface Syntax, Ethernet1/0/1port trunk pvid vlan

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 66
Image 66

60CHAPTER 2: USING PORT COMMANDS

View

Ethernet Port View

Parameter

vlan_id: Enter a VLAN ID in the range 2 to 4094, as defined in IEEE802.1Q. This is the VLAN that you want to be the default VLAN for a trunk port.

The default is 1.

Description

Use the port trunk pvid vlan command to configure the default VLAN ID for a trunk port. Use the undo port trunk pvid command to restore the default VLAN ID for a trunk port.

The default VLAN ID of local trunk port should be consistent with that of the peer one, otherwise packets cannot be properly transmitted.

Related command: port link-type.

Example

To configure the trunk port Ethernet1/0/1 to the default VLAN of 100, enter the following:

<4500>system-view

System View: return to User View with Ctrl+Z.

[4500]interface ethernet 1/0/1

[4500-Ethernet1/0/1]portlink-type trunk

[4500-Ethernet1/0/1]port trunk pvid vlan 100

[4500-Ethernet1/0/1]

reset counters interface Syntax

reset counters interface [ interface_type interface_type interface_num interface_name]

View

User view

Parameter

interface_type: Specifies the port type.

interface_num: Specifies the port number.

interface_name: Specifies the port name in the interface_name= interface_type interface_num format.

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 you do not enter a port type, or port type and port number, information is cleared from all ports on the Switch. If only the port type is specified, all the information on ports of this type will be cleared. If both port type and port

Page 66
Image 66
3Com 4500 50-PORT, 4500 PWR 50-PORT, 4500 PWR 26-PORT Reset counters interface Syntax, Ethernet1/0/1port trunk pvid vlan