{"id":6374,"date":"2026-05-04T12:10:35","date_gmt":"2026-05-04T12:10:35","guid":{"rendered":"http:\/\/docs.connexite.co.uk\/index.php\/docs\/connexite-documentation\/synapse-cli-documentation\/cli-configuring-snmp-network-management\/"},"modified":"2026-05-04T12:19:10","modified_gmt":"2026-05-04T12:19:10","slug":"cli-configuring-snmp-network-management","status":"publish","type":"docs","link":"https:\/\/docs.connexite.co.uk\/index.php\/docs\/network\/synapse-cli-documentation\/cli-configuring-snmp-network-management\/","title":{"rendered":"Configuring SNMP Network Management"},"content":{"rendered":"<h2 class=\"connexite-doc-h2\">Overview of SNMP Network Management<\/h2>\n<p>SNMP is the abbreviation of Simple Network Management Protocol, which became a network management standard RFC1157 in August 1988.Up to now, due to the support of this protocol by many manufacturers, SNMP has become the de facto network management standard and is suitable for use in the interconnected environment of multi-manufacturer systems. Using the SNMP protocol, network administrators can perform information query, network configuration, fault location, and capacity planning for nodes on the network. Network monitoring and management are the basic functions of SNMP. Currently the following versions of SNMP exist: SNMPv1: The first official version of the Simple Network Management Protocol, defined in RFC1157. SNMPv2C: Community-Based SNMPv2 Management Architecture, defined in RFC1901. SNMPv3: By authenticating and encrypting data, it provides the following security features:<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Make sure that data is not tampered with during transmission.<\/li>\n<li>Make sure the data is sent from a legitimate data source.<\/li>\n<li>Encrypt messages to ensure data confidentiality.<\/li>\n<\/ul>\n<h2 class=\"connexite-doc-h2\">Configuring<\/h2>\n<ul class=\"connexite-doc-list\">\n<li>Configuring Communication Community Words<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp-server community COMMUNITY { ro | }<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# no snmp -server community COMMUNITY<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure\/delete SNMP communication community word. ro : read-only identifier, configure the community word as a community word with only read permission; the default configuration is a community word with both read and write permissions. Supports configuring multiple community characters at the same time.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server view NAME {include | exclude} OID<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# no snmp -server view name<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure\/delete SNMPv3 views; Supports configuring multiple views at the same time, and supports configuring multiple rules for a single view;<\/p>\n<h2 class=\"connexite-doc-h2\">The system has all and none views by default and cannot be modified<\/h2>\n<ul class=\"connexite-doc-list\">\n<li>Configuring SNMP Groups<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server group NAME {v3 | } { noAuthNoPriv | authNoPriv | authPriv } read RVIEW write WVIEW<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server group NAME {v1 | v2c} read RVIEW write WVIEW<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# no snmp -server group name<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">configure\/delete SNMP groups; Support to configure multiple groups at the same time; create group information in order to be compatible with the old configuration when configuring the community , usually without additional attention<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server user NAME group GROUPNAME auth {md5 | sha} {AUTHPASS} priv { aes | des} PRIVPASS<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# no snmp -server user name<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">configure\/delete SNMP users; Support to configure multiple users at the same time;<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server host IPADDR {informs | traps} {v3 |} { noAuthNoPriv | authNoPriv | authPriv } user NAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server host IPADDR {informs | traps} {v1 | v2c} community NAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# no snmp -server hostname _<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">configure\/delete SNMP server; Support to configure multiple servers at the same time;<\/p>\n<h2 class=\"connexite-doc-h2\">Examples<\/h2>\n<p>Requirements: The IP address of the SNMP network management server is 2.2.2.2, and the read-write communication group word is unified as public.<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Enter the global configuration mode configuration:<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH#<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH#configure terminal<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Enter configuration commands, one per line. End with CNTL\/Z.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)#snmp-server community public<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)#snmp-server 2.2.2.2 community public<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)#<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Case requirements: The IP address of the SNMP network management server is 2.2.2.2, SNMPv3 is used, the user test password is 12345678, the encryption key is 87654321; the authentication algorithm MD5, the encryption algorithm DES<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH#<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH#configure terminal<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Enter configuration commands, one per line. End with CNTL\/Z.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server group test v3 authPriv read all write all<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server user test group test auth MD5 12345678 priv DES 87654321<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# snmp -server host 2.2.2.2 informs v3 authPriv user test<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Networking \u203a Switching \u203a Edge \u203a Synapse<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6349,"menu_order":25,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[115,119,116],"class_list":["post-6374","docs","type-docs","status-publish","hentry","doc_tag-connexite","doc_tag-network","doc_tag-synapse-cli-documentation","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6374","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=6374"}],"version-history":[{"count":1,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6374\/revisions"}],"predecessor-version":[{"id":6422,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6374\/revisions\/6422"}],"up":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6349"}],"wp:attachment":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=6374"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/doc_tag?post=6374"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}