6-11
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 6 Configuring Interfaces Deploying SFP+ in X2 Ports
To define an interface-range macro, enter this command:
This example shows how to define an interface-range macro named enet_list to select Fast Ethernet
interfaces 5/1 through 5/4:
Switch(config)# define interface-range enet_list fastethernet 5/1 - 4
To show the defined interface-range macro configuration, enter this command:
This example shows how to display the defined interface-range macro named enet_list:
Switch# show running-config | include define
define interface-range enet_list FastEthernet5/1 - 4
Switch#
To use an interface-range macro in the interface range command, enter this command:
This example shows how to change to the interface-range configuration mode using the interface-range
macro enet_list:
Switch(config)# interface range macro enet_list
Switch(config-if)#
Deploying SFP+ in X2 Ports
Note This feature is supported on Supervisor Engine 6-E and Supervisor Engine 6L-E as well as on
WS-X4606-X2-E, WS-X4908-10GE, WS-X4904-10GE, and the WS-C4900M chassis.
Command Purpose
Switch(config)# define interface-range macro_name
{vlan vlan_ID - vlan_ID} | {{fastethernet |
gigabitethernet} slot/interface - interface}
[, {vlan vlan_ID - vlan_ID} {{fastethernet |
gigabitethernet} slot/interface - interface}]
Defines the interface-range macro and
saves it in the running configuration file.
Command Purpose
Switch# show running-config Shows the defined interface-range macro
configuration.
Command Purpose
Switch(config)# interface range macro
name Selects the interface range to be configured using
the values saved in a named interface-range macro.