### Configuring the Driver: Manual

Use the command, dm_admin, to manually configure ports when the graphical configuration program, dm_gui, cannot be used. dm_admin is fully documented in its man page; a brief description of all command line options may be obtained by entering the following at the command line:

`dm_admin --help`

To see examples of dm_admin command lines, choose the appropriate link:

- DataFire RAS PTE Command Line Examples
- DataFire RAS B4STU Command Line Examples
- AccelePort RAS 4/8 Command Line Examples

#### DataFire RAS PTE Command Line Examples

##### Example 1. T1/PRI Port Configuration

`dm_admin -b0 -f1 -l1 -s34 -t1 -i1 -O1 -M0 -p1`

> `-b0` | Board Number = 0
> `-f1` | Framing = ESF
> `-l1` | Line Coding = B8ZS
> `-s34` | Switch Type = AT&T 5E
> `-t1` | Clocking = Loop
> `-i1` | Interface Type = Long Haul
> `-O1` | Long Haul decibel level = 0 dB
> `-M0` | Leased Mask
> `-p1` | PRI Port = 1

#####
Example 2. Query T1/PRI Port Configuration

`dm_admin -b0 -p1 -q`

> `-b0` | Board Number = 0
> `-p1` | PRI Port = 1
> `-q` | Query

#####
Example 3. Query Host Adapter Status

`dm_admin -b0 -q`

> `-b0` | Board Number = 0
> `-q` | Query

#####
Example 4. Busy-Out B Channel

4a. Busy-Out Immediately

`dm_admin -b0 -p1 -c1 -m2`

> `-b0` | Board Number = 0
> `-p1` | PRI Port = 1
> `-c1` | Channel Number = 1
> `-m2` | Immediate Enable

4b. Busy-Out Delayed

`dm_admin -b0 -p1 -c5 -m3`

> `-b0` | Board Number = 0
> `-p1` | PRI Port = 1
> `-c5` | Channel Number = 5
> `-m3` | Delayed Enable

4c. Busy-Out Disabled

`dm_admin -b0 -p1 -c4 -m1`

> `-b0` | Board Number = 0
> `-p1` | PRI Port = 1
> `-c4` | Channel Number = 4
> `-m1` | Disabled

#####
Example 5. Force Modem Hangup

`dm_admin -b0 -p2 -c7 -h`

> `-b0` | Board Number = 0
> `-p2` | PRI Port = 2
> `-c7` | Channel Number = 7
> `-h` | Force Modem Hangup

##### More Information

For more comprehensive information about the device driver and associated utilities, see the man pages for:

- dm_driver
- dm_gui
- dm_admin

#### DataFire RAS B4STU Command Line Examples

##### Example 1. BRI Channel Configuration

`dm_admin -b0 -s17 -A1 5551234 -A2 5551235 --S1 61255512341111
--S2 61255512351111`

> `-b0` | Board Number = 0
> `-s17` | Switch Type = NI1
> `--A1 DN1` | Directory Number for Channel 1
> `--A2 DN2` | Directory Number for Channel 2
> `--S1 SPID1` | SPID for Channel 1
> `--S2 SPID2` | SPID for Channel 2

> This example configures two channels of a RAS B4STU adapter. In an actual configuration, there may be up to eight --An and --San parameters, depending on how many BRI lines are available.

#####
Example 2. Query BRI Port Configuration

`dm_admin -b0 -p1 -q`

> `-b0` | Board Number = 0
> `-p1` | BRI Port = 1
> `-q` | Query

#####
Example 3. Query D-Channel Status

`dm_admin -b0 -q`

> `-b0` | Board Number = 0
> `-D` | Query D-Channel status

#####
Example 4. Query Host Adapter Status

`dm_admin -b0 -q`

> `-b0` | Board Number = 0
> `-q` | Query

#####
Example 5. Busy-Out B Channel

5a. Busy-Out Immediately

`dm_admin -b0 -p1 -c1 -m2`

> `-b0` | Board Number = 0
> `-p1` | BRI Port = 1
> `-c1` | Channel Number = 1
> `-m2` | Immediate Enable

5b. Busy-Out Delayed

`dm_admin -b0 -p2 -c1 -m2`

> `-b0` | Board Number = 0
> `-p2` | BRI Port = 2
> `-c1` | Channel Number = 1
> `-m3` | Delayed Enable

5c. Busy-Out Disabled

`dm_admin -b0 -p1 -c4 -m2`

> `-b0` | Board Number = 0
> `-p1` | BRI Port = 1
> `-c4` | Channel Number = 4
> `-m1` | Disabled

#####
Example 6. Force Modem Hangup

`dm_admin -b0 -p2 -c1 -h`

> `-b0` | Board Number = 0
> `-p2` | BRI Port = 2
> `-c1` | Channel Number = 1
> `-h` | Force Modem Hangup

##### More Information

For more comprehensive information about the device driver and associated utilities, see the man pages for:

- dm_driver
- dm_gui
- dm_admin

#### AccelePort RAS 4/8 Command Line Examples

##### Example 1. Modem Nationality Configuration

`dm_admin -b0 -CUS`

> `-b0` | Board Number = 0
> `-CUS` | Modem Nationality = United States

#####
Example 2. Query Modem Info

`dm_admin -b0 -p1 -c1 -E`

> `-b0` | Board Number = 0
> `-p1` | Port = 1
> `-c1` | Channel = 1
> `-E` | Query

#####
Example 3. Query Host Adapter Status

`dm_admin -b0 -q`

> `-b0` | Board Number = 0
> `-q` | Query

#####
Example 4. Force Modem Hangup

`dm_admin -b0 -p3 -c1 -h`

> `-b0` | Board Number = 0
> `-p3` | Port = 3
> `-c1` | Channel Number = 1
> `-h` | Force Modem Hangup

##### More Information

For more comprehensive information about the device driver and associated utilities, see the man pages for:

- dm_driver
- dm_gui
- dm_admin