Configure an IP Address for the Management Port
Configure an IP address for the management port so that you can remotely access the device using the out-of-band (OOB) management port. The management port runs on a dedicated VRF.
The configured IP subnet has to be globally unique because the management protocols can go through in-band (Global Router) or out-of-band ports (Management VRF).
Before you begin
Do not configure a default route in the Management VRF.
If you want out-of-band management, define a specific static route in the Management Router VRF to the IP subnet where your management application resides.
If you initiate an FTP session from a client device behind a firewall, you should set FTP to passive mode.
The switch gives priority to out-of-band management when there is reachability from both in-band and out-of-band. To avoid a potential conflict, do not configure an overlap between in-band and out-of-band networks.
Procedure
Example
Configure the IP address for the management port:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#interface mgmtethernet mgmt Switch:1(config-if)#ip address 192.0.2.24 255.255.255.0
Variable Definitions
The following table defines parameters for the ip address command.
Variable |
Value |
---|---|
{<A.B.C.D/X> | <A.B.C.D> <A.B.C.D>} |
Specifies the IP address followed by the subnet mask. |
The following table defines parameters for the ipv6 interface address command.
Variable |
Value |
---|---|
WORD<0-255> |
Specifies the IPv6 address and prefix length. |