# Configuring SNMP Contact

You can configure the SNMP Contact string using the below command:

#### Reference

<table data-header-hidden><thead><tr><th></th><th></th><th data-hidden></th></tr></thead><tbody><tr><td>Command</td><td>[no] snmp-server contact contact-name &#x3C;contact_name> contact-mail &#x3C;Contact_mail></td><td></td></tr><tr><td>Description</td><td>SNMP contact configuration</td><td></td></tr><tr><td>Parameters</td><td>SNMP contact</td><td></td></tr><tr><td>Mode</td><td>CONFIG</td><td></td></tr></tbody></table>

#### Example

```
pbnoscli# configure terminal 
pbnoscli(config)# snmp-server
pbnoscli(config)# snmp-server contact contact-name 
 <cont_name>           
pbnoscli(config)# snmp-server contact contact-name test-engineer 
  contact-mail
pbnoscli(config)# snmp-server contact contact-name test-engineer contact-mail test@example.com 
pbnoscli#


pbnoscli(config)# no snmp-server contact
pbnoscli# 
```

You can verify the configuration by using the command(s) below:

```
pbnoscli# show snmp-contact 
===================================================
Contact      
===================================================
Contact Name : test-engineer
Contact Mail : test@example.com
pbnoscli# 
```

```
pbnoscli# show running-config 
configure terminal
!
interface mgmt
ip address 10.4.4.52/24 gateway 10.4.4.1
!
snmp-server contact contact-name test-engineer contact-mail test@example.com
snmp-server location Location-1
!
pbnoscli#
```
