30.06.2015 Views

8.28 MB - Edge-Core

8.28 MB - Edge-Core

8.28 MB - Edge-Core

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

VLAN Commands<br />

4<br />

Example<br />

Console(config)#vlan database<br />

Console(config-vlan)#<br />

Related Commands<br />

show vlan (4-154)<br />

vlan<br />

This command configures a VLAN. Use the no form to restore the default settings or<br />

delete a VLAN.<br />

Syntax<br />

vlan vlan-id [name vlan-name] media ethernet [state {active | suspend}]<br />

no vlan vlan-id [name | state]<br />

• vlan-id - ID of configured VLAN. (Range: 1-4094, no leading zeroes)<br />

• name - Keyword to be followed by the VLAN name.<br />

- vlan-name - ASCII string from 1 to 32 characters.<br />

• media ethernet - Ethernet media type.<br />

• state - Keyword to be followed by the VLAN state.<br />

- active - VLAN is operational.<br />

- suspend - VLAN is suspended. Suspended VLANs do not pass packets.<br />

Default Setting<br />

By default only VLAN 1 exists and is active.<br />

Command Mode<br />

VLAN Database Configuration<br />

Command Usage<br />

• no vlan vlan-id deletes the VLAN.<br />

• no vlan vlan-id name removes the VLAN name.<br />

• no vlan vlan-id state returns the VLAN to the default state (i.e., active).<br />

• You can configure up to 255 VLANs on the switch.<br />

Example<br />

The following example adds a VLAN, using VLAN ID 105 and name RD5. The VLAN<br />

is activated by default.<br />

Console(config)#vlan database<br />

Console(config-vlan)#vlan 105 name RD5 media ethernet<br />

Console(config-vlan)#<br />

Related Commands<br />

show vlan (4-154)<br />

4-147

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!