The SNMPv3 configuration file lets you specify a source address filter to restrict access to the information only to those source addresses that match the address filter.
Following are supported syntax and usage guidelines for the address filtering field:
Example:
130.10.100.101
This line specifies that the requests from the source address 130.10.100.101 are allowed access to the agent.
Ea2f:fe90:abcd:0000:230:a2f:200:ad01
This line specifies that the requests from the source address ea2f:fe90:abcd:0000:230:a2f:200:ad01 are allowed access to the agent.
Example:
box1.domain.com
This line specifies that the requests from box1.domain.com are allowed access to the agent.
Note: If you specify a host name, the agent must be able to resolve the IP address received to the specified source host name.
Example:
130.10.*.101
This line specifies that the requests from the source IPv4 addresses starting from 130.10 and ending with 101 (i.e. 130.10.0.101 to 130.10.255.101) are allowed access to the agent.
Example:
Ea2f:fe90:*:ad01
This line specifies that the requests from the source IPv6 addresses starting with ea2f:fe90 and ending with ad01 are allowed access to the agent.
For example, an entry of 130.10.3*.200 is invalid because the 3 cannot be within the same dot as the asterisk. An entry of Ea2f:fe*:abcd:0000:230:a2f:200:ad01 is also invalid because the 'fe' cannot be within the same colon as the asterisk.
Example:
130.10.120.0
This line specifies that the requests from the IPv4 subnet 130.10.120 are allowed access to the agent. Entering the address this way is the same as specifying 130.10.120.*.
Example:
Ea2f:fe90:0:ad01
This line specifies that the request from IPv6 addresses starting with ea2f:fe90 and ending with ad01 are allowed access to the agent. This is the same as entering Ea2f:fe90:*:ad01.
Example:
130.000.120.00
This line specifies that the requests from the IPv4 address 130.0.120.0 are allowed access to the agent.
Example:
Ea2f:*:0000:000:ad01
This line specifies that requests from the IPv6 addresses starting with ea2f and ending with 0:0:ad01 are allowed access to the agent.
For example, 130.10 would be same as specifying 130.10.*. Also, Ea2f:fe90 would be same as specifying Ea2f:fe90:*.
Examples:
130.10-255.100.101
This line specifies that the requests from the source IPv4 address range from 130.10 to 130.255 are allowed access to the agent
e000-efff:f0ff:bef0:*
This line specifies that the requests from the source IPv6 address range from e000:* to efff:* are allowed access to the agent.
Example:
130.10-255.100.101, e000-efff:f0ff:bef0:*, 130.10.120.0, box2.domain.com
Note: When a host has multiple interfaces or IP addresses, you must supply all of its interfaces and IP addresses to access the agent, because the request (such as snmpget, walktree, snmpset, etc) could be sent through any of the interfaces or IP addresses. You must define all IP addresses assigned to the host in the agent's IP filter, or the host will not have access to the agent. As an alternative to defining all IP addresses and interfaces, you can specify the host name, as long as you are aware of the limitations of using host names.
Copyright © 2013 CA. All rights reserved. |
|