display router id

Function

The display router id command displays the configured router ID.

Format

display router id [ vpn-instance vpn-instance-name ]

Parameters

Parameter Description Value
vpn-instance vpn-instance-name

Specifies the VPN instance name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
l3vpn read

Usage Guidelines

Usage Scenario

To view the router ID on the public network, run the display router id command. To view the router ID of the VPN instance configured on the device, run the display router id vpn-instance command.

Prerequisites

The VPN instance has been configured.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the configured router ID of the VPN instance named vpna.
<HUAWEI> display router id vpn-instance vpna
RouterID:10.1.1.1
# Display the configured router ID.
<HUAWEI> display router id
RouterID:1.1.1.1
Table 1 Description of the display router id command output
Item Description
RouterID

Router ID.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >