3com MSR 20-20 참조 매뉴얼

다운로드
페이지 2742
162
C
HAPTER
 8: G
ENERAL
 E
THERNET
 I
NTERFACE
 C
ONFIGURATION
 C
OMMANDS
Parameter
text: The description of an Ethernet interface, a string of 1 to 80 characters.
Description
Use the description command to configure the description of an Ethernet 
interface.
Use the undo description command to remove the description.
Default to interface name followed by the “interface” string.
Example
# Configure the description for interface Ethernet 1/0 to “lan-interface”.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Ethernet1/0] description lan-interface 
display brief interface
Syntax
display brief interface [ interface-type [ interface-number ] ]  [ | { begin | include | 
exclude text ]
View
Any view
Parameter
interface-type: Type of a specified interface.
interface-number: Number of a specified interface.
|: Uses a regular expression to filter output information.
begin: Displays all the configuration information in the line that contains the 
specified string and all the lines after this line.
include: Displays information that contains the specified string.
exclude: Displays information that does not contain the specified string.
text: Regular expression, in the range of 1 to 256 characters, excluding spaces.
Table 8   Special characters used in regular expressions
Character 
Meaning 
Notes on Use 
Boundary matcher for the beginning 
of a line. This character specifies a 
string with which a line begins. 
The regular expression “^user” 
matches lines that begin with the 
string “user”. Lines that don t 
begin with the string “user”, for 
example, “Auser”, are not 
matched. 
$
Boundary matcher for the end of a 
line. This character specifies a string 
with which a line ends. 
The regular expression “user$” 
matches lines that end with the 
string “user”. Lines that do not end 
with the string, for example, 
“userA”, are not matched. 
Full stop, used as the wildcard 
character, which matches any single 
character, including space. 
None