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

AS aggregation cache doent show AS

netone.cisco
Level 1
Level 1

Hi all,

could not find answer anywhere. We have an ASR1006 and I'm just discovering netflow aggregation cache.

I tried prefix aggregation and worked fine. But i cant get any information when checking AS aggregation. All I get is 0 in source and destionation AS.

#show ip cache flow  aggregation as

IP Flow Switching Cache, 0 bytes

  3 active, 2043 inactive, 107 added

  5978 ager polls, 0 flow alloc failures

  Active flows timeout in 45 minutes

  Inactive flows timeout in 200 seconds

Src If       Src AS  Dst If       Dst AS  Flows   Pkts  B/Pk  Active

gi0/1/1.2400 0       Local        0       0         95  50    269164.8

gi0/1/1.2400 0       Tunnel2      0       0          2  54    1001.6

gi0/1/1.2400 0       gi0/1/0      0       0       1945  469   1334.4

The configuration:

#show run | be aggreg

ip flow-aggregation cache as

cache entries 2046

cache timeout inactive 200

cache timeout active 45

enabled

The interface configuration:

interface GigabitEthernet0/1/1.2400

description IXP

bandwidth 2048

encapsulation dot1Q 2400

ip address x.x.x.x 255.255.255.252

ip access-group 2400 in

ip access-group edge-out out

ip nat outside

ip wccp 90 redirect out

ip wccp 91 redirect in

ip flow ingress

ip flow egress

end

We are running full BGP with 2 peers

#show ip bgp sum

BGP router identifier , local AS number

BGP table version is 27428524, main routing table version 27428524

369247 network entries using 82711328 bytes of memory

701114 path entries using 61698032 bytes of memory

116844/62919 BGP path/bestpath attribute entries using 24303552 bytes of memory

106828 BGP AS-PATH entries using 5538868 bytes of memory

0 BGP route-map cache entries using 0 bytes of memory

0 BGP filter-list cache entries using 0 bytes of memory

BGP using 174251780 total bytes of memory

106 received paths for inbound soft reconfiguration

BGP activity 1764311/1395059 prefixes, 13497325/12796211 paths, scan interval 60 secs

Neighbor        V           AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd

xx.xx.xx.xx   4        17400 1484123   31818 27428524    0    0 2w6d       331707

xx.xx.xx.xx    4        11259 1284521   32065 27428502    0    0 2w6d       369208

xx.xx.xx.xx    4        65000   10252   11292 27428502    0    0 1w0d           91

The version

Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-ADVIPSERVICESK9-M), Version 15.1(1)S, RELEASE SOFTWARE (fc1)

Please help.

1 Reply 1

netone.cisco
Level 1
Level 1

Hi everyone, after some assistance I was informed that for this to work we mus have the command:

ip flow-export version [5 | 9] origin-as

Even though I was not exporting flows this fixed it for me

re-ld-tcc-02_ASR1006#show ip cac flow aggregation as

IP Flow Switching Cache, 0 bytes

  14 active, 2032 inactive, 32 added

  308 ager polls, 0 flow alloc failures

  Active flows timeout in 45 minutes

  Inactive flows timeout in 200 seconds

Src If       Src AS  Dst If       Dst AS  Flows   Pkts  B/Pk  Active

gi0/1/1.2400 33763   Tunnel2      0       0        146  1304  16265.6

gi0/1/1.2400 0       Local        0       0          7  48    18486.4

gi0/1/1.2400 36881   Tunnel2      0       0         33  937   6140.8

gi0/1/1.2400 33763   gi0/1/0      0       0       1220  384   16227.2

gi0/1/1.2400 0       Tunnel2      0       0         34  1288  18291.2

gi0/1/1.2400 0       gi0/1/0      0       0        851  470   18582.4

gi0/1/1.2400 37081   gi0/1/0      0       0       9707  445   18582.4

gi0/1/1.2400 32717   gi0/1/0      0       0       6595  646   16358.4

gi0/1/1.2400 11259   gi0/1/0      0       0          5  70    16848.0

gi0/1/1.2400 36907   gi0/1/0      0       0         31K 338   18585.6

gi0/1/1.2400 37119   gi0/1/0      0       0         14K 92    18585.6