User Manual
Chapter 4 - Operation and Administration Using the CLI NPU Configuration
4Motion 161 System Manual
4.3.2.3.3 Assigning an IP address to an interface
Run the following command to assign an IP address and subnet mask for an IP
interface. Shut down this interface before executing this command:
npu(config-if)# ip address <ip-address> <subnet-mask>
For example, run the following command to assign the IP address, 172.10.1.0,
and subnet mask, 255.255.255.0 to the external-management interface:
npu (config-if)# ip address 172.10.1.0 255.255.255.0
Command
Syntax
npu(config-if)# shutdown
npu(config-if)# no shutdown
Privilege
Level
10
Command
Modes
Interface configuration mode
IMPORTANT
You can configure the IP address and subnet mask for only the external-management,
local-management, and bearer interfaces.
IMPORTANT
An error may occur if:
The IP address you have specified is already configured for another interface.
You are trying to assign an IP address for an interface for which IP address configuration is not
permitted. This error is caused only for the internal-management interface (the pre-configured
IP address for this interface is 10.0.0.254).
The IP interface is enabled. Shut down the IP interface before executing this command.
Command
Syntax
npu(config-if)# ip address <ip-address> <subnet-mask>
Privilege
Level
10