Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Cisco mds fabric switch configuration

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Cisco mds fabric switch configuration

1. Different from Brocade Fiber Exchange 1) brocade directly divides zone. While mds should divide zone under vsan, mds can first divide several vsan, and each vsan includes several zone.

2) brocase default port is open, while mds default port is closed

3) mds has a default zone: "The Default Zone". If no zone is set, then all ports are under this zone, and ports that do not belong to any zone are also in this default zone

4) one feature of the default zone is "Members are not permitted to talk to each other". Ports in zone do not communicate with each other by default

2. Configuration process 1) create a VSAN and add the port to the VSAN

2) create a ZONE and add the port to the ZONE

3) create zoneSet, add ZONE to set, and enable zoneSet

4) enable all ports

3. Create VSAN1) create VSAN2 on the switch and add ports 1-48 to the vsan2

(config) # vsan database enter

(config-vsan-db) # vsan 2 name VSAN2 create a vsan named VSAN2

(config-vsan-db) # vsan2 interface fc 1amp 1-48 binds the fiber port to the vsan2

(config-vsan-db) # exit exits config-vsan-db mode

2) View the port information in VSAN2

Show vsan 2 membership

4. Create zoneswitch#config t

Switch#zone name esxi1 vsan 2

Switch#member interface fc1/1

Switch# member interface fc1/2

Fc1/1 represents the first port on the first module

Or

Switch#config t

Switch (config) # zone name zone5_name vsan 2

Switch (config) # member pwwn 21:00:00:24:ff:00:2e:f3

Switch (config) # member pwwn 50:06:0e:80:05:8a:ee:00

5. Configuration of TRUNKING by default, the TRUNKING protocol for each port of the switch is enabled, and the port of the switch interconnection should work under E mode. If two switches are connected to each other, TRUNKING should be enabled.

The default is F mode

Take FC1/1 and FC1/2 as examples.

The configuration commands are as follows:

Switch#config t

Switch (config) # interface fc1/1

Switch (config-if) # switchport mode e

Switch (config) # interface fc1/2

Switch (config-if) # switchport mode e

VI. Configure ZONESET1) configure zoneset

Switch#config t

Switch (config) # zoneset name set10 vsan 2 / / New or existing zoneset

Switch (config-zoneset) # member ZONE_NAME

Add ZONE to the ZONESET

Note: when the switch is in normal operation, if a new ZONE is configured and added to the ZONESET, Acitvate is required to take effect. The command is as follows:

Switch#config t

Switch (config) # zoneset activate name set10 vsan 2

2) View zoneset

# show zoneset

Save configuration copy run start Save current configuration

8. Delete zone step 1) remove zone from zoneset

# conf t

# zoneset name zoneset1 vsan 220

# no member qa / / remove the zone named qa from zoneset

2) remove member from zone

# conf t

# zone name qa vsan 220

# no member interface fc1/1

# no member interface fc1/10

3) Delete zone

# no zone name qa vsan 220

IX. Common commands 1) display the current configuration

# show run

2) display current zone information

# show zone

3) display current zoneset information

# show zoneset

4) display interface information

# show interface fc1/1

5) View all port information of the switch

# show interface brief

Port Channel-port channel number

The function of port-channel in MDS switch is to make multiple ports, which can be the same board card, or to bind the ports on different boards together to increase the cascade bandwidth and redundancy. At the same time, all ports in port-channel are fully load balanced.

6) fcping

Fcping is similar to the ping command of Ethernet, fcping fcid can be used to detect the link communication status of the switch to the designated port, and the link delay information can be obtained.

Demonstration:

# fcping fcid 0x7500ef vsan 1 count 4-fcping is executed 4 times, the object is 0x7500efje VSAN 1

28 bytes from 0x7500ef time = 1283 usec

28 bytes from 0x7500ef time = 1256 usec

28 bytes from 0x7500ef time = 1256 usec

28 bytes from 0x7500ef time = 1243 usec

4 frames sent, 4 frames received, 0 timeouts

Round-trip min/avg/max = 1243 usec 1259 usec-the minimum delay is 1243u seconds, the average delay is 1259u seconds, and the maximum delay is 1283u seconds.

7) Save the current configuration

# copy run start

8) View vsan information

# show vsan

9) View the port under a vsan

# Show vsan x membership

10) check the registered WWN number

# show fcs database

11) query the wwn information of the hba card connected to the current switch

# show flogi database

INTERFACE VSAN FCID PORT NAME NODE NAME

Vfc1 1100 0x010001 50:06:01:64:47:20:06:9a 20:00:00:00:01:90:f0:cb

Vfc7 1100 0x010020 50:00:09:79:f0:02:e9:80 20:00:00:00:01:90:f0:ce

Port name and node name are the same device, both are hba cards, just follow port name.

12) View switch status

# show environment

13) View the overall information of the switch

# show hardware

Including microcode version and configuration information, hardware parameters and serial numbers of each module, and running status

14) check the switch log

Show logging [logfile | nvram]

To view the log information of the switch, you can view the contents of the log file or the log information in the nvram.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report