This command gives you access to the Interface Config mode, which allows you to enable or modify the operation of an interface (port). You can also specify a range of ports to configure at the same time by specifying the starting unit/slot/port and ending unit/slot/port, separated by a hyphen.
| Format | interface {unit/slot/port | unit/slot/port(startrange)-unit/slot/port(endrange)} |
| Mode | Global Config |
Example: The following example enters Interface Config mode for port 1/0/1:
(switch) #configure (switch) (config)#interface 1/0/1 (switch) (interface 1/0/1)#
Example: The following example enters Interface Config mode for ports 1/0/1 through 1/0/4:
(switch) #configure (switch) (config)#interface 1/0/1-1/0/4 (switch) (interface 1/0/1-1/0/4)#