02.10.2013 Views

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

FTOS Configuration Guide for the C-Series - Force10 Networks

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.

To create a port-based VLAN, use <strong>the</strong> following command in <strong>the</strong> CONFIGURATION mode:<br />

Command Syntax Command Mode Purpose<br />

interface vlan vlan-id CONFIGURATION Configure a port-based VLAN (if <strong>the</strong> vlan-id is<br />

different from <strong>the</strong> Default VLAN ID) and enter<br />

INTERFACE VLAN mode.<br />

After you create a VLAN, you must assign interfaces<br />

in Layer 2 mode to <strong>the</strong> VLAN to activate <strong>the</strong> VLAN.<br />

Use <strong>the</strong> show vlan command (Figure 36) in <strong>the</strong> EXEC privilege mode to view <strong>the</strong> configured VLANs.<br />

<strong>Force10</strong>#show vlan<br />

Codes: * - Default VLAN, G - GVRP VLANs<br />

NUM Status Q Ports<br />

* 1 Inactive U So 9/4-11<br />

2 Active U Gi 0/1,18<br />

3 Active U Gi 0/2,19<br />

4 Active T Gi 0/3,20<br />

5 Active U Po 1<br />

6 Active U Gi 0/12<br />

U So 9/0<br />

<strong>Force10</strong>#<br />

Figure 93 show vlan Command Example<br />

A VLAN is active only if <strong>the</strong> VLAN contains interfaces and those interfaces are operationally up. In<br />

Figure 93, VLAN 1 is inactive because it contains <strong>the</strong> interfaces that are not active. The o<strong>the</strong>r VLANs<br />

listed in <strong>the</strong> Figure 93 contain enabled interfaces and are active.<br />

Note: In a VLAN, <strong>the</strong> shutdown command stops Layer 3 (routed) traffic only. Layer 2 traffic continues to<br />

pass through <strong>the</strong> VLAN. If <strong>the</strong> VLAN is not a routed VLAN (that is, configured with an IP address), <strong>the</strong><br />

shutdown command has no affect on VLAN traffic.<br />

When you delete a VLAN (using <strong>the</strong> no interface vlan vlan-id command), any interfaces assigned to that<br />

VLAN are assigned to <strong>the</strong> Default VLAN as untagged interfaces.<br />

Assigning interfaces to a VLAN<br />

Only interfaces in Layer 2 mode can be assigned to a VLAN using <strong>the</strong> tagged and untagged commands.<br />

Use <strong>the</strong> switchport command to place an interface in Layer 2 mode.<br />

These Layer 2 interfaces can fur<strong>the</strong>r be designated as tagged or untagged. For more in<strong>for</strong>mation, refer to<br />

<strong>the</strong> Interfaces chapter and Layer 2 Mode on page 246. When an interface is placed in Layer 2 mode by <strong>the</strong><br />

switchport command, <strong>the</strong> interface is automatically designated untagged and placed in <strong>the</strong> Default<br />

VLAN.<br />

<strong>FTOS</strong> <strong>Configuration</strong> <strong>Guide</strong>, version 7.7.1.0 185

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

Saved successfully!

Ooh no, something went wrong!