P
ORT
C
ONFIGURATION
3-117
CLI
– This example creates trunk 2 with ports 1 and 2. Just connect these
ports to two static trunk ports on another switch to form a trunk.
Enabling LACP on Selected Ports
Command Usage
•
To avoid creating a loop in the
network, be sure you enable LACP
before connecting the ports, and also
disconnect the ports before disabling
LACP.
•
If the target switch has also enabled
LACP on the connected ports, the
trunk will be activated automatically.
Console(config)#interface port-channel 2
4-144
Console(config-if)#exit
Console(config)#interface ethernet 1/1
4-144
Console(config-if)#channel-group 1
4-164
Console(config-if)#exit
Console(config)#interface ethernet 1/2
Console(config-if)#channel-group 1
Console(config-if)#end
Console#show interfaces status port-channel 1
4-151
Information of Trunk 1
Basic information:
Port type: 1000T
Mac address: 00-00-E8-AA-AA-01
Configuration:
Name:
Port admin: Up
Speed-duplex: Auto
Capabilities: 10half, 10full, 100half, 100full, 1000full,
Flow control: Disabled
Port security: Disabled
Max MAC count: 0
Port security action: None
Current status:
Created by: User
Link status: Down
Operation speed-duplex: 1000full
Flow control type: None
Member Ports: Eth1/1, Eth1/2,
Console#
active
links
}
}
dynamically
enabled
configured
members
backup
link
Summary of Contents for 6128L2
Page 2: ......
Page 21: ...CONTENTS xvii Glossary Index ...
Page 22: ...CONTENTS xviii ...
Page 26: ...TABLES xxii ...
Page 40: ...INTRODUCTION 1 10 ...
Page 54: ...INITIAL CONFIGURATION 2 14 ...
Page 193: ...PORT CONFIGURATION 3 139 Figure 3 61 Displaying Etherlike and RMON Statistics ...
Page 257: ...QUALITY OF SERVICE 3 203 Figure 3 90 Configuring Policy Maps ...
Page 313: ...COMMAND GROUPS 4 13 PE Privileged Exec VC VLAN Database Configuration ...
Page 592: ...TROUBLESHOOTING B 4 ...
Page 605: ......