Configure an IP Address for a Segmented Management Instance

Use this task to add an IPv4 or IPv6 address to a Management Instance.

Before you begin

  • 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.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enter the configuration mode for the Management Instance:

    mgmt {clip | oob | vlan}

  3. Add an IPv4 address:

    ip address {A.B.C.D [A.B.C.D] | A.B.C.D/X}

  4. Add an IPv6 address:

    ipv6 address WORD<0–255>

Example

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
Add an IPv4 address to the OOB Management Instance:
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