Users Guide
You can use interface ranges for:
• Ethernet physical interfaces
• Port channels
• VLAN interfaces
A bulk conguration includes any non-existing interfaces in an interface range from the conguration.
You can congure a default VLAN only if the interface range being congured consists of only VLAN ports. When a conguration in one of
the VLAN ports fails, all the VLAN ports in the interface range are aected.
Create an interface range allowing other commands to be applied to that interface range using the interface range command.
Congure range of Ethernet addresses and enable them
OS10(config)# interface range ethernet 1/1/1-1/1/5
OS10(conf-range-eth1/1/1-1/1/5)# no shutdown
View the conguration
OS10(conf-range-eth1/1/1-1/1/5)# show configuration
!
interface ethernet1/1/1
no shutdown
switchport access vlan 1
!
interface ethernet1/1/2
no shutdown
switchport access vlan 1
!
interface ethernet1/1/3
no shutdown
switchport access vlan 1
!
interface ethernet1/1/4
no shutdown
switchport access vlan 1
!
interface ethernet1/1/5
no shutdown
switchport access vlan 1
Congure range of VLANs
OS10(config)# interface range vlan 1-100
OS10(conf-range-vl-1-100)#
Congure range of port channels
OS10(config)# interface range port-channel 1-25
OS10(conf-range-po-1-25)#
Switch-port proles
A port prole determines the enabled front-panel ports and supported breakout modes on Ethernet and unied ports. Change the port
prole on a switch to customize uplink and unied port operation, and the availability of front-panel data ports.
To change the port prole at the next reboot, use the switch-port-profile command with the desired prole, save it to the startup
conguration, and use the reload command to apply the changes.
1 Congure a platform-specic port prole in CONFIGURATION mode. For a standalone switch, enter 1/1 for node/unit.
switch-port-profile node/unit profile
2 Save the port prole change to the startup conguration in EXEC mode.
write memory
94
Interfaces