port

This command identifies the appliance UDP port that is monitored by the SNMP agent for SNMP requests.

Syntax

port [address] port

Parameters

address
Specifies an optional IP address that identifies a specific local interface as a recipient of SNMP requests.
port
Identifies the UDP port that is monitored by the SNMP agent or engine for SNMP requests. The default value is 161.

Guidelines

In the absence of an IP address argument, the SNMP agent monitors the specified port on all interfaces for SNMP requests. With an IP address argument provided, the SNMP agent monitors only the specified interface-port pair for SNMP requests. For example, the IP address might be the XML management port.

Examples

  • Identify a nonstandard SNMP port, 65161, on all interfaces as the recipient of SNMP requests.
    # port 65161
  • Identify a specific IP address and port pair as the recipient of SNMP requests.
    # port 10.10.10.10 161