Default Gateway; About The Default Gateway - HP Cisco MDS 9020 - Fabric Switch Configuration Manual

Cisco mds 9000 family cli configuration guide, release 3.x (ol-16184-01, april 2008)
Hide thumbs Also See for Cisco MDS 9020 - Fabric Switch:
Table of Contents

Advertisement

Chapter 43
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-16184-01, Cisco MDS SAN-OS Release 3.x
About the Default Gateway, page 43-3
Configuring the Default Gateway, page 43-4
Verifying the Default Gateway Configuration, page 43-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
43-3

Advertisement

Table of Contents
loading

Table of Contents