Quickly setting a standard port config on a Cisco switch

Switch(config-if-range)# switchport host

This will configure both the switchport mode access and spanning-tree portfast commands for you, which can be used with the range command to quickly set all ports (or all but one for the trunk) to be workstation/server ready, with very little connection time needed.

Without the above two commands, a connected device can take up to 30 seconds to negotiate and connect to a Cisco switch port.

Working with LACP and Port-Channels

  1. For each of the ports to include, complete these steps below:
    1. Configure the port as a Layer 2 switchport.Note: This step is required only for switches that support both Layer 2 switchports and Layer 3 interfaces.
      Switch#conf t
      Enter configuration commands, one per line.  End with CNTL/Z.
      Switch(config)#int Gi2/0/23 
      Switch(config-if)#switchport
      Switch(config-if)#
    2. Configure the port as an access port and assign the appropriate VLAN.
      Switch(config-if)#switchport mode access
      Switch(config-if)#switchport access vlan 100 
      Switch(config-if)#
    3. Configure the port for spanning tree PortFast.
      Switch(config-if)#spanning-tree portfast
      %Warning: portfast should only be enabled on ports connected to a single
       host. Connecting hubs, concentrators, switches, bridges, etc... to this
       interface  when portfast is enabled, can cause temporary bridging loops.
       Use with CAUTION
      
      %Portfast has been configured on GigabitEthernet2/0/23 but will only
       have effect when the interface is in a non-trunking mode.
      Switch(config-if)#
    4. Configure the port for EtherChannel with appropriate mode.
      Switch(config-if)#channel-group 1 mode active 
      Creating a port-channel interface Port-channel 1
      
      Switch(config-if)#
  2. Configure the EtherChannel load balancing. This configuration is applicable for all EtherChannels configured on this switch.
    Switch(config)#port-channel load-balance ?
      dst-ip       Dst IP Addr
      dst-mac      Dst Mac Addr
      src-dst-ip   Src XOR Dst IP Addr
      src-dst-mac  Src XOR Dst Mac Addr
      src-ip       Src IP Addr
      src-mac      Src Mac Addr
    
    Switch(config)#port-channel load-balance src-mac 
    Switch(config)#

    Reference from: http://www.cisco.com/en/US/tech/tk389/tk213/technologies_configuration_example09186a008089a821.shtml

Running a usage report for a CS1000 DN

For systems using Callpilot…

Log in to OTM (icon on PBX desktop)
In OTM select Telemanagement
Select Telecom Billing System
Select File
Select Reports
Select Cost Analysis
Select Extension Detail Report
Select output to screen
Click on the ellipse box next to filter
Click on ADD
Make a filter name and report name, the report name will appear on the top of the report.
Select Call Date tab
At From and To: input the dates in this format 09/09/2006
Select Extension/Trunk tab
In ID type select Extension
In Originating section, If you want only one extension report enter 500 – 500, you can do a range of extensions: 500 – 510
In Terminating section, same as originating (must be on a different line!!!!)
Click OK
Click OK
Click GO
The report will appear and you can print from the screen.

AdTran Console Cable

The AdTran 600 series console/craft cable is proprietary. Using a straight-through RJ45 to a standard Cisco DB9 or DB25 will not work. Contact AdTran support with a valid serial number, and they will ship the craft console cable to you for free. http://www.adtran.com/

Conversely, you can modify a standard Cisco DB9 to RJ45 adapter by:

1. My numbering scheme on the female DB9 is looking from inside the housing of the adapter so pin 1 is the first pin on top-left. Pin 6 is the first pin on the second row left.

2. Do the following. Take White to pin 1. Green to pin 2. Black to pin 3. Brown to Pin 4. Blue to pin 5. Red to pin 6. Orange to pin 7 and Yellow to pin 8. Pin 9 is not used.

Run a straight-through patch cable between the newly wired adapter and the ‘CRFT’ port, and you’ll be able to connect to the console.

(Information found at: https://learningnetwork.cisco.com/thread/27513)

Welcome!

Welcome to galloNET!

As a network engineer, I find myself encountering situations on a daily basis that require significant research and testing. My goal is to post at least one tip per day that I have found useful in saving time and maintaining network stability and security. I will also pepper in tips and tricks that I’ve uncovered when dealing with Nortel PBX systems, Windows and Linux operating systems, and general everyday applications.

Feel free to contact me at jason@gallonet.com with suggestions and comments.