24-Port 10/100Mbps Layer 2 Switch w/ 4 Gigabit Ports and 2 Shared Mini-GBIC Slots
12-4
default ip address <ip-address> [ subnet-mask <subnet mask> ]
[ interface <interface-type> <interface-id> ]
IP address of the default interface
Subnet mask of the default interface
interface
interface-type
interface-id
Interface-type including Fa (Fast Ethernet) or Gi (Gigabit
Ethernet).
Interface-id is slot/port number.
IP address - 192.168.10.200
Subnet mask - 255.255.255.0
Global Configuration Mode
This command is to configure the IP address and subnet mask of default
interface.
switch(config)# default ip address 10.0.0.250 subnet-mask
255.0.0.0
This command was introduced.
default ip address allocation protocol
To configure the protocol that the IP address of default interface is assigned.
default ip address allocation protocol {bootp | rarp | dhcp}
Global Configuration Mode
This command is to configure the protocol that the IP address of default interface
is assigned.
switch(config)# default ip address allocation protocol bootp
This command was introduced.