This topic provides the steps to configure a Management Ethernet interface, save the changes, and verify the resulting operational state.
Configure the Management Ethernet interface with an IPv4 address and subnet mask, optionally adjust the MTU, and bring the interface online for management traffic.
Use this procedure for the minimal configuration that is required on the Management Ethernet interface.
Replace ip-address with the primary IPv4 address for the interface.
Specify the subnet mask as either a dotted-decimal mask, such as 255.255.0.0, or a prefix length, such as /16.
Before you begin
Complete the initial Management Ethernet interface setup and make sure that you understand the generalized interface naming format rack/slot/module/port .
Procedure
| 1. | Enter the configuration mode. Example:
|
|
| 2. | Specify the Ethernet interface name and notation as, Example:
|
|
| 3. | Assign the primary IPv4 address and subnet mask to the interface. Example:
You can specify the network mask in one of the two ways:
|
|
| 4. | Opyional: Specify the mtu value. Example:
|
|
| 5. | Remove the forced administrative shutdown so the interface can transition to an operational up or down state. Example:
|
|
| 6. | End and save your configuration. Example:
|
|
| 7. | Verify the operational state of the interface.
|
Router# configure
Router(config)# interface MgmtEth 0/RP0/CPU0/0
Router(config)# ipv4 address 1.76.18.150/16
Router(config-if)# no shutdown
Router(config-if)# commit
Router:Mar 26 01:09:28.685 :ifmgr[190]:%LINK-3-UPDOWN :Interface
MgmtEth0/RP0/CPU0/0, changed state to Up
Router(config-if)# end
This example shows VRF configuration and verification of the Management Ethernet interface on the router processor with the source address:
Router# show run interface MgmtEth 0/RP0/CPU0/0
interface MgmtEth0/RP0/CPU0/0
vrf httpupload
ipv4 address 10.8.67.20 255.255.0.0
ipv6 address 2001:10:8:67::20/48
!
Router# show run http
Wed Jan 30 14:58:53.458 UTC
http client vrf httpupload
http client source-interface ipv4 MgmtEth0/RP0/CPU0/0
Router# show run vrf
Wed Jan 30 14:59:00.014 UTC
vrf httpupload
!
What to do next
Use these verification results and examples as a baseline for related Management Ethernet interface procedures.