Reference Guide

Cisco Prime Network Analysis Module Command Reference Guide Page 71
ip address
To set the system IP address, use the ip address command. IPv6 support has been added in NAM
6.0(1).
ip address ip-address subnet-mask
Syntax Description
ip-address
Sets the system IP address.
subnet-mask
Sets the subnet mask.
Syntax Description
Defaults
This command has no default settings.
Command Modes
Command mode
Usage Guidelines
After setting the IP address, the gateway address may be set to 0.0.0.0. When this situation occurs,
use the ip gateway command to set the gateway address.
The broadcast address is automatically set with an address that is created using the new IP address
and network mask. To select a different broadcast address, use the ip broadcast command.
Examples
This example shows how to set the system IP address:
root@localhost# ip address 172.20.104.74 255.255.255.192
IP address and netmask configured successfully.
NOTE: Default gateway address has been reset to 0.0.0.0
Please use 'ip gateway' command to configure it.
root@localhost# ip gateway 172.20.104.66
root@localhost# show ip
IP address: 172.20.104.74
Subnet mask: 255.255.255.192
IP Broadcast: 172.20.255.255
DNS Name: namlab-kom8.cisco.com
Default Gateway: 172.20.104.66
Nameserver(s): 171.69.2.133
HTTP server: Enabled
HTTP secure server: Disabled