Port Link-Type; Port Trunk Permit Vlan - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

642
C
40: P
-B
HAPTER
ORT

port link-type

Syntax
View
Parameter
Description
Example

port trunk permit vlan

Syntax
View
Parameter
Description
VLAN C
C
ASED
ONFIGURATION
port link-type { access | hybrid | trunk }
undo port link-type
Ethernet interface view, port group view
access: Configures the link type of a port as Access.
hybrid: Configures the link type of a port as Hybrid.
trunk: Configures the link type of a port as Trunk.
Use the
port link-type
Use the
undo port link-type
Configured in Ethernet interface view, the setting is effective on the current port
only; configured in port group view, the setting is effective on all ports in the port
group.
Refer to "Link Aggregation Configuration Commands" on page 473 for
information about port groups.
By default, a port is an Access port.
# Configure Ethernet 1/0 to be a Trunk port.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] port link-type trunk
port trunk permit vlan { vlan-id-list | all }
undo port trunk permit vlan { vlan-id-list | all }
Ethernet interface view, port group view
vlan-id-list: The range of VLANs that the Hybrid ports will be added to, in the
format of vlan-id-list = [ vlan-id1 [ to vlan-id2 ] ]&<1-10>, where vlan-id ranges
from 1 to 4,094 and &<1-10> indicates that you can specify up to 10 parameters.
all: Adds the Trunk port to all VLANs.
Use the
port trunk permit vlan
VLAN, a selection of VLANs, or all VLANs.
OMMANDS
command to configure the link type of a port.
command to restore the default link type of a port.
command to add a Trunk port to a specified

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents