NAME
Cisco::Accounting::Interface - Container for one interface
DESCRIPTION
This package is part of Cisco::Accounting. Cisco::Accounting->get_interfaces() will return an array of Interface objects.
PROCEDURES
- get_id()
-
Returns the unique id for this interface. This can be used for Cisco::Accounting->enable_accounting() and Cisco::Accounting->disable_accounting()
- get_interface()
-
This returns the actual name of the interface as found on the router or IPCAD host (ex. FastEthernet0/1 or eth0)
- get_accounting_status()
-
Returns 0 or 1 depending if IP Accounting is enabled on the interface.
AUTHOR
Maarten Wallraf, <perl at 2nms.com>