Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Setting the SNMP server host

The snmp-server host command configures a SNMP host by associating with the SNMP users. You execute this command in global configuration mode.

Refer to the Network OS Command Reference for complete descriptions of all the SNMP server host options.

  1. Execute the configure terminal command to enter global configuration mode.
  2. Execute the snmp-server host to configure the SNMP server host.

    The following example sets up "commaccess" as a community string and sets 10.32.147.6 as a trap recipient with SNMPv2c on target port 162, with default-vrf.

    switch(config)# snmp-server host 10.32.147.6 commaccess version 2c udp-port 162 severity warning use-vrf default-vrf