Configuring Management Interface

The Management Interface is an external port (non-ASIC) on the switch that allows you to perform switch management tasks. It is a layer 3 interface and it cannot be configured as a layer 2 interface. The management interface cannot forward traffic.

To configure the management interface, use the following command:

pbnoscli# configure terminal 
pbnoscli(config)# interface mgmt 
pbnoscli(config-if)# ip address <ip/mask> gateway <ip>
pbnoscli(config-if)# 

When you run the aforementioned command, the system enters the Interface Configuration Mode for the management port. By default, the management interface is created by the switch and it cannot be removed.

Example

pbnoscli# configure terminal 
pbnoscli(config)# interface mgmt 
pbnoscli(config-if)# ip address 10.4.4.53/23 gateway 10.4.4.1
pbnoscli(config-if)# 

You can verify the configuration by using the command(s) below:

pbnoscli# show ip management 
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.4.4.53  netmask 255.255.254.0  broadcast 10.4.5.255
        inet6 fe80::1e34:daff:fe62:28f4  prefixlen 64  scopeid 0x20<link>
        ether 1c:34:da:62:28:f4  txqueuelen 1000  (Ethernet)
        RX packets 11605  bytes 792951 (774.3 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 2309  bytes 1076201 (1.0 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device memory 0xdfc00000-dfc1ffff  
pbnoscli# 
pbnoscli# show running-config 
configure terminal
interface mgmt
ip address 10.4.4.53/23 gateway 10.4.4.1
!
pbnoscli#