Tuesday, July 28, 2009

BIG-IP License Error - Permission denied

Scenario:
After a reboot, the BIG-IP returns a licensing error. Reactivating the license does not work as well.

In the qkview output, we see the following:

2009-07-19 22:56:17,428 ERROR [Thread-15] util.F5Error: - An error has occurred while trying to process your request.

java.io.FileNotFoundException: /var/tmp/bigip.license (Permission denied)



Workaround:
  • Delete /var/tmp/bigip.license file if it exists.

  • Ensure that the user you are logged into has full premissions / full admin rights to the BIG-IP box.

  • Reactivate the license file.
  • Sunday, June 7, 2009

    Basic MQC Configuration

    Three easy steps to MQC (Modular QoS CLI) Configuration:
    Step 1: Classify traffic via class-map
    Step 2: Assign policies to the traffic classes via policy-map
    Step 3: Apply above policies to an interface via service-policy

    ! ------------------------------------
    ! Sample Scenraio:
    ! ------------------------------------
    For the following traffic going out Serial0/1 of the device, do the following:
    * for voice traffic, reserve 256kbps priority bandwidth
    * for email traffic (pop3, imap, smtp), reserve 128kbps bandwith
    * for telnet traffic coming from 10.10.10.10, limit to 3200bps bandwidth

    ! ------------------------------------
    ! BEGIN CONFIGURATION
    ! ------------------------------------
    Router(config)#access-list 101 host 10.10.10.10 any eq 23
    Router(config)#class-map VOICE
    Router(config-cmap)#match protocol rtp
    Router(config-cmap)#exit
    Router(config)#class-map match-any EMAIL
    Router(config-cmap)#match protocol pop3
    Router(config-cmap)#match protocol imap
    Router(config-cmap)#match protocol smtp
    Router(config-cmap)#exit
    Router(config)#class-map ACL_101
    Router(config-cmap)#match access-group 101
    Router(config-cmap)#exit

    Router(config)#policy-map MY_POLICY
    Router(config-pmap)#class VOICE
    Router(config-pmap-c)#priority 256
    Router(config-pmap-c)#exit
    Router(config-pmap)#class EMAIL
    Router(config-pmap-c)#bandwidth 128
    Router(config-pmap-c)#exit
    Router(config-pmap)#class ACL_101
    Router(config-pmap-c)#police 3200
    Router(config-pmap-c)#exit
    Router(config-pmap)#exit

    Router(config)#interface Serial0/1
    Router(config-if)#service-policy output MY_POLICY
    Router(config-if)#exit
    Router(config)#

    ! ------------------------------------
    ! NOTES
    ! ------------------------------------

    Router(config)#class-map [match-all|match-any] class_name
  • match-all - the class must match all the succeeding criteria
  • match-any - the class must match any of the succeeding criteria
  • if not specified, defaults to match-all

    Router(config-cmap)#match {protocol|access-group} value
  • protocol - based on known traffic classes via NBAR
  • access-group - based on ACLs
  • not limited to the above criteria; other criteria include class-map (i.e. nested class-maps), CoS, DSCP, IP Precedence, input-interface, MAC address, QoS group, UDP Port Ranges

    Router(config-if)#service-policy {input|output} policy-name
  • only one policy per direction per interface can be applied;
  • that is, each interface can have at most one inbound policy and one outbound policy.

    Other command syntax will be dealt with in another post.
  • Wednesday, April 15, 2009

    IOS: %BGP_MPLS-3-GEN_ERROR


    Mar 18 20:41:38.892 EDT: %BGP_MPLS-3-GEN_ERROR: BGP: MPLS outlabel changed, MPLS forw not updated, prefix not in routing table -Traceback= 10D36950 10D3709C 10B10388 10B10718 10AEEFD0 10AEF030 10B53A50 10B53DC0 10AF588C 10AFD610 10AFE8E0 10A44524 10A3B6D4
    Mar 18 20:41:38.892 EDT: %BGP_MPLS-3-GEN_ERROR: BGP: MPLS outlabel changed, MPLS forw not updated, prefix not in routing table -Traceback= 10D36950 10D3709C 10B10388 10B10718 10AEEFD0 10AEF030 10B53A50 10B53DC0 10AF588C 10AFD610 10AFE8E0 10A44524 10A3B6D4
    Mar 18 20:41:38.892 EDT: %BGP_MPLS-3-GEN_ERROR: BGP: MPLS outlabel changed, MPLS forw not updated, prefix not in routing table -Traceback= 10D36950 10D3709C 10B10388 10B10718 10AEEFD0 10AEF030 10B53A50 10B53DC0 10AF588C 10AFD610 10AFE8E0 10A44524 10A3B6D4


    Cisco IOS Software, Catalyst 4500 L3 Switch Software (cat4500e-ENTSERVICES-M), Version
    12.2(50)SG1, RELEASE SOFTWARE (fc2)
    Technical Support:
    http://www.cisco.com/techsupport
    Copyright (c) 1986-2009 by Cisco Systems, Inc.
    Compiled Tue 10-Feb-09 00:17 by prod_rel_team
    Image text-base: 0x10000000, data-base: 0x124FED8C

    ROM: 12.2(44r)SG
    Darkside Revision 0, Jawa Revision 11, Tatooine Revision 140, Forerunner Revision 1.74

    MyRouter uptime is 5 days, 3 hours, 12 minutes
    System returned to ROM by power-on
    System restarted at 19:50:40 EDT Fri Mar 13 2009
    System image file is "bootflash:/cat4500e-entservices-mz.122-50.SG1.bin"

    cisco WS-C4900M (MPC8548) processor (revision 2) with 524288K bytes of memory.
    Processor board ID JAE130628BD
    MPC8548 CPU at 1.33GHz, Cisco Catalyst 4900M
    Last reset from PowerUp
    1 Virtual Ethernet interface
    36 Gigabit Ethernet interfaces
    16 Ten Gigabit Ethernet interfaces
    511K bytes of non-volatile configuration memory.

    Configuration register is 0x2102



    CSCse15707: Trace back seen at bgp_ipv4_mpls_label_change.

    http://tools.cisco.com/Support/BugToolKit/search/getBugDetails.do?method=fetchBugDetails&bugId=CSCse15707


    First Found-In:

  • 12.2(32.8.7)SRB




  • 12.2(32.8.8)SRA




  • 12.4(12.15)PI7e




  • 12.2(31)SB9




  • 12.2(31.4.5)SB11




  • 12.2(31.4.11)SB12




  • 12.2(28.5.24)SB13




  • Fixed-In:

  • 12.2(32.8.63)SR




  • 12.2(33)SRC




  • 12.4(13.8)PI7c




  • 12.2(33)SRB3




  • 12.2(33.2.18)SRB




  • 12.2(33)SB




  • 12.2(32.8.99a)SR133




  • 12.2(31)SB13




  • 12.2(32.8.1)YCA172.24




  • 12.4(21.14.9)PIC1





  • Symptoms: A router may generate the following error message and a traceback:

    %BGP_MPLS-3-GEN_ERROR: BGP: MPLS outlabel changed, MPLS forw not updated, prefix not in routing table

    Conditions: This symptom is observed on a Cisco router that functions in a VPN carrier supporting carrier topology and that is configured for BGP and IPv4.

    Workaround: This is a cosmetic issue, the traceback is harmless and the functionality of the router is not affected.

    CATOS: %SYS-3-PKTBUFFERFAIL_ERRDIS: Packet buffer failure detected.

    %%SYS-3-PKTBUFFERFAIL_ERRDIS: Packet buffer failure detected. Err-disabling port [dec]/[dec]

    Description:

    This message indicates that the default error-detection packet buffer setting is error disabling the port. Whenever a parity failure is detected on the port, ASIC ports are error disabled. [dec]/[dec] is the module number/port number of the error-disabled port.

    Recommended Action:

    Power cycle the switching module with the error-disabled port. Note The next message appears as four lines.

    Example:
    2009 Mar 19 22:19:18 GMT +00:00 %SYS-3-PKTBUFFERFAIL_ERRDIS:Packet buffer failure detected. Err-disabling port 12/11.
    2009 Mar 19 22:19:19 GMT +00:00 %SYS-3-PKTBUFFERFAIL_ERRDIS:Packet buffer failure detected. Err-disabling port 12/12.




    MySwitch (enable) show port errdisable-timeout 12/12
    Module 12 is not a Komodo+ Firewall
    Module 12 is not a Venus SLB

    Port Status ErrDisable Reason Port ErrDisableTimeout Action on Timeout
    ---- ---------- ------------------- ---------------------- -----------------
    12/12 errdisable packet-buffer-error Enable No Change
    MySwitch (enable)




    MySwitch (enable) show port errdisable-timeout 12/11
    Module 12 is not a Komodo+ Firewall
    Module 12 is not a Venus SLB

    Port Status ErrDisable Reason Port ErrDisableTimeout Action on Timeout
    ---- ---------- ------------------- ---------------------- -----------------
    12/11 errdisable packet-buffer-error Enable No Change
    MySwitch (enable)




    MySwitch (enable) sh port status 12
    Port Name Status Vlan Duplex Speed Type
    ----- -------------------- ---------- ---------- ------ ----- ------------
    12/1 FOLPT1412 connected 562 full 100 10/100BaseTX
    12/2 FOLPT1413 connected 562 full 100 10/100BaseTX
    12/3 3/6 splpw232131 errdisable 562 full 100 10/100BaseTX
    12/4 ldnpsmeg025 errdisable 565 full 100 10/100BaseTX
    12/5 LDNPSM14006 errdisable 565 full 100 10/100BaseTX
    12/6 LDNPSM14007 errdisable 565 full 100 10/100BaseTX
    12/7 LDNPSM14008 errdisable 565 full 100 10/100BaseTX
    12/8 LDNPSM02989 errdisable 565 full 100 10/100BaseTX
    12/9 LDNPSM14015 errdisable 565 full 100 10/100BaseTX
    12/10 LDNPSM14014 errdisable 565 full 100 10/100BaseTX
    12/11 LDNPSM14012 errdisable 565 full 100 10/100BaseTX
    12/12 lsc42n02-app2 errdisable 562 full 100 10/100BaseTX


    MySwitch (enable) show port errdisable-timeout 12/3
    Module 12 is not a Komodo+ Firewall
    Module 12 is not a Venus SLB

    Port Status ErrDisable Reason Port ErrDisableTimeout Action on Timeout
    ---- ---------- ------------------- ---------------------- -----------------
    12/3 errdisable packet-buffer-error Enable No Change
    MySwitch (enable)





    Example:Resolution:

    set module power down 12
    set module power up 12



    Related document:

    Best Practices for Catalyst 4500/4000, 5500/5000, and 6500/6000 Series Switches Running CatOS Configuration and Management