User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 235
Format ip address <ipaddr> {subnetmask | /prefix-length} [secondary]
Default IP address: 0.0.0.0
Subnet Mask: 0.0.0.0
Mode Interface-Vlan Config
Example: The following example of the command shows the configuration of the subnet mask with an IP
address in the dotted decimal format on interface vlan 100.
(M4500-32C) (if-vlan100)#ip address 192.168.10.2 255.255.255.254
(M4500-32C) (if-vlan100)#
5.4.1.7. no ip addess
This command deletes an IP address from an interface. The value for ipaddr is the IP address of the interface in
a.b.c.d format where the range for a,b,c, and d is 1-255. The value for subnetmask is a 4-digit dotted-decimal
number which represents the Subnet Mask of the interface. To remove all of the IP addresses(primary and
secondary) configured on the interface, enter the command no ip address.
Format no ip address <ipaddr> {subnetmask | /prefix-length} [secondary]
Mode Interface-Vlan Config
5.4.1.8. ip default-gateway
This command sets the IP Address of the default gateway.
Format ip default-gateway <gateway-addr>
no ip default-gateway
Parameter
Definition
ipaddr
The IP address of the interface.
subnetmask
A 4-digit dotted-decimal number which represents the subnet mask of the
interface.
masklen
Implements RFC 3021. Using the/notation of the subnet mask, this is and integer
that indicates the length of subnet mask. Range is 5 to 32 bits.
Parameter
Definition
< gateway-addr >
IP address of the default gateway.