No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

ME60 V800R010C10SPC500 Configuration Guide - IP Routing 01

This is ME60 V800R010C10SPC500 Configuration Guide - IP Routing
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring an OSPF Dynamic Hostname

Configuring an OSPF Dynamic Hostname

Compared with router IDs, OSPF dynamic hostnames are easier to memorize. Therefore, using dynamic hostnames to identify routers can facilitate network management.

Usage Scenario

To facilitate network management, configure dynamic hostnames to identify routers. If you configure a dynamic hostname for a router, the router generates a router information (RI) Opaque LSA, from which you can check the mapping between the router ID and the dynamic hostname.

Pre-configuration Tasks

Before configuring a dynamic hostname, complete the following tasks:

  • Configure an IP address for each interface to ensure that neighboring routers can use the IP addresses to communicate with each other.
  • Configure basic OSPF functions.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run ospf [ process-id ]

    The OSPF process view is displayed.

  3. Run opaque-capability enable

    The Opaque LSA capability is enabled.

  4. Run hostname hostname

    An OSPF dynamic hostname is configured.

    NOTE:
    If you specify hostname in hostname command, hostname is advertised as the dynamic hostname. If no hostname is specified in hostname command, the hostname specified in the sysname command is advertised as the dynamic hostname.

  5. Run commit

    The configuration is committed.

Checking the Configurations

Run either of the following commands to check OSPF hostname information:

  • display ospf hostname-table
  • display ospf [ process-id ] lsdb [ router | network | summary | asbr | ase | nssa | opaque-link | opaque-area ] [ link-state-id ] [ originate-router [ advertising-router-id ] | self-originate | hostname hostname ] [ age { min-value min-age-value | max-value max-age-value } * ]
  • display ospf [ process-id ] lsdb [ router | network | summary | asbr | ase | nssa | opaque-link | opaque-area ] [ link-state-id ] [ originate-router [ advertising-router-id ] | self-originate ] [ age { min-value min-age-value | max-value max-age-value } * ] [ resolve-hostname ]

Run the display ospf hostname-table command to check information about OSPF dynamic hostnames.

<HUAWEI> display ospf hostname-table
        OSPF Process 1 with Router ID 3.3.3.3
                Hostname table information

                Area: 0.0.0.1

 Router ID            Hostname
 3.3.3.3              RTR_BLR
 10.1.1.1             RTR_SHANGHAI
 255.255.255.254      RTR_BJI

                Area: 0.0.0.2

 Router ID            Hostname
 3.3.3.3              RTR_BLR
 30.1.1.1             RTR_DELHI

                AS-Scope

 Router ID            Hostname
 20.1.1.1             RTR_SHENZHEN
 255.255.255.254      RTR_BJI
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059437

Views: 22311

Downloads: 15

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next