interface

This topic explains how to enter Interface Configuration mode for ports on Gigabit smart switch models.

Syntax

interface id

Parameter

Specify the interface using the unit/slot/port format. Unit specifies the switch number within a stack. In standalone mode, the default unit number is 1. In a stacked configuration, each switch is assigned a unique unit number starting from 1. Slot is 0 and cannot be changed. Port indicates the port number within the specified unit. Ports are numbered sequentially starting from 1.

Default

No default value.

Mode

Global Configuration

Usage

Some configurations are interface-based, requiring you to enter Interface Configuration mode. Use this command to enter Interface Configuration mode and select one or more interfaces to configure. In Interface Configuration mode, the prompt displays as follows:

CODE
Switch(config-if)#

Example

This example shows how to enter Interface Configuration mode:
CODE
Switch# configure
Switch(config)# interface 1/0/1
Switch(config-if)#