76
[group id]
mode
trunk mode
[lacp|static]
or
no trunk mode
Interface
configuration
mode
Configure the mode of the
trunk group.
static
switch(config)# interface
port-channel 1
switch(config-if)#
trunk mode static
or
switch(config-if)#
no trunk mode
channel-group
[group id]
Interface
configuration
mode
Adds a port to a trunk.
If the trunk group doesn’t exist,
it will create the group.
switch(config)# interface
gigaethernet 1
switch(config-if)#
channel-group 1
no channel-group
Interface
configuration
mode
Remove a port from a trunk.
switch(config)# interface
gigaethernet 1
switch(config-if)#
no channel-group 1
show interfaces
status
port-channel
[group id]
Privileged
EXEC
Shows trunk information
switch# show interfaces status
port-channel 1
show port activity
Privileged
EXEC
Show lacp port activity
information
active
switch#show port activity
port
{active|passive}
Interface
configuration
mode
Set port active|passive
switch(config)# interface
gigaethernet 1
switch(config-if)# port passive
45B
SNMP Commands Set
Commands
Command
Level
Description
Default
Example
snmp name
[station name]
Global
configuration
mode
Configure station name.
switch(config)# snmp name
station1
snmp location
[station location]
Global
configuration
mode
Configure station location.
switch(config)# snmp location
Taiwan
snmp contact
[station contact]
Global
configuration
mode
Configure station contact.
switch(config)# snmp
contact
HU
UH