In interface configuration mode you can attribute configuration interface.
You can use interface in global configuration mode command into the SVI interface configuration
mode.
Command
Function
Switch(config)#
interface vlan
vlan
ID
Enter the interface command in global configuration
mode, enter the SVI interface configuration mode.
Under the given into the interface vlan1 interface example
:
Switch(config)#
interface vlan
1
Switch(config-if-vlan1)#
In the SVI interface configuration mode you can configure the IP address of the interface.
3.2.3.
Select the interface media type
Some of these interfaces, can have a variety of media types for the user to choose. You can choose
one kind of medium. Once you have selected the medium type, connection status, speed, duplex,
fluidic attribute interface all refer to the properties of the medium type, if you change the media type, the
new media types of these properties will use the default values, you can according to need to set these
properties.
This configuration command only to the physical port.Link-aggregation Port and the SVI interface is not
supported media type setting. This configuration command only for media port.
Configuration for the Link-aggregation Port member export port, the medium type must be consistent,
otherwise cannot be added to the AP.
The Link-aggregation port type Port members and can not be changed.
3.2.4.
Configuration interface description and management state
In Command to help you remember an interface function for each interface, you can come up with a
name that identifies this interface, also is the description of the interface (Description). You can set the
interface according to the specific name, to express the meaning of such as: you want to put the
Gigabitethernet 0/1 assigned to the user A special use, you can use this interface description is set to
"User A
”.
Command
Function
Switch(config-if-gigabitEthernet-0/2)#
description
string
Set interface description, up to a maximum of
240 characters.
The following example shows how to set the interface Gigabitethernet 0/1 description
:
Switch# config terminal
Switch(config)#interface gigabitEthernet 0/1
Switch(config-if-gigabitEthernet-0/1)#description
User A