display interface null

Syntax

display interface [ null ] [ brief [ down | description ] ] [ | { begin | exclude | include } regular-expression ]

display interface null 0 [ brief [ description ] ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

0: Specifies interface Null 0. The null interface number is fixed at 0, because the device has only one null interface.

brief: Displays brief interface information. If you do not specify this keyword, this command displays detailed interface information.

down: Displays information about interfaces in down state and the causes. If you do not specify this keyword, this command displays information about interfaces in all states.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

Use display interface null to display information about the null interface. Because Null 0 interface is the only null interface on a device, this command displays information about Null 0 interface, even if you do not specify the 0 keyword.

Related commands: interface null.

Examples

# Display detailed information about null interface Null 0.

<Sysname> display interface null 0
NULL0 current state :UP
Line protocol current state :UP (spoofing)
Description :  NULL0 Interface
The Maximum Transmit Unit is 1500
Internet protocol processing : disabled
Physical is NULL DEV
Port priority: 0
Last clearing of counters:  Never
    Last 300 seconds input:  0 bytes/sec, 0 bits/sec, 0 packets/sec
    Last 300 seconds output:  0 bytes/sec, 0 bits/sec, 0 packets/sec
    0 packets input, 0 bytes, 0 drops
    0 packets output, 0 bytes, 0 drops

# Display brief information about interface Null 0.

<Sysname> display interface null 0 brief
The brief information of interface(s) under route mode:
Link: ADM - administratively down; Stby - standby
Protocol: (s) - spoofing
Interface            Link Protocol Main IP         Description
NULL0                UP   UP(s)    --

For the output description, see Table 10.


[NOTE: ]

NOTE:

The switch does not support collecting statistics about average input or output rate of interface Null 0. These fields display 0.