Huawei AR3200 Series Configuration Manual

Enterprise routers
Hide thumbs Also See for AR3200 Series:
Table of Contents

Advertisement

Huawei AR3200 Series Enterprise Routers
V200R001C01
Configuration Guide - Device
Management
Issue
03
Date
2011-11-27
HUAWEI TECHNOLOGIES CO., LTD.

Advertisement

Table of Contents
loading

Summary of Contents for Huawei AR3200 Series

  • Page 1 Huawei AR3200 Series Enterprise Routers V200R001C01 Configuration Guide - Device Management Issue Date 2011-11-27 HUAWEI TECHNOLOGIES CO., LTD.
  • 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.
  • Page 3: About This Document

    Huawei AR3200 Series Enterprise Routers 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 AR3200.
  • Page 4: Command Conventions

    Huawei AR3200 Series Enterprise Routers 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.
  • Page 5 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management About This Document Changes in Issue 02 (2011-10-15) Based on issue 01 (2011-08-15), the document is updated as follows: The following information is added: 5.4.1 Example for Configuring the Auto-Config Function 1.2.12 Checking Interface Card Work Mode...
  • Page 6: Table Of Contents

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management Contents Contents About This Document........................ii 1 Displaying the Device Status......................1 1.1 Display Commands.............................2 1.2 Displaying the AR3200 Status...........................2 1.2.1 Displaying AR3200 Information.......................2 1.2.2 Displaying Versions..........................3 1.2.3 Displaying Power Information........................3 1.2.4 Displaying Temperature..........................3 1.2.5 Viewing Fan Status............................4...
  • Page 7 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management Contents 2.4.1 Establishing the Configuration Task.......................23 2.4.2 Enabling the Information Center......................23 2.4.3 (Optional) Naming an Information Channel...................24 2.4.4 Outputting Alarms to the Alarm Buffer....................24 2.4.5 Outputting Alarms to the Log File......................25 2.4.6 Outputting Alarms to the Console......................26...
  • Page 8 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management Contents 3.6.1 Example for Configuring Local Port Mirroring..................62 3.6.2 Example for Configuring Local Flow Mirroring..................65 4 Hardware Management......................69 4.1 Introduction to Hardware Management......................70 4.2 Hardware Management Supported by the AR3200..................70 4.3 Powering On and Off the Board........................70...
  • Page 9: Displaying The Device Status

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 1 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 them to view the running status of the device.
  • Page 10: Display Commands

    The display commands can be used to collect current information about the version, device, and diagnosis of the AR3200 in order to maintain and troubleshooting networks. Table 1-1 lists the display commands in common use. For details, see the Huawei AR3200 Series Enterprise Routers - Command Reference. CAUTION The display diagnostic-information command cannot be simultaneously run on multiple terminals connected to the AR3200.
  • Page 11: Displaying Versions

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 1 Displaying the Device Status Procedure Run: display device [ slot slot-id ] Component information is displayed. This command can be used in any view. ----End 1.2.2 Displaying Versions Use the display version command to view the information about the software version, hardware type, main control board and LPU of the AR3200.
  • Page 12: Viewing Fan Status

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 1 Displaying the Device Status Board temperature is displayed. This command can be used in any view. ----End 1.2.5 Viewing Fan Status Use the following display commands to view the fan status, including the running status, registration status, fan module temperature, fan speed, and working mode.
  • Page 13: Displaying Interface Status

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 1 Displaying the Device Status This command can be used in any view. – If slot slot-id is specified, the memory usage of the LPU in this slot is displayed.
  • Page 14: Displaying Diagnostic Information

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 1 Displaying the Device Status If the brief parameter is specified, the electronic label of an optical module is not displayed. Step 2 Run: display elabel backplane Electronic labels of the backplane are displayed.
  • Page 15 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 1 Displaying the Device Status The work mode of these interface cards can be changed: 2E1/T1-M, 1E1/T1-M, 2E1/T1-F, 1E1/ T1-F, 4G.SHDSL, and 1CPOS-155M. Procedure Step 1 Run: display workmode The interface card work mode is displayed.
  • Page 16: Information Center Configuration

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 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. 2.1 Introduction to the Information Center The information center works as the information hub of a router.
  • Page 17: Introduction To The Information Center

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration 2.1 Introduction to the Information Center The information center works as the information hub of a router. 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 18 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Threshold Severity Level Description Warning An abnormal situation, such as the user disabling the routing process, the BFD detecting packet loss, or the wrong protocol packet being received occurs on the device.
  • Page 19 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Figure 2-1 Functions of the information channel Output Information direction channel Console Console Logs Monitor Remote terminal Loghost Loghost Traps Trapbuffer Trap buffer Logbuffer Log buffer...
  • Page 20 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Channel Default Output Description Number Channel Name Direction Trapbuffer Trap buffer Outputs alarms to the alarm buffer. The router assigns a specific area to be the alarm buffer for recording alarms.
  • Page 21 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Table 2-3 Description of each field in a log message Field Indication Description TIMESTAMP Time to send out the Available formats for the timestamp are as follows:...
  • Page 22: Enabling Log Output

    There is a space between the timestamp and the host name. HostName Host name By default, the name is Huawei.There is a space between the sysname and module name. ModuleName Module name Indicates the name of the module that generates an alarm.
  • Page 23: Enabling The Information Center

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Applicable Environment The system logs the operation information about devices in real time. It then outputs logs to the log buffer, log file, console, terminal, and log host for storage and future reference. In this manner, when faults occur on devices, users can locate the faults based on the logs.
  • Page 24: Optional) Naming An Information Channel

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration By default, the information center is enabled. ----End 2.3.3 (Optional) Naming an Information Channel Naming an information channel helps clarify what is output by each channel.
  • Page 25: Outputting Logs To The Log Buffer

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Context A data dictionary is used to transform binary logs into text logs. A data dictionary is the aggregation of log IDs and fixed information required in the log, such as the level, mnemonic symbol, and format string.
  • Page 26: Outputting Logs To A Log File

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration After the information center is enabled, logs are output to the log buffer through Channel 4 by default and the log buffer can cache a maximum of 512 logs.
  • Page 27: Outputting Logs To The Terminal

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Procedure Step 1 Configure the logs to be output through the channel. Do as follows on the router configured with the information center, run: system-view The system view is displayed.
  • Page 28: Outputting Logs To The Log Host

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Step 2 Configure the information channel through which logs are output to the terminal. Run: info-center monitor channel { channel-number | channel-name } The information channel through which logs are output to the terminal is configured.
  • Page 29: Checking The Configuration

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration 2.3.11 Checking the Configuration Checking the Configuration of Information Center Prerequisite The configurations of the information center function are complete. Procedure Run the display channel [ channel-number | channel-name ] command to check the configuration of a channel.
  • Page 30 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL ffff0000 default debugging debugging debugging channel number: 9, channel name: channel9 MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL...
  • Page 31: Enabling Alarm Output

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Content: Add the route [STRING] that have other flags besides deleted fl ag [USHORT] Filtered Number: 0 2.4 Enabling Alarm Output This section describes how to configure a specific module to output alarm information to log files, consoles, terminals, or SNMP agents.
  • Page 32: Optional) Naming An Information Channel

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Context Classifying and outputting a large amount of information degrades system performance. Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: info-center enable The information center is enabled.
  • Page 33: Outputting Alarms To The Log File

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 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.
  • Page 34: Outputting Alarms To The Console

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration For the alarm information, the state is on and the allowed information level is debugging. For the debugging information, the state is off. Step 2 Configure the channel through which alarms are output to the log file.
  • Page 35: Outputting Alarms To The Terminal

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration info-center console channel { channel-number | channel-name } The channel through which alarms are output to the Console is configured. By default, alarms are output to the Console through Channel 0.
  • Page 36: Outputting Alarms To The Snmp Agent

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration By default, alarms are output to the VTY terminal through Channel 1. Run: quit Return to the user view. Step 3 Enable terminal display. Run: terminal monitor Terminal display is enabled.
  • Page 37: Checking The Configuration

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Run: snmp-agent SNMP agent is enabled. ----End 2.4.9 Checking the Configuration After configuring the alarm output, you can use related commands to confirm the configuration. Prerequisite The configurations of the alarm output function are complete.
  • Page 38: Enabling The Output Of Debugging Information

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration channel number: 8, channel name: channel8 MODU_ID NAME ENABLE LOG_LEVEL ENABLE TRAP_LEVEL ENABLE DEBUG_LEVEL ffff0000 default debugging debugging debugging channel number: 9, channel name: channel9 MODU_ID...
  • Page 39: Establishing The Configuration Task

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Context CAUTION Debugging degrades system performance. Therefore, after debugging, run the undo debugging all command to disable debugging immediately. When the CPU usage is close to 100%, debugging ARP may cause boards to reset.
  • Page 40: Optional) Naming An Information Channel

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: info-center enable The information center is enabled. By default, the information center is enabled.
  • Page 41: Outputting Debugging Information To The Console

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Debugging information is added to the information channel. For the specific modules, the default configurations are as follows: For the log information, the state is on and the allowed information level is warning.
  • Page 42: Outputting Debugging Information To The Terminal

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Step 2 Configure the channel through which debugging information is output to the console. Run: info-center console channel { channel-number | channel-name } The channel through which debugging information is output to the console is configured.
  • Page 43: Outputting Debugging Information To The Log Host

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration The channel through which debugging information is output to the terminal is configured. Run: quit Return to the user view. Step 3 Enable terminal display. Run: terminal monitor Terminal display is enabled.
  • Page 44: Maintaining Information Center

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Prerequisite The configurations of the debugging information function are complete. Procedure Run the display channel [ channel-number | channel-name ] command to check the configuration of a channel.
  • Page 45: Information Center Configuration Examples

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Context CAUTION Statistics about the information center cannot be restored after being cleared. So, confirm the action before you use the command. Procedure To clear statistics about the information center, run the reset info-center statistics command in the user view.
  • Page 46 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 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.
  • Page 47: Example For Outputting Logs To Log Hosts

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration <RouterA> Step 7 Verify the configuration. # View the logs that are output through the channel. <RouterA> display info-center Information Center: enabled Log host: Console: channel number: 0, channel name: console...
  • Page 48 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Router sends the logs (with a severity level as warning) generated on the Point-to-Point Protocol (PPP) module and the AAA module to the log host Server 1. Server 4 functions as a backup router of Server 2.
  • Page 49 # Configure the module enabled to output logs and the severity levels of logs allowed to be output. [Huawei] info-center source fib channel loghost log level notifications [Huawei] info-center source ip channel loghost log level notifications [Huawei] info-center source ppp channel loghost1 log level warnings [Huawei] info-center source aaa channel loghost1 log level warnings Step 5 Configure the source interface that sends logs.
  • Page 50 Syslog messages sent by the device. For the procedure for configuring log services on the HUAWEI iManager N200, refer to the HUAWEI iManager N2000 DM - Compound Package User Manual Volume I.
  • Page 51: Example For Configuring Binary Logs To Be Sent To The Log Host

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration info-center loghost 10.1.1.2 facility local2 info-center loghost 10.2.1.1 channel 6 facility local4 info-center loghost 10.2.1.2 channel 6 facility local4 interface GigabitEthernet1/0/0 ip address 172.16.0.1 255.255.255.0 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...
  • Page 52 Step 4 Generate a data dictionary and send it to the log server. # Configure alarm messages to be output to the SNMP agent. [Huawei] info-center create-logbook ftp 10.1.1.6 user-name ftp password ftp file- name dicx.xml After the data dictionary is sent successfully, a prompt is displayed indicating Info: Succeeded in creating a data dictionary..
  • Page 53: Example For Outputting Alarms To The Snmp Agent

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Information timestamp setting: log - date, trap - date, debug - date Sent messages = 15274, Received messages = 15274 ----End Configuration Files interface GigabitEthernet1/0/0 ip address 10.1.1.1 255.255.255.0 info-center filter-id 1077514264 info-center loghost 10.1.1.6 binary...
  • Page 54 Step 2 Specify the module enabled to output alarms and configure the channel used to output alarms. # Specify the module enabled to output alarms and configure the channel used to output alarms. [Huawei] info-center source ip channel channel7 trap level informational state on NOTE By default, alarms are output through the SNMP agent and information about all modules is displayed.
  • Page 55: Example For Outputting The Debugging Information To The Console

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration # View the alarms output through the channel selected by SNMP agent. [Huawei] display channel 7 channel number: 7, channel name: channel7 MODU_ID NAME ENABLE LOG_LEVEL...
  • Page 56 Step 2 Allow the debugging on the ARP module to be output to the Console with the severity level of the information as debugging. [Huawei] info-center source arp channel console debug level debugging [Huawei] info-center console channel console [Huawei] quit Step 3 Enable the terminal monitor function to display the debugging information.
  • Page 57 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 2 Information Center Configuration Configuration Files info-center source ARP channel 0 return Issue 03 (2011-11-27) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 58: Mirroring Configuration

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Mirroring Configuration About This Chapter This document describes the mirroring configuration procedures and provides configuration examples. 3.1 Introduction to Mirroring This section describes the principle and concepts of mirroring.
  • Page 59: Introduction To Mirroring

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration 3.1 Introduction to Mirroring This section describes the principle and concepts of mirroring. Definition Mirroring is a function that copies the packets on the mirrored interface (source interface) to the observing interface (destination interface).
  • Page 60 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Figure 3-1 Networking diagram of local port mirroring Mirrored interface Router Mirrored Observing interface interface Interface Packet flows Monitoring Copied packet flows device Local Flow Mirroring As shown in...
  • Page 61: Configuring Local Port Mirroring

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Local Mirroring Specifications On the AR3200 configured with local mirroring, only one observing interface can be configured. The observing interface can only be configured on LAN-side Ethernet interfaces. The packets on multiple interfaces can be mirrored to one observing interface.
  • Page 62: Configuring A Local Observing Interface

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Data Preparation To configure local port mirroring, you need the following data. Data Type and number of the observing interface. Type and number of the mirrored interface.
  • Page 63: Checking The Configuration

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Context If you want to configure an Eth-Trunk as a mirrored interface, run the interface eth-trunk trunk- id command to create an Eth-Trunk first. Pay attention to the following points when you use an...
  • Page 64: Configuring Local Flow Mirroring

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration 3.4 Configuring Local Flow Mirroring To monitor and analyze the packets with same characteristics passing through the mirrored interface that is located on the same AR3200 as the observing interface, configure local port mirroring on the AR3200.
  • Page 65: Configuring Complex Traffic Classification

    3.4.3 Configuring Complex Traffic Classification Select proper traffic classification rules and configure complex traffic classification as required. For the configuration procedure, see Configuring Traffic Classification in the Huawei AR3200 Series Enterprise Routers Configuration Guide - QoS. 3.4.4 Creating a Local Traffic Behavior Configure the local flow mirroring action to copy the packets matching traffic classification rules to the observing interface.
  • Page 66: Configuring A Traffic Policy

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration observe-port-index specifies the observing interface index. The value of this parameter must be the same as the value set in 3.4.2 Configuring a Local Observing Interface. ----End 3.4.5 Configuring a Traffic Policy...
  • Page 67: Configuring Packet Capture Using Mirroring

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Prerequisite The configurations of local flow mirroring are complete. Procedure Run the display observe-port command to check the observing interface in local port mirroring. Run the display port-mirroring command to check the mirrored interface in local port mirroring.
  • Page 68 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Procedure Step 1 Run: system-view The system view is displayed. Step 2 (Optional) Configure a numbered ACL. For details, see ACL Configuration in Configuration Guide-Security. NOTE To capture mirrored packets matching an ACL, configure the ACL.
  • Page 69 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration ------------------------------------------------------- ff ff ff ff ff ff 00 e0 fc 01 00 08 08 06 00 01 08 00 06 04 00 01 00 e0 fc 01 00 08 02 01 01 03...
  • Page 70: Configuration Examples

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration ------------------------------------------------------- ------------------capture report----------------------- file: NULL interface: GigabitEthernet1/0/0 acl: 2000 car: 64pps timeout: 60s packets: 100 (expected) 13 (actual) length: 128 (expected) ------------------------------------------------------- 3.6 Configuration Examples This section describes the networking requirements, configuration roadmap, and data preparation for mirroring and provides the configuration examples.
  • Page 71 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Data Preparation To complete the configuration, you need the following data: Type and number of the observing interface Type and number of the mirrored interface Index number of the observing interface, that is, 1 Procedure Step 1 Configure an observing interface.
  • Page 72 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 10e0-1220-8001 Last physical up time : 2010-10-07 22:24:31 UTC-05:00 Last physical down time : 2010-10-05 22:22:22 UTC-05:00 Current system time: 2010-10-22 15:48:52-05:13...
  • Page 73: Example For Configuring Local Flow Mirroring

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Buffers Purged: Input bandwidth utilization threshold : 100.00% Output bandwidth utilization threshold: 100.00% Input bandwidth utilization : 0.01% Output bandwidth utilization : 0.00% <Huawei> display interface Ethernet 2/0/2...
  • Page 74: Networking Requirements

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration Networking Requirements As shown in Figure 3-4, an enterprise's R&D department connects to the Router through Ethernet2/0/0. A server with the monitoring software installed is connected to Ethernet2/0/1 on the Router to analyze the captured packets.
  • Page 75 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration # Create IPv4 ACL 2000 on the Router to match the IPv4 packets with destination address 192.168.1.10. <Huawei> system-view [Huawei] acl number 2000 [Huawei-acl-basic-2000] rule permit source 192.168.1.10 0 [Huawei-acl-basic-2000] quit # Create a traffic classifier named c1 and bind it to ACL 2000.
  • Page 76 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 3 Mirroring Configuration if-match acl 2000 traffic behavior mirroring to observe-port traffic policy classifier c1 behavior interface Ethernet2/0/0 traffic-policy p1 inbound return Issue 03 (2011-11-27) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 77: Hardware Management

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management Hardware Management About This Chapter This chapter describes hardware management on the AR3200, including power on and power off of boards, electronic label backup, and board reset.
  • Page 78: Introduction To Hardware Management

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management 4.1 Introduction to Hardware Management Hardware management indicates the operations performed on hardware resources after the hardware is installed. Hardware configurations include reset, backup, power on, and power off.
  • Page 79: Powering Off A Board

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management Data Slot number of the board to be powered off Slot number of the board to be powered on 4.3.2 Powering Off a Board You can run a command to remotely power off a board.
  • Page 80: Backing Up Electronic Labels

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management 4.4 Backing Up Electronic Labels This section describes how to back up electronic labels. 4.4.1 Establishing the Configuration Task Before backing up electronic labels, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data.
  • Page 81: Setting Fan Speed

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management Procedure Back up electronic labels to the flash memory, SD card, or USB disk Run: backup elabel filename [ slot-id ] Electronic labels are backed up to the flash memory, SD card, or USB disk.
  • Page 82: Setting Fan Speed

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management 4.5.2 Setting Fan Speed You can adjust the fan speed. Context Check the upper and lower thresholds of board temperature and current temperature of boards using the display temperature { all | slot slot-id } command. If the temperature of a board exceeds the upper threshold, adjust the fan speed on the AR3200.
  • Page 83: Establishing The Configuration Task

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management 4.6.1 Establishing the Configuration Task Before resetting an LPU, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This will help you complete the configuration task quickly and accurately.
  • Page 84 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 4 Hardware Management Procedure Run the display device command to check the LPU status. Run the display reset-reason [ slot slot-id ] command to check the reason for resetting the LPU.
  • Page 85: Auto-Config

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Auto-Config About This Chapter This chapter describes the concept, working mechanism, and deployment of Auto-Config. 5.1 Auto-Config Overview This section describes the functions and advantages of Auto-Config. 5.2 Auto-Config Features Supported by the AR3200 This section describes the intermediate file, Option parameters, and process of Auto-Config supported by the AR3200.
  • Page 86: Auto-Config Overview

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config 5.1 Auto-Config Overview This section describes the functions and advantages of Auto-Config. Auto-Config Functions When a new or unconfigured router is powered on, a version file, patch file, and configuration file must be loaded to the router.
  • Page 87 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config NOTE l When configuring the intermediate file, enter the MAC address and ESN, or either of them. The configuration file is mandatory, and the version file and patch file are optional. The three files can be configured in any sequence.
  • Page 88 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Figure 5-1 Auto-Config process Auto-Config starts DHCP Request packets are sent periodically DHCP Reply Packets received? DHCP Reply packets valid? Parse Option parameters Is there ACS Option Configure the ACS...
  • Page 89 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config The Auto-Config process involves three phases: Parsing Options Obtain the IP address and configuration of the FTP or TFTP server. A router automatically enables the DHCP client function on the uplink Ethernet...
  • Page 90 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config be obtained after 30 days, the process of downloading the configuration file stops and waits to be handled manually. Restarting the router After the configuration file is downloaded successfully, the router is restarted according to the setting of Option 146.
  • Page 91: Deploying Unconfigured Routers

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Option Description Option 146 Operation information in the following format: opervalue=OPERATEVALUE;delaytime=DELAYTIME; l opervalue=0: indicates that no file will be deleted from the file system when the space is insufficient. opervalue=1: indicates that version files will be deleted from the file system when the space is insufficient.
  • Page 92 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config NOTE Only Layer 3 Ethernet interfaces on the main control board support Auto-Config. If the received DHCP Reply packet contains Option 43, the auto-configuration server (ACS) is used for deployment.
  • Page 93: Configuring The Dhcp Server

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Data Authentication information, authorization mode, and working directory of the FTP/ TFTP server (optional) IP address of the FTP/TFTP server MAC addresses or ESNs of routers, version files (optional), patch files (optional), and configuration files 5.3.2 Configuring the DHCP Server...
  • Page 94 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: dhcp enable DHCP is enabled. Step 3 Run: interface interface-type interface-number The interface view is displayed.
  • Page 95: Configuring The Ftp/Tftp Server

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config NOTE Pay attention to the following points when configuring option parameters: l When the configuration file is obtained using TFTP, the DHCP server must support Option 150 or support Option 6, Option 15, and Option 66.
  • Page 96: Checking The Configuration

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config local-user user-name service-type ftp The service type is set to FTP. l Run: local-user user-name ftp-directory directory The directory is configured for FTP users. Step 4 Run: interface interface-type interface-number The interface view is displayed.
  • Page 97: Configuration Examples

    Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Procedure Step 1 Five minutes after routers are powered on, check address allocation on the DHCP server to check whether the routers are connected to the DHCP server.
  • Page 98 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Figure 5-3 Networking diagram for configuring the Auto-Config function HostA Eth1/0/0 Eth1/0/0 192.168.2.6/24 192.168.1.6/24 GE0/0/1 Eth1/0/0 Router HostB DHCP Server FTP Server HostC Configuration Roadmap The configuration roadmap is as follows: Configure the DHCP server so that a router can obtain IP addresses and option parameters.
  • Page 99 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config Procedure Step 1 Configure the DHCP server. <DHCP Server> system-view [DHCP Server] dhcp enable [DHCP Server] interface ethernet 1/0/0 [DHCP Server-Ethernet1/0/0] ip address 192.168.2.6 255.255.255.0 [DHCP Server-Ethernet1/0/0] dhcp select global...
  • Page 100 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config 192.168.2.1 192.168.2.254 ----------------------------------------------------------------------------- Five minutes after the router obtains the IP address, run the display autoconfig-status command to check whether correct version files, patch files, and configuration files have been downloaded and check the running status of Auto-Config.
  • Page 101 Huawei AR3200 Series Enterprise Routers Configuration Guide - Device Management 5 Auto-Config option 67 ascii auto_V200R002C00B002.cfg option 141 ascii user option 142 ascii huawei option 143 ip-address 192.168.1.6 option 145 ascii vrpfile=auto_V200R002C00B001.cc;vrpver=V200R002C00B001;patchfi le=auto_V200R002C00B002.pat; interface Ethernet1/0/0 ip address 192.168.2.6 255.255.255.0 dhcp select global...

Table of Contents