11-18-2008 09:56 AM - edited 03-06-2019 02:33 AM
We have Router connected to switch.
here is router port config
interface FastEthernet0/0
description LAN Interface to Customer
ip address 43.131.210.3 255.255.255.0
ip helper-address 43.130.142.11
ip helper-address 43.145.126.12
ip accounting output-packets
service-policy input PolicyMap_2
service-policy output PolicyMap_4
ip route-cache flow
speed 100
full-duplex
end
right now it shows ip accounting is enabled on this port.
ip accounting output-packets
my question is is this IP accounting enabled for packets entering the fa0/0 interface of router ?
many thanks
mahesh
Solved! Go to Solution.
11-18-2008 01:02 PM
Mahesh
In your config above ip accounting will show packets leaving the fa0/0 interface. So if the local LAN is connected to the fa0/0 interface you will see traffic going to your local LAN.
Jon
11-18-2008 10:14 AM
my question is is this IP accounting enabled for packets entering the fa0/0 interface of router ?
No, it will only account for packets leaving the router.
HTH,
__
Edison.
11-18-2008 11:21 AM
Hi
Thnaks for reply.
so which is best way to enable IP accounting
on Lan inetrface or Serial or ATM interface
of router.
Many thanks
mahesh
11-18-2008 12:30 PM
Mahesh
This really depends on what you are trying to see. So for example you have a remote site with a WAN router. If you enable "ip accounting" on the WAN interface then you will get an idea of the traffic going out from the remote site to the rest of your network.
If you enable it on the LAN interface then you will get an idea of the traffic going into the remote site from the rest of your WAN.
So it really depends on what perspective of the network traffic you are trying to see.
Jon
11-18-2008 12:53 PM
Hi jon,
we have this setting on the router interface
connecting to switch
interface FastEthernet0/0
description LAN Interface to Customer
ip address 43.131.210.3 255.255.255.0
ip helper-address 43.130.142.11
ip helper-address 43.145.126.12
ip accounting output-packets **************
service-policy input PolicyMap_2
service-policy output PolicyMap_4
ip route-cache flow
speed 100
full-duplex
end
as per this setting it shows traffic from local lan entering the fa interface and ip accounting is enabled for packets going out from fa interface to wan?
correct we if i am wrong
11-18-2008 01:02 PM
Mahesh
In your config above ip accounting will show packets leaving the fa0/0 interface. So if the local LAN is connected to the fa0/0 interface you will see traffic going to your local LAN.
Jon
11-18-2008 01:17 PM
Hi jon
Mant thanks again for getting this clear to me.
11-18-2008 02:05 PM
Hi jon,
if we have this config on the router lan interface
interface GigabitEthernet0/0
description new Connection to customer LAN
ip address 43.131.82.2 255.255.255.0
ip accounting input-packets
then will it show ip accounting for traffic
coming from lan and going to outside wan?
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: