Default Gateway; About The Default Gateway - Cisco AP776A - Nexus Converged Network Switch 5020 Configuration Manual

Cisco mds 9000 family cli configuration guide - release 4.x (ol-18084-01, february 2009)
Hide thumbs Also See for AP776A - Nexus Converged Network Switch 5020:
Table of Contents

Advertisement

Chapter 44
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 commands (IP
default network, destination prefix, and destination mask, and next hop address).
OL-18084-01, Cisco MDS NX-OS Release 4.x
About the Default Gateway, page 44-3
Configuring the Default Gateway, page 44-4
Verifying the Default Gateway Configuration, page 44-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 CLI Configuration Guide
Default Gateway
44-3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents