Nortel Networks 2300 Series manual Set vlan name, Syntax set vlan vlan-numname name, Mode

Models: 2300 Series

1 622
Download 622 pages 48.74 Kb
Page 89
Image 89

VLAN Commands 89

Syntax set security l2-restrict vlan vlan-id

[mode {enable disable}] [permit-mac mac-addr[mac-addr]]

vlan-id

VLAN name or number.

mode

Enables or disables restriction of Layer 2 forwarding.

{enable disable}

 

permit-macmac-addr[mac- MAC addresses to which clients are allowed to forward data at

addr]

Layer 2. You can specify up to four addresses.

Defaults Layer 2 restriction is disabled by default. Access Enabled.

History Introduced in WSS Software Version 4.1.

Usage You can specify multiple addresses by listing them on the same command line or by entering multiple commands. To change a MAC address, use the clear security l2-restrictcommand to remove it, then use the set security l2-restrictcommand to add the correct address.

Restriction of client traffic does not begin until you enable the permitted MAC list. Use the mode enable option with this command.

Examples The following command restricts Layer 2 forwarding of client data in VLAN abc_air to the default routers with MAC address aa:bb:cc:dd:ee:ff and 11:22:33:44:55:66:

WSS# set security l2-restrict vlan abc_air mode enable permit-mac aa:bb:cc:dd:ee:ff 11:22:33:44:55:66

success: change accepted.

See Also

clear security l2-restrict on page 75

clear security l2-restrict counters on page 75

show security l2-restrict on page 87

set vlan name

Creates a VLAN and assigns a number and name to it.

Syntax set vlan vlan-numname name

vlan-num

VLAN number. You can specify a number from 2 through 4093.

name

String up to 16 alphabetic characters long.

Defaults VLAN 1 is named default by default. No other VLANs have default names. Access Enabled.

Usage You must assign a name to a VLAN (other than the default VLAN) before you can add ports to the VLAN.

Nortel WLAN—Security Switch 2300 Series Command Line Reference

Page 89
Image 89
Nortel Networks 2300 Series manual Set vlan name, Syntax set vlan vlan-numname name, Mode, Enable disable