ip address unnumbered

Syntax

ip address unnumbered interface interface-type interface-number

undo ip address unnumbered

View

Interface view

Default level

2: System level

Parameters

interface interface-type interface-number: Specifies an interface from which the current interface can borrow an IP address.

Description

Use ip address unnumbered to configure the current interface as IP unnumbered to borrow an IP address from another interface.

Use undo ip address unnumbered to disable IP unnumbered on the interface.

By default, the interface does not borrow IP addresses from other interfaces.

Examples

# Configure the interface tunnel 1 to borrow the IP address of the interface VLAN-interface 100.

<Sysname> system-view
[Sysname] interface Tunnel 1
[Sysname-Tunnel1] ip address unnumbered interface vlan-interface 100