• Keine Ergebnisse gefunden

Enabling Dynamic Dialing

Im Dokument Using this Manual (Seite 179-186)

To enable dynamic dialing:

1. Obtain a valid dialout value for the Remote Annex option_key parameter. Each Remote Annex requires a unique value. The way to obtain a key depends on the configuration and type of your Remote Annex. Some option_ key values are physically attached to the underside of the Remote Annex. If this is true for your Remote Annex, enter this value as described in Step 2.

If the option_key value is not attached to your Remote Annex, contact your supplier to obtain a key. You will need to specify the Ethernet address of your Remote Annex; it is taped to the back of the unit.

The option_key parameter enables a variety of Remote Annex features, including tn3270, AppleTalk, and IPX, depending upon what you specified when you ordered your Remote Annex.

The dialout option_key also enables filtering.

To determine which options are enabled, issue the CLI stats –o command:

annex: stats –o KEYED OPTIONS:

MODULES DISABLED None

The MODULES DISABLED field indicates the current setting of the disabled_modules parameter. If dialout is listed as disabled, you cannot use it, even if the

option_key for it is set correctly (see disabled_modules on page C-57.)

Although LAT is an option, you set it using the

Remote Annex lat_key parameter (for more details, see lat_key on page C-67).

2. Use na, admin, or SNMP to set the option_key parameter. For example, if your key value isRaqbDwv8e, enter the following:

annex: su Password:

annex# admin

Annex administration Remote Annex R13.3, 72 ports admin: set annex option_key RaqbDwv8e

3. Reboot the Remote Annex to put the option_key setting into LAT: keyed off

Atalk: keyed off tn3270: keyed off dialout/filtering: keyed off IPX: keyed off

5. Configure the modem section of the Remote Annex configuration file. Table A-41 on page A-375 lists the field definitions for modem entries (for more details, seeCreating modem Entries in the Configuration File on page A-374).

Several standard entries for the modem section of the Remote Annex configuration file are supplied with the software distribution. These entries, defined for use with the configuration file, are located in the file /usr/annex/

bfs/modems.annex.

If the modem you are using is contained within this file, using the %include filename command tells the parser that entries in the specified file are part of the

configuration file. For example:

%modem

%include modems.annex

If the modem you are using is not contained within this file, you must edit the configuration file accordingly.

On each Remote Annex, edit the configuration file to contain a modem section similar to the following sample entry. If the

Remote Annex boots from a host, the file resides on the host; for self-boot units, the file resides on the Remote Annex.

A typical modem entry looks like this:

%modem

# Acme Widget and Modem Corp Type 1234 V.34 modem type_of_modem ACME_288

ready_status 0

connect_status 1 5 10 13 18 20 21 25 43 47\

85 91 99 103 107 connect_abort 4 6 12

connect_retry 3 7 8 connect_ignore 11 reset_cmd AT&F1 reset_delay 3.0+0.0 dialout_setup_cmd

ATE1Q2V0X6&A0&B1&C1&D2&H1&I0&K1&R2S0=0 dialin_setup_cmd

ATE1Q2V0X6&A0&B1&C1&D2&H1&I0&K1&R2S0=1 dial_cmd ATDT

timeout 60

retry 3

end

In the above modem configuration, the dialin_setup_cmd and dialout_setup_cmd field entries appear on two lines.

This is a limitation of the printed page. Enter the actual command strings as one continuous entry without any line breaks.

6. Reset the modem:

annex# admin

Annex administration Remote Annex 13.3, 72 ports admin: reset annex modem

7. Configure the dialout section of the Remote Annex configuration file. Table A-44 on page A-387 provides field definitions for the dialout entries.

Each entry in the dialout section of the configuration file defines a dial-out route. The format of a dialout entry looks like this:

%dialout

The mandatory fields for a dialout entry are:begin_route,remote, mode (slip or ppp),ports,phone, andend_route.

If you specify a rotary for ports, the telephone number defined for the rotary takes precedence over the phone number specified in the dialout entry.

Using separateset field entries, set any port parameters that you want included in the dialout entry (for more details, see Table A-45 on page A-390).

Any port parameter not set in the dialout entry will use the current settings in non-volatile memory.

Set the following parameters on each port to which the dialout entry applies:

a) Set the mode parameter to slave, adaptive, or auto-adapt.

b) Set type as appropriate for the attached equipment.

c) Set speed as appropriate for the attached equipment.

d) Set the type_of_modem parameter to match thetype_of_modem field entry in the modem section of the Remote Annex configuration file.

e) Set control_lines as appropriate for the attached equipment.

f) Set input_flow_control as appropriate for the attached equipment.

g) Set output_flow_control as appropriate for the attached equipment.

For more details, seeCreating dialout Entries in the Configuration File on page A-386. For more details on Remote Annex configuration parameters, seeConfiguration Parameters on page C-33.

8. Issue a reset annex dialout command.

If a SLIP or PPP line is using both dynamic dialing and network inactivity, network inactivity only goes into effect after dynamic dialing has been activated.

9. Initiate a dynamic dialing session.

a) On the terminal connected to each Remote Annex, issue the CLI superuser modem –a command to verify the modem type and each of the strings defined for the modem.

b) On each Remote Annex, issue a CLI netstat –r command to verify that there is a route (e.g., do2).

c) When outbound traffic is detected, the Remote Annex initiates a dial-out connection based on the information in the dialout section of the Remote Annex configuration file. Debug level syslogging tracks the connection attempt.

d) If the network inactivity timer expires before the dialout connection is established, the Remote Annex breaks the connection. Any subsequent activity across the link (that has not been filtered out) re-establishes the dynamic dial connection.

SeeSample Configurations for Dynamic Dialing on page 8-164 for an example of a final configuration for two Remote Annexes.

For details on filtering, see Filtering on page A-249.

For more details on dial-up SLIP, see Serial Line Internet Protocol (SLIP) on page A-137.

For more details on dial-up PPP, see Point-to-point Protocol (PPP) on page A-111.

For more details on editing the configuration file, see Setting Up the Configuration File on page A-347.

For more details on Remote Annex configuration parameters, see Configuration Parameters on page C-33.

Im Dokument Using this Manual (Seite 179-186)