Cisco 1841 Bonded T1s, NAT, VLANs

Posted by support | Cisco, Routers, Switches | Thursday 27 September 2007 6:41 am

Objective
Bond two DS1s (T1s) together for 3Mb bandwidth. 2 VLANs that need to certain access to other subnet’s resources such as printing.

Layout
Carrier: Level 3
Router at Customer Site:
Cisco 1841 (running 12.4 IOS)
Switches at Customers Site:
2 Cisco 3500 (running 12.2 IOS)
Building One:
40 Users
Building Two:
12 Users
This is what I have for a router config. It has been working 3 months no issues. I took out the ACLs for this output. (Still on the router but not here)

Linux Date on File Backups

Posted by support | Linux | Thursday 27 September 2007 6:31 am

I write scripts from time to time for backup to USB or other drives.  This script will help one save older backups in the same folder.

Example:
#!/bin/bash
prefix=$(date +%a-%b%e-%I-%M-%S%p)NameofBak
suffix=tar.gz
filename=$prefix.$suffix
tar -czf $prefix.$suffix /tmp/backups/* (directory path of the folder or file)
mv $filename /Operations (where you want the file moved)
exit 0

The Date commands

Cisco ACL Name vs Number

Posted by support | Cisco, Routers | Tuesday 25 September 2007 2:21 pm

For some time I have created ACL Standard or Extended. Then six months to a year later after creating the ACL the customer wants me to update or check to see what this does and when was the ACL applied. Named ACL really help. I know the date and how many changes in the date I update the Named ACL. Please use a text editor for all changes. Cisco recommends this.

Example:

ip access-list extended Ban_Sept_25-2007e
deny ip host 64.235.213.22 any
deny ip host 207.138.82.130 any
deny ip host 209.170.119.67 any
deny ip host 64.116.204.140 any
deny ip host 63.211.225.83 any
deny ip 8.6.12.0 0.0.0.255 any
deny ip 64.74.0.0 0.0.255.255 any
permit ip any any

CTRL-D shown on console

Posted by support | Linux | Wednesday 19 September 2007 9:07 am

Power or just a bad disk?

If at hit ctrl-d to reboot, means the hard drive is corrupt ala power
failure.

use root password to login, then type :
fsck /dev/hda1 -y
fsck /dev/hda2 -y
fsck /dev/hdb1 -y
fsck /dev/hdb2 -y

if at any point you get a message about it being mounted e.g. WARNING!!! Running e2fsck on a mounted filesystem may cause SEVERE filesystem damage.

Do you really want to continue (y/n)? no

Answer “n” as shown above, then type umount /dev/hd?? where ?? is
a1,a2,b1,b2 as appropriate