1 | /** @file
|
---|
2 |
|
---|
3 | String definitions for UEFI Shell network 2 commands
|
---|
4 | Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
---|
5 | (C) Copyright 2017 Hewlett Packard Enterprise Development LP<BR>
|
---|
6 |
|
---|
7 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
8 |
|
---|
9 | Module Name:
|
---|
10 |
|
---|
11 | UefiShellNetwork2CommandsLib.uni
|
---|
12 |
|
---|
13 | Abstract:
|
---|
14 |
|
---|
15 | String definitions for UEFI Shell 2.0 network 2 commands
|
---|
16 | **/
|
---|
17 |
|
---|
18 | #langdef en-US "english"
|
---|
19 |
|
---|
20 | #string STR_GEN_ERR_AD #language en-US "%H%s%N: Access denied.\r\n"
|
---|
21 | #string STR_GEN_OUT_MEM #language en-US "%H%s%N: Memory allocation was not successful.\r\n"
|
---|
22 |
|
---|
23 | #string STR_PING6_INVALID_IP #language en-US "%Ping6: Invalid IP6 address, %s\r\n"
|
---|
24 | #string STR_PING6_INVALID_INPUT #language en-US "%Ping6: Invalid input, please type 'Ping6 -?'for help\r\n"
|
---|
25 | #string STR_PING6_INVALID_SEND_NUMBER #language en-US "%Ping6: Invalid send number, %s\r\n"
|
---|
26 | #string STR_PING6_INVALID_BUFFER_SIZE #language en-US "%Ping6: Invalid buffer size, %s\r\n"
|
---|
27 | #string STR_PING6_INVALID_SOURCE #language en-US "%Ping6: Require source interface option\r\n"
|
---|
28 | #string STR_PING6_IP6_CONFIG #language en-US "%Ping6: The process of Ip6 Configure %r\r\n"
|
---|
29 | #string STR_PING6_IP6_RECEIVE #language en-US "%Ping6: Place the receive token %r\r\n"
|
---|
30 | #string STR_PING6_IP6CFG_GETDATA #language en-US "%Ping6: Get data of the interface information %r\r\n"
|
---|
31 | #string STR_PING6_SEND_REQUEST #language en-US "Echo request sequence %d fails.\r\n"
|
---|
32 | #string STR_PING6_CONFIGD_NIC_NF #language en-US "%Ping6: No configured interfaces were found.\r\n"
|
---|
33 | #string STR_PING6_NOSOURCE_INDOMAIN #language en-US "No sources in %s's multicast domain.\r\n"
|
---|
34 | #string STR_PING6_START #language en-US "Ping %s %d data bytes\r\n"
|
---|
35 | #string STR_PING6_TIMEOUT #language en-US "Echo request sequence %d timeout.\r\n"
|
---|
36 | #string STR_PING6_REPLY_INFO #language en-US "%d bytes from %s : icmp_seq=%d ttl=%d time=%d~%dms\r\n"
|
---|
37 | #string STR_PING6_STAT #language en-US "\n%d packets transmitted, %d received, %d%% packet loss, time %dms\r\n"
|
---|
38 | #string STR_PING6_RTT #language en-US "\nRtt(round trip time) min=%d~%dms max=%d~%dms avg=%d~%dms\r\n"
|
---|
39 |
|
---|
40 | #string STR_IFCONFIG6_ERR_IP6CFG_GETDATA #language en-US "Get data of the interface information %hr\r\n"
|
---|
41 | #string STR_IFCONFIG6_INFO_BREAK #language en-US "-----------------------------------------------------------------"
|
---|
42 | #string STR_IFCONFIG6_INFO_COLON #language en-US ":"
|
---|
43 | #string STR_IFCONFIG6_INFO_JOINT #language en-US " >> "
|
---|
44 | #string STR_IFCONFIG6_INFO_NEWLINE #language en-US "\r\n"
|
---|
45 | #string STR_IFCONFIG6_INFO_IF_NAME #language en-US "\n%Hname : %s%N\r\n"
|
---|
46 | #string STR_IFCONFIG6_INFO_POLICY_AUTO #language en-US "%Hpolicy : automatic%N\r\n"
|
---|
47 | #string STR_IFCONFIG6_INFO_POLICY_MAN #language en-US "%Hpolicy : manual%N\r\n"
|
---|
48 | #string STR_IFCONFIG6_INFO_DAD_TRANSMITS #language en-US "%Hdad xmits : %d%N\r\n"
|
---|
49 | #string STR_IFCONFIG6_INFO_INTERFACE_ID_HEAD #language en-US "%Hinterface id : %N"
|
---|
50 | #string STR_IFCONFIG6_INFO_MAC_ADDR_HEAD #language en-US "%Hmac addr : %N"
|
---|
51 | #string STR_IFCONFIG6_INFO_MAC_ADDR_BODY #language en-US "%02x"
|
---|
52 | #string STR_IFCONFIG6_INFO_IP_ADDR_HEAD #language en-US "\n%Hhost addr : %N\r\n"
|
---|
53 | #string STR_IFCONFIG6_INFO_DNS_ADDR_HEAD #language en-US "\n%Hdns server : %N\r\n"
|
---|
54 | #string STR_IFCONFIG6_INFO_IP_ADDR_BODY #language en-US "%02x"
|
---|
55 | #string STR_IFCONFIG6_INFO_IP_ADDR_BODY4BIT #language en-US "%x"
|
---|
56 | #string STR_IFCONFIG6_INFO_ROUTE_HEAD #language en-US "\n%Hroute table : %N\r\n"
|
---|
57 | #string STR_IFCONFIG6_INFO_PREFIX_LEN #language en-US "/%d"
|
---|
58 | #string STR_IFCONFIG6_LINE_HELP #language en-US "Displays or modifies the IPv6 configuration"
|
---|
59 | #string STR_IFCONFIG6_ERR_LACK_INTERFACE #language en-US "Lack interface name.\r\n"
|
---|
60 | "Usage: IfConfig6 -s <Name> \r\n"
|
---|
61 | "Example: IfConfig6 -s eth0 auto\r\n"
|
---|
62 | #string STR_IFCONFIG6_LACK_OPTION #language en-US "Flags lack. Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
63 | #string STR_IFCONFIG6_CONFLICT_OPTIONS #language en-US "Flags conflict. Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
64 | #string STR_IFCONFIG6_ERR_LACK_COMMAND #language en-US "Lack interface config option.\r\n"
|
---|
65 | "Hint: Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
66 | #string STR_IFCONFIG6_ERR_INVALID_INTERFACE #language en-US "Invalid interface name.\r\n"
|
---|
67 | "Hint: Use {IfConfig6 -l} to check existing interface names.\r\n"
|
---|
68 | #string STR_IFCONFIG6_ERR_INVALID_COMMAND #language en-US "Invalid command. Bad command %H%s%N is skipped.\r\n"
|
---|
69 | "Hint: Incorrect option or arguments. Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
70 | #string STR_IFCONFIG6_ERR_LACK_ARGUMENTS #language en-US "Lack arguments. Bad command %H%s%N is skipped.\r\n"
|
---|
71 | "Hint: Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
72 | #string STR_IFCONFIG6_ERR_LACK_OPTION #language en-US "Lack options.\r\n"
|
---|
73 | "Hint: Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
74 | #string STR_IFCONFIG6_ERR_MAN_HOST #language en-US "Manual address configuration failed. Please retry.\r\n"
|
---|
75 |
|
---|
76 | #string STR_IFCONFIG6_ERR_MAN_GW #language en-US "Gateway address configuration failed. Please check the argument.\r\n"
|
---|
77 |
|
---|
78 | #string STR_IFCONFIG6_ERR_INVALID_IP_CONFIG #language en-US "The IP address is not configurable when the policy is Ip6ConfigPolicyAutomatic.\r\n"
|
---|
79 |
|
---|
80 | #string STR_IFCONFIG6_ERR_INVALID_GW_CONFIG #language en-US "The gateway address is not configurable when the policy is Ip6ConfigPolicyAutomatic.\r\n"
|
---|
81 |
|
---|
82 | #string STR_IFCONFIG6_ERR_INVALID_DNS_CONFIG #language en-US "The DNS server address is not configurable when the policy is Ip6ConfigPolicyAutomatic.\r\n"
|
---|
83 |
|
---|
84 | #string STR_IFCONFIG6_ERR_DUPLICATE_COMMAND #language en-US "Duplicate commands. Bad command %H%s%N is skipped.\r\n"
|
---|
85 | "Hint: Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
86 | #string STR_IFCONFIG6_ERR_CONFLICT_COMMAND #language en-US "Conflict commands. Bad command %H%s%N is skipped.\r\n"
|
---|
87 | "Hint: Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
88 | #string STR_IFCONFIG6_ERR_UNKNOWN_COMMAND #language en-US "Unknown commands. Bad command %H%s%N is skipped.\r\n"
|
---|
89 | "Hint: Please type 'IfConfig6 -?' for help info.\r\n"
|
---|
90 | #string STR_IFCONFIG6_ERR_ADDRESS_FAILED #language en-US "Failed to configure IPv6 address: "
|
---|
91 |
|
---|
92 |
|
---|
93 | #string STR_GET_HELP_PING6 #language en-US ""
|
---|
94 | ".TH ping6 0 "Ping a target machine with UEFI IPv6 network stack."\r\n"
|
---|
95 | ".SH NAME\r\n"
|
---|
96 | "Ping a target machine with UEFI IPv6 network stack.\r\n"
|
---|
97 | ".SH SYNOPSIS\r\n"
|
---|
98 | " \r\n"
|
---|
99 | "Ping6 [-l size] [-n count] [-s SourceIp] TargetIp\r\n"
|
---|
100 | ".SH OPTIONS\r\n"
|
---|
101 | " \r\n"
|
---|
102 | " -l size Send buffer size, in bytes(default=16, min=16, max=32768).\r\n"
|
---|
103 | " -n count Send request count, (default=10, min=1, max=10000).\r\n"
|
---|
104 | " -s SourceIp Source IPv6 address.\r\n"
|
---|
105 | " TargetIp Target IPv6 address.\r\n"
|
---|
106 | "NOTES:\r\n"
|
---|
107 | " 1. When TargetIp is a link local address, SourceIp needs to be specified.\r\n"
|
---|
108 | ".SH EXAMPLES\r\n"
|
---|
109 | " \r\n"
|
---|
110 | "Examples:\r\n"
|
---|
111 | " * To ping the target host by sending 5 request with 1000 bytes from 2002::1\r\n"
|
---|
112 | " Shell:\> Ping6 -s 2002::1 2002::2 -l 1000 -n 5\r\n"
|
---|
113 | " \r\n"
|
---|
114 | " * To ping the target host with 1000 bytes\r\n"
|
---|
115 | " Shell:\> Ping6 2002::2 -l 1000\r\n"
|
---|
116 |
|
---|
117 | #string STR_GET_HELP_IFCONFIG6 #language en-US ""
|
---|
118 | ".TH ifconfig6 0 "Displays or modifies IPv6 configuration for network interface."\r\n"
|
---|
119 | ".SH NAME\r\n"
|
---|
120 | "Displays or modifies IPv6 configuration for network interface.\r\n"
|
---|
121 | ".SH SYNOPSIS\r\n"
|
---|
122 | " \r\n"
|
---|
123 | "IfConfig6 -r [Name] | -l [Name] \r\n"
|
---|
124 | "IfConfig6 -s <Name> [dad <Num>] [auto | [man [id <mac>] [host <IPv6> gw <IPv6>]\r\n"
|
---|
125 | " [dns <IPv6>]]]\r\n"
|
---|
126 | ".SH OPTIONS\r\n"
|
---|
127 | " \r\n"
|
---|
128 | " Name Adapter name, i.e., eth0\r\n"
|
---|
129 | " -r [Name] Reconfigure all or specified interface, and set\r\n"
|
---|
130 | " automatic policy. If specified interface is already\r\n"
|
---|
131 | " set to automatic,then refresh the IPv6 configuration.\r\n"
|
---|
132 | " -l [Name] List the configuration of the specified interface.\r\n"
|
---|
133 | " -s <Name> dad <Num> Set dad transmits count of the specified interface.\r\n"
|
---|
134 | " -s <Name> auto Set automatic policy of the specified interface.\r\n"
|
---|
135 | " -s <Name> man id <Mac> Set alternative interface id of the specified \r\n"
|
---|
136 | " interface. Must under manual policy.\r\n"
|
---|
137 | " -s <Name> man host <IPv6> gw <IPv6>\r\n"
|
---|
138 | " Set static host IP and gateway address of the\r\n"
|
---|
139 | " specified interface. Must under manual policy.\r\n"
|
---|
140 | " -s <Name> man dns <IPv6> Set DNS server IP addresses of the specified\r\n"
|
---|
141 | " interface.Must under manual policy.\r\n"
|
---|
142 | ".SH EXAMPLES\r\n"
|
---|
143 | " \r\n"
|
---|
144 | "EXAMPLES:\r\n"
|
---|
145 | " * To list the configuration for the interface eth0:\r\n"
|
---|
146 | " Shell:\> ifConfig6 -l eth0\r\n"
|
---|
147 | " \r\n"
|
---|
148 | " * To use automatic configuration to request the IPv6 address configuration\r\n"
|
---|
149 | " dynamically for the interface eth0:\r\n"
|
---|
150 | " Shell:\> ifconfig6 -s eth0 auto\r\n"
|
---|
151 | " \r\n"
|
---|
152 | " * To set the dad transmits count for eth0 under automatic policy:\r\n"
|
---|
153 | " Shell:\> ifconfig6 -s eth0 auto dad 10\r\n"
|
---|
154 | " \r\n"
|
---|
155 | " * To set the alternative interface id of eth0 under manual policy:\r\n"
|
---|
156 | " Shell:\> ifconfig6 -s eth0 man id ff:dd:aa:88:66:cc\r\n"
|
---|
157 | " \r\n"
|
---|
158 | " * To use the static IP6 addresses configuration for the interface eth0,\r\n"
|
---|
159 | " and this configuration survives the network reload:\r\n"
|
---|
160 | " Shell:\> ifconfig6 -s eth0 man host 2002::1/64 2002::2/64 gw 2002::3/64\r\n"
|
---|