Quantcast
Channel: SAN Admin-Detailed about SAN,NAS,VMAX,VNX,Netapp Storage,HP Storage
Viewing all articles
Browse latest Browse all 126

Cisco Switch | Cisco Switch Configuration | Steps to implement the switch configuration

$
0
0

Initial Switch Configuration

Procedure

Once the Customer Engineer (CE) racked the switch and the entire cabling task was done, the next task will be the switch configuration.

Configuration Prerequisites


Before you configure a switch in the Cisco MDS 9000 Family for the first time, make sure you have the following information: Administrator password

Switch name - This name is also used as your switch prompt.

IP address for the switch’s management interface.

Subnet mask for the switch's management interface.

IP address of the default gateway.

Network team will assists you to get the IP and Subnet mask details.
Procedure to configure switch

·         Verify the following physical connections for the new Cisco MDS 9000 Family switch

·         Power on the switch. The switch boots automatically

Note: If the switch boots to the loader> or switch (boot) prompt, contact your storage vendor support organization for technical assistance.

 After powering on the switch, you see the following output:

General Software Firmbase[r] SMM Kernel 1.1.1002 Aug 6 2003 22:19:14 Copyright (C) 2002 General Software, Inc.

Firmbase initialized.

00000589K Low Memory Passed
01042304K Ext Memory Passed
Wait.....

General Software Pentium III Embedded BIOS 2000 (tm) Revision 1.1.(0)
(C) 2002 General Software, Inc.ware, Inc.
Pentium III-1.1-6E69-AA6E

+------------------------------------------------------------------------------+
| System BIOS Configuration, (C) 2002 General Software, Inc. |
+---------------------------------------+--------------------------------------+
| System CPU : Pentium III | Low Memory : 630KB |
| Coprocessor : Enabled | Extended Memory : 1018MB |
| Embedded BIOS Date : 10/24/03 | ROM Shadowing : Enabled |
+---------------------------------------+--------------------------------------+
Loader Loading stage1.5.

Loader loading, please wait...
Auto booting bootflash:/m9500-sf1ek9-kickstart-mz.2.1.1a.bin bootflash:/m9500-s f1ek9-mz.2.1.1a.bin...
Booting kickstart image: bootflash:/m9500-sf1ek9-kickstart-mz.2.1.1a.bin...................Image verification OK

Starting kernel...
INIT: version 2.78 booting
Checking all filesystems..... done.
Loading system software
Uncompressing system image: bootflash:/m9500-sf1ek9-mz.2.1.1a.bin
CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC

INIT: Entering runlevel: 3
·         Make sure you enter the password you wish to assign for the admin username.

Tip: If you create a password that is short and easy to decipher, then your password is rejected. Be sure to configure a strong password. Passwords are case-sensitive.

·         Enter yes to enter setup mode.

This setup utility will guide you through the basic configuration of the system. Setup configures only enough connectivity for management of the system.

*Note: setup is mainly used for configuring the system initially, when no configuration is present. So setup always assumes system defaults and not the current system configuration values.

Press Enter at any time to skip a dialog. Use ctrl-c at anytime to skip the remaining dialogs.

Would you like to enter the basic configuration dialog (yes/no): yes

The switch setup utility guides you through the basic configuration process. Press Ctrl-C at any prompt to end the configuration process.

·         Enter no (no is the default) to not create any additional accounts.

Create another login account (yes/no) [n]: no

·         Enter no (no is the default) to not configure any read-only SNMP community strings.

Configure read-only SNMP community string (yes/no) [n]: no

·         Enter no (no is the default) to not configure any read-write SNMP community strings.

Configure read-write SNMP community string (yes/no) [n]: no

·         Enter a name for the switch.

Note: The switch name is limited to 32 alphanumeric characters. The default is switch.

Enter the switch name: switch_name

·         Enter yes (yes is the default) to configure the out-of-band management configuration.

Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]: yes

a.         Enter the IP address for the mgmt0 interface.

Mgmt0 IP address: mgmt_IP_address

b.         Enter the netmask for the mgmt0 interface in the xxx.xxx.xxx.xxx format.

Mgmt0 IP netmask : xxx.xxx.xxx.xxx

·         Enter yes (yes is the default) to configure the default gateway (recommended).

Configure the default-gateway: (yes/no) [y]: yes

·         Enter the default gateway IP address.

IP address of the default-gateway: default_gateway

·         Enter no (no is the default) to configure advanced IP options such as in-band management, static routes, default network, DNS, and domain name.

Configure Advanced IP options (yes/no)? [n]: no

·         Enter yes (yes is the default) to enable Telnet service.

Enable the telnet service? (yes/no) [y]: yes

·         Enter no (no is the default) to not enable the SSH service.

Enable the ssh service? (yes/no) [n]: no

·         Enter no (no is the default) to not configure the NTP server.

Configure the ntp server? (yes/no) [n]: no

·         Enter noshut (shut is the default) to configure the default switch port interface to the noshut state.

Configure default switchport interface state (shut/noshut) [shut]: noshut

·         Enter on (on is the default) to configure the switch port trunk mode.

Configure default switchport trunk mode (on/off/auto) [on]: on
  
·         Enter deny (deny is the default) to configure a default zone policy configuration.

Configure default zone policy (permit/deny) [deny]: deny

This step denies traffic flow for all members of the default zone.

·         Enter yes (no is the default) to enable a full zone set distribution (refer to the Cisco MDS 9000 Family Configuration Guide).

Enable full zoneset distribution (yes/no) [n]: yes

You see the new configuration. Review and edit the configuration that you have just entered.

·         Enter no (no is the default) if you are satisfied with the configuration.

The following configuration will be applied:
switchname switch_name
interface mgmt0
ip address mgmt_IP_address
subnetmask mgmt0_ip_netmask
no shutdown
ip default-gateway default_gateway
telnet server enable
no ssh server enable
no system default switchport shutdown
system default switchport trunk mode on
no zone default-zone permit vsan 1-4093
zoneset distribute full vsan 1-4093
Would you like to edit the configuration? (Yes/no) [n]: no

·         Enter yes (yes is the default) to use and save this configuration.


Use this configuration and save it? (Yes/no) [y]: yes









Viewing all articles
Browse latest Browse all 126