Difference between revisions of "Advanced Network Testing"

From FreekiWiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{cleanup}}
 
{{cleanup}}
==Rack Mount and Larger Switch Testing==
+
==Commercial Grade Network Device Testing==
  
This section is a short guide for testing larger switches (usually more than 12 ports) If you are trying configure a small switch (less than 12 ports), refer to the [http://wiki.freegeek.org/index.php/Network_Testing "Basic" Network Test Page]
+
This section is a generic guide for testing commercial grade routers, switches, firewalls, etc.  If you are trying configure a small consumer grade switch, refer to the [[Network_Testing|"Basic" Network Test Page]].
In most cases switches over 12 ports will be Rack Mount, but not always! In some cases the device may be rack mount but not have rails attached to it.
 
  
 
'''Testing a network device with a console port'''
 
'''Testing a network device with a console port'''
Line 11: Line 10:
 
'''Step 1:''' Return the device to factory defaults.  There is typically done by pressing a "Reset" button, but techniques vary between manufacturers and models.  For example, the Juniper Networks NetScreen-5GT Firewall requires you to wait for the unit to completely boot up, then press the reset button for six seconds, release the button for two seconds, then press the button for another six seconds.  If you are having a difficult time defaulting a device, do a Google search that includes that manufacturer and model and the words "factory default".  Reset buttons are usually recessed and require you to insert the end of a paper clip into a hole in the case of the unit that has the reset button behind it.
 
'''Step 1:''' Return the device to factory defaults.  There is typically done by pressing a "Reset" button, but techniques vary between manufacturers and models.  For example, the Juniper Networks NetScreen-5GT Firewall requires you to wait for the unit to completely boot up, then press the reset button for six seconds, release the button for two seconds, then press the button for another six seconds.  If you are having a difficult time defaulting a device, do a Google search that includes that manufacturer and model and the words "factory default".  Reset buttons are usually recessed and require you to insert the end of a paper clip into a hole in the case of the unit that has the reset button behind it.
  
If the device does not have a reset button or it seems to do nothing, try the second method. The second way of resetting a switch is to access its console. Learning how to do this early in the testing process generally helps. There are a few different configuration applications that run in a console or "terminal" window, the best one to use (and the one that is already installed) is Minicom. You can start Minicom by opening a terminal window and running the command "minicom -s"
+
If the device does not have a reset button or the reset button doesn't seem to work, try the second method. The second way of resetting a switch is to access its console. Learning how to do this early in the testing process generally helps. The easiest application to use for communicating with console ports is GtkTerm (Applications -> Accessories -> Serial port terminal).  The lower left corner of the GtkTerm window displays the serial port device name, the port speed, number of data bits, parity type, and stop bits.  This should usually read like this: /dev/ttyS0:9600,8,N,1.  Launch GtKterm, connect the serial cable between the Network Test Station PC and the device under test, then power up the device under test and watch the screen.  You may need to experiment with different speeds listed above (Configuration -> Port).
After opening Minicom, you will be prompted to hit enter to continue.
+
 
 +
 
  
 
==Test Procedures for Specific Models==
 
==Test Procedures for Specific Models==

Revision as of 23:34, 30 October 2010

This page or section appears to be out of date or otherwise inaccurate.
Please edit as seems necessary, removing the {{cleanup}} tag when you are through.

Commercial Grade Network Device Testing

This section is a generic guide for testing commercial grade routers, switches, firewalls, etc. If you are trying configure a small consumer grade switch, refer to the "Basic" Network Test Page.

Testing a network device with a console port

Most commercial grade routers, switches and firewalls have a console port that is used to configure the device (if it does not, the standard Network Testing page will have better instructions). The industry standard for console ports is to operate at 9600 bps, 8 data bits, no parity and 1 stop bit but, if you are having a difficult time communicating with a device, you should also try 19200, 38400 and 115200 bps speeds.

Step 1: Return the device to factory defaults. There is typically done by pressing a "Reset" button, but techniques vary between manufacturers and models. For example, the Juniper Networks NetScreen-5GT Firewall requires you to wait for the unit to completely boot up, then press the reset button for six seconds, release the button for two seconds, then press the button for another six seconds. If you are having a difficult time defaulting a device, do a Google search that includes that manufacturer and model and the words "factory default". Reset buttons are usually recessed and require you to insert the end of a paper clip into a hole in the case of the unit that has the reset button behind it.

If the device does not have a reset button or the reset button doesn't seem to work, try the second method. The second way of resetting a switch is to access its console. Learning how to do this early in the testing process generally helps. The easiest application to use for communicating with console ports is GtkTerm (Applications -> Accessories -> Serial port terminal). The lower left corner of the GtkTerm window displays the serial port device name, the port speed, number of data bits, parity type, and stop bits. This should usually read like this: /dev/ttyS0:9600,8,N,1. Launch GtKterm, connect the serial cable between the Network Test Station PC and the device under test, then power up the device under test and watch the screen. You may need to experiment with different speeds listed above (Configuration -> Port).


Test Procedures for Specific Models

Cisco PIX Firewalls

Cisco Routers

Juniper NetScreen-5GT Firewalls