[j-nsp] E320 policy input on dynamic PPPoE

telesis at nm.ru telesis at nm.ru
Tue Mar 23 03:53:14 EDT 2010


Hello all....

 I'm trying use route-class for matching LocalNets, "destination-route-class" don't match any pakets. All traffic match on C12-213.

===show policy
#sh policy-list P02-119807

                                  Policy Table
                                  ------ -----
IP Policy P02-119807
   Administrative state: enable
   Reference count:      128
   Classifier control list: C12-214, precedence 20000
      rate-limit-profile R12-26
   Classifier control list: C12-213, precedence 21000
      rate-limit-profile R12-25
   Classifier control list: C12-212, precedence 32000
      forward

#sh classifier-list C12-214

                         Classifier Control List Table
                         ---------- ------- ---- -----
IP C12-214.1 destination-route-class 60 ip any any
IP C12-214.2 destination-route-class 50 ip any any
IP C12-214.3 destination-route-class 30 ip any any
IP C12-214.4 destination-route-class 40 ip any any
IP C12-214.5 destination-route-class 20 ip any any

#sh classifier-list C12-213

                         Classifier Control List Table
                         ---------- ------- ---- -----
IP C12-213.1 ip any any

#sh classifier-list C12-212

                         Classifier Control List Table
                         ---------- ------- ---- -----
IP C12-212.1 ip any any

==sh ip ro {LocalIP}

#sh ip route  {LocalIP} detail
Protocol/Route type codes:
  I1- ISIS level 1, I2- ISIS level2,
  I- route type intra, IA- route type inter, E- route type external,
  i- metric type internal, e- metric type external,
  P- periodic download, O- OSPF, E1- external type 1, E2- external type2,
  N1- NSSA external type1, N2- NSSA external type2
  L- MPLS label, V- VRF, *- via indirect next-hop

{LocalIP}/32 Type: O-E2 Distance: 114 Metric: 700 Tag: 240 Class: 40
NextHop: 1.1.1.1 IntfIndex 0xF Intf TenGigabitEthernet0/0/0.418}

=== sh ip int 
TenGigabitEthernet0/0/0.428.658 line protocol Ppp is up, ip is up
  Network Protocols: IP
  Unnumbered Interface on loopback0
  ( IP address  xx.xxx.xx.xxx )
  Operational MTU = 1466  Administrative MTU = 0
  Operational speed = 10000 Mbps   Administrative speed = 0
  Discontinuity Time = 221419181
  Router advertisement = disabled
  Proxy Arp = disabled
  ARP spoof checking = enabled
  Network Address Translation is disabled
  TCP MSS Adjustment = disabled
  Administrative debounce-time = disabled
  Operational debounce-time    = disabled
  Access routing = enabled: Using xxx.yyy.zzz.07
  Multipath mode = hashed
  Auto Configure = disabled
  Auto Detect = disabled
  Inactivity Timer = disabled
  Use Framed Routes = disabled
  Warm-restart initial-sequence-preference: Operational = 0 Administrative = 0

  In Received Packets 5548, Bytes 946882
    Unicast Packets 5543, Bytes 946319
    Multicast Packets 5, Bytes 563
  In Policed Packets 0, Bytes 0
  In Error Packets 0
  In Invalid Source Address Packets 0
  In Discarded Packets 0
  Out Forwarded Packets 923, Bytes 635923
    Unicast Packets 923, Bytes 635923
    Multicast Routed Packets 0, Bytes 0
  Out Scheduler Dropped Packets 0, Bytes 0
  Out Policed Packets 0, Bytes 0
  Out Discarded Packets 0

  IP policy input P02-119807
    classifier-group C12-214 entry 1
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-214 entry 2
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-214 entry 3
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-214 entry 4
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-214 entry 5
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-213 entry 1
      5541 packets, 1112173 bytes
      rate-limit-profile R12-25
        committed rate: 1024000 bps, committed burst: 128000 bytes
        excess burst: 0 bytes
        committed: 5541 packets, 1112173 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-212 entry 1
      1 packets, 78 bytes
      forward
  IP policy output P02-119808
    classifier-group C12-215 entry 1
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-215 entry 2
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-215 entry 3
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-215 entry 4
      0 packets, 0 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 0 packets, 0 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-215 entry 5
      254 packets, 197611 bytes
      rate-limit-profile R12-26
        committed rate: 4294967295 bps, committed burst: 536870912 bytes
        excess burst: 0 bytes
        committed: 254 packets, 197611 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-213 entry 1
      671 packets, 467610 bytes
      rate-limit-profile R12-25
        committed rate: 1024000 bps, committed burst: 128000 bytes
        excess burst: 0 bytes
        committed: 671 packets, 467610 bytes, action: transmit
        conformed: 0 packets, 0 bytes, action: transmit
        exceeded:  0 packets, 0 bytes, action: drop
    classifier-group C12-212 entry 1
      0 packets, 0 bytes
      filter
  queue 0: traffic class best-effort, bound to ip
TenGigabitEthernet0/0/0.428.658
    Queue length 0 bytes
    Forwarded packets 1330, bytes 685241
    Dropped committed packets 0, bytes 0
    Dropped conformed packets 0, bytes 0
    Dropped exceeded packets 0, bytes 0




More information about the juniper-nsp mailing list