2.2 interface
Use this command to start interface (port) configuration. Terminal display switches from (config)#
to (config-if)#
.
Command Syntax
interface <port_type> [ <port_type_list> ]
Note: It is possible to configure the same parameter for multiple interfaces by using syntax as 1/1–8 (configure same value for ports 1–8), as described in the command example.
Argument | Description | |
Parameter |
| Port type GigabitEthernet, LAG, VLAN |
| List of Port ID, for example, 1/1,2-4 1/1-8 1/1,2,4,8 | |
Default | N.A | |
Mode | Global Configuration | |
Usage | Enter interface configuration mode to start configuring port parameters. | |
Example | Example 1: Enter configuration mode for ports 1 and 4.
Example 2: Enter configuration mode for ports 1 through 8.
|