Interface vlan – Dell PowerEdge FX2/FX2s User Manual

Page 140

Advertising
background image

Example-Bulk
Configuration
Warning
Message

Dell(conf)#interface range tengig 0/1 - 2 , tengig 0/4 ,

tengig 0/7

, fa 0/0

% Warning: Non-existing ports (not configured) are ignored by

interface-range

Example-
Interface Range
prompt with
Multiple Ports

Dell(conf)#interface range tengig 0/1 - 2 , tengig 0/3 - 5

Dell(conf-if-range-te-0/1-5)#

Example-
Interface Range
prompt
Overlapping
Port Ranges

Dell(conf)#interface range tengig 0/1 - 2 , tengig 0/1 - 5

Dell(conf-if-range-te-0/1-5)#

Only VLAN and port-channel interfaces created using the interface vlan and
vlan tagged commands can be used in the interface range command.

Use the show running-config command to display the VLAN and port-channel
interfaces. VLAN or port-channel interfaces that are not displayed in the show
running-config command cannot be used with the bulk configuration feature
of the interface range command. You cannot create virtual interfaces (VLAN,
Port-channel) using the interface range command.

NOTE: If a range has VLAN, physical, and port-channel interfaces, only
commands related to physical interfaces can be bulk configured. To configure
commands specific to VLAN or port-channel, only those respective interfaces
should be configured in a particular range.

Example-Single
Range Bulk
Configuration

Dell(conf)# interface range tengigabitethernet 0/1 - 5

Dell(conf-if-range-te-0/1-5)# no shutdown

Dell(conf-if-range-te-0/1-5)#

Example-
Multiple Range
Bulk
Configuration
with VLAN and
port channel

The following example shows how to use commas to add VLAN and port-channel
interfaces to the range.

Dell(conf-if)# interface range tengigabitethernet 0/1 - 5,

vlan 2 - 10, port-channel 1 - 25

Dell(conf-if-range-te-0/1-5,vl-2-10,po-1-25)# no shutdown

Dell(conf-if-range-te-0/1-5,vl-2-10,po-1-25)#

Related
commands

show config (from INTERFACE RANGE mode)

— Shows the bulk configuration

interfaces.

show interfaces status

— Displays a summary of interface information.

interface vlan

Configure the default VLAN to enable Static or DCHP IP configuration

Syntax

interface vlan def-vlan-id

140

Advertising