Configuration guidelines, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S5560 Series Switches User Manual
Page 36: Displaying and maintaining ip addressing

21
IP address from other interfaces. This is called IP unnumbered, and the interface borrowing the IP address
is called IP unnumbered interface.
You can use IP unnumbered to save IP addresses either when available IP addresses are inadequate or
when an interface is brought up only for occasional use.
Configuration guidelines
Follow these guidelines when you configure IP unnumbered:
•
An interface cannot borrow an IP address from an unnumbered interface.
•
Multiple interfaces can use the same unnumbered IP address.
•
If an interface has multiple manually configured IP addresses, only the manually configured primary
IP address can be borrowed.
Configuration prerequisites
Assign an IP address to the interface from which you want to borrow the IP address. Alternatively, you
can configure the interface to obtain one through BOOTP or DHCP.
Configuration procedure
To configure IP unnumbered on an interface:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter tunnel interface view.
interface tunnel number
Before entering tunnel interface
view, make sure the tunnel
interface has been created. For
information about tunnel
interface, see Layer 3—IP
Services Configuration Guide.
3.
Specify the interface to borrow the
IP address of the specified
interface.
ip address unnumbered
interface interface-type
interface-number
By default, the interface does not
borrow IP addresses from other
interfaces.
A dynamic routing protocol cannot be enabled on the interface where IP unnumbered is configured. To
enable the interface to communicate with other devices, configure a static route to the peer device on the
interface.
Displaying and maintaining IP addressing
Execute display commands in any view.
Task Command
Display IP configuration and statistics for the specified
or all Layer 3 interfaces.
display ip interface [ interface-type interface-number ]