186
CHAPTER 3
INTRODUCTION TO CLI
3.9.47.3 (config-if)# switchport forbidden vlan
Syntax:
(config-if)# switchport forbidden vlan { add | remove } <vlan_list>
Explanation:
Add or remove a port from the forbidden VLAN list.
Parameters:
{ add | remove }: Add or remove this specific interface from the forbidden VLAN list.
<vlan_list>: Specify the VLAN ID.
Negation:
(config-if)# no switchport access vlan
Show:
> show switchport forbidden [ { vlan <vid> } | { name <name> } ]
# show switchport forbidden [ { vlan <vid> } | { name <name> } ]
3.9.47.4 (config-if)# switchport hybrid acceptable-frame-type
Syntax:
(config-if)# switchport hybrid acceptable-frame-type { all | tagged | untagged }
Explanation:
Configure the accepted frame types. Available options include “all” (accept all frames), “tagged” (accept
only tagged frames), “untagged” (accept only untagged frames). This parameter affects VLAN ingress processing. If the
port only accepts tagged frames, untagged frames received on the port are discarded. By default, frame type is set to
All.
Parameters:
{ all | tagged | untagged }: Specify the frame type for this interface. Available options include “all” (accept all
frames), “tagged” (accept only tagged frames), “untagged” (accept only untagged frames).
Negation:
(config-if)# no switchport hybrid acceptable-frame-type
Show:
# show vlan status
3.9.47.5 (config-if)# switchport hybrid allowed vlan
Syntax:
(config-if)# switchport hybrid allowed vlan { all | none | [ add | remove | except ] <vlan_list> }
Explanation:
Configure allowed VLANs when this interface is in hybrid mode.
Parameters:
{ all | none | [ add | remove | except ] <vlan_list> }: Specify one of the options.
all:
All VLANs.
none:
No VLANs.
add:
Add VLANs to the current list.
Содержание MSW-4424C Series
Страница 1: ...1 MSW 4424C MSW 4424CS L2 Gigabit Carrier Ethernet Switch ...
Страница 382: ......