Change Management Instance Attributes
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
-
VLAN or VRF
-
ports-tagged, ports-untagged-, or I-SID
-
IP address or default gateway
About this task
You cannot change parameters for more than one Management Instance operation at a time.
Procedure
Examples
The following examples show the change options attributes for a Management Instance 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 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
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
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
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
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
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
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
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
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
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.
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
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.
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
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):
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
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
Variable Definitions
The following table defines parameters for the convert command.
Variable | Value |
---|---|
<A.B.C.D A.B.C.D | A.B.C.D/X> |
Specifies the IP address and subnet mask. This parameter applies to the following Management Instance interface types:
|
<A.B.C.D> |
Specifies the gateway IP address. This parameter applies to the following Management Instance interface types:
|
<1-16777215> |
Specifies the service instance identifier (I-SID). This parameter applies to the Management Instance VLAN
interface type.
Note: You can specify the I-SID for a switch not
configured as a DvR Leaf node.
|
{slot/port[/sub-port][-slot/port[/sub-port]][,...]} |
Identifies the slot and port in one of the following formats: a single slot and port (slot/port), a range of slots and ports (slot/port-slot/port), or a series of slots and ports (slot/port,slot/port,slot/port). If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
<0-3600> |
Specifies the time in seconds between when the command is issued and when the command changes automatically roll back to the previous configuration. The default is 120 seconds. To disable the rollback, enter 0. |
<2-4059> |
Specifies the VLAN ID in the range of 2 to 4059. VLAN ID 1 is the default VLAN and you cannot create or delete VLAN ID 1. By default, the system reserves VLAN IDs 4060 to 4094 for internal use. On switches that support the vrf-scaling and spbm-config-mode boot configuration flags, if you enable these flags, the system also reserves VLAN IDs 3500 to 3998. This parameter applies to the Management Instance VLAN interface type only. |
WORD<0-16> |
Specifies the vrf name. This parameter applies to the Management Instance CLIP interface type only. |