|
This chapter provides instructions on basic configuration tasks that you must perform to initialize the SwitchProbe device before you connect it to the network segment.
A SwitchProbe device communicates with the TrafficDirector application using Simple Network Management Protocol (SNMP) commands. To facilitate SNMP communication with the TrafficDirector application, you must assign the following configuration information to the SwitchProbe device's management interface:
You can set this basic configuration information in the SwitchProbe device in one of the following ways:
When you first install a SwitchProbe device, the agent starts running with no further action required by you. However, you might want to initialize certain parameters before proceeding further. To do so, you use the Agent Configuration Utility.
Caution To prevent damage to the SwitchProbe device, read "Site Requirements." |
The Agent Configuration Utility is a menu-driven configuration console that allows you to configure options and customize the SwitchProbe device to monitor and gather data. You can use the following two methods to access the configuration utility:
After you access the agent console, the Agent Configuration Utility main menu is displayed. The main menu consists of two displays. The following example shows the first page of the menu items you see after initial access (whether you connect locally or remotely). You select a menu item by entering the corresponding number and pressing Enter.
*****SwitchProbe Rev 4.5*****
Interface number : 1
[1] Change IP address 204.240.143.122
[2] Change Net Mask 255.255.255.0
[3] Change Default Gateway Address 204.240.143.6
[4] Change Read Community public
[5] Change Write Community public
[8] Select Interface ETHERNET
[9] Change Server Address 204.240.143.9
[10] Upgrade Software
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection #:
When you select 31, the second page of the main console is displayed:
*****SwitchProbe Rev 4.5 *****
Interface number : 1
[13] Configure Agent Options
[14] Configure Interface Options
[15] Change RMON parameters
[16] Change RMON2 parameters
[18] Software Options
[19] Security Options
[20] Console Logout
[21] Change ARTMIB parameters
[32] Go to Previous Page
Enter your response or hit Esc to Abort
When you make other selections, different menus are displayed that list additional configuration options, such as 13, Configure Agent Options.
Selection #: 13
*****SwitchProbe Rev 4.5 *****
Agent Option Menu:
[1] Toggle router_discovery on
[2] Toggle router_enable off
[3] Toggle modem_log off
[4] Toggle slip_ip off
[5] Toggle packet_capture on
[6] Toggle traffic_generator off
[7] Toggle discover_wanspeed off
[8] Go to Main Menu
Selection #:
If you have a BOOTP server available, you can configure the server to assign the SwitchProbe device with the IP address, net mask, default gateway address, and default server address; you might not have to perform any configuration tasks before connecting the SwitchProbe device to the network.
If there is a BOOTP server configured to assign the device agent an IP address, net mask, and gateway address, configuration is automatic. After unpacking the unit, you can immediately connect it to the network and turn it on.
For Token Ring and WAN SwitchProbe devices, configuration is automatic if the following conditions exist:
If all of these criteria are not met, you must configure either the management interface or the monitor interface before connecting the SwitchProbe device to the network.
Before connecting the management interface to the network, make the following configuration changes to the SwitchProbe device:
Before connecting the monitor interface to the network, make the following configuration changes to the SwitchProbe device using the console port:
If you have a BOOTP server, you can configure that server to house and send (upon request from a SwitchProbe device) basic configuration information (including an IP address, net mask, default gateway address, and default server address) to the device's management interface.
After you make the necessary connections to the device (connecting a network segment to the monitor interface, and connecting a management segment to the management interface), and turn on the device, you will see the following:
If you need to reconfigure the agent because the IP address, net mask, or gateway address has changed, you must invalidate the old IP address to force the agent to send out BOOTP requests.
To invalidate an IP address to reconfigure the agent, follow these steps:
Step 1 Access the Agent Configuration Utility by using the agent console or the TrafficDirector Remote Login application.
Step 2 Enter 11 and press Enter.
The following prompt is displayed:
Selection #: 11
Enter "quit" to exit command-line mode
%
Step 3 Enter the string set ip_valid no and press Enter.
If the IP address is invalid, the SwitchProbe device sends out BOOTP requests.
Step 4 Enter quit (in lowercase) to quit command-line mode.
Step 5 Enter exit (in lowercase) to exit the Remote Login application.
Step 6 Enter 12 and press Enter to reset the agent.
The following prompt is displayed:
Selection#: 12
WARNING: agent will be reset, confirm [n] y
Step 7 Enter y to confirm, and press Enter.
The agent resets.
You do not have to reset the agent after each setting change, but the settings do not take effect until you reset the agent.
Use an ASCII terminal to manually configure the agent under any of the following conditions:
Before you begin manual configuration, verify that you have the following equipment:
Before connecting the ASCII terminal to the SwitchProbe device's console port, power off the device. (The power LED on the front panel should be off.) Verify that the device is not connected to the network.
Warning Before working on a system that has an on/off switch, turn OFF the power and unplug the power cord. |
Warning Before working on a chassis or working near power supplies, unplug the power cord on AC units; disconnect the power at the circuit breaker on DC units. |
To connect an ASCII terminal to the SwitchProbe device, follow these steps:
Step 1 Connect one end of an RS-232 null-modem crossover cable (with DB-9 female connector) to the SwitchProbe device's console port.
Step 2 Connect the other end of the null-modem cable to an ASCII terminal.
If the connector on the cable is not compatible, use an adapter to match the cable and the debug port connector.
Step 3 Ensure that the screws are tight on both the adapter, the debug port connector, and the cable.
Step 4 Turn on the data terminal.
Step 5 Set the terminal to the following parameters:
Step 6 Power on the SwitchProbe device.
At power-up, the SwitchProbe device performs a set of self-tests before booting. During normal power-up or reset, you should see the following sequence:
*****SwitchProbe Rev 4.5*****
<12:19:48> ----------New Boot----------
<12:19:48> Booting from flash
<12:19:48> Interface 1: Ethernet
<12:19:48> Interface 2: SLIP
<12:19:48> Free memory after boot = 7225600 Bytes
<12:19:51> Number of consoles initialized = 3
<12:19:51> Start agent interfaces..
<12:19:51> Opening port 2 for SLIP
<12:19:51> ifn 1 MAC Addr: 00-80-8c-22-33-01
<12:19:51> Control entry: Count = 256, Size of each 908
<12:19:51> Proxy function enabled
<12:19:51> AGENT Version 4.5.0
<12:19:51> NVRAM Version 3.1
<12:19:51> Link time Sep 24 19:09:07 97
<12:19:51> Interface [1] IP Addr: 204.240.143.122
<12:19:52> Net mask: 255.255.255.0
<12:19:52> GW Addr: 204.240.143.87
<12:19:52> Interface [2] IP Addr: Not configured
<12:19:52> Net mask: Not configured
<12:19:52> GW Addr: Not configured
<12:19:53> Agent Ready
<12:19:53> Free Memory after init = 6371284 Bytes
Hit any key to enter configuration utility.
***** Ethernet SwitchProbe Rev 4.5 *****
Interface number :1
[1] Change IP Address 204.240.143.117
[2] Change Net Mask 255.255.255.0
[3] Change Default Gateway Address 204.240.143.1
[4] Change Read Community sqa
[5] Change Write Community sqa
[8] Select Interface ETHERNET
[9] Change Server Address 204.240.143.7
[10] Upgrade Software
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection#:
Step 1 Access the Agent Configuration Utility by using the agent console or the TrafficDirector Remote Login application.
You should see text similar to the following (the model name, revision number, and some menu items might differ):
***** Ethernet SwitchProbe Rev 4.5 *****
Interface number :1
[1] Change IP Address 204.240.143.103
[2] Change Net Mask 255.255.255.0
[3] Change Default Gateway Address 204.204.143.1
[4] Change Read Community public
[5] Change Write Community public
[8] Select Interface ETHERNET
[9] Change Server Address 204.240.143.12
[10] Upgrade Software
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection#:4
Step 2 Change the IP address of the agent by entering 1, and pressing Enter.
The agent prompts you to enter the new IP address.
Step 3 Enter the new IP address and press Enter.
The following example illustrates how to change the IP address to 45.20.1.2:
Selection#: 1
New IP Address [0.0.0.0] : 45.20.1.2
Warning: Net mask changed to conform to ip_addr
Depending on the IP address you enter, the program automatically inserts the net mask.
Step 4 Change the agent net mask by entering 2 and pressing Enter.
The agent prompts for the new net mask.
Step 5 Enter the new net mask and press Enter.
The following example illustrates how to change the net mask to 255.255.252.0:
Selection#: 2
New Net Mask Address [255.0.0.0] : 255.255.252.0
Step 6 Change the agent's default gateway address by entering 3 and pressing Enter.
The agent prompts for the new gateway address.
Step 7 Enter the new gateway address and press Enter.
The following example illustrates how to change the default gateway address to 45.20.0.94:
Selection#: 3
New Default Gateway Address [0.0.0.0] : 45.20.0.94
Step 8 Verify that the settings are correct.
Repeat any steps necessary before preceding to the next step.
Step 9 Enter 12 and press Enter to reset the agent.
The following prompt is displayed:
Selection#: 12
WARNING: agent will be reset, confirm [n] y
Step 10 Enter y to confirm, and press Enter.
The agent resets.
If the SwitchProbe device has a Token Ring or WAN interface, you must set that interface speed to match the speed of the network before you connect the device, or it might interfere with network operation. You must repeat these steps for each Token Ring or WAN interface present on the device.
To set the Token Ring or WAN interface speed, follow these steps:
Step 1 Access the Agent Configuration Utility by using the agent console or the TrafficDirector Remote Login application.
You should see text similar to the following (the model number, revision, and some menu items might differ):
***** WAN SwitchProbe Rev 4.5 *****
Interface number : 1
[1] Change IP Address 204.240.143.113
[2] Change Net Mask 255.255.255.0
[3] Change Default Gateway Address 204.240.143.1
[4] Change Read Community public
[5] Change Write Community public
[8] Select Interface WAN
[9] Change Server Address 204.240.143.16
[10] Upgrade Software
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection #:
Step 2 Verify that you have selected the correct interface before you change the interface speed.
The selected interface is shown across from menu item 8. If the correct interface is already selected, skip to Step 4.
Step 3 Prepare to change the selected interface by entering 8 and pressing Enter.
The following menu is displayed:
***** WAN Rev 4.5 *****
Selection# 8
Select the interface:
[1] ETHERNET MODE = MANAGE
[2] SERIAL MODE = MANAGE
[3] WAN MODE = MONITOR
New interface [1]
Step 4 Select the item that corresponds to the Token Ring or WAN interface. In this example, you would enter 3 and press Enter.
The following menu is displayed:
***** WAN SwitchProbe Rev 4.5 *****
I
nterface number : 3
[6] Change Interface Speed 64
[7] Change Encapsulation Protocol PPP
[8] Select Interface WAN
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection #:
Step 5 Set the speed of the selected interface by entering 6 and pressing Enter.
The following example illustrates how to change the interface speed from 56 kbps to 1544 kbps:
Enter Link Speed in kbits per second.
New Interface Speed [64] : 1544
***** WAN SwitchProbe Rev 4.5 *****
Interface number :3
[6] Change Interface Speed 1544
[7] Change Encapsulation Protocol PPP
[8] Select Interface WAN
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection #:
Step 6 Enter 12 and press Enter to reset the agent.
The following prompt is displayed:
Selection#: 12
WARNING: agent will be reset, confirm [n] y
Step 7 Enter y to confirm and press Enter.
The agent resets.
On Fast Ethernet Half-Duplex SwitchProbe devices, you can configure the Fast Ethernet interface speed to 10 or 100 Mbps (the default).
To change the speed of the Fast Ethernet half-duplex interface, follow these steps:
Step 1 Access the Agent Configuration Utility by using the agent console or the TrafficDirector Remote Login application.
Caution Be sure to select the interfaceas described in the next step before changing the speed of the Fast Ethernet half-duplex interface. If you mistakenly change the speed of the management interface, you might lose communication with the device, and you must reconfigure it from a direct console connection. |
Step 2 Enter 8, select the Fast Ethernet interface, and press Enter.
Step 3 Enter 11 and press Enter.
Step 4 Enter the get speed command to check the current speed of the Fast Ethernet interface.
Step 5 Enter the set speed new_speed command to reset the speed.
new_speed is 10 or 100 (Mbps)
The speed is set when the SwitchProbe device reboots. If there is no link (for example, if the cable is not attached), the speed is automatically set to 100 Mbps.
To change the default encapsulation protocol, follow these steps:
Step 1 Access the Agent Configuration Utility by using the agent console or the TrafficDirector Remote Login application.
You should see text similar to the following (the model number, revision, and some menu items might differ):
*****Ethernet SwitchProbe 4.5*****
Interface number : 1
[1] Change IP Address 204.240.143.113
[2] Change Net Mask 255.255.255.0
[3] Change Default Gateway Address 204.240.143.1
[4] Change Read Community public
[5] Change Write Community public
[8] Select Interface ETHERNET
[9] Change Server Address 204.240.143.16
[10] Upgrade Software
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection #:
Step 2 Verify that you have selected the correct interface before you change the interface speed.
The selected interface is shown across from menu item 8. If the correct interface is already selected, skip to Step 4. In this example, the selected interface is Ethernet.
Step 3 Prepare to change the selected interface by entering 8 and pressing Enter.
The following menu is displayed:
***** Ethernet SwitchProbe Rev 4.5 *****
Selection# 8
Select the interface:
[1] ETHERNET MODE = MANAGE
[2] SERIAL MODE = MANAGE
[3] WAN MODE = MONITOR
New interface [1]
Step 4 Select the item that corresponds to the Token Ring or WAN interface. In this example, enter 3 and press Enter.
The following menu is displayed:
***** WAN SwitchProbe Rev 4.5 *****
I
nterface number : 3
[6] Change Interface Speed 64
[7] Change Encapsulation Protocol PPP
[8] Select Interface WAN
[11] Enter Command-line mode
[12] Reset Agent
[31] Go to Next Page
Enter your response or Enter "exit" to logout
Selection #:
Step 5 Prepare to set the encapsulation protocol by entering 7, and pressing Enter.
The following menu is displayed:
Selection#: 7
Select Encapsulation Protocol
[0] Line Data
[1] WELLFLEET HDLC
[2] CISCO HDLC
[3] PROTEON HDLC
[4] DEC HDLC
[5] PPP
[6] FRAME-RELAY
[7] SMDS-DX
[8] X25
[9] ANNEX_G
New Encapsulation Type (PPP) :
Step 6 Set the desired encapsulation protocol by entering the appropriate number and pressing Enter.
The SwitchProbe device confirms your selection by displaying the main menu with the new encapsulation entry.
Step 7 Enter 12 and press Enter to reset the agent.
The following prompt is displayed:
Selection#: 12
WARNING: agent will be reset, confirm [n] y
Step 8 Enter y to confirm and press Enter.
The agent resets.
Posted: Wed Oct 2 08:34:17 PDT 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.