snmp-server listen

Syntax

snmp-server listen [oobm|data|both]

Description

Enables or disables inbound SNMP access on a switch. The listen parameter is not available on switches that do not have a separate out-of-band management port.

Parameters and options

no

Disables inbound SNMP access.

listen

Available only on switches that have a separate out-of-band management port. Defaults to both.

oobm

Inbound SNMP access is enabled only on the out-of-band management port.

data

Inbound SNMP access is enabled only on the data ports.

both

Inbound SNMP access is enabled on both the out-of-band management port and on the data ports.