
Configuring LAN Interfaces
Configuring Fast EtherChannel
IC-35
Cisco IOS Interface Configuration Guide
Configuring the Port-Channel Interface
To configure the port-channel interface, use the following commands beginning in global configuration
mode:
Note If you want to use the Cisco Discovery Protocol (CDP), you must configure it on the
physical Ethernet, Fast Ethernet, or GigabitEthernet interface, not on the port-channel
interface.
Caution With Release 11.1(20)CC and later, Fast EtherChannel supports CEF/dCEF. We
recommend that you clear all explicit ip route-cache distributed commands from the Fast
Ethernet interfaces before enabling dCEF on the port-channel interface. Doing this gives
the port-channel interface proper control of its physical Fast Ethernet links. When you
enable CEF/dCEF globally, all interfaces that support CEF/dCEF are enabled. When
CEF/dCEF is enabled on the port-channel interface, it is automatically enabled on each of
the Fast Ethernet interfaces in the channel group. However, if you have previously disabled
CEF/dCEF on the Fast Ethernet interface, CEF/dCEF is not automatically enabled. In this
case, you must enable CEF/dCEF on the Fast Ethernet interface.
Command Purpose
Step 1
interface port-channel
channel-number
Creates the port-channel interface and enters interface configuration mode. The
channel number can be 1 to 4.
Step 2
ip address ip-address mask
Assigns an IP address and subnet mask to the Fast EtherChannel.
If you configure ISL, you must assign the IP address to the subinterface (for
example, interface port-channel 1.1—an IP address per VLAN) and you must
specify the encapsulation with VLAN number under that subinterface (for
example, encapsulation isl 100).
Step 3
mac-address ieee-address
(Optional) Assigns a static MAC address to the Fast EtherChannel.
If you do not assign a static MAC address on the port-channel interface, the
Cisco IOS software automatically assigns a MAC address. If you assign a static
MAC address and then later remove it, the Cisco IOS software automatically
assigns a MAC address.
Step 4
end
(Optional) Enables other supported interface commands to execute, and exits
when they have finished.
Step 5
show interface port-channel
Displays information about the port-channel interface so you can verify the
configuration.
Comentarios a estos manuales