96
port link-type
Syntax
port link-type
{
access
|
hybrid
|
trunk
}
undo port link-type
View
Ethernet interface view, WLAN-BSS interface view
Default level
2: System level
Parameters
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. This keyword is not available in WLAN-BSS interface
view.
Description
Use
port link-type
to configure the link type of a port.
Use
undo port link-type
to restore the default link type of a port.
By default, any port is an access port.
To change the link type of a port from trunk to hybrid or vice versa, you must first set the link type to
access.
Examples
# Configure GigabitEthernet 1/0/1 as a trunk port.
<Sysname> system-view
[Sysname] interface gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] port link-type trunk
# Configure WLAN-BSS 0 as a hybrid port.
<Sysname> system-view
[Sysname] interface WLAN-BSS 0
[Sysname-WLAN-BSS0] port link-type hybrid
port trunk permit vlan
Syntax
port trunk permit vlan
{
vlan-id-list
|
all
}
undo port trunk permit vlan
{
vlan-id-list
|
all
}
View
Ethernet interface view
Default level
2: System level