Previous page Next page

Associating the Command Block with a Link

Once the SNMP command block has been created in the CNA configuration, you need to associate it with an CNA-configured link, and you need to enable polling.

The link monitor operates on the engine module. Any access lists you may implement on the engine module’s eth0 interface should allow the engine to send and receive SNMP packets, and you should also review access lists on all routers you intend to poll.

While in config mode, enter engine configuration mode (config-engine), and then enter link configuration mode (config-engine-link) for the link that represents the service provider you want to poll.

In Figure 8, the link is named link_1.

Enter the polling snmp-agent command again, with the same name argument. When you entered this command previously while in config mode, you created a configuration block on the management module.

This time, while in config-engine-link mode, you are associating that block with a link on the engine module.

Next, enter the polling interface-ip-address (deprecated) command with the address of the interface that connects to your ISP (172.10.49.10 in Figure 8).

The CNA system will use this address to obtain the ifAdEntIfIndex variable from the ipAddrTable in the router’s SNMP MIB-II (RFC 1213).

To continue the example from the previous section of the chapter, enter the following while still in configuration mode:

Avaya_ANS (config)# module engine 1
 
Avaya_ANS (config-engine)# link link_1
 
Avaya_ANS (config-engine-link)# polling snmp-agent er_1
 
Avaya_ANS (config-engine-link)# polling interface-ip-address \
 
                                                           172.10.49.10
 

 

If an incorrect polling interface address is entered, the link will not be polled and an error message will be generated. The address will also be identified as a bad address in the show statistics link-monitor command output. See the section Checking Status of the Polling Process elsewhere in this chapter for information about how to confirm that the link monitor configuration block is correctly configured.

If the outgoing address does not refer to a physical interface on the router, however, (if, for example, it is a virtual address in a VLAN) you will need to use one of the following alternate methods to tell the link monitor how to locate the right data block in the router’s MIB:

See the section Locating the Data Block elsewhere in this chapter for more information about alternate interface commands.

NOTE: You can use only one of the three commands. If you have already entered one of them, you must enter the no form of that command prior to entering one of the alternative commands. For example, if you had previously entered the polling interface-ip-address command and wanted to change to the polling interface-index command, you would have to first enter the no polling interface-ip-address command. If you don’t, the CLI will report an error and refuse to accept the index command.

Once the SNMP contact parameters have been configured and associated with a link, you can then enable one or more of the polling features--usage, BGP status, or interface status.


Previous page Next page