This command file has had all the popds remoted and should not be used as a script


RAS RASIP DHCP	Routing IPX
# Interface configuration
pushd interface

reset all

                                            

# RAS Configuration pushd ras set authmode mode = nodcc delete authtype type = PAP delete authtype type = SPAP delete authtype type = MD5CHAP delete authtype type = MSCHAP delete authtype type = MSCHAPv2 delete authtype type = EAP add authtype type = MSCHAP delete link type = SWC delete link type = LCP add link type = SWC add link type = LCP delete multilink type = MULTI delete multilink type = BACP add multilink type = MULTI add multilink type = BACP set user name = admin dialin = policy cbpolicy = none set user name = Administrator dialin = policy cbpolicy = none set user name = Guest dialin = policy cbpolicy = none set user name = IUSR_SLAMMER-6GB dialin = policy cbpolicy = none set user name = IWAM_SLAMMER-6GB dialin = policy cbpolicy = none set user name = TsInternetUser dialin = policy cbpolicy = none set tracing component = * state = disabled # RAS IP Configuration pushd ras ip delete pool set negotiation mode = allow set access mode = all set addrreq mode = deny set addrassign method = auto # RAS IPX Configuration pushd ras ipx set negotiation mode = allow set access mode = all set nodereq mode = allow set netassign method = autosame # RAS NBF Configuration pushd ras netbeui set negotiation mode = allow set access mode = all # RemoteAccess AppleTalk Configuration pushd ras appletalk set negotiation mode = allow set access mode = all # RAS AAAA Configuration pushd ras aaaa set authentication provider = windows set accounting provider = windows delete authserver name = * delete acctserver name = *
# DHCP Configuration pushd dhcp # Configuration Information for Server 192.168.2.6 # Add Classes Dhcp Server 192.168.2.6 Add Class ... ... "Default BOOTP Class" "User class for BOOTP Clients" 424f4f54502e4d6963726f736f6674 0 b ... "Default Routing and Remote Access Class" "User class for remote access clients" 525241532e4d6963726f736f6674 0 b ... "Microsoft Options" "Microsoft vendor-specific options applicable to Windows 98 and Windows 2000 Clients" 4d534654 1 b ... "Microsoft Windows 2000 Options" "Microsoft vendor-specific options for Windows 2000 Clients" 4d53465420352e30 1 b ... "Microsoft Windows 98 Options" "Microsoft vendor-specific options for Windows 98 Clients" 4d534654203938 1 b # Add Optiondef Dhcp Server 192.168.2.6 Add Optiondef ...
... 1 "Subnet Mask" IPADDRESS 0 comment="Subnet mask in network byte order" 0.0.0.0
... 2 "Time Offset" DWORD 0 comment="UCT offset in seconds" 0
... 3 "Router" IPADDRESS 1 comment="Array of router addresses ordered by preference" 0.0.0.0
... 4 "Time Server" IPADDRESS 1 comment="Array of time server addresses, by preference" 0.0.0.0
... 5 "Name Servers" IPADDRESS 1 comment="Array of name servers [IEN 116], by preference" 0.0.0.0
... 6 "DNS Servers" IPADDRESS 1 comment="Array of DNS servers, by preference" 0.0.0.0
... 7 "Log Servers" IPADDRESS 1 comment="Array of MIT_LCS UDP log servers on subnet" 0.0.0.0
... 8 "Cookie Servers" IPADDRESS 1 comment="Array of cookie servers, RFC 865" 0.0.0.0
... 9 "LPR Servers" IPADDRESS 1 comment="Array of RFC 1179 servers, by preference" 0.0.0.0
... 10 "Impress Servers" IPADDRESS 1 comment="Array of Imagen Impress Servers" 0.0.0.0
... 11 "Resource Location Servers" IPADDRESS 1 comment="Array of RFC 887 ResLoc Servers on subnet, by preference" 0.0.0.0
... 12 "Host Name" STRING 0 comment="Host name for client, RFC 1035 character set"
... 13 "Boot File Size" WORD 0 comment="Size of boot image file in 512-octet blocks" 0
... 14 "Merit Dump File" STRING 0 comment="Path name for crash dump file"
... 15 "DNS Domain Name" STRING 0 comment="DNS Domain name for client resolutions"
... 16 "Swap Server" IPADDRESS 0 comment="Address of client's swap server" 0.0.0.0
... 17 "Root Path" STRING 0 comment="Path name for client's root disk, char set NVT ASCII"
... 18 "Extensions Path" STRING 0 comment="tftp file for option extensions"
... 19 "IP Layer Forwarding" BYTE 0 comment="Disable/enable IP packet forwarding on this client" 0
... 20 "Nonlocal Source Routing" BYTE 0 comment="Disable/enable nonlocal datagrams" 0
... 21 "Policy Filter Masks" IPADDRESS 1 comment="Destination/mask IP address pairs to filter source routes" 0.0.0.0
... 22 "Max DG Reassembly Size" WORD 0 comment="Maximum size datagram for reassembly by client; max 576" 0
... 23 "Default IP Time-to-live" BYTE 0 comment="Default TTL for client's use on outgoing DGs" 0
... 24 "Path MTU Aging Timeout" DWORD 0 comment="Timeout in seconds for aging Path MTU values; RFC 1191" 0
... 25 "Path MTU Plateau Table" WORD 1 comment="MTU discovery sizes, sorted by size, all >= 68" 0
... 26 "MTU Option" WORD 0 comment="MTU discovery size, >= 68" 0
... 27 "All subnets are local" BYTE 0 comment="The client assumes that all subnets are local" 0
... 28 "Broadcast Address" IPADDRESS 0 comment="Broadcast address" 0.0.0.0
... 29 "Perform Mask Discovery" BYTE 0 comment="The client should use ICMP for subnet mask discovery." 0
... 30 "Mask Supplier Option" BYTE 0 comment="The client should respond to subnet mask requests via ICMP." 0
... 31 "Perform Router Discovery" BYTE 0 comment="The client should solicit routers using RFC 1256." 0
... 32 "Router Solicitation Address" IPADDRESS 0 comment="Address to use for router solicitation" 0.0.0.0
... 33 "Static Route Option" IPADDRESS 1 comment="Destination/router address pairs, in priority order" 0.0.0.0
... 34 "Trailer Encapsulation" BYTE 0 comment="The client should negotiate use of trailers (RFC 983)." 0
... 35 "ARP Cache Timeout" DWORD 0 comment="Timeout in seconds for ARP cache entries" 0
... 36 "Ethernet Encapsulation" BYTE 0 comment="0=>client should use ENet V2; 1=> IEEE 802.3" 0
... 37 "TCP Default Time-to-live" BYTE 0 comment="TTL that client uses when sending TCP segments" 0
... 38 "Keepalive Interval" DWORD 0 comment="Keepalive timeout in seconds" 0
... 39 "Keepalive Garbage" BYTE 0 comment="Send garbage octet" 0
... 40 "NIS Domain Name" STRING 0 comment="Name of Network Information Service domain"
... 41 "NIS Servers" IPADDRESS 1 comment="Addresses of NIS servers on client's subnet" 0.0.0.0
... 42 "NTP Servers" IPADDRESS 1 comment="Addresses of Network Time Protocol servers" 0.0.0.0
... 44 "WINS/NBNS Servers" IPADDRESS 1 comment="NBNS Address(es) in priority order" 0.0.0.0
... 45 "NetBIOS over TCP/IP NBDD" IPADDRESS 1 comment="NetBIOS over TCP/IP NBDD address(es) in priority order" 0.0.0.0
... 46 "WINS/NBT Node Type" BYTE 0 comment="0x1 = B-node, 0x2 = P-node, 0x4 = M-node, 0x8 = H-node" 0
... 47 "NetBIOS Scope ID" STRING 0 comment="NetBIOS over TCP/IP Scope ID"
... 48 "X Window System Font" IPADDRESS 1 comment="Array of X Windows font servers" 0.0.0.0
... 49 "X Window System Display" IPADDRESS 1 comment="Array of X Windows Display Mgr servers" 0.0.0.0
... 51 "Lease" DWORD 0 comment="Client IP address lease time in seconds" 0
... 58 "Renewal (T1) Time Value" DWORD 0 comment="Time between addr assignment to RENEWING state" 0
... 59 "Rebinding (T2) Time Value" DWORD 0 comment="Time from addr assignment to REBINDING state" 0
... 64 "NIS+ Domain Name" STRING 0 comment="The name of the client's NIS+ domain."
... 65 "NIS+ Servers" IPADDRESS 1 comment="A list of IP addresses indicating NIS+ servers" 0.0.0.0
... 66 "Boot Server Host Name" STRING 0 comment="TFTP boot server host name"
... 67 "Bootfile Name" STRING 0 comment="Bootfile Name"
... 68 "Mobile IP Home Agents" IPADDRESS 1 comment="Mobile IP home agents in priority order" 0.0.0.0
... 69 "Simple Mail Transport Protocol (SMTP) Servers" IPADDRESS 1 comment="List of SMTP servers available to the client" 0.0.0.0
... 70 "Post Office Protocol (POP3) Servers" IPADDRESS 1 comment="List of POP3 servers available to the client" 0.0.0.0
... 71 "Network News Transport Protocol (NNTP) Servers" IPADDRESS 1 comment="List of NNTP servers available to the client" 0.0.0.0
... 72 "World Wide Web (WWW) Servers" IPADDRESS 1 comment="List of WWW servers available to the client" 0.0.0.0
... 73 "Finger Servers" IPADDRESS 1 comment="List of Finger servers available to the client" 0.0.0.0
... 74 "Internet Relay Chat (IRC) Servers" IPADDRESS 1 comment="List of IRC servers available to the client" 0.0.0.0
... 75 "StreetTalk Servers" IPADDRESS 1 comment="List of StreetTalk servers available to the client" 0.0.0.0
... 76 "StreetTalk Directory Assistance (STDA) Servers" IPADDRESS 1 comment="List of STDA servers available to the client" 0.0.0.0
... 1 " Disable Netbios Option " DWORD 0 vendor="Microsoft Options" comment="Option for enabling or disabling Netbios for W2k Clients" 1
... 2 " Release DHCP Lease On Shutdown Option" DWORD 0 vendor="Microsoft Options" comment="Option for enabling or disabling W2k Clients to release DHCP lease on shutdown" 0
... 3 " Default Router Metric Base" DWORD 0 vendor="Microsoft Options" comment="Default Router Base Metrics for W2k Clients" 0
 
