Brocade Network OS Command Reference v4.1.0 User Manual

Page 369

Advertising
background image

Network OS Command Reference

331

53-1003115-01

interface (range specification)

2

vlan vlan_id

Specifies the VLAN number. (Refer to the Usage Guidelines.)

loopback port_number

Specifies the port number for the loopback interface. The range is 1

through 255.

ve vlan_id

Specifies the corresponding VLAN interface that must already be configured
before the VE interface can be created. (Refer to the Usage Guidelines.)

Defaults

None

Command Modes

Global configuration mode (Refer to the Usage Guidelines.)

Description

Use this command to create or enter the interface configuration mode for an interface or range of
interfaces.

Usage Guidelines

Loopback and VE configurations are in global configuration mode in stand alone mode, but are
node specific (local) in fabric custer and logical chassis cluster modes.The other interfaces that
support the use of ranges work the same as shown for VLAN in the examples, except for the
following differences:

VE and loopback interfaces also support ranges in RBridge configuration mode.

For example, if you want to create and/or enter VLAN interface configuration mode for VLAN IDs 3
through 8 and VLAN 10 and 12, you would enter the following command in global configuration
mode:

switch(config)# interface vlan 3-8,10,12

NOTE

Do not use a space after a comma or you will receive a syntax error.

You then receive the following prompt:

switch(config-Vlan-3-8,10,12)#

Any command you run from this prompt takes effect on all VLANs that you have specified.

You can use the no form of commands on ranges in the same way. For example, if you want to
remove the description on VLANS 10 through 15 and VLAN 19 all at the same time, you would
enter the following commands in global configuration mode:

switch(config)# interface vlan 10-15,19

switch(config-vlan-10-15,19)# no description

NOTE

The no form of the command for deleting interfaces should not be given from the range sub-mode.
Exit the range sub-mode before deleting interfaces.

The three gigabit interface types have the following restrictions for range specification in VCS
mode:

Ranges cannot be used for interfaces that belong to multiple slots. However, you can
configure a range of interfaces if each interface in the range belongs to the same slot.

Ranges can be applied only to interfaces that belong to the same RBridge.

Fibrechannel interfaces have the following restrictions for range specification in VCS mode:

Ranges cannot be used for interfaces that belong to multiple slots. However, you can
configure a range of interfaces if each interface in the range belongs to the same slot.

Advertising