[c-nsp] Fwd: bgp traffic index

almog ohayon almog.purepeak at gmail.com
Mon Jul 21 08:46:54 EDT 2008


3600 Software (C3640-JS-M), Version 12.4(18), RELEASE SOFTWARE (fc1)

On Mon, Jul 21, 2008 at 3:30 PM, Oliver Boehmer (oboehmer) <
oboehmer at cisco.com> wrote:

> which platform is this?
>
>        oli
>
> almog ohayon <> wrote on Monday, July 21, 2008 2:25 PM:
>
> > ---------- Forwarded message ----------
> > From: almog ohayon <almog.purepeak at gmail.com>
> > Date: Mon, Jul 21, 2008 at 3:24 PM
> > Subject: Re: [c-nsp] bgp traffic index
> > To: Raymond Macharia <rmacharia at gmail.com>
> >
> >
> > cef was enabled globally.
> > even after i've enabled ip route-cache flow it's not working.
> > important note: when i enter sh ip cef detailed i can see that the
> > prefix is marked with the correct taffic-index but
> > when i write show cef interface policy-statistics it's show me
> > nothing ... what kind of traffic is the router refer to in the
> > following command ??
> > any traffic ?? even ping ??
> >
> >
> >
> >
> > On Mon, Jul 21, 2008 at 1:23 PM, Raymond Macharia
> > <rmacharia at gmail.com> wrote:
> >
> >> Hi
> >> have you enabled CEF globally. usually comes enabled but its good to
> >> check also on the interface do you have "ip route-cache flow"
> >> enabled?
> >>
> >> Regards
> >>
> >> Raymond
> >>
> >> On Mon, Jul 21, 2008 at 12:04 PM, almog ohayon
> >> <almog.purepeak at gmail.com> wrote:
> >>> hi,
> >>> i've configured BGP accounting policy exactly as written in the
> >>> Cisco documentation and it's not working.
> >>> this is an example from testing environment - i've 1 router in
> >>> AS100 which is connected in F0/0 to 2 routers : AS200 + AS300.
> >>>
> >>> this is the configuration:
> >>> ---------------------------------------------------------------
> >>>  router bgp 100 neighbor 1.1.1.2 remote-as 200
> >>>  neighbor 1.1.1.3 remote-as 300
> >>>  table-map INDEX
> >>> !
> >>> ip as-path access-list 2 permit _200_
> >>> ip as-path access-list 3 permit _300_
> >>> !
> >>> route-map INDEX permit 10
> >>> match as-path 2
> >>> set traffic-index 2
> >>> !
> >>> route-map INDEX permit 20
> >>>  match as-path 3
> >>>  set traffic-index 3
> >>> !
> >>> route-map INDEX permit 30
> >>>  set traffic-index 4
> >>> !
> >>> interface f0/0
> >>>  ip address 1.1.1.1 255.255.255.0
> >>>  bgp-policy accounting
> >>> ------------------------------------------------------------------
> >>> the problem is when i enter the command : show cef interface
> >>> policy-statistics i get 0 in the entire rows :
> >>>
> >>> *Router_1# show cef interface policy-statistics
> >>>>
> >>> F0/0 is up (if_number 1)
> >>> Bucket    Packets               Bytes
> >>>
> >>> 1          0                      0
> >>> 2          0                      0
> >>> 3          0                      0
> >>> 4          0                      0
> >>> 5          0                      0
> >>> 6          0                      0
> >>> 7          0                      0
> >>> 8          0                      0
> >>> *
> >>> _______________________________________________
> >>> cisco-nsp mailing list  cisco-nsp at puck.nether.net
> >>> https://puck.nether.net/mailman/listinfo/cisco-nsp
> >>> archive at http://puck.nether.net/pipermail/cisco-nsp/
> >>>
> >>
> >>
> >>
> >> --
> >> Raymond Macharia
> >>
> > _______________________________________________
> > cisco-nsp mailing list  cisco-nsp at puck.nether.net
> > https://puck.nether.net/mailman/listinfo/cisco-nsp
> > archive at http://puck.nether.net/pipermail/cisco-nsp/
>


More information about the cisco-nsp mailing list