summaryrefslogtreecommitdiffstats
path: root/data/mnet/Common/cli/include/parser_defs_exec.h
blob: 8c57b493eef72a6d625e04a344656a9ca1520c7b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
/* Global commands */
#define HISTORY                  0
#define HISTORY_ON               1
#define HISTORY_OFF              2
#define HISTORY_PRINT            3
#define HISTORY_SIZE             4
#define DUMP                     5

/* Exec and privileged command function defines */

#define CMD_CONNECT_DEFAULT           1
#define CMD_CONNECT_RLOGIN            2
#define CMD_CONNECT_TELNET            3
#define CMD_CONNECT_TN3270            4
#define CMD_DISABLE                   5
#define CMD_ENABLE                    6
#define CMD_END                       7         /* Analogous to exit, but is NVGEN'ed */
#define CMD_EXIT                      8
#define CMD_QUIT                      9

/* Write command destinations */
#define WRITE_UNUSED 0
#define WRITE_CORE 1
#define WRITE_ERASE 2
#define WRITE_MEMORY 3
#define WRITE_NETWORK 4
#define WRITE_TERMINAL 5



/* BEGIN FROM parser_defs_flash.h */

/* Copy command defines */
/* Source and destinations for copy command */
#define COPY_UNUSED                     0
#define COPY_FLASH_TFTP                 1
#define COPY_TFTP_FLASH                 2
#define COPY_TFTP_BOOTFLASH             3
#define COPY_BOOTFLASH_TFTP             4
#define COPY_RUNNING_CONFIG_TFTP        5
#define COPY_STARTUP_CONFIG_TFTP        6
#define COPY_TFTP_RUNNING_CONFIG        7
#define COPY_TFTP_STARTUP_CONFIG        8
#define COPY_FFFFFFFF_FLASH             9   /* OBSOLETE */
#define COPY_VERIFY_FLASH               10
#define COPY_SSE_MEMORY             11
#define COPY_ERASE_FLASH                12
#define COPY_ERASE_BOOTFLASH            13
#define COPY_VERIFY_BOOTFLASH           14
#define COPY_MOP_FLASH                  15
#define COPY_MOP_BOOTFLASH              16
#define COPY_FLASH_RCP                  17
#define COPY_RCP_FLASH                  18
#define COPY_RCP_BOOTFLASH              19
#define COPY_BOOTFLASH_RCP              20
#define COPY_RUNNING_CONFIG_RCP         21
#define COPY_STARTUP_CONFIG_RCP         22
#define COPY_RCP_RUNNING_CONFIG         23
#define COPY_RCP_STARTUP_CONFIG         24
#define COPY_RUNNING_CONFIG             25
#define COPY_STARTUP_CONFIG             26
#define COPY_TFTP           27
#define COPY_RCP            28
#define COPY_FLHLOG         29
#define COPY_RUNNING_CONFIG_DISK 30
#define COPY_STARTUP_CONFIG_DISK 31
#define COPY_DISK_STARTUP_CONFIG 32
#define COPY_DISK_FLASH 33
#define COPY_FLASH_DISK 34
#define COPY_DISK_TFTP  35
#define COPY_TFTP_DISK  46
#define COPY_DISK_DISK  47
#define COPY_TECHSUPPORT_DISK  48
#define COPY_TECHSUPPORT_TFTP  49

#define COPY_DISK_BIOS                                          50

/* END FROM parser_defs_flash.h */


#define DEFAULT_PING_PACKETS 5

#define SHOW_MEM_TERSE       1
#define SHOW_MEM_FREE        2
#define SHOW_MEM_PAGES       3