3Com 5500G-EI Command Reference Guide - Page 65
Example, port trunk pvid vlan, Syntax, Parameter, Description, reset counters interface
UPC - 662705493534
View all 3Com 5500G-EI manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 65 highlights
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: 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: 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