service snmp community <community> view <viewname>
Associates a view with an SNMP community.
Not applicable
- community
- The name of an SNMP community.
- viewname
-
The name of a view to be associated with the SNMP community. Only alphanumeric characters for a view name are allowed.
Configuration mode.
service {
snmp {
community community
view viewname
}
}
Use this command to associate a view with an SNMP community.
The view must first be defined by using the service snmp view viewname command.
Use the set form of this command to associate a view with an SNMP community.
Use the delete form of this command to remove the association between the view and an SNMP community.
Use the show form of this command to display the name of the view associated with an SNMP community.