Page 2
All other trademarks and trade names mentioned in this document are the property of their respective holders. Notice The purchased products, services and features are stipulated by the contract made between Huawei and the customer. All or part of the products, services and features described in this document may not be within the purchase scope or the usage scope.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management About This Document About This Document Intended Audience This document provides the basic concepts, configuration procedures, and configuration examples in different application scenarios of the device management feature supported by the S9300.
Quidway S9300 Terabit Routing Switch 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 S9300 Terabit Routing Switch Configuration Guide - Device Management Contents Contents About This Document........................ii 1 NAP Configuration........................1 1.1 NAP Overview..............................2 1.2 Configuring NAP-based Remote Deployment....................2 1.2.1 Establishing the Configuration Task......................2 1.2.2 Configuring and Starting the NAP Master Interface.................3 1.2.3 Remote Login............................5 1.2.4 Disabling NAP on the Slave Device......................6...
Page 7
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management Contents 3.2.7 Displaying the CPU Usage........................27 3.2.8 Displaying the Memory Usage........................29 3.2.9 Displaying the Environment Version......................30 3.2.10 Displaying the Interface Status......................30 3.2.11 Displaying Electronic Labels.........................32 3.2.12 Displaying Alarm Information......................33 3.2.13 Displaying Diagnostic Information.......................34 3.2.14 Displaying the Health Status.........................35...
Page 8
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management Contents 5.1 Introduction to the Information Center......................52 5.2 Information Center Supported by the S9300....................52 5.3 Enabling Log Output............................58 5.3.1 Establishing the Configuration Task.......................58 5.3.2 Enabling the Information Center......................58 5.3.3 (Optional) Naming an Information Channel...................59 5.3.4 (Optional) Configuring the Function of Filtering Logs by IDs...............59...
Page 9
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management Contents 6 Mirroring Configuration......................96 6.1 Introduction to Mirroring..........................97 6.2 Mirroring Features Supported by the S9300....................97 6.3 Configuring Local Port Mirroring........................99 6.3.1 Establishing the Configuration Task.....................100 6.3.2 Configuring a Local Observing Port.....................100 6.3.3 Configuring a Local Mirrored Port......................101...
Page 10
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management Contents 8.3.5 (Optional) Setting the ALS Pulse Interval and Width of the Laser............138 8.3.6 Checking the Configuration........................139 8.4 Configuration Examples..........................139 8.4.1 Example for Configuring ALS......................139 9 Rebooting............................142 9.1 Process of Booting the S9300.........................143 9.2 Process of Booting the BootROM........................144...
Page 11
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management Contents 11.5.3 Checking the Configuration.........................173 11.6 Selecting the Clock Source Based on the SSM Quality Level..............174 11.6.1 Establishing the Configuration Task....................174 11.6.2 Enabling the SSM Quality Level to Be Used in Clock Source Selection...........175 11.6.3 (Optional) Setting the SSM Quality Level of a Clock Source............175...
Page 12
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management Contents 12.5.1 Establishing the Configuration Task....................223 12.5.2 Configuring PTP Globally........................224 12.5.3 Configuring PTP for an Interface......................225 12.5.4 Configuring Time Attributes for PTP Packets..................226 12.5.5 Configuring Encapsulation Types for PTP Packets................226 12.5.6 Checking the Configuration.........................229...
This chapter describes how to configure the Neighbor Access Protocol (NAP) on the S9300. 1.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.
1 NAP Configuration 1.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 S9300 Terabit Routing Switch Configuration Guide - Device Management 1 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 16
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 1 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 S9300 Terabit Routing Switch Configuration Guide - Device Management 1 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 S9300 Terabit Routing Switch Configuration Guide - Device Management 1 NAP Configuration 1.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 S9300 Terabit Routing Switch Configuration Guide - Device Management 1 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 S9300 Terabit Routing Switch Configuration Guide - Device Management 1 NAP Configuration 1.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 S9300 Terabit Routing Switch Configuration Guide - Device Management 1 NAP Configuration [SwitchB-GigabitEthernet1/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 22
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 1 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 S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration CSS Configuration About This Chapter This chapter describes how to configure the cluster switch system (CSS) function on the S9300. Context NOTE The S9303 and S9300E do not support the CSS.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration 2.1 CSS Overview A CSS is also called a stack. In a CSS, two switches are connected through dedicated stacking cables to form a logical switch. A single switch cannot meet requirements of the increasing access volume of a data center and network reliability.
Page 26
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration Figure 2-1 Connection of stacking cables Stacking Card SwitchA SwitchB Stacking cable How a CSS Is Set up A CSS is set up automatically after two switches are connected through stacking cables and enabled with the CSS function.
Page 27
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration standby SRU of the CSS. HA is implemented between the active and standby SRUs of the CSS. The standby SRUs of SwitchA and SwitchB function as the candidate standby SRUs of the CSS.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration Backing Up and Restoring Configuration Files When a device enters the CSS state, it automatically backs up the previous configuration file. In this way, the device can restore the previous configuration after the CSS function is disabled.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration 2.3.1 Establishing the Configuration Task Before configuring the CSS function, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This helps you complete the configuration task quickly and accurately.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration Connecting the two switches through stacking cables Ensuring that the two switches run normally Ensuring that the two switches use the same software version (If the master switch detects a different software version on the backup switch, the software of the backup switch is upgraded or rolled back to the version of the master switch.)
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration Context If the specified switch is already the master switch, status of the CSS remains unchanged. If the specified switch is the backup switch, this switch becomes the master switch after data backup is complete.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration The system view is displayed. Step 2 Run: css enable The CSS function is enabled.By default, the CSS function is disabled on a device. NOTE The configuration takes effect after the device is restarted.
Page 33
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration Figure 2-3 Networking of CSS application OSPF Eth-Trunk2 SwitchB SwitchA Eth-Trunk1 SwitchC Stacking cable Common cable Configuration Roadmap The configuration roadmap is as follows: Configure the frame IDs and priorities of SwitchA and SwitchB.
Page 34
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 2 CSS Configuration [SwitchA] css enable Reboot needed to change CSS config. Are you sure this operation and reboot now? [Y/N]y Step 2 Set the frame ID of SwitchB to 2 and enable the CSS function on SwitchB.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status Displaying the Device Status About This Chapter This chapter describes the functions and applications of the display commands and how to use the display commands to view the running status of the device.
As an important means to maintain and troubleshoot a network, the display commands can be used to collect current information about the version, device, and diagnosis of the S9300. Table 3-1 lists the display commands in common use. For details, see the Quidway S9300 Terabit Routing Switch - Command Reference. CAUTION You are disallowed to run the display diagnostic-information command simultaneously on multiple terminals connected to the S9300.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status You can use the command in any view to view the power status of the S9300. The information displayed includes the power status, power used by the system (W), and power used by boards (W).
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status Procedure Step 1 Run: display temperature { all | slot slot-id } The board temperature is displayed. You can use this command in any view to view the working temperature of boards.
Page 40
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status Run: display cpu-usage configuration [ slave | slot slot-id ] Configurations of the CPU usage are displayed. You can use the display cpu-usage command in any view to view statistics and configurations of the CPU usage of the S9300.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status – If neither slave nor slot slot-id is specified, the memory usage of the active main control board is displayed. Run: display memory-usage threshold [ slot slot-id ] The threshold of the memory usage is displayed.
Page 43
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status Procedure Run: display interface interface-type interface-number The status of the specified interface is displayed. You can use the command in any view to view the interface status of the S9300. Information about the status of an interface contains the running status, basic configurations, and statistics on transmitting and receiving of packets on an interface.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status brief indicates whether the electronic label of an optical module needs to be displayed. If brief is specified, the electronic label of an optical module is not displayed.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status You can use the command in any view to view alarm information about the S9300. The information displayed includes hot backup alarm, reboot alarm, hot swap alarm of the LPU, or voltage alarm.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status 3.2.14 Displaying the Health Status You can use the display command to view the health status information, including the CF card or flash usage, CPU usage, memory usage, power supply status, fan status, voltage, and temperature.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status PWR1 Supply NotSupport NotSupport NotSupport PWR2 POE1 ------------------------------------------------------------------------------- FanId FanNum Present Register Speed Mode ------------------------------------------------------------------------------- FAN1 [1-0] 0%(0 AUTO System Memory Usage Information: System memory usage at 2008-02-16 04:21:34 290 ms...
Page 49
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 3 Displaying the Device Status GigabitEthernet1/0/0 transceiver information: ------------------------------------------------------------- Common information: Transceiver Type :1000_BASE_T_SFP Connector Type :Unknown or Unspecified Wavelength(nm) Transfer Distance(m) Digital Diagnostic Monitoring Vendor Name :FINISAR CORP. Ordering Name...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management Hardware Management About This Chapter This chapter describes hardware management on the S9300, including power on and power off of boards, electronic label backup, board reset, and master/slave switchover of the main control boards.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management 4.1 Introduction to Hardware Management This section describes the hardware management of the S9300. Hardware management indicates the operations performed on hardware resources through commands after the hardware is installed. Hardware configurations include reset, backup, and power on and power off.
Context CAUTION Before removing a running board, power off the board. For the procedure for removing a board, see the Quidway S9300 Terabit Routing Switch Quick Installation Guide. Run the following command in any view of the S9300. Procedure Step 1 Run: power off slot slot-id The board is powered off.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management 4.3.4 Checking the Configuration After a board is powered on or powered off, run the following commands to check the configurations. Context Configuring power-on and power-off of the board is complete.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management Pre-configuration Tasks Before backing up electronic labels, ensure that the S9300 and the FTP server are routable. Data Preparation To back up electronic labels, you need the following data.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management 4.5.1 Establishing the Configuration Task Before adjusting the fan rotation speed, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This helps you complete the configuration task quickly and accurately.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management NOTE If two fans are installed on a fan tray, both fans run at the configured speed after you run the set fan- speed command. ----End 4.5.3 Checking the Configuration After the fan rotation speed is adjusted, you can check the configurations.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management Data Lower threshold of the temperature of the fan module Upper threshold of the temperature of the fan module Slot ID of the fan module 4.6.2 Setting the Upper and Lower Temperature Thresholds for Fan...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management Procedure Run the display transceiver temperature threshold { current | default } slot subrack- id/slot-id command to view the upper and lower temperature thresholds for adjusting the fan speed in the current configuration and default configuration.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management Procedure Step 1 Run: reset slot slot-id The LPU in the specified slot is reset. This command can be run in any view. By default, the LPU can be reset only by the users at the configuration level and the management level.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management 4.8.2 Resetting the Slave Main Control Unit To restart the standby main control board, you need to reset the standby main control board. Context Do as follows on the S9300 whose slave main control board needs to be reset:...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management Pre-configuration Tasks None. Data Preparation None 4.9.2 Enabling the Master/Slave Switchover Before performing the active/standby switchover, ensure that the active/standby function is enabled. Context Do as follows on the S9300 that needs to be enabled with master/slave switchover:...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 4 Hardware Management After master/slave switchover, the running master main control board of the S9300 is restarted. After restart, the master main control board becomes the slave and the slave main control board becomes the master.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Information Center Configuration About This Chapter This chapter describes how to configure the information center to control the output of logs, alarms, and debugging messages. 5.1 Introduction to the Information Center The information center works as the information hub of a switch.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration 5.1 Introduction to the Information Center The information center works as the information hub of a switch. It classifies and filters the output of a system. The information center uses a debugging program to help network administrator and developers monitor network operation and analyze network faults.
Page 65
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Threshold Severity Level Description Warning An abnormal situation of the running device occurs, such as the user disables the routing process, BFD detects packet loss, or the wrong protocol packet is received.
Page 66
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Figure 5-1 Functions of the information channel Output Information channel direction Console Console Logs Monitor Remote terminal Loghost Loghost Traps Trapbuffer Trap buffer Logbuffer Log buffer...
Page 67
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Channel Default Output Description Number Channel Name Direction Trapbuffer Trap buffer Outputs alarms to the alarm buffer. The switch assigns a specified area to be the alarm buffer for recording alarms.
Page 68
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Table 5-3 Description of each field in a log message Field Indication Description <Int_16> Leading character Leading characters are added before logs are output to log hosts.
Page 69
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Figure 5-3 Format of the output alarms TimeStamp HostName ModuleName/Severity/BriefDescription Table 5-4 describes each field in an alarm message. Table 5-4 Description of each field of in an alarm message...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration 5.3 Enabling Log Output This section describes how to output logs of a specified module to a log file, console, terminal, or log host. 5.3.1 Establishing the Configuration Task Before configuring the log output, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Context The information center classifies and outputs information. When it is heavily loaded with information processing, the system performance is affected. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration The system view is displayed. Step 2 Run: info-center filter-id { id } &<1-50> One or more IDs are added and a space is used to separate these IDs.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Logs are sent to the information channel. Logs can be output only after the information center is enabled. . Configuring the channel through which logs are output...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration By default, the size of log files is 8 M. ----End 5.3.8 Outputting Logs to the Console By outputting logs to the console, you can view the operating status of the device on the console.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration The system view is displayed. Run: info-center source { module-name | default } channel { channel-number | channel-name } [ log { state { off | on } | level severity } Logs are added to the information channel.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration { language language-name | binary [ port ] } | { vpn-instance vpn-instance-name | public-net } ] The channel through which logs are output to the log host is configured.
Page 77
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration channel number:2, channel name:loghost MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL ffff0000 default informational Y debugging debugging channel number:3, channel name:trapbuffer MODU_ID NAME ENABLE LOG_LEVEL...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Overwritten messages : 0 Current messages : 1 Feb 13 2007 20:05:46.523.1 Quidway %%01SHELL/4/CMDRECORD(l):task:vt0 ip:100.1.1.48 user:** command:info-center timestamp log date precision-time millisecond Run the display info-center filter-id [ id ] command to check whether the log with the ID being 1098649600 is added into the filtering list.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Data Preparation To configure alarm output, you need the following data. Data l Channel number l Channel name Module name Severity level of alarms (Optional) Size of an alarm buffer IP address of Network Management System 5.4.2 Enabling the Information Center...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: info-center channel channel-number name channel-name The information channel specified by the channel-number is named as channel-name.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration 5.4.5 Outputting Alarms to the Log File When a fault occurs on the device, you can analyze the output alarms to provide references for fault location.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration The system view is displayed. Run: info-center source { module-name | default } channel { channel-number | channel- name } [ trap { state { off | on } | level severity } Alarms are added to the information channel.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Step 2 Configuring the channel through which alarms are output to the VTY terminal Run: info-center monitor channel { channel-number | channel-name } The channel through which alarms are output to the VTY terminal is configured.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration SNMP agent is enabled. By default, alarms are output to the SNMP agent through Channel 5. ----End 5.4.9 Checking the Configuration After configuring the alarm output, you can use related commands to confirm the configuration.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Context CAUTION Debugging affects the performance of the system. Thus, after debugging, run the undo debugging all command to disable debugging immediately. When the CPU usage is close to 100%, debugging ARP may cause the board resetting.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Context Classifying and outputting a large amount of information affects the performance of the system. Do as follows on the switch. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Run: system-view The system view is displayed. Run: info-center source { module-name | default } channel { channel-number | channel- name } [ debug { state { off | on } | level severity } Debugging information is added to the information channel.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration By default, the timestamp format of debugging information is date and the precision is millisecond. Step 2 Configuring the Channel through which debugging information is output to the Console...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Run: info-center monitor channel { channel-number | channel-name } The channel through which debugging information is output to the terminal is configured. Run: quit Back to the user view.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration The channel through which debugging information is output to the log host is configured. By default, debugging information is not output to the log host after the information center is enabled.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration IO Reg messages = 92 IO Sent messages = 15006 5.6 Maintaining Information Center This section describes how to run the reset info-center statistics, reset logbuffer, or reset trapbuffer command to delete messages in the buffer of the information center.
Page 93
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Configuration Roadmap The configuration roadmap is as follows: Enable the information center. Configure the contents of the logs to be output. Configure the channel through which logs are output.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration # Set logs to be output to the FTP server. [SwitchA-ftp] put log.log [SwitchA-ftp] quit <SwitchA> Step 7 Verify the configuration. # View the logs output through the channel.
Page 95
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Figure 5-5 Networking diagram of outputting logs to the log host 10.1.1.2/24 10.1.1.1/24 Server1 Server 3 GE1/0/1 172.168.0.1/24 Switch Server 4 Server 2 10.2.1.2/24 10.2.1.1/24 Configuration Roadmap The configuration roadmap is as follows: Enable the information center.
Page 96
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration [Quidway] info-center channel 6 name loghost1 Step 4 Configure the channel through which logs are output. # Configure the module enabled to output logs and the severity levels of logs allowed to be output.
Page 97
For the host installed with the log software of a third party, you can configure the log software of the third party to implement the log collection function on the host. For example, the HUAWEI iManager 2000 supports the log management function and hence can receive, filter, save, and forward the Syslog messages sent by the device or triggers other actions.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration interface Vlanif10 ip address 172.16.0.1 255.255.255.0 interface GigabitEthernet1/0/1 port hybrid pvid vlan 10 port hybrid untagged vlan 10 ip route-static 10.1.1.0 255.255.255.0 172.16.0.2 ip route-static 10.2.1.0 255.255.255.0 172.16.0.2 return 5.7.3 Example for Configuring Log Messages to be Output to the...
Page 99
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Enable the information center. Name the tunnel. Specify the module enabled to output logs. Configure the channel for outputting logs. Configure the source interface that sends logs.
Page 100
For the host installed with the log software of a third party, you can configure the log software of the third party to implement the log collection function on the host. For example, the HUAWEI iManager 2000 supports the log management function and hence can receive, filter, save, and forward the Syslog messages sent by the device or triggers other actions.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration language english , host facility local4 Console: channel number : 0, channel name : console Monitor: channel number : 1, channel name : monitor SNMP Agent:...
Page 102
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Figure 5-7 Example for Configuring Binary Logs to be sent to the Log Host GE1/0/1 10.1.1.1/24 SwitchA Loghost 10.1.1.6/24 Configuration Roadmap The configuration roadmap is as follows: Enable the information center on the switch.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Step 5 Configure binary logs to be sent to the log host. [Quidway] info-center loghost 10.1.1.6 binary Step 6 Verify the configuration. # Check the added ID of the log to be filtered.
Page 104
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration Networking Requirements As shown in Figure 5-8, alarms are required to be output first to the SNMP agent and then be transmitted to the NM Station through SNMP Agent.
Page 105
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration # Start the SNMP agent and set the SNMP version to SNMPv2c. [Quidway] snmp-agent sys-info version v2c # Configure the alarm function. [Quidway] snmp-agent trap enable [Quidway] snmp-agent target-host trap address udp-domain 10.1.1.1 params...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration 5.7.6 Example for Outputting the Debugging Information to the Console After debugging messages are configured to be output to the console, when a fault occurs on the device you can log in to the device through the console and run the debugging command to view debugging messages.
Page 107
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 5 Information Center Configuration <Quidway> terminal debugging Step 4 Enable ARP module debugging. <Quidway> debugging arp packet Step 5 Verify the configuration. # View the configuration of the channel. <Quidway> display channel 0...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration Mirroring Configuration About This Chapter This chapter describes basic concepts and configuration methods of port mirroring and traffic mirroring. 6.1 Introduction to Mirroring This section describes the basic concepts of port mirroring and traffic mirroring.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration 6.1 Introduction to Mirroring This section describes the basic concepts of port mirroring and traffic mirroring. Mirroring refers to a process in which traffic is copied to a destination for analysis so that you can detect and troubleshoot faults on a network.
Page 110
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration Local port mirroring In local port mirroring, a monitoring host is directly connected to an observing port. Remote port mirroring In remote port mirroring, a monitoring host is connected to the device where an observing port is located over a Layer 2 or Layer 3 network.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration 6.3.1 Establishing the Configuration Task Applicable Environment To analyze or monitor the packets passing through an interface on the S9300, you can configure local port mirroring when a monitoring device is directly connected to an observing port.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration 6.3.3 Configuring a Local Mirrored Port Context To configure an Eth-Trunk as a local mirrored port, you must run the interface eth-trunk trunk- id command to create the Eth-Trunk first.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration 6.4.1 Establishing the Configuration Task Applicable Environment To analyze or monitor the packets passing through an interface on the S9300, you can configure remote port mirroring when a monitoring device is connected to an observing port over a Layer 2 or Layer 3 network.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration Run the display port-mirroring command to check the mirrored port in port mirroring. ----End 6.5 Configuring Traffic Mirroring This section describes how to configure traffic mirroring. 6.5.1 Establishing the Configuration Task...
6.5.3 Configuring Complex Traffic Classification Select proper traffic classification rules and configure complex traffic classification as required. For the configuration procedure, see Complex Traffic Classification Configurationin the Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management. 6.5.4 Creating a Traffic Behavior Context Do as follows on the S9300 where a traffic behavior needs to be created.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration 6.5.5 Creating a Traffic Policy Context Do as follows on the S9300 where a traffic policy for traffic mirroring needs to be created. Procedure Step 1 Run: system-view The system view is displayed.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration A traffic policy containing a traffic classifier and a traffic mirroring action is applied to the interface. Applying a traffic policy to a VLAN Run: system-view The system view is displayed.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration Run the display traffic classifier user-defined [ classifier-name ] command to check the configuration of the traffic classifier. Run the display traffic policy user-defined [ policy-name [ classifier classifier-name ] ] command to check the configuration of the traffic policy.
Page 121
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration Type and number of the observing port Type and number of the mirrored port Index number of the observing port, that is, 1 Procedure Step 1 Configure each interface to ensure that the routes between hosts are reachable.
Page 122
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration # Check the configuration of mirrored ports. <Switch> display port-mirroring ---------------------------------------------------------------------- Mirror-port Direction Observe-port ---------------------------------------------------------------------- GigabitEthernet1/0/1 Inbound GigabitEthernet1/0/3 GigabitEthernet1/0/2 Inbound GigabitEthernet1/0/3 ---------------------------------------------------------------------- # Check the number of packets on GE 1/0/1, GE 1/0/2, and GE 1/0/3, and you can view that the number of packets on GE1/0/3 is the sum of packets on GE 1/0/1 and GE 1/0/2.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration vlan batch 2 to 4 observe-port 1 interface GigabitEthernet1/0/3 interface Vlanif4 ip address 192.168.1.1 255.255.255.0 interface GigabitEthernet1/0/1 port link-type trunk port trunk pvid vlan 2 port trunk allow-pass vlan 2...
Page 125
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration Configuration Roadmap The configuration roadmap is as follows: Configure each interface to ensure that the routes between Layer 2 devices are reachable. Configure GE 1/0/1 on Switch A as the remote observing port.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration [SwitchA] interface gigabitethernet 1/0/2 [SwitchA-GigabitEthernet1/0/2] port- mirroring to observe-port 1 inbound [SwitchA-GigabitEthernet1/0/2] quit [SwitchA] quit Step 4 Verify the configuration. # Check the configuration of the observing port.
Page 127
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration with the 802.1p priority as 6 and the outgoing interface as GE 1/0/3 of the R&D department and marketing department through local port mirroring. See Figure 6-5.
Page 129
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 6 Mirroring Configuration Policy: p1 Classifier: default-class Behavior: be -none- Classifier: c1 Behavior: b1 mirroring to observe-port 1 # Check the number of packets forwarded by the Switch on GE 1/0/1, GE 1/0/2, and GE 1/0/3, or check all the packets received from and sent to GE 1/0/1 and GE 1/0/2 on the server.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration PoE Power Supply Configuration About This Chapter This chapter describes how to power the remote devices through the power over Ethernet (PoE) function. 7.1 PoE Overview This section describes the concept and working principle of PoE.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration 7.1 PoE Overview This section describes the concept and working principle of PoE. The S9300 supports power over Ethernet (PoE). It can provide power for powered devices (PDs) through twisted pairs after configured with PoE power supplies and PoE boards.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration 7.3.1 Establishing the Configuration Task Before configuring PoE, familiarize yourself with the applicable environment, complete the pre- configuration tasks, and obtain the required data. This helps you complete the configuration task quickly and accurately.
Page 135
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration The maximum output power of a board is set. The value of slot_max_power ranges from 0 to the maximum output power of the PoE power supplies in the system. The unit is mW.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration Run: system-view The system view is displayed. Run: poe power-reserved power-reserved The percentage of the reserved PoE power against the total PoE power is set.
Page 137
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration Run: interface interface-type interface-number The interface view is displayed. Run: poe enable The PoE function is enabled. By default, the PoE function is enabled on all interfaces.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration NOTE When the manual power management mode is adopted, you must manually power on or power off PDs on interfaces. Optional: Setting the power-off time range of a PoE interface...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration Procedure Step 1 Run the display poe-power command to view the status of the PoE power supply. Step 2 Run the display poe device command to view information about the devices that support the PoE function.
Page 140
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration Figure 7-1 Networking diagram of the PoE application GE 1/0/1 GE 1/0/2 GE 2/0/1 GE 2/0/2 IP Phone IP Phone Configuration Roadmap The configuration roadmap is as follows: In the system view, set the maximum output power of the PoE board in slot 1.
Page 141
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration [Quidway] interface gigabitethernet 1/0/2 [Quidway-GigabitEthernet1/0/2] poe priority critical Step 4 Verify the configuration. # Display the PoE power supply status of the LPU in slot 1.
Page 142
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration GigabitEthernet1/0/30 enable no current PD connect GigabitEthernet1/0/31 enable no current PD connect GigabitEthernet1/0/32 enable no current PD connect GigabitEthernet1/0/33 enable no current PD connect GigabitEthernet1/0/34...
Page 143
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 7 PoE Power Supply Configuration GigabitEthernet2/0/14 enable no current PD connect GigabitEthernet2/0/15 enable no current PD connect GigabitEthernet2/0/16 enable no current PD connect GigabitEthernet2/0/17 enable no current PD connect GigabitEthernet2/0/18...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 8 ALS Configuration ALS Configuration About This Chapter This chapter describes the Automatic Laser Shutdown (ALS) configuration on the S9300. 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 S9300 Terabit Routing Switch 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 S9300 Terabit Routing Switch 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 S9300 Terabit Routing Switch Configuration Guide - Device Management 8 ALS Configuration Applicable Environment The S9300 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 S9300 Terabit Routing Switch 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 S9300 Terabit Routing Switch 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 S9300 Terabit Routing Switch 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 152
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 8 ALS Configuration Figure 8-3 ALS application GE1/0/0 GE1/0/0 SwitchA SwitchB Configuration Roadmap The configuration roadmap is as follows: Enable ALS on GE 1/0/0 on Switch A and Switch B.
Page 153
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 8 ALS 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 gigabitethernet1/0/0...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 9 Rebooting Rebooting About This Chapter This chapter describes how to reboot the S9300. 9.1 Process of Booting the S9300 This section describes the process of booting the S9300. 9.2 Process of Booting the BootROM The section describes the process of booting the bootrom.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 9 Rebooting 9.1 Process of Booting the S9300 This section describes the process of booting the S9300. The software running on the S9300 includes the BootROM software and system software. The BootROM software is classified into the basic BootROM and the BootLoad.
After the S9300 is powered on, the basic BootROM starts to run, and the hardware of the S9300 performs self-check. The terminal displays the following message: ************************************************************* Copyright (c) 2007-2010 HUAWEI TECH CO., LTD. ************************************************************* Boardname ..............SRU Start L2 Cache Test ? ('t' is test):skip Bootbus init..............OK...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 9 Rebooting The S9300 implements the Virtual Operating System (VOS) by adopting the technology of Distributed Object-oriented Programmable Realtime Architecture (DOPRA). The process of booting the system software is as follows: Starting at 0x400000...
Before you reboot the S9300 through the power button, check whether configuration files need be saved and ensure that correct files are used for rebooting the S9300. For details on saving configuration files, see the Quidway S9300 Terabit Routing Switch Configuration Guide - Basic Configuration.
Before you run the schedule reboot command to reboot the S9300 on schedule, check whether configuration files need be saved and ensure that correct files are used for rebooting the S9300. For details on saving configuration files, see the Quidway S9300 Terabit Routing Switch Configuration Guide - Basic Configuration.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration ISSU Configuration About This Chapter This chapter describes the process of the ISSU and how to configure ISSU to shorten service interruption during the upgrade and thus improve device reliability.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration 10.1 Introduction to ISSU In-Service Software Upgrade (ISSU) provides a mechanism to shorten service interruption during upgrade and rollback of the software version. ISSU greatly reduces service interruption time to the maximum extent during software upgrade, improving device reliability.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration ISSU resets the SMB based on the new version. Data synchronization and configuration restoration are performed between the AMB and the SMB. The control planes of the AMB and SMB are switched and the interface board restarts quickly.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration ISSU precheck has little impact on the system and does not cause the SMB to reset, and thus can be used in non-ISSU phases. Do as follows on the device on which ISSU is performed:...
Page 165
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration Once the command is run, the system has entered the ISSU check phase. ISSU check has the following impact on the system: l The SMB is reset on the basis of the new version and then becomes the new AMB.
Page 166
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration Interactive information Description Warning: The slave board will be Warning: The SMB will be reset and then the rebooted and generate the configuration system will generate a configuration file.
Page 167
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration Step 3 (Optional) Run: issu abort ISSU is aborted. l If you need to abort ISSU, follow this step instead of Step Step 4 and Step Step...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration NOTE If you check the status of the AMB and SMB after the ISSU plane switch is complete, you can find that the new AMB is still in the slave state. This is because the hardware switch has not finished yet. After you run the issu confirm command to confirm the ISSU operation and the old AMB restarts with the new version, check the status of the AMB and SMB.
Page 170
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration Run the display issu backup state command to view the status of ISSU backup. <Quidway> display issu backup state System backup status: real-time backup Run the display issu backup-result [ state { resource-prepare | backup-prepare | backup1 | backup2 | backup3 | smooth | smooth-all-over } ] command to view the result of ISSU backup.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration 10.4 Maintaining ISSU This section describes how to maintain ISSU. 10.4.1 Monitoring the Running Status of ISSU By monitoring the operation status of ISSU, you can view information about ISSU.
Page 172
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration Configuration Roadmap The configuration roadmap is as follows: Perform ISSU precheck to check whether ISSU modes supported by each module. Set the length of the ISSU rollback timer.
Page 173
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration Info: The system is copying the configuration file... Info: The operation of copying the configuration file is complete. Info: The system is preparing resources... Info: The resource preparation is complete.
Page 174
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 10 ISSU Configuration Startup system software: cfcard:/S9300V100R006.cc Next startup system software: cfcard:/S9300V100R006.cc Startup saved-configuration file: cfcard:/S9300cfg.cfg Next startup saved-configuration file: cfcard:/S9300cfg.cfg Startup paf file: cfcard:/paf.txt Next startup paf file: cfcard:/paf.txt Startup license file: cfcard:/license.txt...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Ethernet Clock Syntonization Configuration About This Chapter The Ethernet clock syntonization technology synchronizes clocks through the Ethernet. This chapter describes how to implement Ethernet clock syntonization on the S9300.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration 11.1 Overview of Ethernet Clock Syntonization Compared with the Global Positioning System (GPS), the Ethernet Syntonization function synchronizes the clock frequency on the Ethernet at lower costs.
Page 177
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Clock Sources Supported by the S9300 Table 11-1 Clock sources supported by the S9300 Clock No. Name Description Inner Clock Clock signal generated by the local oscillator of clock board.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration An external clock can function as the reference clock source of other clocks or send clock signals. Other clocks can function only as the reference clock of external clocks.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration When you forcibly specify a clock source to replace the original clock source of the system clock: – If the specified clock source is in Signal-fail state, the system automatically uses the inner clock as the clock source.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Step 2 Run the display clock selection command to view the current clock sources of the external clocks. NOTE You can run either of the preceding commands to check the configuration of forcible clock source selection.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Data Clock for which you want to manually select the clock source, namely, the system clock, BITS0 clock, or BITS1 clock Number of the new clock source (You can view the number of each clock source by running the display clock description command.)
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Clock No. Clock Source Peer Board FSU (reserved) System Clock ----End 11.4.3 Checking the Configuration After manually specifying a reference clock source, you can check the configuration by using the following commands.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration The primary reference clock must be stable. When configuring multiple clock sources, you need to clock a backup clock transmission path. When clock signals are lost on the original clock transmission path, a new clock source is selected and clock signals are transmitted on the backup path.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration The system view is displayed. Step 2 Run: clock priority priority source source { system | bits0 | bits1 } By default, the priority of the inner clock source and system clock source is 254, and the priority of other clock sources is 255.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration 11.6 Selecting the Clock Source Based on the SSM Quality Level If the SSM quality level is used in clock source selection, the S9300 selects the clock source based on the SSM quality level and then based on the priority.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration – The clock sources are not locked. Data Preparation To select the clock source based on the SSM quality level, you need the following data.
Page 188
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Context If the SSM quality level is used in clock source selection but the SSM quality level of a clock source cannot be obtained, you can specify the SSM quality level of the clock source by using the clock ssm-config command.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration 11.6.4 (Optional) Preventing Timing Loops Between BITS Interfaces You can prevent timing loops between BITS interfaces through configuration. Context The S9300 supports bidirectional communication on a BITS interface.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration 11.7.1 Establishing the Configuration Task Applicable Environment To control clock syntonization more effectively, perform the following operations: Set the transmission mode of clock syntonization and time synchronization of a BITS clock.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Data WTR time of a clock source 11.7.2 Setting Clock Mode or Time Mode of a BITS Clock Context The BITS clock refers to the clock signal sent from the BITS interface to a network element.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: clock id id source source The ID of a clock source is set.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration By default, the S1 byte is transmitted in the SA4 bit. NOTE If the sender and the receiver are both S9300s, you do not need to perform this step because the S9300 can identify the S1 byte no matter which bit transmits it.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration The system view is displayed. Step 2 Run: interface interface-type interface-number The interface view is displayed. Step 3 Run: clock left-frame priority The priority of the clock signal that the interface sends to the main control board from the left side of the frame is set.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Do as follows on the S9300. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: clock freq-check Frequency offset check is enabled to affect clock source selection.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Context Setting the WTR time of a clock source can avoid some mistakes in determining the clock source caused by occasional signal jitter on the network.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Context Do as follows on the S9300. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: clock no-retrieve The non-retrieve mode of the clock source is configured.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Step 9 Run the display clock { left-frame | right-frame } command to view the priorities of the clock signals that different interfaces send from the left side or right side of the frame.
Page 199
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Figure 11-1 Networking diagram of clock syntonization SwitchC SwitchA GE 2/0/0 GE 2/0/0 BITS SwitchB Normal clock synchronization direction Clock synchronization direction after signal transmission between SwitchA and SwitchB fails.
Page 200
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Peer Board BITS0 Peer Board BITS1 Left Frame Clock Right Frame Clock Peer Board FSU System Clock # Verify that the SSM quality level is not used in clock source selection.
Page 201
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Reference Clock Source Signal Fail S1 Byte --------------------------------------------------------------------- Inner Clock BITS0 BITS1 Peer Board BITS0 Peer Board BITS1 Left Frame Clock Right Frame Clock Peer Board FSU System Clock # Verify that the SSM quality level is not used in clock source selection.
Page 202
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration # View the clock information on Switch C. You can see that the inner clock, Left Frame Clock, and system clock provide clock signals normally.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration interface GigabitEthernet5/0/7 clock right-frame 10 Configuration file of Switch C sysname SwitchC clock priority 5 source 5 system interface GigabitEthernet2/0/0 clock left-frame 40 interface GigabitEthernet2/0/3 clock left-frame 30 11.8.2 Example for Selecting the Clock Source Based on the SSM...
Page 204
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Configuration Roadmap The configuration roadmap is as follows: Configure the BITS0 interface of Switch A to use the BITS clock as the input primary reference clock. (The SSM quality level of the BITS0 clock is PRC.) Set the mode of clock source selection on Switch A, Switch B and Switch C.
Page 205
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration [SwitchA] display clock selection Type Clock Source Selected --------------------------------------------------------------------- system BITS0 bits0 System Clock bits1 System Clock Step 2 Set the mode of clock source selection on Switch B.
Page 206
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Bits0 mode : Auto select clock source 9: System Clock. Bits1 mode : Auto select clock source 9: System Clock. Clock time : Free-run # Ensure that the system clock selects the clock source sent from the right side of the frame as the clock source and that the system clock sends clock signal to the LPUs as the output clock signal.
Page 207
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Freq-Check : No. Retrieve : Yes. Hold Type : Hold 24 hours. Run Mode : Trace.(SyncOK, Locked) Bits0 : Locked. Bits1 : Locked. System mode: Auto select clock source 5: Left Frame Clock.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration 11.8.3 Example for Selecting the Clock Source Based on the SSM Quality Level in Extended Mode Networking Requirements If the clock signal sent from the local device is sent back to the local device directly or through the network, a timing loop occurs.
Page 209
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration Procedure Step 1 On Switch A, enable the extended SSM mode and set the ID of the BITS clock source. # Enable the extended SSM mode. Set the ID of the BITS0 clock to 1 and the priority of the BITS0 clock to 1.
Page 210
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration [SwitchB] clock ql-enable extend [SwitchB] interface GigabitEthernet 5/0/7 [SwitchB-GigabitEthernet5/0/7] clock right-frame 10 [SwitchB-GigabitEthernet5/0/7] quit [SwitchB] interface GigabitEthernet 5/0/3 [SwitchB-GigabitEthernet5/0/3] clock right-frame 20 [SwitchB-GigabitEthernet5/0/3] quit [SwitchB] clock priority 6 source 6 system [SwitchB] quit # View information about the clock sources sent from the right side of the frame.
Page 211
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration the left side of the frame to 40. Retain the default WTR time. Set the priority of the clock signal sent from the left side of the frame to 5.
Page 212
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 11 Ethernet Clock Syntonization Configuration bits0 System Clock bits1 System Clock Step 4 Verify the configuration. The commands used to verify the configuration result are included in the preceding steps.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration PTP Configuration About This Chapter This chapter describes the Precision Time Protocol (PTP) configuration of the S9300. 12.1 PTP Overview 12.2 PTP Feature Supported by the S9300 12.3 Configuring PTP for an OC...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 12.1 PTP Overview Definition of synchronization In a modern communications network, the proper functioning of most telecommunications services requires that the frequency offset or time difference between devices be kept in a reasonable range.
Page 217
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Usually, phase synchronization is also called time synchronization; frequency synchronization is also known as clock synchronization. All of those terms are used in the following sections and you need to pay attention to the differences between them.
Page 218
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Concepts of 1588v2 PTP (Precision Time Protocol) is short for 1588, which is defined by the Institute of Electrical and Electronics Engineers (IEEE). IEEE 1588 is a standard for Precision Clock Synchronization Protocol For Networked Measurement and Control Systems.
Page 219
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration synchronization is implemented through the exchange of 1588v2 packets. The slave clock calculates its offset and delay comparing with the master clock according to the timestamp information carried in the 1588v2 packet and then synchronizes its local clock to the master clock.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Figure 12-3 Application of 1588v2 on a bearer network BITS NodeB NodeB NodeB NodeB PTP Packet 12.2 PTP Feature Supported by the S9300 NOTE To use the PTP feature, the CKM-clock board and G24CEAS must be installed on the S9300.
Page 221
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration In MAC encapsulation mode, the VLAN ID carried in 1588v2 packets is optional. The MAC encapsulation is classified into two types: – Unicast encapsulation – Multicast encapsulation In UDP encapsulation mode, the VLAN ID carried in 1588v2 packets is optional.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration If the S9300 is installed with only one MPU, only the BITS interface of the active MPU needs to receive the external time signal. The transmission of clock signals is bidirectional, and the transmission of time signals is unidirectional.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Figure 12-4 Configuring 1588v2 on OC BITS Master Slave Pre-configuration Tasks Before configuring 1588v2 on OC, complete the following tasks: Setting parameters of the link layer protocol for the interfaces and ensuring that the status...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 1588v2 is enabled. Step 3 Run: ptp device-type oc The device type is configured as OC. Step 4 (Optional) Run: ptp slaveonly The OC is configured to work in slave-only mode.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration l Delay mode: A delay request-response mechanism, in which information about the clock and time is calculated according to the delay of the entire link between the master clock and slave clock.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration The interval for sending Announce packets on an interface is set to the announce- intervalth power of 2, in milliseconds. The default value of announce-interval is 7, which means that the interval for sending Announce packets on the interface is 128 ms.
Page 227
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. (Optional) Run: ptp mac-egress destination-mac destination-mac The 1588v2 packets to be sent from the interface are encapsulated in MAC encapsulation mode, and the destination MAC address is configured.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration – For unicast UDP encapsulation Specify the unicast destination IP address encapsulated in the 1588v2 packet in the interface view. – For multicast UDP encapsulation A default multicast destination IP address is adopted, which means that destination-ip destination-ip does not need to be configured.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 12.4 Configuring PTP for a BC 12.4.1 Establishing the Configuration Task Applicable Environment As shown in Figure 12-5, NodeBs need to synchronize with the BITS. All switches on the bearer network support 1588v2, and NodeBs do not support 1588v2.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Data Preparation To configure 1588v2 on BC, you need the following data. Data Number and IP address of each interface (Optional) IDs of 1588v2 domains to which devices belong...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 12.4.4 Configuring Time Attributes for PTP Packets Procedure Configuring time attributes for Announce packets Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed.
Page 233
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Prerequisite Before configuring encapsulation modes for 1588v2 packets, check the link type for 1588v2 packet transmission: The Layer 2 link adopts the MAC encapsulation mode for 1588v2 packets.
Page 234
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration ptp mac-egress vlan vlan-id [ priority priority-value ] The VLAN ID for transmitting MAC-encapsulated 1588v2 packets and the 802.1p priority of the 1588v2 packet are configured. (Optional) Configuring the UDP encapsulation mode...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 12.4.6 Checking the Configuration Prerequisite All configurations of the BC are complete. Procedure Run the display ptp all command to display the operation status and configuration of 1588v2.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Pre-configuration Tasks Before configuring 1588v2 on TC, complete the following tasks: Configuring parameters of link layer protocols on interfaces to make the status of link layer protocols Up...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration l e2etc: configures the clock mode of the device to E2ETC. l e2etcoc: configures the clock mode of the device to E2ETCOC. l p2ptc: configures the clock mode of the device to P2PTC.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration The timestamping mode of the synchronization packets sending by the 1588v2 port is set. ----End 12.5.4 Configuring Time Attributes for PTP Packets Procedure Configuring time attributes for Announce packets...
Page 239
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Prerequisite Before configuring encapsulation modes for 1588v2 packets, check the link type for 1588v2 packet transmission: The Layer 2 link adopts the MAC encapsulation mode for 1588v2 packets.
Page 240
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration ptp mac-egress vlan vlan-id [ priority priority-value ] The VLAN ID for transmitting MAC-encapsulated 1588v2 packets and the 802.1p priority of the 1588v2 packet are configured. (Optional) Configuring the UDP encapsulation mode...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 12.5.6 Checking the Configuration Prerequisite All configurations of the TC are configured. Procedure Run the display ptp all [state | config ] command to display the operation status and configuration of 1588v2.
Page 242
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Figure 12-7 Configuring 1588v2 on a TCandBC Domain1 BITS1 Domain2 TCBC2 TCBC1 BITS2 NodeB Pre-configuration Tasks Before configuring 1588v2 on a TCandBC, complete the following tasks: Configuring parameters of link layer protocols on interfaces to make the status of link layer...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Data (Optional) Minimum interval for sending Delay packets (Optional) Destination MAC address, source IP address, destination IP address, DSCP value, VLAN ID, and corresponding priority encapsulated into the 1588v2 packet 12.6.2 Configuring PTP Globally...
Page 244
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Step 3 Run: ptp port-type { bc | tc } The type of the 1588v2 interface either TC or BC. Step 4 In the TC interface view, run: ptp domain domain-value The domain to which the 1588v2 interface belongs is configured.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration The timestamping mode of the synchronization packets sending by the 1588v2 port is set. ----End 12.6.4 Configuring Time Attributes for PTP Packets Procedure Configuring time attributes for Announce packets...
Page 246
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Prerequisite Before configuring encapsulation modes for 1588v2 packets, check the link type for 1588v2 packet transmission: The Layer 2 link adopts the MAC encapsulation mode for 1588v2 packets.
Page 247
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration ptp mac-egress vlan vlan-id [ priority priority-value ] The VLAN ID for transmitting MAC-encapsulated 1588v2 packets and the 802.1p priority of the 1588v2 packet are configured. (Optional) Configuring the UDP encapsulation mode...
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 12.6.6 Checking the Configuration Prerequisite All configurations of the TCandBC are configured. Procedure Run the display ptp all [state | config ] command to display the operation status and configuration of 1588v2.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration 12.7.2 Configuring BITS Signals to Participate in the BMC Calculation Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: ptp clock-source { bits0 | bits1 } { off | on } BITS signals can be configured to participate in or do not participate in the BMC calculation.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration The value is set for priority2 of the time source. Step 7 (Optional) Run: ptp { bits-1pps | bits-dcls } { receive-delay receive-delay | send-delay send- delay } The correction for the delay of sending or receiving clock source signals is set.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Context In routine maintenance, you can run the following command in any view to view the operation status of 1588v2. Procedure Run: display ptp { all [ config | state ] | interface interface-type interface- number } Information about the configuration and operation status of 1588v2 is displayed.
Page 252
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration As shown in Figure 12-8, the BITS is connected to an external GPS to advertise the input clock or time signals to the device named Master, which serves as the master clock of the bearer network and advertises the received clock or time signals to devices on the bearer network.
Page 253
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration <Master> system-view [Master] clock bits-type hz-2m bits0 [Master] clock priority 1 source 1 system [Master] clock manual-switch source 1 system [Master] clock bits-type 1pps-tod in bits1 [Master] ptp clock-source bits1 on NOTE The default WTR time of a clock source is 1 minute.
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration After the configurations, run the display ptp all command on Master, and you can view the current operation status of 1588v2. <Master> display ptp all Device config info...
Page 255
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Networking Requirements As shown in Figure 12-9and all its nodes support 1588v2. PE1 and PE2 obtain clock signals from BITS servers. NodeB 2 does not support 1588v2 but supports frequency synchronization through the synchronous Ethernet clock.
Page 256
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration GE1/0/1 1111-2222-1111 GE1/0/0 1111-2222-3333 GE1/0/1 1111-2222-3333 NodeB1 2222-3333-1111 NodeB3 2222-3333-2222 Configuration Roadmap The configuration roadmap is as follows: Enable a routing protocol, that is, OSPF, to ensure the interworking between devices.
Page 258
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration PTP state :enabled Domain value Slave only Device type Static BMC Local clock ID :001882fffe1b1235 PTP freq-sync :yes BMC run info ------------------------------------------------------------------ Grand clock ID :001882fffe77c2cf Receive number...
Page 260
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration the wireless bearer network and wireless access network. By default, S9300s encapsulate 1588v2 packets in multicast MAC mode. For NodeBs supporting multicast MAC-encapsulated 1588v2 packets, you can configure all clocks of an entire network as BCs to simplify the operation of clock synchronization on the entire network.
Page 261
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration Procedure Step 1 Configure PE1 and PE2 so that they can import BITS clock signals through their clock interfaces. For the detailed configurations, see the section Example for Configuring the BITS as the PTP Clock Source.
Page 262
Quidway S9300 Terabit Routing Switch Configuration Guide - Device Management 12 PTP Configuration [CE2] interface gigabitethernet 1/0/1 [CE2-GigabitEthernet1/0/1] ptp delay-mechanism delay [CE2-GigabitEthernet1/0/1] ptp enable [CE2-GigabitEthernet1/0/1] quit Step 4 Verify the configuration. After the preceding configurations, CE1 and CE2 can trace the clock and time information of PE1 and PE2.
Need help?
Do you have a question about the Quidway S9300 and is the answer not in the manual?
Questions and answers