Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management About This Document About This Document Intended Audience This document describes procedures and provides examples for configuring the Device Management features of the S6700. This document guides you through the configuration and applicable environment of the Device Management features of the S6700.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management About This Document Command Conventions The command conventions that may be found in this document are defined as follows. Convention Description Boldface The keywords of a command line are in boldface.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management Contents Contents About This Document........................ii 1 Auto-Config............................1 1.1 Overview................................2 1.2 Auto-Config Features Supported by the S6700....................3 1.3 Deploying Unconfigured Switches (Same Network Segment)................6 1.3.1 Establishing the Configuration Task......................6 1.3.2 Configuring the DHCP Server........................7 1.3.3 Configuring the FTP/TFTP Server......................8...
Page 6
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management Contents 3.5.1 Establishing the Configuration Task.......................33 3.5.2 Configuring a Stack Interface........................33 3.5.3 (Optional) Configuring the Reserved VLAN of the Stack..............34 3.5.4 (Optional) Configuring a Stack ID for the S6700...................34 3.5.5 (Optional) Configuring a Stack Priority for a Device................35 3.5.6 (Optional) Configuring the MAC Address Switchover Time..............35...
Page 7
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management Contents 6.2.5 (Optional) Configuring the Timestamp for the Output Information............57 6.2.6 Checking the Configuration........................58 6.3 Sending Information to the Information Center....................58 6.3.1 Sending Information to the Console......................58 6.3.2 Sending Information to the Telnet Terminal...................59 6.3.3 Sending Information to the SNMP Agent....................60...
Page 8
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management Contents 7.8.2 Configuring Local SPAN Based on MAC Addresses................82 7.8.3 Checking the Configuration........................82 7.9 Configuring RSPAN Based on MAC Addresses.....................83 7.9.1 Establishing the Configuration Task.......................83 7.9.2 Configuring Remote MAC Address Mirroring..................83 7.9.3 Checking the Configuration........................84...
Page 9
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management Contents 7.17.1 Example for Configuring Local Port Mirroring..................98 7.17.2 Example for Configuring Local VLAN Mirroring................99 7.17.3 Example for Configuring MAC Address-based Local Mirroring............101 7.17.4 Example for Configuring Local Flow Mirroring.................103 7.17.5 Example for Configuring Remote Port Mirroring................106...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config Auto-Config About This Chapter This chapter describes the concept, working mechanism, and deployment of Auto-Config. 1.1 Overview This section describes the functions, application scenarios, and terms of Auto-Config.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config 1.1 Overview This section describes the functions, application scenarios, and terms of Auto-Config. When a new switch or a switch without any configuration file is powered on, Auto-Config runs automatically to obtain a configuration file.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config Option 150 The Option 150 field is configured on the DHCP server to specify the IP address of the TFTP server. Option 14x The Option 14x field is configured on the DHCP server to specify the IP address, user name, and password of the FTP server.
Page 14
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config The Auto-Config process can be divided into three phases: Startup After being powered on, an unconfigured switch checks whether there is *.cfg or *.zip file except the *web.zip and web.zip files in the flash memory, and then takes actions according to the checking result: –...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config 1.3 Deploying Unconfigured Switches (Same Network Segment) This section describes how to deploy S6700s without configuration file. 1.3.1 Establishing the Configuration Task Applicable Environment As shown in Figure 1-2, unconfigured switches are reachable from a DHCP server.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config Data Interconnection information about the upstream interfaces on each S6700 and the downstream interfaces on the DHCP server MAC address of each unconfigured switch IP address, mask, address pool, and Option 150 or Option 14x of the DHCP server IP address, version file, patch file, and configuration file on the FTP/TFTP server 1.3.2 Configuring the DHCP Server...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config 1.3.3 Configuring the FTP/TFTP Server Context The configuration procedure varies according to the device type of the FTP/TFTP server. Therefore, the configuration procedure is not described and only the configuration contents are provided.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config immediately by default. Then run the display current-configuration command to check whether the configurations take effect. NOTE If you access the switch when it is busy delivering configurations in the Auto-Config process, the switch may not respond in real time.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config Ensuring that there is no *.cfg or *.zip file except the *web.zip and web.zip files in the flash memory of each switch Ensuring that the switches are not added to any HGMP cluster and USB upgrade Data Preparation To deploy unconfigured switches, you need the following data.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config 1.4.3 Configuring DHCP Relay Context The configuration procedure varies according to the device type of the DHCP relay. Therefore, the configuration procedure is not described and only the configuration contents are provided.
Page 21
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 1 Auto-Config Context You can check different items in different phases in the Auto-Config process to confirm that Auto-Config runs properly. Procedure Step 1 Five minutes after unconfigured switches are powered on, check address allocation on the DHCP server to confirm that the switches are connected to the DHCP server.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration NAP Configuration About This Chapter This chapter describes how to configure the Neighbor Access Protocol (NAP) on the S6700. 2.1 NAP Overview NAP is a Huawei proprietary protocol that implements remote configuration and deployment of unconfigured devices.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration 2.1 NAP Overview NAP is a Huawei proprietary protocol that implements remote configuration and deployment of unconfigured devices. You can log in to an unconfigured device from a directly connected device and configure the unconfigured device remotely through NAP.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration Connecting the device having an empty configuration to a device in the current network via a single hop by using network cables Ensuring that the interfaces connecting the device with an empty configuration and the device in the current network are both in the Up state, and support NAP.
Page 25
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: nap port master The NAP Master interface is configured and started. Manual IP address allocation Two methods are available for manually allocating IP addresses.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration IP addresses are configured for establishing NAP connections. The default IP address pool for establishing NAP connections is 10.167.253.0/24. When configuring IP addresses, ensure that the primary IP addresses of both the master and the slave interfaces are on the same network segment, and that the secondary IP addresses of both the master and the slave interfaces are on the same network segment.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration 2.2.4 Disabling NAP on the Slave Device If the NAP function is no longer required, you need to disable NAP on the slave interface of the slave device.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration If the interface is not assigned an IP address, the following information is displayed. ------------------------------------------------------ NAP master port list: Port count ------------------------------------------------------ Port property : Master Current status...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration 2.3.1 Example for Configuring NAP-based Remote Deployment in Static Mode In this example, the temporary neighbor relationship is set up between the switch and the device with the empty configuration and IP addresses are assigned to the switch and the device to implement remote deployment in manual mode.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration [SwitchB-XGigabitEthernet0/0/1] nap local-ip 12.12.12.5 sub-ip 12.12.12.9 peer-ip 12.12.12.6 sub-ip 12.12.12.10 30 Are you sure to continue?[Y/N] y # After the preceding configuration is complete, run the display nap status command on Switch B.
Page 31
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 2 NAP Configuration Switch B and Switch C having an empty configuration. Switch B and Switch C need to be directly connected via a single hop. Both the interfaces connecting Switch B and Switch C should be in the Up state, and should support NAP.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking Stacking About This Chapter This chapter describes the basic concepts and configuration methods of the stacking function. 3.1 Stacking Overview This section describes the basic concepts of the stacking function.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking 3.1 Stacking Overview This section describes the basic concepts of the stacking function. The stacking function indicates that multiple devices that support the stacking function are connected together to logically function as one device. Up to nine stack devices are connected through stack cables in a ring or link topology.
Page 35
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking Ensure that all the stack devices can be started normally. Ensure that the stacking function is enabled on all the stack devices. Creation of a Stack System If all the member switches in a stack meet the preceding prerequisites, the stack system is automatically created when a member switch in the stack is powered on.
Page 36
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking The original service configurations on a switch are cleared after the switch is added to a stack. Then, the switch uses global configurations of the master switch. If the configuration file already exists on the master device and an interface already exists in the configuration file, the interface can be configured through the configuration file.
Page 37
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking Replacing a member switch requires that the stack cables connecting the replaced switches to other switches be removed. If the master switch is replaced, the standby switch becomes the master switch, and then specifies another member switch as the standby switch and synchronizes data to the new standby switch.
Page 38
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking CAUTION l An instance loop will occur when a stack link is disconnected intermittently or a new switch is added to the stack. l An instance loop will occur when a stack is being set up.
Page 39
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking Figure 3-2 Networking diagram of a stack system Ethernet SwitchA SwitchB Stack-B Stack-C SwitchC SwitchD stack link common link The action of dividing a stack system varies with different roles of the removed switches.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking this case, the active/standby switchover is implemented on the stack system where the standby switch belongs. After the active/standby switchover, the new master switch specifies the MAC address of its own as the MAC address of the stack system. In addition, the new master switch sends gratuitous ARP packets to instruct other switches to update their MAC address and implements IP collision detection.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking 3.4 Typical Topology of a Stack This section describes two typical topologies of a stack. Ring Topology The typical topology of a stack is a ring topology. As shown in...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking Compared with the link topology, the ring topology enjoys higher reliability. When a stack link in a ring topology breaks, the ring topology becomes a link topology. The entire stack system, however, runs normally.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking A service interface is configured as a stack interface. By default, an interface is not configured as a stack interface. Step 3 Run: interface stack-port stack-port-id The stack interface view is displayed.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking created. After the stack system is created successfully, all the configuration of the stack system can be performed on the master switch only. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking system is created, the MAC address switchover time of the stack system is specified by the MAC address switchover time of the master switch after the stack system is created, and the MAC address switchover time of other member switches keeps the same as that of the master switch.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 3 Stacking <Quidway> display stack configuration Current slot-id Next slot-id Current Priority Next Priority ---------------- ------------- ---------------------- ------------- 3.6 Configuration Examples This section provides an example for configuring a stack in a ring topology.
Page 47
[SwitchA] stack port interface XGigabitEthernet 0/0/1 to 0/0/4 enable Member interfaces to be added to the stack interfaces on SwitchA. [SwitchA] interface stack-port 0/1 [Quidway-stack-port0/1] port member-group interface XGigabitEthernet 0/0/1 [Quidway-stack-port0/1] quit [SwitchA] interface stack-port 0/2 [Quidway-stack-port0/2] port member-group interface XGigabitEthernet 0/0/2 # Configure the MAC address switchover time of the stack system on Switch A.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 4 Using display commands to check the status of the device Using display commands to check the status of the device About This Chapter This chapter describes the maintenance, usage of the display commands and the regular expression.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 4 Using display commands to check the status of the device 4.1 Introduction This section describes function of display commands. You can use display commands to view the status of a device and check whether the device runs normally.
Page 50
/$[Board Integration Version] /$BoardIntegrationVersion=3.0 [Main_Board] /$[ArchivesInfo Version] /$ArchivesInfoVersion=3.0 [Board Properties] BoardType=LS6ZE24CM0 BarCode=210235276610B4000013 Item=02352766 Description=Quidway S6700-24-EI, LS6ZE24CM0, S6700-24-EI Mainframe (24 GE SFP/10 GE P+, Chassis, Dual Slots of power, Without Power Module) Manufactured=2011-04-18 VendorName=Huawei IssueNumber= CLEICode= BOM= [Port_1] /$[ArchivesInfo Version] /$ArchivesInfoVersion=3.0...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 4 Using display commands to check the status of the device 4.2.5 Checking the Fan Status When the device temperature is high, you can check whether the fan is functioning normally.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 4 Using display commands to check the status of the device 4.2.9 Checking Alarms Context You can run the following command in any view to check alarms on the S6700.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 5 Hardware Management Hardware Management About This Chapter This chapter describes the hardware management configurations on the S6700. 5.1 Hardware Management Overview This section explains the definition of hardware management.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 5 Hardware Management 5.1 Hardware Management Overview This section explains the definition of hardware management. Hardware management refers to operating the installed hardware of the S6700 by using commands. 5.2 Hardware Management Features Supported by the S6700 This section describes the hardware management features supported by the S6700.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 5 Hardware Management Data FTP server address, FTP user name, and password (only applicable to saving the electronic label to an FTP server) 5.3.2 Backing Up the Electronic Label You can back up the electronic label of the S6700 to an FTP server or the CF card of the S6700.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 5 Hardware Management Data Number of the electrical port where the sleep function is to be enabled 5.4.2 Enabling Electrical Port Sleep To save energy on a device, you can enable electrical port sleep on the device.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center Monitoring the Device Through the Information Center About This Chapter This chapter describes the basics of the information center, introduces the procedure for managing the information center and monitoring the device, and provides configuration examples.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center 6.1 Information Center Overview The information center controls the output of logs, alarms, and debugging messages. 6.1.1 Introduction to the Information Center The information center works as the information hub of a switch.
Page 60
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center Threshold Severity Level Description Error A fault caused by an improper operation or a wrong process occurs, such as entering the wrong user password or receiving wrong protocol packets from other devices.
Page 61
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center Figure 6-1 Functions of the information channel Infomation type Infomation channel Output direction Console Console Remote Logs Monitor terminal Loghost Loghost Traps...
Page 62
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center Channel Default Output Description Number Channel Name Direction Trapbuffer Trap buffer Outputs information to the trap buffer that can receive traps. An area is specified inside a device as the trap buffer to record traps.
Page 63
There is a space between the timestamp and the host name. HOSTNAME Host name By default, the name is Quidway. Log information Indicates that this piece of log is output by the device produced by Huawei. Version number Identifies the version of the log format.
The timestamp and the host name are separated by a blank space. HostName Host name By default, the name is Quidway. There is a space between the sysname and module name. ModuleName Module name Indicates the name of the module that generates an alarm.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center 6.2.1 Establishing the Configuration Task Applicable Environment To collect debugging information, logs, and traps during the operation of the S6700, and to send them to the terminal for display, or to the buffer or the host for storage, you need to configure the information center.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center 6.2.3 (Optional) Naming the Information Channel Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: info-center channel channel-number name channel-name Channels are specified to send debugging information, logs, and traps.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center The format of the timestamp is set for the debugging information. Step 3 Run: info-center timestamp { trap | log } { boot | none | { short-date | format-date | date } [ precision-time { tenth-second | millisecond } ] } The format of the timestamp is set for the output logs or traps information.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center Step 4 Run: terminal monitor The terminal is enabled to display information. By default, the terminal is enabled to display information. Step 5 Run:...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center 6.3.3 Sending Information to the SNMP Agent Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: info-center snmp channel { channel-number | channel-name } Information is sent to the SNMP agent.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center Step 2 Run: info-center trapbuffer [ channel { channel-number | channel-name } | size buffersize ] Information is sent to the trap buffer.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center CAUTION Statistics cannot be restored after being cleared. So, confirm the action before you run the command. Action Command Clear the statistics in the reset info-center statistics information center.
Page 72
Disable the sending of the debugging information and traps through the channel to the log host. [Quidway] info-center source default channel loghost log level debugging state on trap state off debug state off # Verify the configuration.
Page 73
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 6 Monitoring the Device Through the Information Center Information timestamp setting: log - date, trap - date, debug - boot Sent messages = 499, Received messages = 499 IO Reg messages = 0 IO Sent messages = 0 Enable the terminal display of the console.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Mirroring About This Chapter The mirroring function is used to monitor packets that meet certain requirements. 7.1 Introduction This section describes the basics of mirroring. 7.2 Configuring Local Port Mirroring This section describes how to configure local port mirroring.
Page 75
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.13 Canceling Flow Mirroring This section describes how to cancel flow mirroring. 7.14 Changing or Deleting an Observing Port This section describes how to change or delete an observing port.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.1 Introduction This section describes the basics of mirroring. 7.1.1 Mirroring Functions Mirroring is to copy packets to an observing port to monitor packets without affecting packet forwarding. You can use the mirroring function for network check and troubleshooting.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Port Mirroring In the process of port mirroring, the S6700 copies the packets passing through a mirrored port and then sends the copy to a specified observing port.
Page 78
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Flow mirroring is a type of action in traffic behaviors. When a traffic policy configured with flow mirroring is applied to an interface, the S6700 copies the inbound data flow on this interface that matches the traffic classifier and sends the copy to the observing port.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Figure 7-3: The source switch is the Switch where the mirrored port is located. The destination switch is the Switch where the observing port is located. The intermediate switch is a device between the source switch and destination switch.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.2.2 Configuring Local Port Mirroring Context A mirrored port can be a physical interface or an Eth-Trunk interface. To configure an Eth-Trunk as a mirrored port, you must run the interface eth-trunk trunk-id command to create the Eth-Trunk first.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring The observing port is configured properly. The mirrored port and the mirroring direction are configured properly. 7.3 Configuring Remote Port Mirroring This section describes how to configure remote port mirroring.
Page 82
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Run: system-view The system view is displayed. Run: vlan vlan-id An RSPAN VLAN is created and the RSPAN VLAN view is displayed. Run: mac-address learning disable The MAC address learning is disabled.
Page 83
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Return to the system view. Run: interface interface-type interface-number The view of the interface connected to the source switch or destination switch is displayed. Run: port link-type trunk The interface is configured as a trunk interface.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring The observing port is configured as a hybrid interface and it allows packets of the RSPAN VLAN to pass. Run: quit Return to the system view. ----End 7.3.3 Checking the Configuration Run the following commands to check the previous configuration.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Data Type and number of an observing port Type and number of the mirrored port to be deleted 7.4.2 Canceling Port Mirroring Procedure Step 1 Run: system-view The system view is displayed.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.5.1 Establishing the Configuration Task Applicable Environment When incoming packets passing through all active interfaces of the S6700 in a specified VLAN or some VLANs need to be monitored, you can configure local VLAN mirroring if all interfaces receiving these monitored incoming packets are located on the same S6700 as the observing port.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.5.3 Checking the Configuration Run the following commands to check the previous configuration. Action Command Check information about the display observe-port observing port. Check information about port display port-mirroring mirroring.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.6.2 Configuring Remote VLAN Mirroring Procedure Configure remote VLAN mirroring on the source switch. NOTE The mirrored port cannot be added to the RSPAN VLAN. Run: system-view The system view is displayed.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.6.3 Checking the Configuration Run the following commands to check the previous configuration. Action Command Check information about the display observe-port observing port. Check information about port display port-mirroring mirroring.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring The system view is displayed. Step 2 Run: vlan vlan-id The view of the monitored VLAN is displayed. Step 3 Run: undo mirroring inbound VLAN mirroring is canceled.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Data MAC address of the packets to be mirrored ID of the VLAN that the observed MAC address belongs to 7.8.2 Configuring Local SPAN Based on MAC Addresses...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.9 Configuring RSPAN Based on MAC Addresses This section describes how to configure RSPAN based on MAC addresses. 7.9.1 Establishing the Configuration Task Applicable Environment When incoming packets with the specified source or destination MAC address in a VLAN need...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring mac-address learning disable The MAC address learning is disabled. NOTE If MAC address learning is disabled in the VLAN, other services cannot be configured in the VLAN. Run: quit Return to the system view.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring The RSPAN VLAN is configured properly. The number of the observing port is configured properly. 7.10 Canceling Mirroring Based on MAC Addresses This section describes how to cancel mirroring based on MAC addresses.
There is no specified order among the matching rules in a traffic classifier. You can combine these rules. For details on configuring traffic classification rules, see Configuring Complex Traffic Classification in the Quidway S6700 Series Ethernet Switches Configuration Guide - QoS. 7.11.3 Configuring Flow Mirroring...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: observe-port index interface interface-type interface-number An observing port is configured. Step 3 Run: traffic behavior behavior-name A traffic behavior is created and the traffic behavior view is displayed.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring In this step, behavior-name must be the same as that specified in Step 3 when you configure the traffic behavior. Step 4 Run: quit Return to the system view.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.12.1 Establishing the Configuration Task Applicable Environment When incoming flows passing through the S6700 with the same attribute need to be monitored, you can configure remote flow mirroring if the monitored interface receiving these incoming flows is not located on the same S6700 as the observing port.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring mac-address learning disable The MAC address learning is disabled. NOTE If MAC address learning is disabled in the VLAN, other services cannot be configured in the VLAN. Run: quit Return to the system view.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Action Command Check information about port display port-mirroring mirroring. Check the configuration of flow display traffic policy interface [ interface-type mirroring in the traffic policy on interface-number ] [ inbound ] an interface.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Context Do as follows on the S6700 that is configured with flow mirroring. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: traffic behavior behavior-name The traffic behavior view is displayed.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring If the following result is obtained, the configuration is successful: The traffic policy applied on an interface is cancelled. 7.14 Changing or Deleting an Observing Port This section describes how to change or delete an observing port.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring The view of the mirrored port is displayed. Step 3 Run: undo port-mirroring { both | inbound | outbound } Interface mirroring is canceled. Step 4 Run: quit Return to the system view.
Step 2 Run: acl [ number ] acl-number An Access Control List (ACL) is created and the ACL view is displayed. For details on the acl command, see the Quidway S6700 Series Ethernet Switches - Command Reference. Step 3 Run: rule A basic or an advanced ACL rule is created.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.15.3 Configuring an Observing Port Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: observe-port index interface interface-type interface-number A global observing port is configured.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.16.1 Establishing the Configuration Task Applicable Environment If packets received by the CPU of the S6700 do not need to be monitored, you can cancel CPU monitoring. Pre-configuration Tasks None.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring 7.17 Configuration Examples This section provides several configuration examples for mirroring. 7.17.1 Example for Configuring Local Port Mirroring Networking Requirements As shown in Figure 7-4, a Layer 2 (L2) switch is connected to XGigabitEthernet 0/0/1 on the Switch, and the incoming traffic on XGigabitEthernet 0/0/1 needs to be monitored.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring configuration of XGigabitEthernet 0/0/3 is the same as the configuration of XGigabitEthernet 0/0/1 and is not mentioned here. <Switch> system-view [Switch] vlan 1 [Switch-vlan1] quit [Switch] interface xgigabitethernet 0/0/1...
Page 109
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring XGigabitEthernet0/0/3 serves as an observing port. Figure 7-5 Networking diagram of local VLAN mapping XGE0/0/3 XGE0/0/1 XGE0/0/2 Configuration Roadmap The configuration roadmap is as follows: Configure XGigabitEthernet0/0/3 as an observing port.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring [Switch] display port-mirroring Observe index 1 is set to interface XGigabitEthernet0/0/3 Observe Type: Local Observe index 2 is not set to any interface Observe index 3 is not set to any interface...
Page 111
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Figure 7-6 Networking diagram of local MAC address mirroring XGE1/0/1 XGE0/0/4 XGE0/0/3 XGE0/0/1 XGE0/0/2 Configuration Roadmap The configuration roadmap is as follows: Set XGigabitEthernet 0/0/3 as an observing port.
Page 113
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Figure 7-7 Networking diagram of local flow mirroring Router Switch XGE0/0/3 XGE0/0/24 XGE 0/0/1 XGE0/0/5 Mirroring host L2 Switch L2 Switch Configuration Roadmap The configuration roadmap is as follows: Configure XGigabitEthernet 0/0/24 as an observing port.
Page 114
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring XGigabitEthernet 0/0/5 are the same as the configuration of XGigabitEthernet 0/0/1 and are not mentioned here. <Switch> system-view [Switch] vlan 10 [Switch-vlan10] quit [Switch] interface xgigabitethernet 0/0/1 [Switch-XGigabitEthernet0/0/1] port link-type trunk...
Page 116
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Figure 7-8 Networking diagram of remote port mirroring SwitchA SwitchB SwitchC XGE 0/0/1 XGE 0/0/1 XGE0/0/2 XGE0/0/2 XGE0/0/2 XGE0/0/1 Configuration Roadmap The configuration roadmap is as follows: Configure XGigabitEthernet0/0/1 of Switch A as an observing port and specify the RSPAN VLAN.
Page 117
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 7 Mirroring Configure Switch B. # Create the RSPAN VLAN. <SwitchB> system-view [SwitchB] vlan 2 [SwitchB-vlan2] quit # Add XGigabitEthernet0/0/1 and XGigabitEthernet0/0/2 to the RSPAN VLAN as trunk interfaces. [SwitchB] interface xgigabitethernet 0/0/1...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration ALS Configuration About This Chapter This chapter describes the Automatic Laser Shutdown (ALS) configuration on the S6700. 8.1 ALS Overview The ALS mechanism controls the pulse of the laser of an optical module by detecting the Loss of Signal (LOS) on an optical interface.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration 8.1 ALS Overview The ALS mechanism controls the pulse of the laser of an optical module by detecting the Loss of Signal (LOS) on an optical interface.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration Influence of the ALS Function on Link Data Communication Recovery When ALS is disabled, the optical module laser of the switch is still working. After the fiber link is recovered, the LOS is cleared and the interface becomes Up rapidly.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration Applicable Environment The S6700 detects LOSs on optical interfaces to control the laser of optical modules, ensuring security and saving energy. According to the actual networking requirements, after ALS is enabled, you can: Set the restart mode of the laser of an optical module through a command.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration Step 3 Run: als enable ALS is enabled on the interface. By default, ALS is disabled on an interface. ----End 8.3.3 (Optional) Setting the Restart Mode of the Laser The laser can work in automatic restart mode or manual restart mode.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration Prerequisite The interface is enabled with ALS and works in manual restart mode. Context When an interface detects the LOS, the laser of the optical module stops sending pulses. If the als restart command is not used, the laser will not be restarted.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration interface interface-type interface-number The interface view is displayed. Step 3 Run: als restart pulse-interval pulse-interval The ALS pulse interval of the laser on the interface is set.
Page 128
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration Figure 8-3 ALS application XGE0/0/1 XGE0/0/1 SwitchA SwitchB Configuration Roadmap The configuration roadmap is as follows: Enable ALS on XGE 0/0/1 on Switch A and Switch B.
Page 129
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 8 ALS Configuration Step 3 Verify the configuration. # Run the display als configuration interface interface-type interface-number command on Switch A and Switch B to view the ALS configuration. <SwitchA> display als configuration interface xgigabitethernet0/0/1...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 9 Restarting and Resetting Restarting and Resetting About This Chapter This chapter introduces the basics of the BootROM software and the Versatile Routing Platform (VRP) system software, and describes how to restart the S6700.
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 9 Restarting and Resetting 9.1 Introduction This section introduces the required knowledge in restarting and resetting the S6700. 9.1.1 Process of Starting the S6700 The software of the S6700 consists of the BootROM and the VRP. After the S6700 is powered...
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 9 Restarting and Resetting BIOS LOADING ... Copyright (c) 2008-2010 HUAWEI TECH CO., LTD. CX22EFFE (Ver124, Jun 9 2010, 17:41:46) Press Ctrl+B to enter BOOTROM menu ... 0 Press Ctrl+B within two seconds. The system prompts you to enter the password of the advanced BootROM menu as follows: The default password is huawei.
Before restarting the S6700, check whether to save the configuration file and whether the file contents are correct. For details on saving the configuration file, refer to the Quidway S6700 Series Ethernet Switches Configuration Guide - Basic Configuration.
Page 134
Quidway S6700 Series Ethernet Switches Configuration Guide - Device Management 9 Restarting and Resetting Procedure Step 1 Run: schedule reboot { at time | delay interval [ force ] } The function of restarting the S6700 at a fixed time is enabled.
Need help?
Do you have a question about the V100R006C00 and is the answer not in the manual?
Questions and answers