Field
State
Cost
Tunnel ID
Label
Age
display router id
Syntax
display router id [ | { begin | exclude | include } regular-expression ]
View
Any view
Default level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see the 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, which is a case sensitive string of 1 to 256 characters.
Description
Use the display router id command to display the router ID.
Examples
# Display the router ID.
<Sysname> display router id
Configured router ID is 1.1.1.1
router id
Syntax
router id router-id
undo router id
View
System view
Default level
2: System level
Description
State of the route, Active, Inactive, Adv (advertised), or NoAdv (not
advertised)
Cost of the route
Tunnel ID
Label
Time that has elapsed since the route was generated
23