Default Gateway Configuration - Cisco DS-X9530-SF1-K9 - Supervisor-1 Module - Control Processor Configuration Manual

Mds 9000 family
Table of Contents

Advertisement

Chapter 36
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 .
The port on the Ethernet switch to which the MDS management interface is connected should be
Note
configured as a host port (also known as access port) instead of a switch port. Spanning tree
configuration for that port (on the Ethernet switch) should disabled. This helps avoid the delay in the
management port coming up due to delay from Ethernet spanning tree processing that the Ethernet
switch would run if enabled. FoR Cisco Ethernet switches, use either the switchport host command in
IOS is or the set port host in Catalyst OS. Refer to the configuration guide for your Ethernet switch.
Note
Before you begin to configure the management interface manually, obtain the switch's IP address and IP
subnet mask. Also make sure the console cable is connected to the console port.
To configure the mgmt0 Ethernet interface, 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 1.1.1.1
255.255.255.0
Step 4
switch(config-if)# no shutdown

Default Gateway Configuration

The default gateway IP address should be configured along with the IP static routing commands (IP
default network, destination prefix, and destination mask, and next hop address).
If you configure the static route IP forwarding and the default-network details, these IP addresses will
Tip
be used regardless of the default-gateway being enabled or disabled. If these IP addresses are configured
but not available, the switch will fall back to using the default gateway IP address, if you have configured
it. Be sure to configure IP addresses for all entries in the switch.
See the
for all entries in the switch.
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 IP address for the default gateway is configured.
To configure default gateways, follow these steps:
Command
Step 1
switch# config t
Step 2
switch(config)# ip default-gateway 1.12.11.1
OL-6973-03, Cisco MDS SAN-OS Release 2.x
"Initial Setup Routine" section on page 4-2
Purpose
Enters configuration mode.
Enters the interface configuration mode on the
management Ethernet interface (mgmt0).
Enters the IP address (1.1.1.1) and IP subnet mask
(255.255.255.0) for the management interface.
Enables the interface.
for more information on configuring the IP addresses
Purpose
Enters configuration mode.
Configures the IP address for the default gateway.
Cisco MDS 9000 Family Configuration Guide
Default Gateway Configuration
36-3

Advertisement

Table of Contents
loading

Table of Contents