RES-P3242GCL SERIES User’s Manual
84
5.9 Commands Set List—MAC/Filter Table command set
Commands
Level
Description
Example
mac-address-table static
hwaddr
[MAC]
I
Configure MAC
address table of
interface (static).
switch(config)#interface fastEthernet
2
switch(config-if)#mac-address-table
static hwaddr 000012345678
mac-address-table filter
hwaddr
[MAC]
G
Configure MAC
address table(filter)
switch(config)#mac-address-table
filter hwaddr 000012348678
show mac-address-table
P
Show all MAC
address table
switch#show mac-address-table
show mac-address-table
static
P
Show static MAC
address table
switch#show mac-address-table
static
show mac-address-table
filter
P
Show filter MAC
address table.
switch#show mac-address-table filter
no mac-address-table
static hwaddr
[MAC]
I
Remove an entry of
MAC address table of
interface (static)
switch(config)#interface fastEthernet
2
switch(config-if)#no
mac-address-table static hwaddr
000012345678
no mac-address-table
filter hwaddr
[MAC]
G
Remove an entry of
MAC address table
(filter)
switch(config)#no mac-address-table
filter hwaddr 000012348678
no mac-address-table
G
Remove dynamic
entry of MAC address
table
switch(config)#no mac-address-table
5.10 Commands Set List—SNMP command set
Commands
Level
Description
Example
snmp agent-mode
[v1v2c | v3]
G
Select the agent
mode of SNMP
switch(config)#snmp agent-mode
v1v2c
snmp-server host
[IP address]
community
[Community-string]
trap-version
G
Configure SNMP
server host
information and
community string
switch(config)#snmp-server host
192.168.10.50 community public
trap-version v1
(remove)
Switch(config)#