set port static-vlan

Last Updated : Nov 06, 2012 |

Assigns a static VLAN to a port.

Syntax

set port static-vlan module/port vlan_num

Parameters

Parameter

Description

Possible Values

Default Value

module

The module number

port

The port or range of ports which are being bound

vlan_num

VLAN to bind to the port

User level

read-write

Context

general

Example

To bind ports 6/5 through 10/6 from the Branch Gateway to VLAN 2:

Gxxx-001# set port static-vlan 10/5-6 2
VLAN 2 is bound to port 6/5
VLAN 2 is bound to port 10/6