Switch Management Commands 1952• dhcp—Obtain the out-of-band interface address via DHCPv4.Default ConfigurationThe out-of-band interface (service port) obtains an IP address via DHCP bydefault.Command ModeInterface (Out-of-Band) Configuration modeUser GuidelinesWhen setting the netmask/prefix length on an IPv4 address, a space isrequired between the address and the mask or prefix length. Setting an IPaddress on the out-of-band port enables switch management over the out-of-band port.In order to ensure the security of the switches from intruders, it is stronglyrecommended that the out-of-band interface be isolated on a physicallyseparate network from the in-band ports. This command is only valid forswitches equipped with an out-of-band interface.ExampleThe following examples configure the out-of-band interface with an IPaddress 131.108.1.27 and subnet mask 255.255.255.0 and the same IP addresswith prefix length of 24 bits.console(config)#interface out-of-bandconsole(config-if)#ip address 131.108.1.27 255.255.255.0console(config-if)#ip address 131.108.1.27 /24ip address-conflict-detect runUse the ip address-conflict-detect run command in Global Configurationmode to trigger the switch to run active address conflict detection by sendinggratuitous ARP packets for IPv4 addresses on the switch.Syntaxip address–conflict–detect run