EasyManua.ls Logo

3Com 5500G-EI - Port Trunk Pvid Vlan; Reset Counters Interface

3Com 5500G-EI
530 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Ethernet Port Configuration Commands 65
Example
To add the trunk port Ethernet1/0/1 to VLAN 2, VLAN 4 and all VLANs in the range
50-100, enter the following:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface Gigabitethernet 1/0/1
[SW5500-GigabitEthernet1/0/1]port trunk permit vlan 2 4 50 to 100
port trunk pvid vlan Syntax
port trunk pvid vlan
vlan_id
undo port trunk pvid
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:
<SW5500>system-view
System View: return to User View with Ctrl+Z.
[SW5500]interface Gigabitethernet 1/0/1
[SW5500-GigabitEthernet1/0/1]port trunk pvid vlan 100
reset counters interface Syntax
reset counters interface [
interface_type
|
interface_type
interface_num
|
interface_name
]
View
User view

Table of Contents

Related product manuals