Configuring a Primary IP Address for an Interface
Context
Procedure
- Run system-view
The system view is displayed.
- Run interface interface-type interface-number
The interface view is displayed.
- Run ip address ip-address { mask | mask-length }
A primary IP address is configured for the interface.
By default, no IP address is configured for an interface.
Each interface has only one primary IP address. If you configure multiple primary IP addresses for an interface, the last configured IP address becomes the primary IP address of the interface.