Default Gateway; About The Default Gateway - Cisco MDS 9000 series Configuration Manual

Nx-os ip services multilayer switches
Hide thumbs Also See for MDS 9000 series:
Table of Contents

Advertisement

Chapter 5
Configuring IP Services
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Before you begin to configure the management interface manually, obtain the switch's IP address and IP
Note
subnet mask. Also make sure the console cable is connected to the console port.
To configure the mgmt0 Ethernet interface for IPv4, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface mgmt0
switch(config-if)#
Step 3
switch(config-if)# ip address
10.1.1.1 255.255.255.0
Step 4
switch(config-if)# no shutdown
To configure the mgmt0 Ethernet interface for IPv6, follow these steps:
Command
Step 1
switch# config terminal
switch(config)#
Step 2
switch(config)# interface mgmt0
switch(config-if)#
Step 3
switch(config-if)# ipv6 address
2001:0db8:800:200c::417a/64
switch(config-if)# ipv6 enable
Step 4
switch(config-if)# no shutdown

Default Gateway

You can configure a default gateway IPv4 address on your Cisco MDS 9000 Family switch.
This section includes the following topics:

About the Default Gateway

The default gateway IPv4 address should be configured along with the IPv4 static routing attributes
commands Use the ip default-gateway command to configure the IP address for a switch's default
gateway and the show ip route command to verify that the IPv4 address for the default gateway is
configured.
OL-19525-01,Cisco MDS NX-OS Release 4.2(1)
About the Default Gateway, page 5-3
Configuring the Default Gateway, page 5-4
Verifying the Default Gateway Configuration, page 5-4
Purpose
Enters configuration mode.
Enters the interface configuration mode on the
management Ethernet interface (mgmt0).
Enters the IPv4 address (10.1.1.1) and IPv4 subnet mask
(255.255.255.0) for the management interface.
Enables the interface.
Purpose
Enters configuration mode.
Enters the interface configuration mode on the
management Ethernet interface (mgmt0).
Enters the IPv6 address (2001:0DB8:800:200C::417A)
and IPv6 prefix length (/64) for the management interface
and enables IPv6 processing on the interface.
Automatically configures a link-local IPv6 address on the
interface and enables IPv6 processing on the interface.
Enables the interface.
Cisco MDS 9000 Family NX-OS IP Services Configuration Guide

Default Gateway

5-3

Advertisement

Table of Contents
loading

Table of Contents