Change Management Instance Attributes

Note

Note

This procedure does not apply to VSP 8600 Series.

Use this task to change the IP address, VLAN, vrf, or default gateway for a Management Instance while you actively manage the switch over the same instance.
Important

Important

Change the parameters in the following order:
  1. VLAN or vrf

  2. ports-tagged, ports-untagged-, I-SID

  3. IP address and or default gateway

About this task

You cannot change parameters for more than one Management Instance operation at a time.

Procedure

  1. Enter Global Configuration mode:

    enable

    configure terminal

  2. Enter the configuration mode for the Management Instance:

    mgmt {clip | oob | vlan}

  3. Use one of the following Management Instances interfaces to configure the new values:
    1. Configure new Management Instance VLAN parameters:

      convert [vlan <1-4059>] [i-sid <1-16777215>] [ports-tagged {slot/port[/sub-port][-slot/port[/sub-port]][,...]}] [ports-untagged{slot/port[/sub-port][-slot/port[/sub-port]][,...]}] [ip {<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>}] [gateway <A.B.C.D>] [rollback <0-3600>]

      Important

      Important

      After you configure the new values, the existing Management Instance VLAN is deleted and connectivity to the switch can be lost. You must reconnect to the switch before you can issue the mgmt convert-commit command.

    2. Configure new Management Instance OOB parameters:

      convert [ip {<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>}] [gateway <A.B.C.D>] [rollback <0-3600>]

    3. Configure new Management Instance CLIP parameters:

      convert [vrf WORD <1-16>] [ip {<A.B.C.D/X>|<A.B.C.D> <A.B.C.D>}] [rollback <0-3600>]

      Note

      Note

      If the vrf does not exist before you issue the convert command, the vrf is automatically created in the background. In order for this vrf to function properly, you must configure either SPBM Layer 3 VSN or IP interfaces and routing protocols.

  4. Log on to Global Configuration mode to commit the parameter changes:

    mgmt convert-commit

    Note

    Note

    Commit the change within 120 seconds (default) of issuing the mgmt convert-commit command. Otherwise, the configuration changes automatically roll back to the previous configuration.

Example

The following examples show the change options attributes for Management Instance VLAN:

Convert a management VLAN to a new VLAN ID:
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)#convert vlan 300
Switch1:(mgmt:vlan)#1 2021-09-24T21:41:54.627Z 4902 CP1 - 0x003c8677 -
00000000 GlobalRouter NLS_BASE INFO Mgmt convert: Dynamically moved the following ports from vlan 10 to 
new mgmt vlan 300  that had ARP entries: 1/1,​
1 2021-09-24T21:41:54.627Z 4902 CP1 - 0x003c8671 -00000000 GlobalRouter NLS_BASE INFO Mgmt convert: new 
vlan 300 created successfully​
1 2021-09-24T21:41:54.651Z 4902 CP1 - 0x003c8672 -00000000 GlobalRouter NLS_BASE INFO Mgmt convert: existing 
mgmt vlan instance deleted successfully​
1 2021-09-24T21:41:54.719Z 4902 CP1 - 0x003c8673 -00000000 GlobalRouter NLS_BASE INFO Mgmt convert: new mgmt 
vlan instance created successfully with IP address 100.1.1.66/24​
1 2021-09-24T21:41:54.719Z 4902 CP1 - 0x003c867e - 00000000 GlobalRouter NLS_BASE INFO Convert on mgmt vlan 
instance: Mgmt convert executed successfully​

.​
<reconnect to switch…>​
Login: rwa
Password: ***​

Mgmt convert: Please issue 'mgmt convert commit' before 120 seconds rollback timer expires otherwise mgmt vlan 
config change will be reverted​
Convert a management VLAN to new IP address in the same subnet and in the same VLAN​:
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)#convert ip 10.10.10.30/24
Convert a management VLAN to new IP address in a different subnet.
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)#convert ip 11.11.11.30/24 gateway 11.11.11.1​
Convert a management VLAN to new VLAN ID with specified port or ports:
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)#convert vlan 300 ports-untagged 1/2 ports-tagged 1/4​
Convert a management VLAN to new VLAN ID with a specified I-SID:
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)#convert vlan 300 i-sid 4300​
Convert a management VLAN to new VLAN ID with a new IP address and default Gateway:
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)#convert vlan 300 ip 11.11.11.30/24 gateway 11.11.11.1​
Convert a management VLAN with all options:
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)#convert vlan 300 ports-untagged 1/2 ports-tagged 1/4 i-sid 43000 
ip 11.11.11.30/24 gateway 11.11.11.1​
Convert a management VLAN to new I-SID (DvR Leaf only):
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)#convert i-sid 4000
Convert a management VLAN with a faster rollback option (default is 120 seconds):
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)#convert vlan 300 rollback 60​
Convert a management VLAN with no rollback option:
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)#convert vlan 300 rollback 0

The following examples show the change options attributes for Management Instance CLIP.

Convert a management CLIP from one VRF to another VRF. The IP address is the same:
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)#convert vrf blue

WARNING: the specified vrf does not exist - connectivity to the mgmt clip will be lost until l3vsn or 
ip interfaces for the given vrf are provisioned.​
Continue with this operation (y/n) ? n
Note

Note

If the vrf does not exist before you issue the convert command, the vrf is automatically created in the background. In order for this vrf to function properly, you must configure either SPBM Layer 3 VSN or IP interfaces and routing protocols.

Convert a management CLIP to a new IP address. The VRF is the same:
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:vlan)#convert ip 30.30.30.100/32
Convert a management CLIP to new IP address and VRF:
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:vlan)#convert vrf blue ip 30.30.30.100/32

The following examples show the change options attributes for Management Instance Out-Of-Band (OOB):

Convert a management OOB to a new IP address in the same subnet:
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:vlan)#convert ip 20.20.20.100/24​
Convert a management OOB IP address to a different subnet:
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:vlan)#convert ip 21.21.21.100/24 gateway 21.21.21.1​