次の方法で共有


2.2.2.2.100 DEVICE

The DEVICE key specifies the case sensitive name of the device type associated with a port. This key MUST be present. This key MUST take one of the string values given in the following table.

This key is also the beginning of DEVICE RRAS entry subsection (henceforth called DEVICE subsection). There can be multiple DEVICE subsections within a single MEDIA subsection. For serial media, there can be one to four DEVICE subsections, representing a pre-connect switch, modem, X.25 PAD, and post-connect switch, and MUST appear in the same order within the RRAS phonebook entry. If the switch is used before dialing a connection, it is known as a pre-connect switch. If it is used after dialing a connection, it is known as post-connect switch. For all other media, there MUST be exactly one DEVICE subsection. If this DEVICE key is missing, then RRAS will ignore the DEVICE subsection settings.

All the keys in the RRAS phonebook entry (from the DEVICE key to the beginning of another DEVICE subsection, or another MEDIA subsection, or another RRAS entry, or the end of RRAS phonebook file) are part of a DEVICE subsection. Some of the following keys will be relevant only to specific device types. Unless explicitly specified, a key will be applicable to all the device types. If a key is not applicable to a device type it can be absent.<236>

String

Meaning

Generic

Generic.

Atm

Asynchronous Transfer Mode (ATM).

FrameRelay

Frame Relay.

Irda

Infrared Data Association (IrDA) compliant device.

Isdn

An ISDN card.

Modem

A modem accessed through a COM port.

Pad

A Packet Assembler/Disassembler.

PPPoE

Point-to-Point Protocol over Ethernet.

Rastap

For other devices. This is allowed only if the MEDIA key is Rastapi.

Serial

A serial device.

Sonet

Sonet.

SW56

Switched 56K Access.

Switch

A pre-connect switch or post-connect switch.

Vpn

A virtual private network connection.

X25

An X.25 card.