Mac/filter table commands set, Snmp commands set, C-9 mac / filter table commands set – Husky HME-423E User Manual

Page 70: C-10 snmp commands set

Advertising
background image

Command Set Lists

C-8

Igmp-query auto

G

Set IGMP query to auto
mode

switch(config)#Igmp-query auto

Igmp-query force

G

Set IGMP query to force
mode

switch(config)#Igmp-query force

show igmp configuration

P

Displays the details of an
IGMP configuration.

switch#show igmp configuration

no igmp

G

Disable IGMP snooping
function

switch(config)#no igmp

no igmp-query

G

Disable IGMP query

switch#no igmp-query

C-9 Mac / Filter Table Commands 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

C-10

SNMP Commands Set

Commands

Level Description

Example

snmp system-name

[System Name]

G

Set SNMP agent system
name

switch(config)#snmp system-name
l2switch

snmp system-location

[System Location]

G

Set SNMP agent system
location

switch(config)#snmp system-location
lab

snmp system-contact

[System Contact]

G

Set SNMP agent system
contact

switch(config)#snmp system-contact
where

snmp agent-mode

[v1v2c|v3|v1v2cv3]

G

Select the agent mode of
SNMP

switch(config)#snmp agent-mode
v1v2cv3

snmp community-strings

[Community]

right

[RO/RW]

G

Add SNMP community
string.

switch(config)#snmp
community-strings public right rw

snmp-server host

[IP address]

G

Configure SNMP server
host information and
community string

switch(config)#snmp-server host
192.168.1.50 community public
trap-version v1

Advertising