IPI-SNMP-SERVER-EXTENDED
Configure enable
Use this attribute to enable/disable SNMP server debugging
Attribute Name: enable
Attribute Type: empty
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<debug xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<config>
</enable><!-- operation="delete"-->
</config>
</debug>
</servers>
</snmp>
Command Syntax
debug snmp-server
Configure filter type
Use this attribute to update oid tree filter type for a view entry.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: filter-type
Attribute Type: enum (included|excluded)
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<snmp-views xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<snmp-view>
<view-name>VIEW-NAME</view-name>
<config>
<view-name>VIEW-NAME</view-name>
</config>
<oid-trees>
<oid-tree>
<oid>OID-TREE</oid>
<config>
<oid>OID-TREE</oid>
</config>
<filter-type>included</filter-type> <!-- operation="delete"-->
</oid-tree>
</oid-trees>
</snmp-view>
</snmp-views>
</server>
</servers>
</snmp>
Command Syntax
snmp-server view VIEW-NAME OID-TREE (included|excluded) (vrf management|)
Configure smux port disable
Use this attribute to disable smux-port.
Attribute Name: smux-port-disable
Attribute Type: empty
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<smux-port xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<config>
</smux-port-disable><!-- operation="delete"-->
</config>
</smux-port>
</snmp>
Command Syntax
snmp-server smux-port-disable
Configure host name
Use this attribute to configure an SNMP trap host. An SNMP trap host is usually a network management station (NMS) or an SNMP manager.
Attribute Name: host-name
Attribute Type: string
Attribute Range: 1-63
Attribute Name: notification-type
Attribute Type: enum (traps|informs)
Attribute Name: snmp-version
Attribute Type: enum (1|2c|3)
Attribute Name: community
Attribute Type: string
Attribute Name: udp-port
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<hosts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<host>
<host-name>A.B.C.D</host-name>
<config>
<host-name>A.B.C.D</host-name>
<notification-type>traps</notification-type>
<snmp-version>1</snmp-version>
<community>WORD</community>
<udp-port>1</udp-port>
</config>
</host>
</hosts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server host (A.B.C.D|X:X::X:X|HOSTNAME) (traps) version (1|2c) WORD (udp-port <1-65535>|) (vrf management|)
Configure notification type
Use this attribute to configure an SNMP trap host. An SNMP trap host is usually a network management station (NMS) or an SNMP manager.
Attribute Name: host-name
Attribute Type: string
Attribute Range: 1-63
Attribute Name: notification-type
Attribute Type: enum (traps|informs)
Attribute Name: snmp-version
Attribute Type: enum (1|2c|3)
Attribute Name: snmpv3-auth-type
Attribute Type: enum (noauth|auth|priv)
Attribute Name: snmpv3-user
Attribute Type: string
Attribute Name: udp-port
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<hosts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<host>
<host-name>A.B.C.D</host-name>
<config>
<host-name>A.B.C.D</host-name>
<notification-type>traps</notification-type>
<snmp-version>1</snmp-version>
<snmpv3-auth-type>noauth</snmpv3-auth-type>
<snmpv3-user>WORD</snmpv3-user>
<udp-port>1</udp-port>
</config>
</host>
</hosts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server host (A.B.C.D|X:X::X:X|HOSTNAME) (traps) version (3) (noauth|auth|priv) WORD (udp-port <1-65535>|) (vrf management|)
Configure snmp version
Use this attribute to configure an SNMP trap host. An SNMP trap host is usually a network management station (NMS) or an SNMP manager.
Attribute Name: host-name
Attribute Type: string
Attribute Range: 1-63
Attribute Name: notification-type
Attribute Type: enum (traps|informs)
Attribute Name: snmp-version
Attribute Type: enum (1|2c|3)
Attribute Name: community
Attribute Type: string
Attribute Name: udp-port
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<hosts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<host>
<host-name>A.B.C.D</host-name>
<config>
<host-name>A.B.C.D</host-name>
<notification-type>traps</notification-type>
<snmp-version>1</snmp-version>
<community>WORD</community>
<udp-port>1</udp-port>
</config>
</host>
</hosts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server host (A.B.C.D|X:X::X:X|HOSTNAME) (informs) version (2c) WORD (udp-port <1-65535>|) (vrf management|)
Configure snmpv3 auth type
Use this attribute to configure an SNMP trap host. An SNMP trap host is usually a network management station (NMS) or an SNMP manager.
Attribute Name: host-name
Attribute Type: string
Attribute Range: 1-63
Attribute Name: notification-type
Attribute Type: enum (traps|informs)
Attribute Name: snmp-version
Attribute Type: enum (1|2c|3)
Attribute Name: snmpv3-auth-type
Attribute Type: enum (noauth|auth|priv)
Attribute Name: snmpv3-user
Attribute Type: string
Attribute Name: udp-port
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<hosts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<host>
<host-name>A.B.C.D</host-name>
<config>
<host-name>A.B.C.D</host-name>
<notification-type>traps</notification-type>
<snmp-version>1</snmp-version>
<snmpv3-auth-type>noauth</snmpv3-auth-type>
<snmpv3-user>WORD</snmpv3-user>
<udp-port>1</udp-port>
</config>
</host>
</hosts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server host (A.B.C.D|X:X::X:X|HOSTNAME) (informs) version (3) (noauth|auth|priv) WORD (udp-port <1-65535>|) (vrf management|)
Configure community
Use this attribute to configure an SNMP trap host. An SNMP trap host is usually a network management station (NMS) or an SNMP manager.
Attribute Name: host-name
Attribute Type: string
Attribute Range: 1-63
Attribute Name: snmp-version
Attribute Type: enum (1|2c|3)
Attribute Name: community
Attribute Type: string
Attribute Name: udp-port
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<hosts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<host>
<host-name>A.B.C.D</host-name>
<config>
<host-name>A.B.C.D</host-name>
<snmp-version>1</snmp-version>
<community>WORD</community>
<udp-port>1</udp-port>
</config>
</host>
</hosts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server host (A.B.C.D|X:X::X:X|HOSTNAME) version (1|2c) WORD (udp-port <1-65535>|) (vrf management|)
Configure snmpv3 user
Use this attribute to configure an SNMP trap host. An SNMP trap host is usually a network management station (NMS) or an SNMP manager.
Attribute Name: host-name
Attribute Type: string
Attribute Range: 1-63
Attribute Name: snmp-version
Attribute Type: enum (1|2c|3)
Attribute Name: snmpv3-auth-type
Attribute Type: enum (noauth|auth|priv)
Attribute Name: snmpv3-user
Attribute Type: string
Attribute Name: udp-port
Attribute Type: uint32
Attribute Range: 1-65535
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<hosts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<host>
<host-name>A.B.C.D</host-name>
<config>
<host-name>A.B.C.D</host-name>
<snmp-version>1</snmp-version>
<snmpv3-auth-type>noauth</snmpv3-auth-type>
<snmpv3-user>WORD</snmpv3-user>
<udp-port>1</udp-port>
</config>
</host>
</hosts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server host (A.B.C.D|X:X::X:X|HOSTNAME) version (3) (noauth|auth|priv) WORD (udp-port <1-65535>|) (vrf management|)
Configure udp port
Use this attribute to specify the port to be used when SNMP sends packets to host. The default is 162.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: udp-port
Attribute Type: uint32
Attribute Range: 1-65535
Attribute Name: host-user
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<hosts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<host>
<host-name>A.B.C.D</host-name>
<config>
<host-name>A.B.C.D</host-name>
<host-user>WORD</host-user> <!-- operation="delete"-->
</config>
<udp-port>1</udp-port> <!-- operation="delete"-->
</host>
</hosts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server host (A.B.C.D|X:X::X:X|HOSTNAME) WORD (udp-port <1-65535>|) (vrf management|)
Configure user name
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<authentication-type>md5</authentication-type>
<encryption-type>1</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD auth (md5|sha) encrypt AUTH-PASSWORD (vrf management|)
Configure authentication type
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<authentication-type>md5</authentication-type>
<encryption-type>0</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD auth (md5|sha) AUTH-PASSWORD (vrf management|)
Configure user type
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: user-type
Attribute Type: union
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<user-type>network-operator</user-type>
<authentication-type>md5</authentication-type>
<encryption-type>1</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD (network-operator|network-admin|WORD) auth (md5|sha) encrypt AUTH-PASSWORD (vrf management|)
Configure encryption type
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: user-type
Attribute Type: union
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<user-type>network-operator</user-type>
<authentication-type>md5</authentication-type>
<encryption-type>0</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD (network-operator|network-admin|WORD) auth (md5|sha) AUTH-PASSWORD (vrf management|)
Configure authentication password
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Attribute Name: privilege-type
Attribute Type: enum (des|aes)
Attribute Name: privilege-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<authentication-type>md5</authentication-type>
<encryption-type>1</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
<privilege-type>des</privilege-type>
<privilege-password>PRIV-PASSWORD</privilege-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD auth (md5|sha) encrypt AUTH-PASSWORD priv (des|aes) PRIV-PASSWORD (vrf management|)
Configure privilege type
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Attribute Name: privilege-type
Attribute Type: enum (des|aes)
Attribute Name: privilege-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<authentication-type>md5</authentication-type>
<encryption-type>0</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
<privilege-type>des</privilege-type>
<privilege-password>PRIV-PASSWORD</privilege-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD auth (md5|sha) AUTH-PASSWORD priv (des|aes) PRIV-PASSWORD (vrf management|)
Configure privilege password
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: user-type
Attribute Type: union
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Attribute Name: privilege-type
Attribute Type: enum (des|aes)
Attribute Name: privilege-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<user-type>network-operator</user-type>
<authentication-type>md5</authentication-type>
<encryption-type>1</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
<privilege-type>des</privilege-type>
<privilege-password>PRIV-PASSWORD</privilege-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD (network-operator|network-admin|WORD) auth (md5|sha) encrypt AUTH-PASSWORD priv (des|aes) PRIV-PASSWORD (vrf management|)
Configure vrf name
Use this attribute to create an SNMP server user.
Attribute Name: user-name
Attribute Type: string
Attribute Range: 5-32
Attribute Name: user-type
Attribute Type: union
Attribute Name: authentication-type
Attribute Type: enum (md5|sha)
Attribute Name: encryption-type
Attribute Type: enum (plain|encrypt)
Attribute Name: authentication-password
Attribute Type: string
Attribute Name: privilege-type
Attribute Type: enum (des|aes)
Attribute Name: privilege-password
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<users xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<user> <!-- operation="delete"-->
<user-name>WORD</user-name>
<config>
<user-name>WORD</user-name>
<user-type>network-operator</user-type>
<authentication-type>md5</authentication-type>
<encryption-type>0</encryption-type>
<authentication-password>AUTH-PASSWORD</authentication-password>
<privilege-type>des</privilege-type>
<privilege-password>PRIV-PASSWORD</privilege-password>
</config>
</user>
</users>
</server>
</servers>
</snmp>
Command Syntax
snmp-server user WORD (network-operator|network-admin|WORD) auth (md5|sha) AUTH-PASSWORD priv (des|aes) PRIV-PASSWORD (vrf management|)
Configure context name
Use this attribute to create an SNMP server context
Attribute Name: context-name
Attribute Type: string
Attribute Range: 1-32
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<contexts xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<context>
<context-name>WORD</context-name>
<config>
<context-name>WORD</context-name>
</config>
</context>
</contexts>
</server>
</servers>
</snmp>
Command Syntax
snmp-server context WORD (vrf management|)
Configure acl name
Use this attribute to create an SNMP community string and user-acl.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: acl-name
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<communities xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<community>
<community-name>WORD</community-name>
<config>
<community-name>WORD</community-name>
</config>
<acl-name>WORD</acl-name> <!-- operation="delete"-->
</community>
</communities>
</server>
</servers>
</snmp>
Command Syntax
snmp-server community WORD use-acl WORD (vrf management|)
Configure community name
Use this attribute to create an SNMP community string and access privileges.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: community-name
Attribute Type: string
Attribute Range: 1-32
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<communities xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<community>
<community-name>WORD</community-name>
<config>
<community-name>WORD</community-name>
</config>
</community>
</communities>
</server>
</servers>
</snmp>
Command Syntax
snmp-server community WORD (vrf management|)
Configure snmp group
Use this attribute to create an SNMP community string with group.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: snmp-group
Attribute Type: enum (network-operator|network-admin)
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<communities xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<community>
<community-name>WORD</community-name>
<config>
<community-name>WORD</community-name>
</config>
<snmp-group>network-operator</snmp-group> <!-- operation="delete"-->
</community>
</communities>
</server>
</servers>
</snmp>
Command Syntax
snmp-server community WORD group (network-operator|network-admin) (vrf management|)
Configure access privileges
Use this attribute to create an SNMP community string and access privileges.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: access-privileges
Attribute Type: enum (ro)
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<communities xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<community>
<community-name>WORD</community-name>
<config>
<community-name>WORD</community-name>
</config>
<access-privileges>ro</access-privileges> <!-- operation="delete"-->
</community>
</communities>
</server>
</servers>
</snmp>
Command Syntax
snmp-server community WORD (ro) (vrf management|)
Configure access
Use this attribute to set access privileges to this community view.
This command is supported when following feature are enabled SNMP-AGENT feature
Attribute Name: access
Attribute Type: enum (ro)
Attribute Name: community-view-name
Attribute Type: string
Attribute Name: version
Attribute Type: enum (v1|v2c)
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<communities xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<community>
<community-name>WORD</community-name>
<config>
<community-name>WORD</community-name>
<community-view-name>VIEW-NAME</community-view-name> <!-- operation="delete"-->
<version>v1</version> <!-- operation="delete"-->
</config>
<access>ro</access> <!-- operation="delete"-->
</community>
</communities>
</server>
</servers>
</snmp>
Command Syntax
snmp-server community WORD view VIEW-NAME version (v1|v2c) (ro) (vrf management|)
Configure community context
Use this attribute to create an SNMP community string and access privileges.
Attribute Name: community-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: community-context
Attribute Type: string
Attribute Range: 1-32
Attribute Name: community-user
Attribute Type: string
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<communities xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<community>
<community-name>WORD</community-name>
<config>
<community-name>WORD</community-name>
</config>
<community-context-mapping>
<config>
<community-context>WORD</community-context>
<community-user>WORD</community-user>
</config>
</community-context-mapping>
</community>
</communities>
</server>
</servers>
</snmp>
Command Syntax
snmp-server community-map WORD context WORD user WORD (vrf management|)
Configure group name
Use this attribute to create an SNMP group string.
Attribute Name: group-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: group-version
Attribute Type: enum (1|2c|3)
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<server-groups xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<server-group>
<group-name>WORD</group-name>
<config>
<group-name>WORD</group-name>
<group-version>1</group-version>
</config>
</server-group>
</server-groups>
</server>
</servers>
</snmp>
Command Syntax
snmp-server group WORD version (1|2c) (vrf management|)
Configure group version
Use this attribute to create an SNMP group string.
Attribute Name: group-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: group-version
Attribute Type: enum (1|2c|3)
Attribute Name: snmpv3-group-auth-type
Attribute Type: enum (auth|priv|noauth)
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<server-groups xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<server-group>
<group-name>WORD</group-name>
<config>
<group-name>WORD</group-name>
<group-version>1</group-version>
<snmpv3-group-auth-type>auth</snmpv3-group-auth-type>
</config>
</server-group>
</server-groups>
</server>
</servers>
</snmp>
Command Syntax
snmp-server group WORD version (3) (auth|priv|noauth) (vrf management|)
Configure context
Use this attribute to create an SNMP group string.
Attribute Name: group-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: group-version
Attribute Type: enum (1|2c|3)
Attribute Name: context
Attribute Type: union
Attribute Range: 1-32
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<server-groups xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<server-group>
<group-name>WORD</group-name>
<config>
<group-name>WORD</group-name>
<group-version>1</group-version>
<context>1</context>
</config>
</server-group>
</server-groups>
</server>
</servers>
</snmp>
Command Syntax
snmp-server group WORD version (1|2c) context (all|WORD) (vrf management|)
Configure snmpv3 group auth type
Use this attribute to create an SNMP group string.
Attribute Name: group-name
Attribute Type: string
Attribute Range: 1-32
Attribute Name: group-version
Attribute Type: enum (1|2c|3)
Attribute Name: snmpv3-group-auth-type
Attribute Type: enum (auth|priv|noauth)
Attribute Name: context
Attribute Type: enum (all)
Attribute Range: 1-32
Netconf edit-config payload
<snmp xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp">
<servers xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server">
<server>
<vrf-name>management</vrf-name>
<config>
<vrf-name>management</vrf-name>
</config>
<server-groups xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended">
<server-group>
<group-name>WORD</group-name>
<config>
<group-name>WORD</group-name>
<group-version>1</group-version>
<snmpv3-group-auth-type>auth</snmpv3-group-auth-type>
<context>1</context>
</config>
</server-group>
</server-groups>
</server>
</servers>
</snmp>
Command Syntax
snmp-server group WORD version (3) (auth|priv|noauth) context <1-32> (all) (vrf management|)
debug snmp-server
Netconf RPC payload
<snmp-server-terminal-debug-on xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended"/>
Command Syntax
debug snmp-server
no debug snmp-server
Netconf RPC payload
<snmp-server-terminal-debug-off xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-snmp-server-extended"/>
Command Syntax
no debug snmp-server
Last modified date: 07-14-2023