... 1 " Disable Netbios Option " DWORD 0 vendor="Microsoft Windows 2000 Options" comment="Option for enabling or disabling Netbios for Windows 2000 Clients" 1
... 2 " Release DHCP Lease On Shutdown Option" DWORD 0 vendor="Microsoft Windows 2000 Options" comment="Option for enabling or disabling Windows 2000 Clients to release DHCP lease on shutdown" 0
... 3 " Default Router Metric Base" DWORD 0 vendor="Microsoft Windows 2000 Options" comment="Default Router Base Metrics for Windows 2000 Clients" 0
# Set Optionvalue (69=SMTP, 3=Router, 6=DNS ) Dhcp Server 192.168.2.6 set optionvalue 69 IPADDRESS "208.245.180.8" Dhcp Server 192.168.2.6 set optionvalue 3 IPADDRESS "192.168.0.1" Dhcp Server 192.168.2.6 set optionvalue 6 IPADDRESS "208.245.180.2" "208.245.180.4" # ===================================== Dhcp Server Set AuditLog "G:\logs\DHCP" Dhcp Server Set DatabaseBackupInterval 60 Dhcp Server Set DatabaseBackupPath "C:\WINNT\System32\dhcp\backup" Dhcp Server Set DatabaseCleanupInterval 1440 Dhcp Server Set DatabaseLoggingFlag 1 Dhcp Server Set DatabaseName "dhcp.mdb" Dhcp Server Set DatabasePath "G:\logs\DHCP" Dhcp Server Set DatabaseRestoreFlag 0 Dhcp Server Set DetectConflictRetry 0 # ===================================== # Add Scope Dhcp Server 192.168.2.6 add scope 192.168.0.0 255.255.255.192 "germans-scope" "when comcast or router is cranky, keep lease time 20minutes" Dhcp Server 192.168.2.6 Scope 192.168.0.0 set state 1 # IP range Dhcp Server 192.168.2.6 Scope 192.168.0.0 Add iprange 192.168.0.1 192.168.0.31 # Exclude ranges # Option Values (51 = Client IP address lease time in seconds) Dhcp Server 192.168.2.6 Scope 192.168.0.0 set optionvalue 51 DWORD "240" # ReservedIp # Add MScope
Loading of DLL WinsEvnt.dll failed. Wins Operation failed with Error There are no more endpoints available from the endpoint mapper.
# aaaa Configuration # That script will NOT works accross different versions of IAS pushd aaaa # aaaa configuration script. # Known Issues and limitations: # Import/Export between different versions is not be supported. # IAS.MDB Version = 0 pushd aaaa set config blob=\ /bEAAAEAAFN0YW4AZGFyZ ...
# Routing configuration pushd routing reset # IP configuration pushd routing ip reset set loglevel error
add preferenceforprotocol proto=LOCAL preflevel=1
add preferenceforprotocol proto=NetMgmt preflevel=10
add preferenceforprotocol proto=STATIC preflevel=3
add preferenceforprotocol proto=NONDOD preflevel=5
add preferenceforprotocol proto=AUTOSTATIC preflevel=7
add preferenceforprotocol proto=OSPF preflevel=110
add preferenceforprotocol proto=RIP preflevel=120
add interface name="Internal" state=enable set filter name="Internal" fragcheck=disable add interface name="Loopback" state=enable set filter name="Loopback" fragcheck=disable
# DHCP Allocator Configuration pushd routing ip autodhcp uninstall # DNS Proxy configuration pushd routing ip dnsproxy uninstall # IGMP Configuration pushd routing ip igmp uninstall # NAT configuration pushd routing ip nat uninstall # OSPF configuration pushd routing ip ospf uninstall # DHCP Relay Agent configuration pushd routing ip relay uninstall # RIP configuration pushd routing ip rip uninstall # Router Discovery Configuration pushd routing ip routerdiscovery uninstall add interface name="Internal" disc=disable minint=7 maxint=10 life=30 level=0 add interface name="Loopback" disc=disable minint=7 maxint=10 life=30 level=0
# IPX configuration pushd routing ipx The specified protocol identifier is not known to the router. # IPX Interface configuration # IPX Traffic Filter configuration # IPX Static Route configuration # IPX Static Service configuration # IPX RIP configuration pushd routing ipx rip # IPX SAP configuration pushd routing ipx sap - # IPX NETBIOS configuration pushd routing ipx netbios