Configuring The Management Interface - Cisco nexus 5000 series Cli Configuration Manual

Hide thumbs Also See for nexus 5000 series:
Table of Contents

Advertisement

Management Interface Configuration
S e n d f e e d b a c k t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
Before you begin to configure the management interface manually, obtain the switch's IP address and
Note
subnet mask. Also make sure that the console cable is connected to the console port.

Configuring the Management Interface

To configure the management (mgmt0) Ethernet interface to connect over IP, perform this task:
Command
Step 1
switch# configure terminal
Step 2
switch(config)# interface mgmt 0
Step 3
switch(config-if)# ip address
ipv4-address[/length]
switch(config-if)# ip address
ipv4-address [subnet-mask]
switch(config-if)# ipv6 address
ipv6-address[/length]
Step 4
switch(config-if)# no shutdown
Step 5
switch(config-if)# exit
Step 6
switch(config)# vrf context
management
Step 7
switch(config-vrf)# ip route
ipv4-prefix[/length]
ipv4-nexthop-address
switch(config-vrf)# ipv6 route
ipv6-prefix[/length]
ipv6-nexthop-address
Step 8
switch(config-vrf)# exit
Step 9
switch# copy running-config
startup-config
In some cases, a switch interface might be administratively shut down. You can check the status of an
interface at any time by using the show interface mgmt 0 command.
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
1-20
Purpose
Enters configuration mode.
Selects the management Ethernet interface on the switch
and enters interface configuration submode.
Configures the IPv4 address and its subnet mask.
An alternative method that configures the IPv4 address
and its subnet mask.
Configures the IPv6 address and its subnet mask.
Enables the interface.
Returns to configuration mode.
Enters VRF context management configuration mode.
Configures the IPv4 address of the next hop.
Configures the IPv6 address of the next hop.
Returns to EXEC mode.
(Optional) Saves your configuration changes to the file
system.
Chapter 1
Configuring the Switch
OL-16597-01

Advertisement

Table of Contents
loading

Table of Contents