Use this task to add an IPv4 or IPv6 address to a Management Instance.
Ensure the IP address you plan to assign is not in use by an existing VLAN or CLIP IP subnet configured on the switch.
If the DHCP client is configured for a Segmented Management Instance, you must manually disable the client. Configuring an IP address does not automatically disable the DHCP client.
enable
configure terminal
mgmt {clip | oob | vlan}
ip address {A.B.C.D [A.B.C.D] | A.B.C.D/X}
ipv6 address WORD<0–255>
Add an IPv4 address to the VLAN Management Instance:
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#mgmt vlan Switch:1(mgmt:vlan)#ip address 192.0.2.12/24
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#mgmt oob Switch:1(mgmt:oob)#ip address 192.0.2.12 255.255.255.0
Add an IPv6 address to the CLIP Management Instance:
Switch:1>enable Switch:1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch:1(config)#mgmt clip Switch:1(mgmt:clip)#ipv6 address 2001:DB8::1/128