Category: Computer

AIX: HOWTO: Apply Patch(es)

This is a collection of AIX tips from the time I worked as system admin:

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

  1. Always run the inutoc command to ensure the installation subsystem will recognize the new fix packages you download. This command creates a new .toc file for the fix package. Run the inutoc command in the same directory where you downloaded the package filesets. For example, if you downloaded the filesets to /usr/sys/inst.images, run the following command: # inutoc /usr/sys/inst.images

  2. For selected updates
    To install selected updates from this package, use the following command: # smit update_by_fix

  3. For all updates
    To install all updates from this package that apply to the installed filesets on your system, use the following command: # smit update_all It is highly recommended that you apply all updates from this package.

  4. Reboot the system. A reboot is required for this update to take effect.
  5. That's all!
    -gibb

AIX: gzip File Too Large Error

This is a collection of AIX tips from the time I worked as system admin:

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

gzip File Too Large Error

# gzip -d *.tar.gz

gzip: *.tar: File too large

When this happens, it's possible that your system's ulimit value prevents from creating a large file. Execute the `ulimit` command: # ulimit -a < - report all current resource limits # ulimit -f unlimited <- set file resource to unlimited

That's all!
-gibb

Switch-Router: HOWTO: Configure Set Community String On Router

When someone requests for write access to device's community string, give out devices like Enterprise (172.24.250.100) or Columbia (172.24.150.100). NEVER give out devices like Challenger (172.24.0.4), Atlantis (172.24.0.1), Endeavour (172.24.0.3) and Discovery (172.24.0.2).

Note: The syntax is different on the Cisco 5500's than all other Cisco devices because it runs CatOS, not IOS.

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

Setting write community string (Columbia is used for this example): 1. Telnet to Columbia (telnet 172.24.150.100) 2. Log onto the device with the passwd (gouni...) Following prompt should be displayed: columbia> 3. Get in enable mode by running following command: enable [enable: activate privileged mode. In privileged mode, additional commands are available, and certain commands display additional information.] Then following prompt should be displayed: columbia> (enable) 4. Type following command to enable Set (write) Community String set snmp community read-write 5. Verify if this is set by running following command: show config

[show config: to display the current system configuration]

NOTE: is the value for set community string.

Resetting write community string: 1. Telnet to Columbia (telnet 172.24.150.100) 2. Log onto the device with the passwd (gouni...) Following prompt should be displayed: columbia> 3. Get in enable mode by running following command: en Then following prompt should be displayed: columbia> (enable) 4. Type following command to enable Set (write) Community String set no snmp community read-write 5. Verify if this is set by running following command: sh conf


That's all!
-gibb

Switch-Router: HOWTO: Set Password

This is a part of collection of Switch/Router tips from the time I worked as system admin:

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

Login Password On Catalyst 5500 columbia> en columbia> (enable) set password Enter old password: Enter new password: Retype new password: columbia>

Privilege Mode Password On Catalyst 5500 columbia> en columbia> (enable) set enablepass Enter old password: Enter new password: Retype new password: columbia>


That's all!
-gibb

Switch-Router: HOWTO: Enable/Disable Ports (CISCO Catalyst 2900)

This is a part of collection of Switch/Router tips from the time I worked as system admin:

Disclaimer:
The information below is the result of my researches in the Internet and of my experiences. It is solely used for my purpose and may not be suitable for others.

Enabling Ports for CISCO Switch
Login to cisco switch cisco2900switch> show cisco2900switch> enable password cisco2900switch# config Configure from terminal, memory, or network [terminal]? t ... cisco2900switch(config)# interface fa0/2

To shutdown port cisco2900switch(config-if)# shutdown

To bring it up cisco2900switch(config-if)# un shutdown


That's all!
-gibb