snmp

Global

Set Snmp agent

 

Switch (config)# snmp

system-location

configuratio

N/A

system location

system-location lab
[SystemLocation]

n mode

 

 

 

 

 

 

 

 

 

snmp

Global

Set Snmp agent

 

Switch (config)# snmp

system-contact

configuratio

N/A

system contact

system-contact where
[SystemContact]

n mode

 

 

 

 

 

 

 

 

 

snmp

 

 

 

 

community-strings

 

Add snmp

 

 

[Community] right

 

community string.

 

 

[RO RW]

Global

Use the no form of

PUBLIC

Switch (config)# snmp

 

configuratio

this command to

community-strings

Or

RO

n mode

remove the

public right RW

 

 

no snmp

 

specified

 

 

community-strings

 

community.

 

 

[Community]

 

 

 

 

 

 

 

 

 

Snmp-server host

Global

Configure SNMP

 

Switch (config)#

[host-address]

server host

 

snmp-server host

configuratio

N/A

community

information and

192.168.0.10

n mode

 

community-string

community string

 

community rw

 

 

 

 

 

 

 

No snmp-server

Global

Delete the snmp

 

Switch (config)# no

configuratio

N/A

host

server host setting

snmp-server host

n mode

 

 

 

 

 

 

 

 

 

 

3.3.2.10 Port Mirroring Commands Set

Commands

Command

Description

Defaults

Example

Level

 

 

 

 

 

 

 

 

 

port monitor

 

Use the port

 

Switch (config)#

 

Interface

 

 

[RXTXBoth

monitor interface

 

Interface fastEthernet

 

 

 

configuratio

 

N/A

Disable] PortList

configuration

0/8

 

 

 

n mode

 

 

 

command to

 

 

Or

 

 

 

 

enable Switch Port

 

Switch (config-if)# port