cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
328
Views
0
Helpful
1
Replies

ip accounting problem

m_aurangzeb
Level 1
Level 1

i want to enable ipaccounting on particular ip address.

ip accounting-list ip-address wildcard

m i right if i want to apply accounting on ip adress 192.168.0.5 then i write by the following command

ip accounting-list 192.168.0.5 0.0.0.0

for what this command stand for

ip accounting [access-violations] [output-packets]

in short actually i want to monitor the ip accounting for out bound interface for the ip address 192.168.0.5 with subnet mask 255.255.255.0

Pls step by step tell me the sequence of command that shows me the accounting on run time and pls also that how can i stop that the accounting.

Pls reply me as soon as possible.

1 Reply 1

aravindhs
Level 1
Level 1

You are right. That is the way to enable IP accounting for the host with the IP Address 192.168.0.5.

If you specify the access-violations keyword, the ip accounting command provides information identifying IP traffic that fails IP access lists. Identifying IP source addresses that violate IP access lists alerts you to possible attempts to breach security. The data might also indicate that you should verify IP access list configurations.

To receive a logging message on the console when an extended access list entry denies a packet access (to log violations), you must include the log keyword in the access-list (IP extended) or access-list (IP standard) command.

-----

The ip accounting command records the number of bytes (IP header and data) and packets switched through the system on a source and destination IP address basis. Only transit IP traffic is measured and only on an outbound basis; traffic generated by the router access server or terminating in this device is not included in the accounting statistics.

----

This was an excerpt from this link ..

http://www.cisco.com/en/US/products/sw/iosswrel/ps5187/products_command_reference_chapter09186a008017d169.html#wp1093285

HTH

Cheers :-)

Arav