
18
Interface Configuration:
Many features are enabled for a particular interface. The Interface commands enable or
modify the operation of an interface. In this mode, a physical port is set up for a specific logical connection operation.
The Interface Configuration mode provides access to the router interface configuration commands.
This section has three interface configuration,
Port interface, LLAG interface,
and
VLAN interface
. For Port interface,
type
interface IFNAME
in global configuration mode. Then User can enter the interface configuration mode. In this
mode, User can configure port settings. In port interface, the name of Gigabit Ethernet port 1 is GigabitEthernet 1/1,
GigabitEthernet 1/2 and so on. Type
exit
to leave current level and press
?
to see the command list. The command
lists of the global configuration mode.
(config)# interface ?
* All switches or All ports
GigabitEthernet 1 Gigabit Ethernet Port
llag Local link aggregation interface configuration
vlan VLAN interface configurations
(config)# interface GigabitEthernet ?
<port_type_list> Port list in 1/1-10
(config)# interface * / GigabitEthernet 1/1
(config-if)# ?
access-list Access list
aggregation Create an aggregation
description Description of the interface
do To run exec commands in the configuration mode
dot1x IEEE Standard for port-based Network Access Control
duplex Interface duplex
end Go back to EXEC mode
excessive-restart Restart backoff algorithm after 16 collisions (No
excessive-restart means discard frame after 16
collisions)
exit Exit from current mode
flowcontrol Traffic flow control.
frame-length-check Drop frames with mismatch between EtherType/Length
field and actually payload size.
green-ethernet Green Ethernet (Power reduction)
help Description of the interactive help system
ip Interface Internet Protocol configuration commands
lacp Enable LACP on this interface
lldp LLDP configurations.
loop-protect Loop protection configuration on port
mac MAC keyword
media-type Media type.
mtu Maximum transmission unit
no Set to default value.
port-security Enable/disable port security per interface.
priority-flowcontrol Priority Flow Control (802.1Qbb)
pvlan Private VLAN
qos Quality of Service
shutdown Shutdown of the interface.
spanning-tree Spanning Tree protocol
speed Configures interface speed. If you use 10, 100, or
1000 keywords with the auto keyword the port will
only advertise the specified speeds.
switchport Set VLAN switching mode characteristics
thermal-protect Thermal group for the interface.