Friday, November 26, 2010

Free up Junper SRX disk or storage space

1. Check the amount of disk usage:
show system storage
2. Perform an automated device storage/disk cleanup:
request system storage cleanup

Upgrade a standalone Cisco Catalyst 3750 (not in a Stack)

1. Download and save the required image from the Cisco website.
2. Ensure you have the minumum amount of storage space on your flash drive. For the IP Services image this is likely to be 16Mb.

Apply the command:

dir flash:

3. In this example I use TFTP32 to transfer files from my desktop to the switch.

Apply the command:
copy tftp:.bin flash:

4. Once the new IOS image has been transferred, configure the switch to boot with the new image the next time it reloads:

Apply the following commands:
config terminal
boot system flash:/.bin
exit
write memory
reload

Note: There is no need to change the config-register value as the it is fixed on the Catalyst 3750.

5. Type "yes" or press enter to confirm to reload.

6. Once reloaded check that you are using the new image:
show version

Thursday, February 4, 2010

Route Distinguishers and Route Targets

A VRF represents an isolated instance on a device of a routing and forwarding table. A VRF belongs to a site and is assigned to a interface (logical or physical). This interface is used to peer to the CE to exchange routing updates and packets. These updates and packets are identified in the core (provider network) by a ROUTE DISTINGUISHER and thus making it unique where there is a overlap of addressing schemes from different VRFs.

A VPN is a service which provides security and isolation normally found in a private network over a shared provider infrastructure. The scope of a VPN is contained by what routing and forwarding is required by a organizations network. Therefore a VPN can entail multiple VRFs if it requires access to networks in different VRFs. The ROUTE TARGET is used to determine what routing information to import or export from a VRF and thus creating the scope of the VPN.

Wednesday, August 26, 2009

Reset the ProxySG back to default settings

To reset the ProxySG back to the "out-of-the-box" configuration or default settings take the following steps:
1. Connect to the ProxySG CLI through the serial interface or a terminal server.
2. Press enter 3 times.
3. Choose option 1: "Command Line Interface".
4. Enter enable mode by entering the command "en".
5. At the prompt enter "restore-defaults factory defaults".
6. The system message "Continue with system re-initialization?". Enter Y for the system to proceed with re-initialization.
7. Sit back and wait.
8. Re-initialization is now complete.

Internet Content Adaption Protocol (ICAP) Fundamentals

Core points on ICAP:

* The Blue Coat AV (virus checking) is an external service which the ProxySG can communicate with using ICAP.
* The policy definition is conducted on the ProxySG using the management console or Content Policy Language.
* There are two modes of operation: RESMOD and REQMOD. In REQMOD the ProxySG intercepts and forwards requests from the client to the origin server for parsing. In RESMOD the ProxySG (ICAP client) intercepts the response from the origin server and uses ICAP to communicate with the external service to process the response message.

Monday, July 6, 2009

Backup Static Routes in Cisco IOS

Problem: I have primary static default route which I want to replace with a secondary default route when the primary fails.

Solution:

track 10 interface FastEthernet0/0 ip routing
delay down 2 up 2
!
track 11 list boolean and
object 10 not
!
ip route 0.0.0.0 0.0.0.0 192.168.2.2 track 10
ip route 0.0.0.0 0.0.0.0 192.168.3.2 track 11
!

Verify:
R1#show ip route track
ip route 0.0.0.0 0.0.0.0 192.168.2.2 track 10 state is [up]
ip route 0.0.0.0 0.0.0.0 192.168.3.2 track 11 state is [down]
!

R1#show track 11
Track 11
List boolean and
Boolean AND is Down
1 change, last change 00:05:24
object 10 not Up
Tracked by:
STATIC-IP-ROUTING 0
R1#show track 10
Track 10
Interface FastEthernet0/0 ip routing
IP routing is Up
3 changes, last change 00:16:39
Delay up 2 secs, down 2 secs
Tracked by:
Track-list 11
STATIC-IP-ROUTING 0
!

Monday, June 22, 2009

Resetting the Trial License

The trial period on a ProxySG can be reset by entering at the CLI the command "reset-trial". This can only be done once and hence will not work if done previously by someone else who has trialed the appliance.

If the command is unsuccessful the owner of the appliance will need to contact Blue Coat and request a evaluation license. They need to fill in the following form located at: https://bluesource.bluecoat.com/evalrequest , or contact their account representative.