Configuring an IP address for an interface

Make sure that an IP unnumbered HDLC interface has a route to the remote end. When you configure the route, follow these guidelines:

To configure an IP address for an interface:

Step

Command

Remarks

1. Enter system view.

system-view

N/A

2. Enter interface view.

interface interface-type interface-number

N/A

3. Configure an IP address for the interface.

  • Assign an IP address to the interface:ip address ip-address { mask | mask-length } [ sub ]

  • Configure the interface as an IP unnumbered interface to borrow the IP address of the specified interface:ip address unnumbered interface interface-type interface-number

Use either method.

By default, no IP address is assigned to an interface, and an interface does not borrow the IP address of any other interface.

For more information about interface IP address configuration, see HPE FlexNetwork MSR Router Series Comware 5 Layer 3—IP Services Configuration Guide.