1/** @file 2 String definitions for VLAN configuration Shell application. 3 4 Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> 5 6 This program and the accompanying materials 7 are licensed and made available under the terms and conditions of the BSD License 8 which accompanies this distribution. The full text of the license may be found at 9 http://opensource.org/licenses/bsd-license.php. 10 11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 13 14**/ 15 16#langdef en-US "English" 17 18#string STR_VCONFIG_LOCATE_FAIL #language en-US "Failed to locate EFI_VLAN_CONFIG_PROTOCOL - %r.\n" 19#string STR_VCONFIG_MAC_FAIL #language en-US "Failed to get MAC address - %r.\n" 20#string STR_VCONFIG_FIND_FAIL #language en-US "Failed to find VLAN configuration - %r.\n" 21#string STR_VCONFIG_SET_FAIL #language en-US "Failed to set VLAN configuration - %r.\n" 22#string STR_VCONFIG_REMOVE_FAIL #language en-US "Failed to remove VLAN - %r.\n" 23#string STR_VCONFIG_NO_IF #language en-US "Network interface not specified.\n" 24#string STR_VCONFIG_NO_VID #language en-US "VLAN ID not specified.\n" 25#string STR_VCONFIG_INVALID_IF #language en-US "Invalid network interface - %s.\n" 26#string STR_VCONFIG_INVALID_VID #language en-US "Invalid VLAN ID - %s.\n" 27#string STR_VCONFIG_INVALID_PRIORITY #language en-US "Invalid VLAN Priority - %s.\n" 28#string STR_VCONFIG_NOT_FOUND #language en-US "Cannot find the VLAN device specified.\n" 29#string STR_VCONFIG_VLAN_DISPLAY #language en-US " VLAN ID: %4d Priority: %d\n" 30#string STR_VCONFIG_NO_VLAN #language en-US " VLAN is not configured.\n" 31#string STR_VCONFIG_ETH_MAC #language en-US "eth%d MAC:%s\n" 32#string STR_VCONFIG_SET_SUCCESS #language en-US "VLAN device added.\n" 33#string STR_VCONFIG_REMOVE_SUCCESS #language en-US "VLAN device removed.\n" 34#string STR_VCONFIG_NO_ARG #language en-US "Invalid argument, try "-?" for help.\n" 35 36#string STR_VCONFIG_HELP #language en-US "" 37".TH VConfig 0 "Display or modify VLAN configuration for network interface."\r\n" 38".SH NAME\r\n" 39"Display or modify VLAN configuration for network interface.\r\n" 40".SH SYNOPSIS\r\n" 41" \r\n" 42"VCONFIG [-?] [-l [IfName]] [-a IfName VlanId [Priority]] [-d IfName.VlanId]\r\n" 43".SH OPTIONS\r\n" 44" \r\n" 45" -l Display VLAN configuration for all or specified interface.\r\n" 46" -a Add a VLAN device for the network interface.\r\n" 47" -d Delete a VLAN device.\r\n" 48" IfName Name of network interface, e.g. eth0, eth1.\r\n" 49" VlanId Unique VLAN identifier (0~4094).\r\n" 50" Priority 802.1Q priority level (0~7), default 0.\r\n" 51".SH EXAMPLES\r\n" 52" \r\n" 53"Examples:\r\n" 54" * To display VLAN configuration:\r\n" 55" fs0:\> vconfig -l\r\n" 56" fs0:\> vconfig -l eth0\r\n" 57"\r\n" 58" * To add VLAN device:\r\n" 59" fs0:\> vconfig -a eth0 1000\r\n" 60" fs0:\> vconfig -a eth0 2000 7\r\n" 61"\r\n" 62" * To delete VLAN device:\r\n" 63" fs0:\> vconfig -d eth0.1000\r\n" 64