Articles by Scott Hebert

  1. Disable Spanning-Tree Per VLAN

    Posted on in Networking

    If you need to disable spanning-tree on a particular VLAN in your Cisco-based network, use the following command:

    Switch(config)# no spanning-tree vlan 13
    

    This will disable spanning-tree on unlucky VLAN 13.

    If you have some good examples of why you might want to disable spanning-tree for a VLAN, please …

  2. Random Oracle FRA Usage Notes

    Posted on in System Administration

    While researching a problem with our Oracle Fast Recovery Area (FRA), I took note of the more useful commands I used. This is from Oracle 11g R2 with the Real Application Clusters (RAC) and Automatic Storage Management (ASM) options.

    SQL*Plus

    Show how much of the FRA is in use …

  3. iPod Appears in Finder, Not In iTunes

    Posted on in Software

    After a recent power event, I experienced this problem. None of our iPods were appearing in iTunes; even those that sync via wireless. My problem was solved on the macosxhints forums by sprale.

    In Terminal:

    cd ~/Library/Application\ Support/SyncServices/
    rm Local
    

    If you aren't comfortable in Terminal, you will …

  4. Recover Lost Pre-Shared Keys

    Posted on in Networking

    Not everyone has a great password maintenance process. If you run into a situation where the group pre-shared keys for your VPN are lost, you face the option of changing the existing key (and breaking any users that are currently working), or creating a new group with a new key …

  5. vCloud Director Install - ORA-00972 Error During Oracle Setup

    Posted on in System Administration

    If you are unfamiliar with Oracle and setting up your vCloud Director Oracle database, don't make the same mistake I made:

    SQL> CREATE TABLESPACE "CLOUD_DATA" DATAFILE "/home/oracle/app/oracle/oradata/orcl/cloud_data01.dbf" SIZE 1000M AUTOEXTEND ON ;
    CREATE TABLESPACE "CLOUD_DATA" DATAFILE "/home/oracle/app/oracle/oradata/orcl/cloud_data01.dbf …
  6. Cisco IPS Inline Bypass Mode

    Posted on in Networking

    On occasion, you may need to put your Cisco IPS into bypass mode. Bypass mode allows the IPS to pass traffic without inspecting it. This may be useful if you suspect the IPS is causing a problem, if you are going to run a one-time scan that would set the …

  7. Enabling Stateful Switchover in the Cisco ASR1000

    Posted on in Networking

    When you get your brand new Cisco ASR1000 series router, Stateful Switchover (SSO) is disabled by default:

    Router# show redundancy states
           my state = 13 -ACTIVE 
         peer state = 1  -DISABLED 
               Mode = Simplex
            Unit ID = 6
    Redundancy Mode (Operational) = Non-redundant
    Redundancy Mode (Configured)  = Non-redundant
    Redundancy State              = Non Redundant
    

    Enable SSO!

    Router# config …
  8. Mutt: Tagging Messages Based on Message ID

    Posted on in Software

    I recently needed to tag the first 5,389 messages in a mailbox using Mutt. This is much easier than you might think.

    1. shift-t - By default, the command to tag messages based on a pattern is bound to shift-t. If you've changed this in your muttrc, use whatever you've bound …
  9. What are BGP Update-Groups?

    Posted on in Networking

    You've certainly noticed when look at individual BGP routes on your Cisco routers that the route is advertised to specific update-groups. It isn't obvious from that output just what those update-groups are.

    Router#show ip bgp 8.8.8.8       
    BGP routing table entry for 8.8.8.0/24 …
  10. Comments in .vimrc

    Posted on in Software

    If you need to comment something out of your .vimrc, start the line with a double quote (").

    "autocmd BufRead *.xml :source ~/.vimrc.xml
    

    It's embarrassing to admit how long it takes to find the answer to that question.

  11. Lion + Cisco VPN DNS Workaround

    Posted on in System Administration

    When I upgraded to OS X 10.7 (Lion), I started using the built-in IPSec VPN client rather than Cisco's VPNClient. I experienced problems immediately. At first it appeared that the connection was being made, but no traffic was passing. When I tried pinging by IP address, I found that …

  12. Google PageRank Tool 0.5.0

    Posted on in Software

    I released a new version of my Google PageRank Tool for WordPress last week. Google recently changed the URL for PageRank information which necessitated a change in the plugin. The new plugin has been tested with WordPress 3.2.1.

    You can download the latest version of the plugin from …

  13. Cisco Catalyst NVRAM Corruption

    Posted on in Networking

    This is an annoying problem:

    Switch#write
    startup-config file open failed (Not enough space)
    
    Switch#dir nvram:
    Directory of nvram:/
    
    %Error opening nvram:/ (Function not implemented)
    
    1048576 bytes total (1034573 bytes free)
    

    Cisco Catalyst switches simulate NVRAM on their flash. Once in a blue moon, this simulated NVRAM will become …

  14. Mac OS X terminal and GNU screen scrollback

    Posted on in system_administration

    If you're a frequent user of GNU screen on your Mac, you are probably tired of using ctrl-a [ to enter scrollback mode. Adding the following lines to the .screenrc configuration file in your home directory in order to scroll with your mouse:

    defscrollback 5000
    termcapinfo xterm* ti@:te@
    

Slaptijack's Koding Kraken