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
3-20
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 3 Configuring the Switch
Management Interface Configuration
Configuring the Management Interface
To configure the management (mgmt0) Ethernet interface to connect over IP, perform this task:
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.
Displaying Management Interface Configuration
To display the management interface configuration, use the
show interface mgmt 0
command.
switch#
show interface mgmt0
mgmt0 is up
Hardware is GigabitEthernet, address is 000d.ec8f.cb00 (bia 000d.ec8f.cb00)
Internet Address is 172.16.131.202/24
MTU 1500 bytes, BW 0 Kbit, DLY 0 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA
full-duplex, 1000 Mb/s
Input flow-control is off, output flow-control is off
8540 packets input, 2835036 bytes
5202 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun, 0 fifo
570 packets output, 85555 bytes
0 underrun, 0 output errors, 0 collisions
0 fifo, 0 carrier errors
Command
Purpose
Step 1
switch#
configure terminal
Enters configuration mode.
Step 2
switch(config)#
interface mgmt 0
Selects the management Ethernet interface on the switch
and enters interface configuration submode.
Step 3
switch(config-if)#
ip address
ipv4-address
[
/
length
]
Configures the IPv4 address and its subnet mask.
switch(config-if)#
ip address
ipv4-address
[
subnet-mask
]
An alternative method that configures the IPv4 address
and its subnet mask.
switch(config-if)#
ipv6 address
ipv6-address
[
/
length
]
Configures the IPv6 address and its subnet mask.
Step 4
switch(config-if)#
no shutdown
Enables the interface.
Step 5
switch(config-if)#
exit
Returns to configuration mode.
Step 6
switch(config)#
vrf context
management
Enters VRF context management configuration mode.
Step 7
switch(config-vrf)#
ip route
ipv4-prefix
[
/
length
]
ipv4-nexthop-address
Configures the IPv4 address of the next hop.
switch(config-vrf)#
ipv6 route
ipv6-prefix
[
/
length
]
ipv6-nexthop-address
Configures the IPv6 address of the next hop.
Step 8
switch(config-vrf)#
exit
Returns to EXEC mode.
Step 9
switch#
copy running-config
startup-config
(Optional) Saves your configuration changes to the file
system.
Summary of Contents for N5010P-N2K-BE
Page 50: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 102: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 240: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 312: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 400: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 418: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 436: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...
Page 658: ...Se n d f e e d b a ck t o n x 5 0 0 0 d o c f e e d b a ck c i s c o c o m ...