/* ***************************************************************************** * * Copyright 1989,1990 Xylogics, Inc. ALL RIGHTS RESERVED. * * ALL RIGHTS RESERVED. Licensed Material - Property of Xylogics, Inc. * This software is made available solely pursuant to the terms of a * software license agreement which governs its use. * Unauthorized duplication, distribution or sale are strictly prohibited. * * Include file description: * * Help messages and command dictionary for Xylogics Annex version of NA * * Original Author: %$(author)$% Created on: %$(created-on)$% * **************************************************************************** */ /* Command and help message definitions */ char *cmd_string[] = { #ifdef NA " annex: enter default Annex list", " boot: boot an Annex", " copy: copy annex/port/printer parameters to other Annexes", " dumpboot: boot an Annex and produce an upline dump", " echo: echo the remainder of the line to standard output", " #: indicate a comment line (useful in command files)", " password: enter default password", " read: read and execute a script file", " write: write the current configuration to a script file", " help or ?: get help; \"help \" displays command syntax", #else " help or ?: display this help screen", #endif " broadcast: send a broadcast message to a port or ports", #if NPRI == 0 || NA == 1 " port: enter default port set", #endif #if NPRINTER > 0 " printer: enter default printer set", #endif #if NPRI > 0 " modem: enter default modem set", #endif " interface: enter default interface set", " quit: terminate administration", " reset: reset a port, interface or subsystem", " show: display the current value of an eeprom parameter", " set: modify the value of an eeprom parameter", (char *)NULL }; #if NPRI > 0 /* List of parameters to show for "port sync" category */ int port_sync_parm_list[] = { PORT_NAME, PORT_PASSWORD, P_PPP_UNAMERMT, P_PPP_PWORDRMT, P_SLIP_SECURE, P_PPP_DIALUP_ADDR, P_PPP_ADDR_ORIGIN, P_PPP_SECURITY, P_PPP_NCP, P_SLIP_METRIC, P_SLIP_NETMASK, P_PPP_MRU, INACTIVITY_TIMER, INPUT_ACT, OUTPUT_ACT, RESET_IDLE, P_SLIP_NET_INACTIVITY, P_SLIP_NET_INACT_UNITS, P_MP_MRRU, P_MP_ENDP_OPT, P_MP_ENDP_VAL, P_IPCP_UNNUMBERED, P_DROP_FIRST_REQ, -1 }; /* List of parameters to show for "port vpn" category */ int port_vpn_parm_list[] = { PORT_NAME, PORT_PASSWORD, P_PPP_UNAMERMT, P_PPP_PWORDRMT, P_SLIP_SECURE, P_PPP_DIALUP_ADDR, P_PPP_ADDR_ORIGIN, P_PPP_SECURITY, P_PPP_NCP, P_SLIP_METRIC, P_SLIP_NETMASK, P_PPP_MRU, INACTIVITY_TIMER, INPUT_ACT, OUTPUT_ACT, RESET_IDLE, P_SLIP_NET_INACTIVITY, P_SLIP_NET_INACT_UNITS, P_MP_MRRU, P_MP_ENDP_OPT, P_MP_ENDP_VAL, P_IPCP_UNNUMBERED, P_DROP_FIRST_REQ, -1 }; #endif /* NPRI */ static char void_entry_string[] = /*NOSTR*/"table_entry_void"; static definition dictionary[] = { #ifdef NA {"#", A_COMMAND, COMMENT_CMD , "# " }, #endif /* NA */ {"?", A_COMMAND, QUEST_CMD #ifdef NA , "? lists commands\n\t\ ? * shows entire help dictionary\n\t\ ? shows command syntax\n\t\ ? explains parameter, shows valid values\n\t\ ? explains details of a sub-syntax\n\t\ ? syntax explains help syntax" #endif /* NA */ }, {"__dui_flow", PORT_PARAM, DUI_FLOW #ifdef NA , "For internal use only." #endif /* NA */ }, {"__dui_iflow", PORT_PARAM, DUI_IFLOW #ifdef NA , "For internal use only." #endif /* NA */ }, {"__dui_oflow", PORT_PARAM, DUI_OFLOW #ifdef NA , "For internal use only." #endif /* NA */ }, {"a_router", BOX_PARAM, A_ROUTER #ifdef NA , "The node ID of the network's A_ROUTER, legal values are \n\t\ xx-xx-xx-xx-xx-xx" #endif /* NA */ }, {"acp_key", BOX_PARAM, ACP_KEY #ifdef NA , "ACP encryption key: a string, maximum 15 characters" #endif /* NA */ }, {"address_origin",PORT_PARAM, P_PPP_ADDR_ORIGIN #ifdef NA , "Origin of dial-up addresses: acp, local, or dhcp." #endif /* NA */ }, #if NT1_ENG > 0 {"alarmsyslog", T1_PARAM, T1_LOG_ALARM_D #ifdef NA , "Enables syslogging of alarm events.\n\t\ 'all' syslogs all alarms, 'none' disables alarm syslogs" #endif /* NA */ }, #endif /* NT1_ENG */ {"all", BOX_PARAM, ALL_BOX #ifdef NA , "show annex [= ] all" #endif /* NA */ }, {"all", PORT_PARAM, ALL_PORTP #ifdef NA , "show port [= ] all" #endif /* NA */ }, #if NPRINTER > 0 {"all", PRINTER_PARAM, ALL_PRINTER #ifdef NA , "show printer [= ] all" #endif /* NA */ }, #endif /* NPRINTER */ {"all", INTERFACE_PARAM, ALL_INTERFACEP #ifdef NA , "show interface [= ] all" #endif /* NA */ }, #if NT1_ENG > 0 {"all", T1_PARAM, ALL_T1P #ifdef NA , "show t1 all" #endif /* NA */ }, {"all", T1_DS0_PARAM, ALL_T1DS0P #ifdef NA , "show t1 ds0[=] all" #endif /* NA */ }, #endif /* NT1_ENG */ #if NPRI > 0 {"all", WAN_PARAM, ALL_WANP #ifdef NA , "show wan all" #endif /* NA */ }, {"all", WAN_CHAN_PARAM, ALL_WANCHANP #ifdef NA , "show wan b/ds0=all" #endif /* NA */ }, {"all", MODEM_PARAM, ALL_MODEMP #ifdef NA , "show modem all" #endif /* NA */ }, #endif /* NPRI */ #ifdef NA {"all", HELP_ENTRY, 0 , "\ port all set default asynchronous port list to all ports\n\t\ asynchronous all set default asynchronous port list to all ports\n\t\ broadcast = all broadcast to all serial and virtual CLI ports\n\t\ reset all reset all serial ports and all virtual CLI ports\n\t\ set port = all set asynchronous port parameter on all ports\n\t\ set asynchronous = all set asynchronous port parameter on all ports\n\t\ set interface = all set interface parameter on all interfaces\n\t\ show port = all show asynchronous port parameter on all ports\n\t\ show asynchronous = all show asynchronous port parameter on all ports\n\t\ show interface = all show interface parameter on all interfaces" }, #endif /* NA */ {"allow_broadcast", PORT_PARAM, BROADCAST_ON #ifdef NA , "allow NA broadcast to this port: Y or y to enable; N or n to disable" #endif /* NA */ }, {"allow_compression,slip_allow_compression",PORT_PARAM, P_SLIP_EN_COMP #ifdef NA , "when enabled, the Annex will use TCP/IP header compression\n\t\ on this link only if the remote end initiates the compression.\n\t\ Y or y to enable; N or n to disable. By default it is disabled." #endif /* NA */ }, {"allow_snmp_sets", BOX_PARAM, ALLOW_SNMP_SETS #ifdef NA , "allow SNMP set commands: Y or y to enable; N or n to disable" #endif /* NA */ }, #if NPRI > 0 {"analog_encoding", WAN_PARAM, WAN_ANALOG_D #ifdef NA , "the analog encoding format used for modem-type calls on this WAN\n\t\ interface. This parameter can be set to any of \"auto\", \"mu_law\",\n\t\ or \"a_law\". The default is \"auto\", which means that the Annex\n\t\ will automatically choose A law for E1 lines and mu law for T1 lines." #endif /* NA */ }, {"ani", WAN_PARAM, WAN_ANI_D #ifdef NA , "Whether or not to allow CAS ANI digits, (per provisioning).\n\t\ Y or y to enable; N or n to disable. By default it is disabled." #endif /* NA */ }, #endif /* NPRI */ #ifdef NA {"annex", A_COMMAND, BOX_CMD , "annex " }, #endif /* NA */ {"annex", PARAM_CLASS, BOX_CLASS #ifdef NA , "set/show annex [= ] ..." #endif /* NA */ }, #ifdef NA {"annex_identifier", HELP_ENTRY, 0 , "an Internet address (a.b/a.b.c/a.b.c.d) or a hostname (/etc/hosts)" }, {"annex_list", HELP_ENTRY, 0 , " [, ]*" }, #endif /* NA */ {"appletalk,arap", BOX_CATEGORY, BOX_APPLETALK #ifdef NA , "Show the AppleTalk subset of Annex parameters" #endif /* NA */ }, {"appletalk,arap", PORT_CATEGORY, PORT_APPLETALK #ifdef NA , "Show the AppleTalk subset of port parameters" #endif /* NA */ }, /* XXXCDC: was ifndef NA, need this or annex_params[26] is null! */ {"arpt_kill_timer", BOX_PARAM, ARPT_TTKILLC #ifdef NA , "Time for a temporary created entry in an ARP Table to remain active.\n\t\ Value in minutes: range 1 to 255, default value is 20 minutes." #endif /* NA */ }, {"arap_v42bis", PORT_PARAM, P_ARAP_V42BIS #ifdef NA , "Allow the enabling of V.42bis compression\n\t\ Y or y to enable; N or n to disable" #endif /* NA */ }, #ifdef NOT_USED {"asd_forward", BOX_PARAM, ASD_FORWARD #ifdef NA , "to be defined" #endif /* NA */ }, #endif /* NOT_USED */ {"at_guest", PORT_PARAM, P_ARAP_AT_GUEST #ifdef NA , "Allow ARAP guest login service, Y or y to enable; N or n to disable" #endif /* NA */ }, {"at_nodeid", PORT_PARAM, P_ARAP_AT_NODEID #ifdef NA , "the AppleTalk node ID hint the ANNEX will acquire and defined\n\t\ for the port, legal values are xxxx.xx, where xxxx range from 0..0xfeff\n\t\ and xx range from 0..0xfd" #endif /* NA */ }, {"at_security", PORT_PARAM, P_ARAP_AT_SECURITY #ifdef NA , "enabling or disabling AppleTalk security: y or Y to enable;\n\t\ n or N to disable" #endif /* NA */ }, { "attn_string,attn_char", PORT_PARAM, ATTN_CHAR #ifdef NA , "CLI attention (interrupt) characters: a character or string (precede\n\t\ with \\ to force string interpretation)" #endif /* NA */ }, {"authoritative_agent", BOX_PARAM, AUTH_AGENT #ifdef NA , "only authoritative agents may respond to ICMP subnet\n\t\ mask requests: Y or y to enable; N or n to disable" #endif /* NA */ }, {"authorized_groups", PORT_PARAM, AUTHORIZED_GROUPS #ifdef NA , "This Annex parameter will specify which remote group codes\n\t\ are accessible to a user on a particular Annex port. Each port\n\t\ has its own set of group codes. Syntax:\n\t\ set port authorized_groups enable | disable\n\t\ where is the set of groups ([similar to port set]\n\t\ between 0, and 255 inclusive) to affect (i.e. 1,2,3; 2; 5-10 are\n\t\ all valid group ranges). A shortcut method can be used to enable or \n\t\ disable all group values. To enable all groups, use:\n\t\ set port authorized_groups all \n\t\ To disable all groups, use:\n\t\ set port authorized_groups none" #endif /* NA */ }, {"auth_protocol", BOX_PARAM, AUTHENTICATION_PROTOCOL #ifdef NA , "This is represents the protocol to be used for authentication. At\n\t\ the moment it is limited to either \"acp\" or \"radius\" with, a default\n\t\ \"acp\"." #endif /* NA */ }, {"autobaud", PORT_PARAM, PORT_AUTOBAUD #ifdef NA , "This Port parameter will specify if autobauding is used:\n\t\ Y or y to enable; N or n to disable" #endif /* NA */ }, #if NPRI > 0 {"auto_busyout_enable", WAN_PARAM, WAN_AUTOBUSYENA_D #ifdef NA , "This WAN parameter governs whether the remaining ds0s will be\n\t\ automatically busied out when the last modem is used. The default\n\t\ value is N." #endif /* NA */ }, #endif /* NPRI */ {"autodetect_timeout", PORT_PARAM, AUTODETECT_TIMEOUT #ifdef NA , "This Port parameter will specify the maximum amount of time\n\t\ in seconds the annex will wait for a client who has dialled in\n\t\ to an auto-detect or auto-adapt port, to identify itself as a PPP\n\t\ or CLI client. After the specified number of seconds, the annex\n\t\ will default the user to CLI mode. The default value of this \n\t\ parameter is 30 seconds. The minimum value is 1 second, and the \n\t\ maximum value is 60 seconds." #endif /* NA */ }, {"backward_key", PORT_PARAM, BACKWARD_KEY #ifdef NA , "hot-key used to cause a port to switch backward to previous session:\n\t\ any key or key sequence that is not used for another purpose." #endif /* NA */ }, {"banner", PORT_PARAM, BANNER #ifdef NA , "Controls the actions in displaying the banner and motd:\n\t\t\ default, Y, yes, unset:\tbanner before security, motd after\n\t\t\ before_sec:\t\tbanner and motd before security\n\t\t\ after_sec:\t\tbanner and motd after security\n\t\t\ motd_before_sec:\t\tmotd before security; no banner\n\t\t\ motd_after_sec:\t\tmotd after security; no banner\n\t\t\ none, N:\t\tno banner or motd" #endif /*NA*/ }, {"bes_threshold", BOX_PARAM, BES_THRESHOLD #ifdef NA , "The number of Bursty Errored Seconds that must occur on a \n\t\ WAN module in a 15 minute interval before wanBesThreshTrap is sent. \n\t\ Setting this parameter to 0 disables the trap. The default value is 0." #endif /* NA */ }, {"bidirectional_modem", PORT_PARAM, BIDIREC_MODEM #ifdef NA , "bidirectional modem: Y or y to enable; N or n to disable" #endif /* NA */ }, #ifdef NA {"boot", A_COMMAND, BOOT_CMD , "\ boot [-adhlq]