Force10 Networks S2410s Switch User Manual


 
interface range
SFTOS Command Reference for the S2410, Version 2.4.1.0 111
Example
Figure 22 Bulk Configuration Warning Message
Figure 23 is an example of a correctly formatted single range bulk configuration.
Example
Figure 23 Single Range Bulk Configuration
Figure 24 shows how to use commas to add different interface types to the range enabling all
Gigabit Ethernet interfaces in the range 5/1 to 5/23 and both 10-Gigabit Ethernet interfaces 1/
0/49 and 1/0/50.
Example
Figure 24 Multiple Range Bulk Configuration for Gigabit Ethernet
Use the show running-config command to view 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. Note
that you can only modify, not create, virtual interfaces (ethernet, port channel, VLAN) using
the
interface range command.
Force10(config)#interface range vlan 10 - 20
% Warning: Non-existing ports (not configured) are ignored by
interface-range
(conf-if-range-vlan 10-20)#
Force10(config)#interface range ethernet 5/0/1-5/0/23
Force10(config-if-range)#no shutdown
Force10(config-if-range)#
Force10(config)#interface range ethernet 5/0/1-23,1/0/49,1/0/50
Force10(config-if-range)#no shutdown
Force10(config-if-range)#
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.
Related
Commands
interface Accesses the Interface Config mode for a designated logical or physical interface.
interface vlan Creates a new VLAN and accesses the Interface VLAN mode for it, or selects an
existing VLAN and accesses the Interface VLAN mode for it.
port-channel