
CLI Commands
The following table summarizes the equivalent CLI commands for items in the
Class of Service/Layer 3/4 Priority/IP Port Priority
page.
Example
Console(config)#map ip port
Console(config)#interface ethernet 1/5
Console(config-if)#map ip port 80 cos 0
Console(config-if)#exit
Console(config)#exit
Console#show map ip port
TCP port mapping status: disabled
Port Port no. COS
--------- -------- ---
Eth 1/ 5 80 0
Console#
Link Aggregation
From the
Link Aggregation
page, you can create multiple links between switches that work as one virtual, aggregate link. You can create up to six trunks at a
time, with each trunk containing up to four ports. A port trunk offers a dramatic increase in bandwidth for network segments where bottlenecks exist and
provides a fault-tolerant link between two devices.
The switch supports two types of link aggregation
—
static and Link Aggregation Control Protocol (LACP).
LACP-configured ports automatically negotiate a trunked link with LACP-configured ports on another device. You can configure any number of ports on the
switch as LACP, as long as they are not already configured as part of another trunk. If ports on another device are also configured as LACP, the switch and
the other device negotiate a trunk link between them. If an LACP trunk consists of four ports, all other ports are placed in a standby mode. If one link in the
trunk fails, one of the standby ports is automatically activated to replace it.
Use the following guidelines when you configure port trunks:
l
Finish configuring port trunks before you connect the corresponding network cables between switches.
l
You can configure up to six trunk groups, with up to four ports as a trunk group.
l
All ports in the same trunk must consist of the same media type (for example, twisted-pair or fiber).
l
The ports on both ends of the trunk must be configured for the same VLAN, speed, duplex mode, flow control, and CoS settings.
Command
Usage
map ip port
Global configuration level enables IP port mapping for the switch
map ip port
port-number
cos
cos-value
Interface configuration level sets IP port priority for a port or trunk interface
(applies to all ports)
show map ip port [
interface
]
Shows the IP port priority map for a port or trunk interface (applies to all
ports)