Netsh commands for AAAA
You can use commands in the Netsh AAAA context to show and set the configuration of the authentication, authorization, accounting, and auditing (AAAA) database used by the Internet Authentication Service (IAS) and the Routing and Remote Access service. The AAAA database is also known as the IAS database (Ias.mdb). The primary use of commands in the Netsh AAAA context is to export the configuration of one IAS server as a Netsh script and then to import that configuration using the netsh exec command on another IAS server.
You cannot run these Netsh commands locally on Windows XP Professional or Windows XP Home Edition. To run these Netsh commands on a remote Windows 2000 Server, you must first use Remote Desktop Connection to connect to a Windows 2000 Server that is running Terminal Server. You can run these commands from the Windows 2000 command prompt or from the command prompt for the Netsh AAAA context. For these commands to work at the Windows 2000 command prompt, you must type netsh aaaa before typing commands and parameters as they appear in the syntax below. There might be functional differences between Netsh context commands on Windows 2000 and Windows XP.
For more information on Netsh, see Using Netsh
To view the command syntax, click a command:
dump
Displays the configuration of the IAS database file (Ias.mdb) as a Netsh command script.
Syntax
dump
Remarks
The dump command displays the Netsh command script that you can use to duplicate the configuration of the server running IAS or the Routing and Remote Access service on which the command is executed. The Netsh command script contains the configuration of the IAS database file (Ias.mdb) in a compressed text format as a large data block. This large data block is used by the set config command within the script to import the configuration of a saved data block into an existing IAS database on the same or another computer using the netsh exec command. To save the Netsh command script to a file, type the following at a command prompt: netsh aaaa show config > Path\File.txt
The dump command is not supported on computers running Windows 2000 Server.
show config
Displays the configuration of the IAS database file (Ias.mdb) as a Netsh command script.
Syntax
show config
Remarks
The show config command is equivalent to the dump command.
The show config command displays the Netsh command script that you can use to duplicate the configuration of the server running IAS or the Routing and Remote Access service on which the command is executed. The Netsh command script contains the configuration of the IAS database file (Ias.mdb) in a compressed text format as a large data block. This large data block is used by the set config command within the script to import the configuration of a saved data block into an existing IAS database on the same or another computer using the netsh exec command. To save the Netsh command script to a file, type the following at a command prompt: netsh aaaa show config > Path\File.txt
The show config command is not supported on computers running Windows 2000 Server.
set config
Configures an IAS database with the information in the specified data block.
Syntax
set config [blob=] DataBlock
Parameters
[ blob= ] DataBlock : Required. Specifies the configuration of the IAS database in a compressed text format as output by the dump or show config commands.
/? : Displays help at the command prompt.
Remarks
There is no reason to manually issue the set config command. It should be used only within a Netsh command script that is created by using the dump or show config commands.
The version of the IAS database from which the data block was exported should match the version of the IAS database to which the block is being imported. To view the version of the IAS database on which the configuration was exported, view the Netsh command script file. To view the version of the IAS database on which the Netsh script is being executed, use the show version command.
show version
Displays the version of the IAS database.
Syntax
show version
Examples
To display the Netsh command script that reflects the IAS database in its current state, type:
show config
To display the version of the IAS database running on a server, type:
show version
Formatting legend
Format |
Meaning |
---|---|
Italic |
Information that the user must supply |
Bold |
Elements that the user must type exactly as shown |
Ellipsis (...) |
Parameter that can be repeated several times in a command line |
Between brackets ([]) |
Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} |
Set of choices from which the user must choose only one |
Courier font |
Code or program output |