The ip address unnumbered command enables an interface to borrow an IP address from another interface.
The undo ip address unnumbered command disables an interface from borrowing an IP address from another interface.
By default, an interface is disabled from borrowing an IP address from another interface.
Parameter | Description | Value |
---|---|---|
interface interface-name |
Specifies the name of an interface whose IP address is borrowed. |
The value is a string of 1 to 63 case-sensitive characters, spaces not supported. |
interface interface-type interface-number |
Specifies the type and number of an interface whose IP address is borrowed. |
- |
100ge sub-interface view, 100GE interface view, 10GE sub-interface view, 10GE interface view, 200GE sub-interface view, 25GE sub-interface view, 25GE interface view, 400GE sub-interface view, 400GE interface view, 40GE sub-interface view, 40GE interface view, 50GE sub-interface view, 50GE interface view, Eth-Trunk sub-interface view, FlexE sub-interface view, FlexE interface view, Physical FlexE subInterface view, GE optical interface view, GE sub-interface view, GE interface view, GE electrical interface view, Global VE sub-interface view, LMP interface view, Tunnel interface view, VE sub-interface view, VLANIF interface view, Management interface view, Virtual template view
Usage Scenario
To save IP address resources, run the ip address unnumbered command to configure an interface to borrow an IP address from another interface. If an interface is only occasionally used, it is unnecessary to configure an IP address for the interface. Instead, configure the interface to borrow an IP address from another interface.
The following interfaces support IP borrowing from other interfaces such as Ethernet and loopback interfaces:Prerequisites
The numbered interface has been configured with an IP address using the ip address command or has obtained an IP address through negotiation.
Configuration Impact
Precautions
Because an interface with a borrowed IP address does not have its own IP address, the system cannot generate any device for the interface. Therefore, you need to manually configure the device to implement interconnection between devices.
When configuring IP address unnumbered on an interface, note the following: