Current location - Quotes Website - Collection of slogans - Cisco Cisco Optical Switch Configuration Introduction
Cisco Cisco Optical Switch Configuration Introduction
The main functions of the switch include physical addressing, network topology, error checking, frame sequence and flow control. Switches also have some new functions, such as supporting VLAN (Virtual Local Area Network), supporting link aggregation, and some even have the function of firewall. Many users may not know the configuration instructions of Cisco optical switches. The configuration tutorial of Cisco Cisco optical fiber switch I collected for you below, I hope it can help you. Let's have a look!

Cisco Cisco optical fiber switch configuration description method

1. Initialization information

For the first time, you must connect through the console (you need a U-port to a DB9-pin interface cable, and some people who specialize in selling interface cables sell around 30 yuan), and then carry out initialization design. After setting the IP, you can log in through the LAN.

Specific steps: (pay attention to the red font, which needs to be set, most of which can be set by default, and the setting part can be changed when entering the management tool software)

-System Administrator Account Settings-

Enter the password of "admin": password.

Confirm the password of "Administrator": password

-Basic System Configuration Dialog Box-

This setup utility will guide you through the basic configuration of the system. Setup only configures enough connections to manage the system.

Press Enter at any time to skip any dialog box. Use ctrl-c at any time to skip the remaining dialog boxes.

Do you want to enter the basic configuration dialog box (Yes/No): y

Create another login account (Yes/No) [n]:

Configure read-only SNMP community string (Yes/No) [n]:

Configure reading and writing SNMP community strings (Yes/No) [n]:

Enter the switch name: Pxx-MDS-x (where xx is your pod number and X is the switch number; For example: P0 1-MDS- 1)

Continue out-of-band (mgmt0) management configuration? (Yes/No) [Yes]:

Mgmt0 IPv4 address:<10.0.x.y > (where x is your pod number, y is 5 of MDS- 1 and 3 of MDS-2) (customer) 0. 16.

Mgmt0 IPv4 network mask: 255.255.255.0

Configure the default gateway? (Yes/No) [Yes]:

IPv4 address of the default gateway: 10.0.x.254 (where x is your pod number).

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

Enable the remote login service? (Yes/No) [Yes]:

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

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

Configure the default switch port interface status (shut/noshut) [shut]: (Note) noshut.

Configure the default switch port trunking mode (On/Off/Auto) [On]:

Configure the default zone policy (Allow/Deny) [Deny]:

Enable full zone set distribution (Yes/No) [n]:

Note: the initial configuration is applicable to the new VSAN, that is, the original VSAN 1 does not have these configurations.

Solution: 1 zone default-zone license VSAN

2 Create a new VSAN2 and transfer the port to VSAN2.

. It is recommended to create VSAN2 and put the port in VSAN2.

2. Switch configuration

2. 1. Configure the switch management address.

Switch# config t (press the tab command to finish, or enter the command and add a space?

How to use commands that can come out)

Switch (configuration) # Switch name (configuration) # Switch (configuration) # Interface management 0 Switch (configuration -if)# ip address192.168.100.108 255.255.225

Interface mgmt 0 represents the management port of the switch.

2.2. Configure VSAN

Next, configure VSAN.

Switch # Configuration Test

Switch (Configuration) # Virtual Storage Area Network Database

Switch (Configure Virtual Storage Area Network Database) # Virtual Storage Area Network 2

Switch (Configuration-Virtual Storage Area Network-Database) # End

2.3. Configure the regional set

Switch # Configuration Test

Switch (Configuration) # Zone Set Name Set 10 Virtual Storage Area Network 2

Switch (config-zoneset) # memberzone _ name adds a zone to the zone set.

Note: When the switch is in normal operation, if a new partition is configured and added to the partition set, the activation status is required to take effect. The command is as follows:

Switch # Configuration Test

Switch (Configuration) # Zone Set Activation Name Set 10 Virtual Storage Area Network 2

2.4. Configuration area

Configure the area below.

The basic commands are as follows:

Switch # Configuration Test

Switch (Configuration) # Area Name Area Name Virtual Storage Area Network 2

Switch (Configuration) # Member Interface fc#/#

Switch (Configuration) # Member Interface fc#/#

Switch ports are all represented by fc, and FC11represents the first port on the first module. Because a switch like cisco9506 is modular, each port is an fc module number/port number. Like Cisco 9 120 and Cisco 9 140, they are not modular, but their interfaces are fc 1/ port numbers by default.

2.5. Relay configuration

By default, each port of the switch is enabled with trunking protocol, and the interconnection port of the switch should work in E mode. If two switches are connected to each other, trunking should be enabled. Take FC11and FC 1/2 as examples.

The configuration command is as follows:

Switch # Configuration Test

Switch (configuration) # interface fc11switch (configuration -if)# switch port mode e

Switch (Configuration) # Interface fc 1/2 Switch (Configuration -if)# Switch Port Mode E

Supplement: Basic usage of switch

As a basic core switch, it is used to connect multiple wired devices: The network structure is shown below, and the basic connection refers to the above method/step 1: Basic connection mode.

Used for network isolation: For some switches with good functions, you can select the network isolation mode through the mode selection switch to realize the function of network isolation. Only ordinary ports and uplink ports are allowed to communicate, and ordinary ports are isolated from each other and cannot communicate.

Besides being used as a core switch (central switch), it can also be used as an expansion switch (access switch) to expand the network.

Put it on the router and expand the network cable of the network provider (for a network with multiple IPS on one line). After the connection, different routers use different IP to connect to the public network.

Related reading: Frequently asked questions about switch hardware failure.

Power failure:

Due to unstable external power supply, aging power cord or lightning strike, the power supply is damaged or the fan stops and cannot work normally.

Due to the power supply, other parts in the machine are often damaged.

If the power indicator on the panel is green, it is normal; If the indicator light goes out, the power supply of the switch is not normal.

This kind of problem is easy to find, solve and prevent.

In view of this kind of fault, external power supply should be done first. Generally, independent power supply is provided by introducing independent power lines and installing voltage regulators to avoid the phenomenon of instantaneous voltage being too high or too low.

If conditions permit, UPS (Uninterruptible Power Supply) can be added to ensure the normal power supply of the switch. Some UPS provide voltage stabilizing function, while others do not. Pay attention to your choice.