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