How to add a modem to the modem table and apply that modem configuration to ports UPDATE: August 26, 1999 FOR THE FOLLOWING MODELS: SUMMARY: The modem table on the Lucent box allows the user to apply a modem configuration (a DTE
port speed, and an initialization string/script) to a modem attached to the Lucent box.
Each time a port is administratively reset (ie: reset s1) or the Lucent box is rebooted
then the init string is resent and the DTE speed is reaffirmed.
COMMAND SUMMARY: add modem [short name] [long name] [speed] [init string] # adds a new modem show modem [short name] # displays a modem profile delete modem [short name] # deletes a modem profile from the table show table modem # displays the entire modem table set s[port number] modem [short name] # applies the modem profile to a port attach s[port number] # attaches session directly to modem BEFORE YOU START: 1) Modem Init String.
2) Access to the PortMaster's (TM) command prompt through telnet, console connection or dialup connection. ADDING A MODEM TO THE TABLE add modem [short name] ["long name"] [speed] ["init string"]
For example, if you wanted to add the USRobotics 28.8 v.34 modem to your modem table you would use the following command: Command> add modem usr-v34 "USRCourierV.34" 115200 "AT&F1S0=1&W\r^OK" New script entry successfully added. Modem usr-v34 successfully added. This adds the USR modem to the modem pool using the name usr-v34. It also adds the baud rate which is set to 115200 and an init string used to configure the modem. VIEWING THE MODEM TABLE Command> sh table modem Short Name Long Name Type ---------------- ----------------- ------ usr-v34 USRCourierV.34 User hayes HayesOptimaV34 User In this example we have two modem profiles in the modem table. VIEWING THE MODEM Command> show modem usr-v34 Short Name: usr-v34 Long Name: USRCourierV.34 Optimal Speed: 115200 Type: User Defined Init Script: Send Command Wait for Reply --------------------- --------------- AT&F1S0=1&W\r OK APPLYING THE MODEM TO A PORT To apply the modem profile to the modem, attach to a port, and issue the following commands: (Of course substituting your own port numbers) Command> set s1 modem usr-v34 Modem type for port S1 changed from to usr-v34 Command> reset s1 Resetting port S1 Command> You can watch the initialization process by issuing the following commands: Command> set console # display console messages to this session Setting CONSOLE to admin session Command> set debug 0x51 # set the debug value Setting debug value to 0x51 Command> reset s5 # reset the port Resetting port S5 at&w\r\r\nOK Command set debug off # turns off the debug All debugging disabled Command> reset console # turns off the console Console RESET DELETING A MODEM FROM THE TABLE Command> del modem usr-v34 Modem usr-v34 successfully deleted. ALTERNATE METHODS FOR CONFIGURING A MODEM
Command> attach s5 Trying 192.168.1.1 ... Connected - Escape character is '^]'. at&f1s0=1&w # Issue your at commands OK ^] # to get back to the prompt press "CTRL"+"]" telnet> send esc # sometimes you have to do this 2 or 3 times. Connection Closed TROUBLESHOOTING If you do not get "Configured" back for the port's "Modem Status" try the following and reset the port after each action:
|