When connecting a PC to the Ethernet management port, you must first assign an IP address.
Information About the Ethernet Management Port
The Ethernet management port, also referred to as the Gi0/0 or GigabitEthernet0/0 port, is a VRF (VPN routing/forwarding) interface to which you can connect a PC. You can use the Ethernet management port
instead of the device console port for network management.
When managing a device stack, connect the PC to the Ethernet management port on a stack member.
Ethernet Management Port Direct Connection to a Device
Ethernet Management Port Connection to Stack Devices using a Hub
In a stack with only stack devices, all the Ethernet management ports on the stack members are connected to a hub to which the PC is connected. The active link
is from the Ethernet management port on the through the hub, to the PC. If the activedevice fails and a new active device is elected, the active link is now from the Ethernet management port on the new active device to the PC.
Ethernet Management Port and Routing
By default, the Ethernet management port is enabled. The device cannot route packets from the Ethernet management port to a network port, and the reverse. Even though the Ethernet management
port does not support routing, you may need to enable routing protocols on the port.
In the above figure , if the Ethernet management port and the network ports are associated with the same routing process,
the routes are propagated as follows:
The routes from the Ethernet management port are propagated through the network ports to the network.
The routes from the network ports are propagated through the Ethernet management port to the network.
Because routing is not supported between the Ethernet management port and the network ports, traffic between these ports cannot
be sent or received. If this happens, data packet loops occur between the ports, which disrupt the device and network operation. To prevent the loops, configure route filters to avoid routes between the Ethernet management port
and the network ports.
Supported Features on the Ethernet Management Port
The Ethernet management port supports these features:
Express Setup (only in switch stacks)
Telnet with passwords
Secure Shell (SSH)
SMNP (only the ENTITY-MIB and the IF-MIB)
Speed—10 Mb/s, 100 Mb/s, and autonegotiation
Duplex mode—Full, half, and autonegotiation
Cisco Discovery Protocol (CDP)
DHCP relay agent
IPv4 and IPv6 access control lists (ACLs)
Before enabling a feature on the Ethernet management port, make sure that the feature is supported. If you try to configure
an unsupported feature on the Ethernet Management port, the feature might not work properly, and the device might fail.
How to Configure the Ethernet Management Port
Disabling and Enabling the Ethernet Management Port
show interfaces gigabitethernet0/0
Command or Action
Device# configure terminal
Enters global configuration mode.
Device(config)# interface gigabitethernet0/0
Specifies the Ethernet management port in the CLI.
Disables the Ethernet management port.
Device(config-if)# no shutdown
Enables the Ethernet management port.
Exits interface configuration mode.
show interfaces gigabitethernet0/0
Device# show interfaces gigabitethernet0/0
Displays the link status.
To find out the link status to the PC, you can monitor the LED for the Ethernet management port. The LED is green (on) when
the link is active, and the LED is off when the link is down. The LED is amber when there is a POST failure.
What to do next
Proceed to manage or configure your switch using the Ethernet management port. See the Network Management section.
Example for Configuring IP Address on Ethernet Management Interface
This example shows how to configure IP address on the management interface.
Switch#show running-config interface Gi0/0
Current configuration : 118 bytes
vrf forwarding Mgmt-vrf
ip address 192.168.247.10 255.255.0.0
Additional References for Ethernet Management Ports
See the System Management section of this guide.
See the System Management Commands section of the Command Reference (Catalyst 9200 Series Switches)
All the supported MIBs for this release.
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving
technical issues with Cisco products and technologies.
To receive security and technical information about your products, you can subscribe to various services, such as the Product
Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds.
Access to most tools on the Cisco Support website requires a Cisco.com user ID and password.