The following section includes information about optional configurations for physical interfaces:
•
Overview of Layer Modes
•
Configure Layer 2 (Data Link) Mode
•
Management Interfaces
•
Auto-Negotiation on Ethernet Interfaces
•
Adjust the Keepalive Timer
•
Clear Interface Counters
Overview of Layer Modes
On all systems running FTOS, you can place physical interfaces, port channels, and VLANs in Layer 2
mode or Layer 3 mode. By default, VLANs are in Layer 2 mode.
Table 13-1
Table 13-1. Interface Types
Type of Interface
100/1000/10000 Ethernet, 40 Gigabit
Ethernet, 10 Gigabit Ethernet
Management
Loopback
Null interface
Port Channel
VLAN
Configure Layer 2 (Data Link) Mode
To enable Layer 2 data transmissions through an individual interface, use the
INTERFACE mode. You cannot configure switching or Layer 2 protocols, such as the spanning tree
protocol (STP), on an interface unless the interface has been set to Layer 2 mode.
Figure 13-4
Figure 13-4. show config Command Example of a Layer 2 Interface
FTOS(conf-if)#show config
!
interface Port-channel 1
no ip address
switchport
no shutdown
FTOS(conf-if)#
224
|
Interfaces
lists the different interface types and modes.
Possible
Modes
Layer 2
Layer 3
n/a
Layer 3
n/a
Layer 2
Layer 3
Layer 2
Layer 3
shows the basic configuration found in a Layer 2 interface.
Requires Creation
Default State
No
Shutdown (disabled)
No
Shutdown (disabled)
Yes
No shutdown (enabled)
No
Enabled
Yes
Shutdown (disabled)
Yes, except for the
No shutdown (active for Layer 2)
default VLAN
Shutdown (disabled for Layer 3)
command in
switchport