API Guide

Example
OS10(config)# interface port-channel 10
OS10(conf-if-po-10)#
Supported
Releases
10.2.0E or later
interface range
Configures a range of Ethernet, port-channel, or VLAN interfaces for bulk configuration.
Syntax
interface range {ethernet node/slot/port[:subport]-node/slot/
port[:subport],[...]} | {port-channel IDnumber-IDnumber,[ ...]} | vlan
vlanID-vlanID,[...]}
Parameters
node/slot/port[:subport]-node/slot/port[:subport] Enter a range of Ethernet
interfaces.
IDnumber-IDnumber Enter a range of port-channel numbers, from 1 to 128.
vlanID-vlanID Enter a range VLAN ID numbers, from 1 to 4093.
Default Not configured
Command Mode CONFIGURATION
Usage
Information
Enter up to six comma-separated interface ranges without spaces between commas. When creating an
interface range, interfaces are not sorted and appear in the order entered. You cannot mix interface
configuration such as Ethernet ports with VLANs.
Abulk configuration is created if at least one interface is valid.
Non-existing interfaces are excluded from the bulk configuration with a warning message.
This command has multiple port ranges, the prompt excludes the smaller port range.
If you enter overlapping port ranges, the port range extends to the smallest port and the largest end
port.
You can only use VLAN and port-channel interfaces created using the interface vlan and
interface port-channel commands.
You cannot create virtual VLAN or port-channel interfaces using the interface range command.
The no version of this command deletes the interface range.
Example
OS10(config)# interface range ethernet 1/1/7-1/1/24
OS10(conf-range-eth1/1/7-1/1/24)#
Supported
Releases
10.2.0E or later
interface vlan
Creates a VLAN interface.
Syntax
interface vlan vlan-id
Parameters vlan-id Enter the VLAN ID number, from 1 to 4093.
Default VLAN 1
Command Mode CONFIGURATION
Usage
Information
FTP, TFTP, MAC ACLs, and SNMP operations are not supported. IP ACLs are supported on VLANs only.
The no version of this command deletes the interface.
NOTE: In SmartFabric Services mode, creation of VLAN is disabled.
290 Interfaces