ZyXEL Communications XS3800-28 Cli Reference Manual page 70

Hide thumbs Also See for XS3800-28:
Table of Contents

Advertisement

Table 47 switchport forbidden Command Summary
COMMAND
interface port-channel <port-
list>
switchport forbidden vlan
add <vlan-list>
switchport forbidden vlan
add all
switchport forbidden vlan
remove <vlan-list>
switchport forbidden vlan
remove all
17.2 Command Examples
This example configures clv mode.
sysname# config
sysname(config)# clv
Note: The following commands all have clv mode enabled.
This example configures clv for VLAN 20 on port 1.
sysname# config
sysname(config)# interface port-channel 1
sysname(config-interface)# switchport mode access
sysname(config-interface)# switchport access vlan 20
sysname(config-interface)# exit
This example activates clv for VLAN 100 and VLAN 20 on ports 1 to 3. This example prohibits ports 1 to 3
from joining VLAN 200.
sysname# config
sysname(config)# interface port-channel 1-3
sysname(config-interface)# switchport mode trunk
sysname(config-interface)# switchport trunk allowed vlan 100
sysname(config-interface)# switchport trunk native vlan 20
sysname(config-interface)# switchport forbidden vlan add 200
sysname(config-interface)# exit
Chapter 17 CLV Commands
DESCRIPTION
Enters config-interface mode for the specified port(s).
Prohibits the specified port(s) from joining the specified
VLAN group.
Prohibits the specified port(s) from joining all VLAN groups.
Sets forbidden port(s) in the specified VLAN to normal
port(s).
Sets all forbidden port(s) in the port list to normal port(s).
Ethernet Switch CLI Reference Guide
70
M
P
C
13
C
13
C
13
C
13
C
13

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents