Configuration Guide Vol. 1


9.2.2 Configuring the management port

<Structure of this section>

(1) Shutting Down the Management Port

Points to note

The configuration of the management port may be set by multiple commands. At that time, if the management port is in the link-up state without completing the configuration settings, the expected communication cannot be performed. Therefore, we recommend that you first shut down the management port, then set up the configuration and release the shutdown of the management port after completion.

Command examples

  1. (config)# interface mgmt 0

    Switches to the management port configuration mode.

  2. (config-if)# shutdown

    Shut down the management port.

  3. (config-if)# * * * * *

    Set the configuration for the management port.

  4. (config-if)# no shutdown

    Cancels shutdown of the management port.

Related information:

You can also use the operation command inactivate to terminate the management port operation. However, if you use inactivate command to place the server in inactive status, the management port goes active when the Switch is restarted. When the management port is shut down, the management port remains disable even if the switch is restarted. To put the management port into active status, you must configure no shutdown in the configuration and release the shutdown.

(2) IPv4 Address Setting

Points to note

Set IPv4 for the management port. To configure IPv4 addressing, you must enter interface configuration mode.

Command examples

  1. (config)# interface mgmt 0

    Switches to the management port configuration mode.

  2. (config-if)# ip address 192.168.1.1 255.255.255.0

    Sets IPv4 address192.168.1.1 and subnet mask 255.255.255.0 for the management port.

(3) Configuring IPv6 address

Points to note

Set IPv6 for the management port. Use the ipv6 enable command to enable IPv6. If the ipv6 enable command is not set, IPv6 configuration is not enabled.

Command examples

  1. (config)# interface mgmt 0

    Switches to the management port configuration mode.

  2. (config-if)# ipv6 enable

    Enables the use of IPv6 addressing for the management port.

  3. (config-if)# ipv6 address 2001:db8::1/64

    Sets IPv6 address 2001:db8::1, prefix length of 64 for the management port.