33
Configuring Interfaces
Configuring Ethernet Interfaces
Configuring the Port Type
By default, all the 10/100 ports on the switch are configured as UNIs, and the SFP module ports are configured as NNIs.
You use the
port-type
interface configuration command to change the port types. An ENI has the same characteristics
as a UNI, but it can be configured to support CDP, STP, LLDP, and Etherchannel LACP and PAgP.
When a port is changed from an NNI to a UNI or ENI, it inherits the configuration of the assigned VLAN, either in isolated
or community mode.
When you change a port from NNI to UNI or ENI or the reverse, any features exclusive to the port type revert to the default
configuration. For Layer 2 protocols, such as STP, CDP, and LLDP, the default for UNIs and ENIs is disabled (although they
can be enabled on ENIs) and the default for NNIs is enabled.
Note:
By default, the switch sends keepalive messages on UNI s and ENIs and does not send keepalive messages on
NNIs. Changing the port type from UNI or ENI to NNI or from NNI to UNI or ENI has no effect on the keepalive status. You
can change the keepalive state from the default setting by entering the [
no
]
keepalive
interface configuration command.
If you enter the
keepalive
command with no arguments, keepalive packets are sent with the default time interval (10
seconds) and number of retries (5). Entering the
no keepalive
command disables keepalive packets on the interface.
Beginning in privileged EXEC mode, follow these steps to configure the port type on an interface:
Table 7
Default Ethernet Configuration for UNIs and ENIs
Feature
Default Setting
Operating mode
Layer 2 or
switching mode (
switchport
command).
Allowed VLAN range
VLANs 1– 4094.
Default VLAN (for access ports)
VLAN 1 (Layer 2 interfaces only).
Native VLAN (for 802.1Q trunks)
VLAN 1 (Layer 2 interfaces only).
VLAN trunking
Switchport mode access (Layer 2 interfaces only).
Dynamic VLAN
Enabled.
Port enable state
Disabled when no configuration file exists.
Port description
None defined.
Speed
Autonegotiate.
Duplex mode
Autonegotiate.
802.3x flow control
Flow control is set to
receive
:
off
. It is always off for sent packets.
EtherChannel
Disabled on all Ethernet ports. See
Configuring EtherChannels, page 1027
Port blocking (unknown multicast and
unknown unicast traffic)
Disabled (not blocked) (only Layer 2 interfaces).
Broadcast, multicast, and unicast storm
control
Disabled.
Port security
Disabled (only Layer 2 interfaces).
Auto-MDIX
Enabled.
Summary of Contents for IE 4000
Page 12: ...8 Configuration Overview Default Settings After Initial Switch Configuration ...
Page 52: ...48 Configuring Interfaces Monitoring and Maintaining the Interfaces ...
Page 108: ...104 Configuring Switch Clusters Additional References ...
Page 128: ...124 Performing Switch Administration Additional References ...
Page 130: ...126 Configuring PTP ...
Page 140: ...136 Configuring CIP Additional References ...
Page 146: ...142 Configuring SDM Templates Configuration Examples for Configuring SDM Templates ...
Page 192: ...188 Configuring Switch Based Authentication Additional References ...
Page 244: ...240 Configuring IEEE 802 1x Port Based Authentication Additional References ...
Page 298: ...294 Configuring VLANs Additional References ...
Page 336: ...332 Configuring STP Additional References ...
Page 408: ...404 Configuring DHCP Additional References ...
Page 450: ...446 Configuring IGMP Snooping and MVR Additional References ...
Page 490: ...486 Configuring SPAN and RSPAN Additional References ...
Page 502: ...498 Configuring Layer 2 NAT ...
Page 770: ...766 Configuring IPv6 MLD Snooping Related Documents ...
Page 930: ...926 Configuring IP Unicast Routing Related Documents ...
Page 976: ...972 Configuring Cisco IOS IP SLAs Operations Additional References ...
Page 978: ...974 Dying Gasp ...
Page 990: ...986 Configuring Enhanced Object Tracking Monitoring Enhanced Object Tracking ...
Page 994: ...990 Configuring MODBUS TCP Displaying MODBUS TCP Information ...
Page 996: ...992 Ethernet CFM ...
Page 1066: ...1062 Using an SD Card SD Card Alarms ...