CLI Reference Guide
5.2.4
ip address
This command defines the primary IP address on the specified Layer 3 interface.
Syntax:
ip address <ip address> <subnet mask>
The command's syntax format is described below:
Arguments
<ip address>
<subnet mask>
Defaults
NA
Command Modes
Enable
Examples:
The following example configures the IP address of 10.4.2.3 255.255.0.0 for interface
VLAN 3.
(config-voip)# interface vlan 3
(conf-if-vlan 3)# ip address 10.5.0.1 255.255.0.0
Version 6.4
Specifies a valid IPv4 address. IP addresses should be
expressed in dotted decimal notation (for example, 10.1.2.3).
Specifies the subnet mask that corresponds to a range of IP
addresses. Subnet masks should be expressed in dotted
decimal notation (e.g., 255.255.255.0).
69
5. VoIP Commands
Description
January 2012