display interface null
Use display interface null to display information about the null interface.
Syntax
display interface [ null [ 0 ] ] [ brief [ description ] ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
0: Specifies interface Null 0.
brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.
description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 27 characters of interface descriptions.
Usage guidelines
If the null keyword is not specified, the command displays information about all interfaces of the device.
If the null keyword is specified but the 0 keyword is not specified, the command displays information about interface Null 0. This is because the device has only one null interface Null 0.
Examples
# Display detailed information about interface Null 0.
<Sysname> display interface null 0 NULL0 Current state: UP Line protocol state: UP (spoofing) Description: NULL0 Interface Bandwidth: 0kbps Maximum transmission unit: 1500 Internet protocol processing: Disabled Physical: NULL DEV Last clearing of counters: Never Last 300 seconds input rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Last 300 seconds output rate: 0 bytes/sec, 0 bits/sec, 0 packets/sec Input: 0 packets, 0 bytes, 0 drops Output: 0 packets, 0 bytes, 0 drops
# Display brief information about interface Null 0.
<Sysname> display interface null 0 brief Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Primary IP Description NULL0 UP UP(s) -- aaaaaaaaaaaaaaaaaaaaaaaaaaa
# Display brief information about interface Null 0, including the complete description of the null interface.
<Sysname> display interface null 0 brief description Brief information on interfaces in route mode: Link: ADM - administratively down; Stby - standby Protocol: (s) - spoofing Interface Link Protocol Primary IP Description NULL0 UP UP(s) -- aaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
For the command output, see Table 13 and Table 14.
Related commands
interface null
reset counters interface null