Hi all,

I've been working on QPPB configs in dynamips.  I am trying to build it into
my completed version of IP Expert's lab 8 from the workbook.  Here's what
I've setup:

R1 & R3 are both configured with similar settings for community tagging
towards R10:
route-map AS105_OUT permit 20
 match ip address prefix-list SETPREC2
 set community 105:1002 additive
 set mpls-label
!
route-map AS105_OUT permit 30
 match ip address prefix-list SETPREC3
 set community 105:1003 additive
 set mpls-label
!
ip prefix-list SETPREC2 seq 5 permit 123.123.123.1/32
ip prefix-list SETPREC2 seq 10 permit 123.123.123.2/32
!
ip prefix-list SETPREC3 seq 5 permit 123.123.123.3/32

*R10 sees the communities just fine:*

R10#show ip bgp community 105:1002
BGP table version is 34, local router ID is 105.105.105.10
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  123.123.123.1/32 105.123.103.3                  50      0 123 ?
*>                  105.123.101.1            0             0 123 ?
*  123.123.123.2/32 105.123.103.3                  50      0 123 ?
*>                  105.123.101.1                          0 123 ?
R10#show ip bgp community 105:1003
BGP table version is 34, local router ID is 105.105.105.10
Status codes: s suppressed, d damped, h history, * valid, > best, i -
internal,
              r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  123.123.123.3/32 105.123.103.3            0     50      0 123 ?
*>                  105.123.101.1                          0 123 ?

Here's the bgp table map implemented on R10:

R10#show route-map QOPPB
route-map QOPPB, permit, sequence 10
  Match clauses:
    community (community-list filter): PRE2
  Set clauses:
    ip precedence immediate
    ip qos-group 2
  Policy routing matches: 0 packets, 0 bytes
route-map QOPPB, permit, sequence 20
  Match clauses:
    community (community-list filter): PRE3
  Set clauses:
    ip precedence flash
    ip qos-group 3
  Policy routing matches: 0 packets, 0 bytes

The Table Map seems to be working as expected:

R10#show ip route 123.123.123.1
Routing entry for 123.123.123.1/32
  Known via "bgp 105", distance 20, metric 0
  Tag 123, precedence immediate (2), qos-group 2, type external
  Last update from 105.123.101.1 00:10:16 ago
  Routing Descriptor Blocks:
  * 105.123.101.1, from 105.123.101.1, 00:10:16 ago
      Route metric is 0, traffic share count is 1
      AS Hops 1

R10#show ip route 123.123.123.2
Routing entry for 123.123.123.2/32
  Known via "bgp 105", distance 20, metric 0
  Tag 123, precedence immediate (2), qos-group 2, type external
  Last update from 105.123.101.1 00:10:19 ago
  Routing Descriptor Blocks:
  * 105.123.101.1, from 105.123.101.1, 00:10:19 ago
      Route metric is 0, traffic share count is 1
      AS Hops 1

R10#show ip route 123.123.123.3
Routing entry for 123.123.123.3/32
  Known via "bgp 105", distance 20, metric 0
  Tag 123, precedence flash (3), qos-group 3, type external
  Last update from 105.123.101.1 00:10:20 ago
  Routing Descriptor Blocks:
  * 105.123.101.1, from 105.123.101.1, 00:10:20 ago
      Route metric is 0, traffic share count is 1
      AS Hops 1

However, when I source pings from any of the above 3 loopbacks and send them
over to R5, I don't see any matches on R10's interface facing R5:

interface FastEthernet0/0.510
 encapsulation dot1Q 510
 ip address 105.10.5.10 255.255.255.0
 ip router isis
 ip pim sparse-mode
 bgp-policy source ip-qos-map
 bgp-policy source ip-prec-map
 tag-switching ip
 isis priority 127
 service-policy input MONITOR
 service-policy output MONITOR

R10#show policy-map int fa0/0.510
 FastEthernet0/0.510

  Service-policy input: MONITOR

    Class-map: PRE2 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: ip precedence 2

    Class-map: PRE3 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: ip precedence 3

    Class-map: QOS2 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: qos-group 2

    Class-map: QOS3 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: qos-group 3

    Class-map: class-default (match-any)
      1570 packets, 170945 bytes
      5 minute offered rate 6000 bps, drop rate 0 bps
      Match: any

  Service-policy output: MONITOR

    Class-map: PRE2 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: ip precedence 2

    Class-map: PRE3 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: ip precedence 3

    Class-map: QOS2 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: qos-group 2

    Class-map: QOS3 (match-all)
      0 packets, 0 bytes
      5 minute offered rate 0 bps
      Match: qos-group 3

    Class-map: class-default (match-any)
      1874 packets, 536100 bytes
      5 minute offered rate 9000 bps, drop rate 0 bps
      Match: any

I am curious if I'm doing something wrong here or if this is just Dynamips
acting funky.  I set this up in one other Dynamips lab and had similar
results.

Thanks in advance,

Eric
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit 
www.ipexpert.com

Reply via email to