Huawei NetEngine80E Configuration Manual - Reliability
Hide thumbs Also See for NetEngine80E:
Table of Contents
HUAWEI NetEngine80E/40E Router
V600R003C00
Configuration Guide - Reliability
Issue
02
Date
2011-09-10
HUAWEI TECHNOLOGIES CO., LTD.
Table of Contents
loading

Summary of Contents for Huawei NetEngine80E

  • Page 1 HUAWEI NetEngine80E/40E Router V600R003C00 Configuration Guide - Reliability Issue Date 2011-09-10 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

    The following table lists the product versions related to this document. Product Name Version HUAWEI NetEngine80E/40E V600R003C00 Router Intended Audience This document is intended for: Commissioning Engineer Data Configuration Engineer Network Monitoring Engineer System Maintenance Engineer Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 4 Several items or no item can be selected. &<1-n> The parameter before the & sign can be repeated 1 to n times. A line starting with the # sign is comments. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 5 Changes between document issues are cumulative. The latest document issue contains all the changes made in earlier issues. Changes in Issue 01 (2011-06-30) Initial commercial release. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 6: Table Of Contents

    2.2.3 Configuring the Active/Standby Switchover Delay................18 2.2.4 Checking the Configuration........................18 2.3 Configuring the Load Balancing Interface Backup..................19 2.3.1 Establishing the Configuration Task.......................19 2.3.2 Configuring a Standby Interface......................20 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 7 3.4.3 Example for Associating PW Redundancy with E-APS Working in 1:1 Mode........59 4 VRRP Configuration........................73 4.1 VRRP Introduction............................75 4.1.1 VRRP Overview............................75 4.1.2 VRRP Features Supported by the NE80E/40E..................75 4.2 Configuring the VRRP Backup Group......................79 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 8 4.8.2 Configuring the Authentication Mode of VRRP Packets..............115 4.8.3 Checking the Configuration........................116 4.9 Configuring VRRP Smooth Switching......................116 4.9.1 Establishing the Configuration Task.....................116 4.9.2 Configuring VRRP Smooth Switching....................117 4.9.3 Checking the Configuration........................118 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 9 4.14.12 Example for Configuring VRRP6 Backup Groups in Load Balancing Mode........227 5 BFD Configuration........................232 5.1 Introduction to BFD............................234 5.1.1 BFD Overview............................234 5.1.2 BFD Features Supported by the NE80E/40E..................234 5.2 Configuring Single-hop BFD.........................242 Issue 02 (2011-09-10) Huawei Proprietary and Confidential viii Copyright © Huawei Technologies Co., Ltd.
  • Page 10 5.10.2 Enable BFD Globally..........................267 5.10.3 Establishing a BFD Session.........................267 5.10.4 Checking the Configuration.........................268 5.11 Adjusting BFD Parameters...........................269 5.11.1 Establishing the Configuration Task....................269 5.11.2 Modifying the Detection Time......................270 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 11 6.1.2 GR Features Supported in the NE80E/40E...................362 6.2 Configuring the System-Level GR.........................362 6.2.1 Establishing the Configuration Task.....................363 6.2.2 (Optional) Configuring the Default Slot Number for the SMB.............363 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 12 8.4.4 Checking the Statistics on Returned Test Packets.................401 8.4.5 (Optional) Manually Disabling EFM OAM Remote Loopback............401 8.4.6 Checking the Configuration........................402 8.5 Associating EFM OAM with an Interface......................403 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 13 8.12.2 Configuring Ethernet CFM Based on the VPLS Between the PEs.............434 8.12.3 Configuring Ethernet CFM Between the CE and Local PE..............435 8.12.4 Configuring Ethernet CFM Between the CE and Peer PE..............437 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 14 8.18.12 Exmaple for Configuring EFM OAM Extension for Static Routes..........541 9 Y.1731 Configuration........................552 9.1 Introduction..............................554 9.1.1 Y.1731 Overview...........................554 9.1.2 Y.1731 Features Supported by the NE80E/40E..................557 9.2 Configuring Single-Ended Frame Loss Measurement on a VLL..............558 Issue 02 (2011-09-10) Huawei Proprietary and Confidential xiii Copyright © Huawei Technologies Co., Ltd.
  • Page 15 9.8.5 Checking the Configuration........................596 9.9 Configuring Two-Way Frame Delay Measurement on a VPLS Network.............596 9.9.1 Establishing the Configuration Task.....................597 9.9.2 Binding an MA to a VPLS Network.....................598 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 16 10.3.5 (Optional) Configuring LM for a PW....................681 10.3.6 (Optional) Configuring DM for a PW....................683 10.3.7 Checking the Configuration.........................684 10.4 Configuration Examples..........................686 10.4.1 Example for Configuring CC and CV for an LSP................687 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 17 11.4 Maintaining Multi-Device Backup.......................733 11.4.1 Displaying Backup Information......................733 11.4.2 Clearing Backup Information......................733 11.5 Configuration Examples..........................734 11.5.1 Example for Configuring Dual-Device ARP Hot Backup..............734 A Glossary............................740 B Acronyms and Abbreviations....................743 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 18: Reliability Overview

    Reliability technologies for IP networks include failure detection technologies and protection switching technologies. 1.4 Networking of Reliability over an IP Network This section describes FRR applicable scenarios and FRR solutions. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 19: Introduction

    The MTBF indicates the probability of faults. It is an index of reliability. The MTBF is the predicted elapsed time between inherent failures of a system during operation, usually in hours. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 20: Levels Of Reliability Requirements

    The active and standby nodes connect to convergence nodes. Devices of convergence layer are dual-homed to single node multi-device of the upper layer or to multi-node device of Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 21: Reliability Technologies For Ip Networks

    End-to-end protection: 1:1, 1+1, 1:N, and M:N Local protection: BFD trigger, FRR technology, and OAM technology The trigger mode includes BFD trigger mode and Fast Reroute (FRR) trigger mode. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 22: Reliability Technologies Supported By The Ne80E/40E

    Compared with fast convergence in IGP, the LDP FRR calculates a secondary interface in advance. Route calculation and re-establishment of an LSP after a failure take less time. As a result, the switchover speeds up. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 23 LSP tunnel status corresponding to this forwarding entry. If the LSP tunnel is unavailable, the engine uses the route of a inferior priority carried in this forwarding entry to forward packets. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 24: Oam (Operation Administration & Maintenance)

    Router Redundancy Protocol (VRRP) is a fault-tolerant protocol defined in RFC 3768. VRRP solves the problem of route selection among egress gateways by separating the physical devices from logical devices. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 25: Bfd (Bidirectional Forwarding Detection)

    1-2, LDP LSP serves as a public network tunnel and TE is enabled with QoS between P devices. This network deployment enhances the QoS across the entire network Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 26: Link Failure During Transmission

    With fast detection performed by the OAM, the protection group is listed in the forwarding table with its primary tunnel entry and bypass tunnel entry. This enables fast switchover after a failure is detected, providing high reliability for network connectivity. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 27 If one end does not receive the detection packets within a specified period, the end assumes that the link is interrupted and reports to related modules to perform switchover. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 28: Failure On The Remote Pe - Vpn Frr

    Similar to other FRR technologies, in the VPN FRR, an available bypass path is reserved for fast switchover before the primary path fails. For VPN FRR, two next hops (PEs) are reserved Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 29: Failure Of Downlink Interface On The Pe - Ip Frr

    Then, the private network neighbor relationship between PE1 and PE2 needs to be created, and the primary and bypass paths are created for PE1 accessing CE. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 30: Interface Backup Configuration

    Interface backup is performed in active/standby mode or load balancing mode. Familiarize yourself with the configuration procedures against the networking diagram. Each configuration example consists of the networking requirements, configuration roadmap, configuration procedures, and configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 31: Introduction Of Interface Backup

    Any physical interface or sub-interface like POS ,Ethernet or ATM interface serves as an active interface on a router. An active interface with larger bandwidth provides a higher transmission rate. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 32: Characteristics Of The Interface Backup Supported By The Ne80E/40E

    When the data flow of the active interface reaches the specified upper limit, the router automatically enables an available standby interface with the highest priority. Both interfaces undertake the transmission together and share the load. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 33: Configuring The Active/Standby Interface Backup

    Pre-configuration Tasks Before configuring the active/standby interface backup, complete the following tasks: Configuring physical parameters for interfaces Configuring link layer attributes for interfaces Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 34: Configuring A Standby Interface

    A main interface can be configured with a maximum of three standby interfaces. In addition, a standby interface can be configured only for one main interface. l A maximum of 10 main interfaces can exist at the same time. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 35: Configuring The Active/Standby Switchover Delay

    The configurations of the active/standby interface backup function are complete. Procedure Step 1 Run the display standby state command to check the status of the active or the standby interface. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 36: Configuring The Load Balancing Interface Backup

    Configuring physical parameters for interfaces Configuring link layer attributes for interfaces Configuring IP addresses for interfaces Configuring static routes to the destination network segment on the active interface and standby interfaces Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 37: Configuring A Standby Interface

    An active interface can be backed up by a maximum of three standby interfaces. One standby interface can back up only one active interface. l The NE80E/40E supports up to 10 active interfaces simultaneously. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 38: Configuring The Percentage Thresholds For Load Balancing

    Do as follows on the router that needs to be configured the load balancing interface backup: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 39: Checking The Configuration

    display standby flow Interfacename : GigabitEthernet 2/0/0 Flow-interval(s) : 30 LastInOctets : 5298 LastOutOctets : 398807420 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 40: Maintaining The Interface Backup

    Networking Requirements NOTE POS interfaces cannot be configured on the X1 and X2 models of the NE80E/40E. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 41 [RouterA] ip route-static 10.20.1.0 255.255.255.0 pos1/0/0 [RouterA] ip route-static 10.20.1.0 255.255.255.0 pos2/0/0 [RouterA] ip route-static 10.20.1.0 255.255.255.0 pos3/0/0 # Configure a static route to Host A network segment on Router B. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 42 After the Tracert test of Host B address on Host A, you can display the packets reaching the destination through POS 1/0/0 of the link layer on Router B. C:\> tracert 10.20.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 43 10.1.3.2 255.255.255.0 interface GigabitEthernet4/0/0 undo shutdown ip address 10.20.1.2 255.255.255.0 ip route-static 10.10.1.0 255.255.255.0 Pos1/0/0 ip route-static 10.10.1.0 255.255.255.0 Pos2/0/0 ip route-static 10.10.1.0 255.255.255.0 Pos3/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 44: Example For Configuring Load Balancing On Multiple Standby Interfaces

    Configure POS 1/0/0 and POS 3/0/0 in the interface view of POS 2/0/0 as the standby interfaces. POS 1/0/0 has a higher priority. Configure the threshold of the load balancing percentage and the active interface bandwidth. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 45 Interfacestate Backupstate Backupflag Pri Loadstate Pos 2/0/0 Pos 1/0/0 STANDBY STANDBY Pos 3/0/0 STANDBY STANDBY Backup-flag meaning: M---MAIN B---BACKUP V---MOVED U---USED D---LOAD P---PULLED G---LOGICCHANNEL display standby flow Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 46 10.10.1.2 255.255.255.0 ip route-static 10.20.1.0 255.255.255.0 Pos1/0/0 ip route-static 10.20.1.0 255.255.255.0 Pos2/0/0 ip route-static 10.20.1.0 255.255.255.0 Pos3/0/0 return Configuration file of Router B sysname RouterB Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 47 10.1.3.2 255.255.255.0 interface GigabitEthernet4/0/0 undo shutdown ip address 10.20.1.2 255.255.255.0 ip route-static 10.10.1.0 255.255.255.0 Pos1/0/0 ip route-static 10.10.1.0 255.255.255.0 Pos2/0/0 ip route-static 10.10.1.0 255.255.255.0 Pos3/0/0 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 48: Aps Configuration

    3.4 Configuration Examples This section provides configuration examples of APS. Each configuration example consists of the networking requirements, configuration precautions, configuration roadmap, configuration procedures, and configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 49: Aps Overview

    Add/Drop Multiplex (ADM) or a Radio Network Controller (RNC) of an SDH network that has APS functions. Two APS-enabled routers can also protect traffic on direct links between them. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 50 (COO) signals for a traffic switchover; K2 transmits Changeover Acknowledgement (COA) signals for a traffic switchback. For information about meanings of K1 and K2 bytes, see the chapter "APS" in the HUAWEI NetEngine80E/40E Router Feature Description - Reliability. APS Working Modes...
  • Page 51: Aps Features Supported By The Ne80E/40E

    Manual switching of APS groups. Forcible switching of APS groups. Locking of APS groups. APS implementation on interfaces. APS implementation on the same SIC or inter-SIC APS. E-APS. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 52: Configuring Single-Device Aps

    3.2.2 Configuring a Working Interface in an APS Group A working interface must be specified before configuring APS. Context Do as follows on the router that requires APS: Procedure Step 1 Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 53: Configuring A Protection Interface In An Aps Group

    ATM interfaces cannot be configured on the X1 and X2 models of the NE80E/40E. Step 3 Run: aps group group-id An APS group is created and an interface is added to this APS group. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 54: Optional) Configuring A Working Mode For An Aps Group

    A working mode is configured for the APS group. The configuration of APS mode takes effect after the shutdown and undo shutdown commands are used on the protect interface l one2one bidirection: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 55: Optional) Configuring A Switching Mode For An Aps Group

    Initiates a forced APS request in an APS group, that is, forcibly switches traffic to the protection link. l manual: Initiates a manual APS request in an APS group, that is, manually switches traffic to the protection link. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 56: Optional) Setting The Wtr Time For An Aps Group

    The working interface and the protection interface must be added to the same trunk link. Context Do as follows separately on the working and s of an APS group. Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 57: Checking The Configuration

    ATM-Trunk interfaces. l Run the display cpos-trunk trunk-id command to view configurations of the CPOS-Trunk interfaces. ----End Example display aps group 1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 58: Configuring E-Aps

    Configuring an interface on the router and ensuring that the link layer protocol between the router and the RNC is Up Data Preparation To configure E-APS, you need the following data. Data ID of an APS group Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 59: Configuring A Working Interface In An Aps Group

    Indicates the IP address of the Router where the working interfaces that are in the same APS group as the protect group is located. Usually, the value is the IP address of the loopback interface on the Router. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 60: Configuring A Protection Interface In An Aps Group

    Indicates the IP address of the local router . Usually, the value is the IP address of the loopback interface on the router. Step 5 (Optional) Run: aps signal-low-priority Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 61: Configuring A Working Mode For An Aps Group

    – Configures APS to work in unidirectional mode. If an optical fiber to an interface fails, only the receiver switches its traffic to the protect link. l one-plus-one bidirection: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 62: Optional) Configuring A Switching Mode For An Aps Group

    Messages and the Hold Time of an APS Connection A holding time of at least 10s for the connection status of the APS working and protection interfaces is recommended. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 63: Optional) Configuring The Authentication String For A Pgp Message

    Otherwise, the negotiation fails. Context Do as follows on both working and protection interfaces of an APS group: Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 64: Optional) Setting The Wtr Time For An Aps Group

    The WTR time is set for the APS group. wtr-time: The value ranges from 1 to 12 minutes. When setting the WTR time, note the following items: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 65: Adding Members Of An Aps Group To A Trunk

    The interface is added to a trunk. ----End 3.3.10 Checking the Configuration After E-APS is configured, the APS group's working mode, working interface, switchback time, and interface status can be viewed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 66: Configuration Examples

    Configured with APS This section gives a configuration example of APS-based TDM on a CPOS interface. A networking diagram is shown to demonstrate the configuration procedure. The configuration Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 67 10.2.1.2/24 Loopback0 192.3.3.3/32 Configuration Roadmap The configuration roadmap is as follows: Run the IGP protocol on the backbone network so that devices can communicate with each other. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 68 [PE2-cpos-trunk1] quit [PE2] controller cpos 3/0/1 [PE2-Cpos3/0/1] cpos-trunk 1 [PE2-Cpos3/0/1] quit [PE2] controller cpos 3/0/2 [PE2-Cpos3/0/2] cpos-trunk 1 Step 4 Configure parameters for the TDM interface. Configure PE1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 69 [PE2-Trunk-Serial1/2:0] undo shutdown [PE2-Trunk-Serial1/2:0] quit Step 7 Verify the configuration. Simulate a fault on the side of PE2 connecting to the BSC. # Run the shutdown command on CPOS3/0/1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 70 : none local control word : disable remote control word : disable tunnel policy name : -- traffic behavior name : -- PW template name : -- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 71 10.1.1.1 255.255.255.0 mpls mpls ldp interface LoopBack0 ip address 192.2.2.2 255.255.255.255 ospf 1 area 0.0.0.0 network 192.2.2.2 0.0.0.0 network 10.1.1.0 0.0.0.255 return Configuration file of PE2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 72 GigabitEthernet1/0/0 undo shutdown ip address 10.1.1.2 255.255.255.0 mpls mpls ldp interface GigabitEthernet2/0/0 undo shutdown ip address 10.2.2.1 255.255.255.0 mpls mpls ldp interface LoopBack0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 73: Example For Configuring Aps On A Cpos-Trunk

    Figure 3-3 Networking diagram for configuring APS on a CPOS-Trunk RouterA CPOS 1/0/0 STM-4/16 Internet CPOS-Trunk 0 OC-3/STM-1 CPOS 2/0/0 nx E1 Configuration Roadmap The configuration roadmap is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 74 Add Trunk-Serial interfaces to the Global-MP-Group. [RouterA] interface Trunk-Serial0/1:0 [RouterA-Trunk-Serial0/1:0] shutdown [RouterA-Trunk-Serial0/1:0] link-protocol ppp [RouterA-Trunk-Serial0/1:0] ppp mp-global global-mp-group 0 [RouterA-Trunk-Serial0/1:0] quit [RouterA] interface Trunk-Serial0/2:0 [RouterA-Trunk-Serial0/2:0] shutdown [RouterA-Trunk-Serial0/2:0] link-protocol ppp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 75 Trunk-Serial0/1:0 physical UP,protocol UP Trunk-Serial0/2:0 physical UP,protocol UP ===========Sublinks status end======== ----End Configuration Files Configuration file of Router A sysname RouterA controller Cpos1/0/0 undo shutdown aps group 1 aps working Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 76: Example For Associating Pw Redundancy With E-Aps Working In 1:1 Mode

    AC side, the switchover between the working interface and the protection interface is performed on the AC side according to APS. This leads to the switchover of PWs and thus avoids the loss of the network data. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 77 Step 1 Configure IP addresses and IGP to make PEs routable. Configure IP addresses on the interfaces. Assign the IP address and mask to each interface according to Figure 3-4. The configuration details are not mentioned here. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 78 [P2-LoopBack0] isis enable 1 [P2-LoopBack0] quit # Configure PE2 [PE2] isis 1 [PE2-isis-1] is-level level-1 [PE2-isis-1] network-entity 4444.4444.4444.4444.00 [PE2-isis-1] graceful-restart [PE2-isis-1] cost-style wide-compatible [PE2-isis-1] timer spf 1 1 50 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 79 [P1] mpls [P1-mpls] mpls te [P1-mpls] quit [P1] interface gigabitethernet 2/0/1 [P1-GigabitEthernet2/0/1] mpls [P1-GigabitEthernet2/0/1] mpls te [P1-GigabitEthernet2/0/1] quit [P1] interface gigabitethernet 3/0/2 [P1-GigabitEthernet3/0/2] mpls [P1-GigabitEthernet3/0/2] mpls te Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 80 [PE1-explicit-path-path2] next hop 105.1.1.2 [PE1-explicit-path-path2] next hop 5.5.5.5 #Configure PE2 [PE2] explicit-path path [PE2-explicit-path-path] next hop 104.1.1.1 [PE2-explicit-path-path] next hop 101.1.1.1 [PE2-explicit-path-path] next hop 1.1.1.1 #Configure PE3 [PE3] explicit-path path Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 81 [PE3] tunnel-policy ct [PE3-tunnel-policy-ct] tunnel select-seq cr-lsp load-balance-number 1 [PE3-tunnel-policy-ct] quit Step 3 Configure E-APS Configure APS on PE2, PE3, and CE2. # Configure PE2. [PE2] interface atm 1/0/1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 82 Step 4 Configure PWs. # Configure PE1. [PE1] mpls l2vpn [PE1-l2vpn] quit [PE1] pw-template pwt [PE1-pw-template-pwt] control-word [PE1-pw-template-pwt] quit [PE1] interface atm 1/0/0 [PE1-Atm1/0/0] undo shutdown [PE1-Atm1/0/0] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 83 [PE2] bfd bfd bind pw interface atm 1/0/1 remote-peer 1.1.1.1 pw-ttl auto-calculate [PE2-bfd-session-bfd] discriminator local 111 [PE2-bfd-session-bfd] discriminator remote 222 [PE2-bfd-session-bfd] quit # Configure PE3. [PE3] bfd [PE3-bfd] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 84: Configuration File

    1 1 50 traffic-eng level-1-2 quit interface gigabitEthernet 2/0/1 isis enable 1 mpls mpls te quit interface gigabitEthernet 2/0/2 isis enable 1 mpls mpls te quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 85 1/100 mpls l2vc 4.4.4.4 pw-template pwt 1 tunnel-policy ct1 mpls l2vc 5.5.5.5 pw-template pwt 2 tunnel-policy ct2 secondary mpls l2vpn redundancy independent mpls l2vpn stream-dual- receiving quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 86 1 mpls mpls te quit interface gigabitEthernet 3/0/2 isis enable 1 mpls mpls te quit interface loopBack 0 ip address 3.3.3.3 32 quit mpls lsr-id 3.3.3.3 mpls Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 87 5.5.5.5 4.4.4.4 aps timers 1 180 atm-trunk 1 quit interface atm-trunk 1 quit mpls l2vpn quit pw-template pwt control-word quit interface atm-trunk 1.1 p2p pvc 1/100 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 88 1/0/2 undo shutdown aps group 1 aps aps protect 4.4.4.4 5.5.5.5 aps mode one2one bidirection aps revert 5 aps timers 1 180 atm-trunk 1 quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 89 1.1.1.1 pw-template pwt 1 tunnel-policy ct mpls l2vc 4.4.4.4 3 bypass quit quit bfd bfd bind pw interface atm 1/0/2 remote-peer 1.1.1.1 pw-ttl auto-calculate discriminator local 333 discriminator remote 444 quit return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 90: Vrrp Configuration

    4.8 Configuring VRRP Security On a network at security risks, by configuring an authentication mode of VRRP packets, you can protect devices against attacks. 4.9 Configuring VRRP Smooth Switching Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 91 The following sections provide several examples for configuring VRRP to improve reliability. Familiarize yourself with the configuration procedures against the networking diagram. Each configuration example consists of the networking requirements, configuration roadmap, configuration procedures, and configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 92: Vrrp Introduction

    In VRRP, it is the basic mode for the backup of IP addresses. In the master/backup mode, a VRRP backup group consists of a master router and multiple backup routers. Different routers Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 93 When the BFD session is configured on a backup router, the BFD session should be on the same interface with the VRRP backup group. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 94 VRRP packets to be sent and received. The router considers all the received packets as real and valid VRRP packets. In this case, no authentication key is required. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 95 NOTE For the detailed configuration of the mVRRP, refer to Chapter 9 "VPLS Convergence Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN. VRRP6 VRRP for IPv6, also called VRRP6, is a fault-tolerant protocol functioning as an extension to the VRRP protocol.
  • Page 96: Configuring The Vrrp Backup Group

    In the load balancing mode, multiple backup groups are created to share the traffic of a network. One router can join different backup groups. The load balancing mode is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 97: Creating A Backup Group And Configuring A Virtual Ip Address

    Perform the following step as required to configure VRRP for IPv4 or VRRP for IPv6. Procedure For VRRP for IPv4(VRRP), run the following commands: Run: system-view The system view is displayed. Run: interface interface-type interface-number Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 98 For VRRP for IPv6(VRRP6), run the following commands: Run: system-view The system view is displayed. Run: interface interface-type interface-number The interface view is displayed. Run: vrrp6 vrid virtual-router-id virtual-ip virtual-ipv6-address [ link- local ] Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 99: Configuring Priorities For Interfaces Where A Backup Group Is Created

    Configuring priorities for interfaces on which a VRRP backup group is created allows the VRRP status on an interface to become Master. The master device forwards network traffic. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 100 By default, the priority is 100. Priority 0 is reserved for special use, and priority 255 is reserved for the IP address owner whose priority cannot be configured. The value of a priority ranges from 1 to 254. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 101: Checking The Configuration

    : YES Delay Time TimerRun TimerConfig Auth Type : NONE Virtual Mac : 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Config track link-bfd down-number : 0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 102: Configuring Vrrp To Track The Status Of An Interface

    VRRP tracking interface status provides the backup function when the interface where the VRRP backup group resides is faulty or when another interface on the router is faulty. The method of tracking the status of the interface are as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 103: Configuring Vrrp To Track The Status Of An Interface

    The interface view is displayed. Run: vrrp vrid virtual-router-id track interface interface-type interface- number [ increased value-increased | reduced value-reduced ] A interface to be tracked is specified. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 104 254 because 255 is reserved for only the IP address owner. – reduced value-reduced specifies the value by which the priority decreases when the tracked interface goes Down. The value ranges from 1 to 255. The lowest Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 105: Checking The Configuration

    : UP Create time : 2010-06-22 17:32:56 Last change time : 2010-06-22 17:33:00 display vrrp6 GigabitEthernet1/0/0 | Virtual Router 1 State : Master Virtual IP : FE80::1:2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 106: Configuring A Fast Vrrp Switchover (In Common Mode)

    If either a peer BFD session or a link BFD session tracked by a VRRP backup group changes in status, the status of the VRRP backup group is changed directly without changes in priorities. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 107: Tracking The Bfd Session Status

    HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability. l For detailed information about configuring a VRRP backup group to track a peer BFD session, a link BFD session, or an EFM session, see the chapter "VPLS Convergence Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN.
  • Page 108 When one of the following link BFD sessions is set up, you must run the process- command to allow the BFD session to modify the status in an interface status Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 109 Otherwise, the link BFD session status tracked by mVRRP is not the same as the actual session status. – BFD for static LSP – BFD for LDP LSP – BFD for CR-LSP – BFD for TE ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 110: Tracking The Bfd Session Status

    After configuring the value by which the priority level increases or decreases, ensure that a backup device in a backup group has a higher priority level than a Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 111 BFD session goes Down. The value is an integer ranging from 1 to Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 112: Tracking The Status Of The Spu Group

    The interface view is displayed. Step 3 Run: vrrp vrid virtual-router-id track spu-group spu-group-number reduced value-reduced The status of the SPU group is tracked by VRRP. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 113: Checking The Configuration

    Track EFM : GigabitEthernet2/0/0 EFM state : up Track BFD type : peer BFD-session state : up Create time : 2010-06-23 17:32:56 Last change time : 2010-06-23 17:33:00 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 114: Configuring Vrrp Fast Switchover (Using Bfd Sampling)

    The VRRP backup group implements master/backup switchover by tracking the BFD session status. However, this method does not work in some special network environments or when the device does not support the BFD function. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 115 Inner VLAN: 210 Outer VLAN: 10 Link BFD Peer MPLS/IP Core IP:10.102.1.1/24 GW:10.102.1.200 Inner VLAN: 310 NPE2 Outer VLAN: 10 IP:10.103.1.1/24 GW:10.103.1.200 Inner VLAN: 410 Outer VLAN: 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 116: Binding The Service Vrrp Backup Group To The Mvrrp Backup Group

    After the binding, the state machine of the service VRRP backup group becomes dependent. That is, the service VRRP backup group deletes the protocol timer and stops sending or receiving Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 117: Configuring An Mvrrp Backup Group To Track The Bfd Session Status

    BFD session goes Down. The value ranges from 1 to 255. The maximum value of the priority is 254. The value takes effect only when the status of the VRRP backup group is Backup. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 118: Setting The Threshold For Vrrp Fast Switchover

    BFD sessions that go Down. Context Do as follows on the device that need perform VRRP fast switchover: Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 119: Enabling The Association Between The Mvrrp Backup Group Status And The Route

    VRRP backup group be configured on an interface to avoid the chaotic route status. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 120: Checking The Configuration

    : link1 type: link BFD-session state : UP Track BFD : peer1 type: peer BFD-session state : UP Track BFD : link2 type: link BFD-session state : UP Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 121: Configuring Ignorance Of The Down Of An Interface Where The Mvrrp Backup Group Is Configured

    Therefore, the cross-board Eth-Trunk link is recommended between NPE1 and NPE2 to ensure the reliability of the status of the mVRRP backup group and peer BFD session. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 122 To configure ignorance of the down of an interface where the mVRRP backup group is configured, you need the following data. Data VRRP Virtual Router IDs (VRIDs) and virtual IP addresses Priorities of VRRP backup groups Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 123: Configuring The Mvrrp Backup Group

    Otherwise, the state machine of the VRRP backup group is inconsistent with that defined in the RFC. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 124: Binding The Service Vrrp Backup Group To The Mvrrp Backup Group

    By tracking the status of a BFD session, a VRRP backup group can perform the fast VRRP switchover when the BFD session status changes. Context Do as follows on a router that needs the fast VRRP switchover: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 125 BFD sessions or interfaces go Down. Or, run: vrrp vrid virtual-router-id track bfd-session { bfd-session-id | session-name bfd-configure-name } [ peer | link ] Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 126: Setting The Threshold For Vrrp Fast Switchover

    Status and the Route By configuring the association between the VRRP status and the route, you can address the problem that uplink traffic is inconsistent with downlink traffic. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 127: Checking The Configuration

    All configurations of VRRP fast switchover using BFD sampling are complete. Procedure Run the display vrrp [ interface interface-type interface-number [ virtual-router-id ] ] command to view the status of the VRRP backup group. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 128: Configuring Vrrp Applications In Vlanif

    Pre-configuration Tasks Before configuring VRRP on the VLANIF interface, complete the followings tasks: Configuring physical parameters for interfaces Configuring link layer attributes for interfaces Configuring sub-VLAN Configuring super-VLAN Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 129: Configuring Vrrp On Vlanif

    4.7.3 (Optional) Configuring the Sending Mode of VRRP Packets in Super-VLAN You can configure the sending mode of VRRP advertisement packets for a super VLAN on VLANIF interfaces as required. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 130: Checking The Configuration

    Example After the configuration, run the display vrrp interface vlanif command, and you can view the VRRP status on the VLANIF interface. display vrrp interface vlanif 40 Vlanif40 | Virtual Router 1 State : Master Virtual IP : 100.1.1.111 Master IP : 100.1.1.1...
  • Page 131: Configuring Vrrp Security

    Configuring network layer attributes for interfaces to connect the network Configuring the VRRP backup group Data Preparation To configure the VRRP security function, you need the following data. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 132: Configuring The Authentication Mode Of Vrrp Packets

    ^#^# are the prefix and suffix of a new password, and characters $@$@ are the prefix and suffix of an old password. Neither of them can be both configured at the beginning and end of a plain text password. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 133: Checking The Configuration

    Before configuring VRRP smooth switching, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 134: Configuring Vrrp Smooth Switching

    By default, this function is enabled. Step 2 Run: vrrp smooth-switching timer timer-value VRRP smooth switching is enabled, and the interval carried in the VRRP packet during VRRP smooth switching is configured. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 135: Checking The Configuration

    Delay Time : 0 TimerRun TimerConfig Auth Type : NONE Virtual Mac 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Config track link-bfd down-number : 0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 136: Adjusting And Optimizing Vrrp

    IP address to check the network connectivity. By prohibiting the system from checking number of hops in VRRP packets, you can improve the compatibility of Huawei routers with different vendors' routers. Pre-configuration Tasks Before adjusting and optimizing VRRP, complete the following tasks:...
  • Page 137: Configuring The Interval For Sending Vrrp Advertising Messages

    VRRP switchover. In this case, you can increase the interval. For VRRP6, run the following commands: Run: system-view The system view is displayed. Run: interface interface-type interface-number Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 138: Configuring The Preemption Delay Time Of Backup Group Router S

    The preemption delay refers to a delay period for the backup router to be switched to be the master router. The preemption Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 139 IPv6 address owner. You can run the undo vrrp6 vrid preempt-mode command to restore the default preemption mode. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 140: Enabling The Reachability Test Of The Virtual Ip Address

    Context Defined in RFC 3768, the system detects number of hops in received VRRP packets. The packets whose number of hops is not 255 are discarded. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 141: Configuring The Timeout Time Of Sending Gratuitous Arp Packets By The Master Router

    Configuration Guide - Reliability 4 VRRP Configuration In certain networking environments where Huawei devices and non-Huawei devices work together, checking the number of hops in VRRP packets may result in discarding VRRP packets incorrectly. You can disable the system from checking the number of hops in VRRP packets.
  • Page 142: Checking The Configuration

    : 10.1.1.1 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun : 20 TimerConfig : 20 Auth Type : NONE Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 143: Configuring Mvrrp Backup Groups

    This can help you complete the configuration task quickly and accurately. Application Environment Figure 4-4 mVRRP determines the dual-homing of the master and slave routeres NPE1 mVRRP NPE2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 144 Virtual IP address of the mVRRP and virtual IP addresses of VRRP backup group members Priority of the mVRRP Number of the member interface PW peer IP address Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 145: Configuring Mvrrp Backup Group

    A VRRP6 backup group is created, and a virtual IPv6 address is assigned to the VRRP backup group. Run: vrrp6 vrid virtual-router-id priority priority-value The priority of the VRRP6 backup group is configured. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 146: Optional) Configuring Member Vrrp Backup Groups And Binding Them To The Mvrrp Backup Group

    The backup member can be bound to only one mVRRP. NOTE Only a single member VRRP backup group can be configured on a single interface. For VRRP for IPv6: Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 147: Optional) Binding Member Interface And Management Backup Group

    The system view is displayed. Step 2 Run: interface interface-type interface-number[.subinterface-number ] The member interface view is displayed. Step 3 Run: track admin-vrrp interface interface-type interface-number vrid virtual-router-id Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 148: Optional) Binding The Pw To The Mvrrp Backup Group Through Vpls

    The PW is bound to the VRRP backup group. Before the PW is bound to the mVRRP backup group, the peer must exist. For the configuration of the PW, refer to Chapter "VPLS Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN.
  • Page 149: Configuring Vrrp Version Upgrade

    Member-interface number: 1 Interface: GigabitEthernet2/0/0.2, state: Up 4.12 Configuring VRRP Version Upgrade After being upgraded from version 2 to version 3, VRRP can support both IPv6 and IPv4 networks. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 150: Establishing The Configuration Task

    The VRRP version of the current device is set to VRRPv3. Step 3 (Optional) Run: vrrp version-3 send-packet-mode { v2-only | v3-only | v2v3-both } The mode for sending Advertisement packets in VRRPv3 is set. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 151: Checking The Configuration

    [ interface interface-type interface-number [ vrid virtual-router- id ] ] [ brief ] command in any view to check the status and configurations of the VRRP6 backup group. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 152: Configuration Examples

    Virtual IP Address: 10.1.1.111 RouterA Master POS1/0/0 192.168.1.1/24 GE2/0/0 10.1.1.1/24 POS1/0/0 192.168.1.2/24 Eth3/0/0 RouterC 20.1.1.1/24 HostA POS2/0/0 HostB 10.1.1.100/24 192.168.2.2/24 20.1.1.100/24 POS1/0/0 GE2/0/0 192.168.2.1/24 10.1.1.2/24 Ethernet RouterB Backup Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 153 Running the display vrrp command on Router A, you can view that the status of Router A is Master. Running the display vrrp command on Router B, you can view that the Router B is Backup. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 154 Direct 127.0.0.1 InLoopBack0 10.1.1.111/32 OSPF 10.1.1.1 InLoopBack0 20.1.1.0/24 OSPF 192.168.2.2 Pos1/0/0 127.0.0.0/8 Direct 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 127.0.0.1 InLoopBack0 192.168.1.0/24 OSPF 10.1.1.1 GigabitEthernet2/0/0 192.168.2.0/24 Direct 192.168.2.1 Pos1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 155 192.168.1.0 0.0.0.255 network 10.1.1.0 0.0.0.255 return Configuration file of Router B sysname RouterB interface GigabitEthernet2/0/0 undo shutdown ip address 10.1.1.2 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.111 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 156: Example For Configuring Vrrp In Load Balancing Mode

    Host A in the internal network takes backup group 1 as its gateway and Host C takes backup group 2 as its gateway to share the traffic and backup each other. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 157 # On Router A, configure the IP address of the interface, create backup backup group 1 and configure the priority of Router A in this backup group as 120 (as the master router). Create Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 158 : YES Delay Time : 0 TimerRun TimerConfig Auth Type : NONE Virtual Mac 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp GigabitEthernet2/0/0 | Virtual Router 2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 159 Pos1/0/0 link-protocol ppp undo shutdown ip address 192.168.2.1 255.255.255.0 ospf 1 area 0.0.0.0 network 192.168.2.0 0.0.0.255 network 10.1.1.0 0.0.0.255 return Configuration file of Router C sysname RouterC Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 160: Example For Configuring The Multi-Instance Vrrp

    CE-B uses the virtual IP address of VRRP backup group 2 as its default gateway. VPN instance that l CE-A and CE-D belong to the VPN-BLUE instances. CE belongs to l CE-B and CE-C belong to the VPN-RED instances. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 161 GE1/0/0 Loopback1 PE-B CE-D CE-B HostD VPN RED VPN BLUE HostB router Interface IP Address VPN-Instance POS 1/0/0 192.168.1.2/24 POS 2/0/0 192.168.2.2/24 POS 3/0/0 192.168.3.2/24 Loopback1 4.4.4.4/32 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 162 Step 5 Configure default routes on CE-A and CE-B (omitted). For the configurations from Step 1 to Step 5, refer to Chapter "BGP MPLS IP VPN Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN. You can also refer to the following configuration files.
  • Page 163 Reply from 10.1.1.111: bytes=56 Sequence=4 ttl=255 time=1 ms Reply from 10.1.1.111: bytes=56 Sequence=5 ttl=255 time=1 ms --- 10.1.1.111 ping statistics --- 5 packet(s) transmitted 5 packet(s) received Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 164 3.3.3.3 connect-interface LoopBack1 ipv4-family unicast undo synchronization peer 3.3.3.3 enable ipv4-family vpnv4 policy vpn-target peer 3.3.3.3 enable ipv4-family vpn-instance VPN-BLUE import-route direct import-route static ipv4-family vpn-instance VPN-RED Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 165 100 peer 3.3.3.3 as-number 100 peer 3.3.3.3 connect-interface LoopBack1 ipv4-family unicast undo synchronization peer 3.3.3.3 enable ipv4-family vpnv4 policy vpn-target peer 3.3.3.3 enable ipv4-family vpn-instance VPN-BLUE Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 166: Example For Configuring Vrrp Fast Switchover

    Figure 4-8 Networking diagram of configuring VRRP fast switchover Backbone Network POS1/0/0 POS1/0/0 192.168.0.2/24 192.168.0.1/24 RouterA RouterB GE2/0/0 GE2/0/0 10.1.1.1/24 10.1.1.2/24 Backup group 10 Virtual IP address: 10.1.1.3/24 SwitchA SwitchB VLAN Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 167 [RouterB] bfd btoa bind peer-ip 10.1.1.1 interface gigabitethernet 2/0/0 [RouterB-bfd-session-btoa] discriminator local 2 [RouterB-bfd-session-btoa] discriminator remote 1 [RouterB-bfd-session-btoa] min-rx-interval 50 [RouterB-bfd-session-btoa] min-tx-interval 50 [RouterB-bfd-session-btoa] commit [RouterB-bfd-session-btoa] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 168 : 10.1.1.2 PriorityRun : 140 PriorityConfig : 140 MasterPriority : 160 Preempt : YES Delay Time : 0 TimerRun TimerConfig Auth Type : NONE Virtual Mac 0000-5e00-0110 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 169 : YES Config type : normal-vrrp Track BFD Priority increased : 40 BFD-Session State : DOWN Create time : 2010-06-22 17:33:00 Last change time : 2010-06-22 17:33:06 ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 170: Example For Configuring Vrrp Fast Switchover (Using One-Arm Echo Function)

    Router A, detecting the direct link between Router A and Router C; another BFD session with the one-arm Echo function needs to be configured on Router B, detecting the direct link between Router B and Router C. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 171 Step 2 Assign IP addresses to interfaces connecting Router A and Router B. # Assign an IP address to the interface on Router A. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 172 # Configure Router B. [RouterB] bfd [RouterB-bfd] quit [RouterB] bfd btoc bind peer-ip 10.1.1.3 interface gigabitEthernet1/0/0 one-arm- echo [RouterB-bfd-session-atoc] discriminator local 2 [RouterB-bfd-session-atoc] min-echo-rx-interval 100 [RouterB-bfd-session-atoc] commit [RouterB-bfd-session-atoc] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 173 : Asynchronous Mode Without Echo Function BFD Bind Type : Interface(GigabitEthernet1/0/0) Bind Session Type : Static Bind Peer IP Address : 10.1.1.2 NextHop Ip Address : 10.1.1.2 Bind Interface : GigabitEthernet1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 174 GigabitEthernet1/0/0 | Virtual Router 1 State : Backup Virtual IP : 10.1.1.100 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 160 Preempt : YES Delay Time : 0 TimerRun TimerConfig Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 175 : Master Virtual IP : 10.1.1.100 PriorityRun : 170 PriorityConfig : 120 MasterPriority : 170 Preempt : YES Delay Time : 0 TimerRun TimerConfig Auth Type : NONE Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 176 1 priority 140 admin-vrrp vrid 1 vrrp vrid 1 track bfd-session 2 link vrrp vrid 1 track bfd-session 4 peer vrrp trigger route interface gigabitethernet 1/0/1 undo shutdown Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 177: Example For Configuring Vrrp Fast Switchover (Using Bfd Sampling)

    NPE1 and PE1 or between NPE2 and PE2. PE1 or PE2 does not support the BFD function. In this case, you can use BFD sampling to implement VRRP fast switchover. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 178 1/0/1. The mVRRP backup group is responsible for tracking the status of the four BFD sessions concurrently. When two or more link BFD sessions go Down, the mVRRP backup group performs master/backup fast switchover. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 179 102 v irtual-ip 10.102.1.200 interface GigabitEthernet1/0/1.103 ip address 10.103.1.253 255.255.255.0 v rrp v rid 103 v irtual-ip 10.103.1.200 Configuration Roadmap The configuration roadmap is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 180 BFD function of the CE as shown in Figure 4-10 and the VPLS convergence network, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability and Configuration Guide - VPN. # Configure NPE1. system-view [HUAWEI] sysname NPE1...
  • Page 181 0.00% packet loss round-trip min/avg/max = 90/142/180 ms The interfaces of NPE1 and NPE2 where the service VRRP backup group is configured can ping through each other. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 182 [NPE1-GigabitEthernet1/0/1.101] qinq vrrp pe-vid 10 ce-vid 201 [NPE1-GigabitEthernet1/0/1.101] vrrp vrid 101 virtual-ip 10.101.1.200 [NPE1-GigabitEthernet1/0/1.101] quit [NPE1] interface gigabitethernet1/0/1.102 [NPE1-GigabitEthernet1/0/1.102] qinq vrrp pe-vid 10 ce-vid 301 [NPE1-GigabitEthernet1/0/1.102] vrrp vrid 102 virtual-ip 10.102.1.200 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 183 Step 3 Bind the service VRRP backup group to the mVRRP backup group on NPE1 and NPE2. # Configure NPE1. [NPE1] interface gigabitethernet1/0/1.100 [NPE1-GigabitEthernet1/0/1.100] vrrp vrid 100 track admin-vrrp interface Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 184 VRID State Interface Type Virtual IP -------------------------------------------------------- Backup GE1/0/1.1 Admin 10.1.1.1 Backup GE1/0/1.100 Member 10.100.1.200 Backup GE1/0/1.101 Member 10.101.1.200 Backup GE1/0/1.102 Member 10.102.1.200 Backup GE1/0/1.103 Member 10.103.1.200 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 185 Commit is True. # Take NPE1 as an example. [NPE1] display bfd configuration all -------------------------------------------------------------------------------- CFG Name CFG Type LocalDiscr MIndex SessNum Commit AdminDown -------------------------------------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 186 Down state tracked by the mVRRP backup group is 2, the mVRRP backup group is bound to one peer BFD session and four link BFD sessions, and the status of all BFD sessions is Up. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 187 For the VRRP backup group with the VRID not being 10, State is Master and Type is Member. [NPE1] display vrrp brief VRID State Interface Type Virtual IP -------------------------------------------------------- Master GE1/0/1.1 Admin 10.1.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 188 GE1/0/1.102 Member 10.102.1.200 Master GE1/0/1.103 Member 10.103.1.200 On NPE2: l For the VRRP backup group with the VRID being 10, State is Backup and Type is Admin. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 189 For the VRRP backup group with the VRID not being 10, State is Master and Type is Member. [NPE2] display vrrp brief VRID State Interface Type Virtual IP -------------------------------------------------------- Master GE1/0/1.1 Admin 10.1.1.1 Master GE1/0/1.100 Member 10.100.1.200 Master GE1/0/1.101 Member 10.101.1.200 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 190 Backup GE1/0/1.101 Member 10.101.1.200 Backup GE1/0/1.102 Member 10.102.1.200 Backup GE1/0/1.103 Member 10.103.1.200 ----End Configuration Files Configuration file of NPE1 sysname NPE1 interface GigabitEthernet1/0/1 undo shutdown mode user-termination Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 191 10.100.1.1 interface GigabitEthernet1/0/1.100 source-ip 10.100.1.254 auto commit bfd link2 bind peer-ip 10.101.1.1 interface GigabitEthernet1/0/1.101 source-ip 10.101.1.254 auto commit bfd link3 bind peer-ip 10.102.1.1 interface GigabitEthernet1/0/1.102 source-ip 10.102.1.254 auto commit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 192 102 track admin-vrrp interface GigabitEthernet1/0/1.1 vrid 10 unflowdown arp broadcast enable interface GigabitEthernet1/0/1.103 control-vid 103 qinq-termination qinq termination pe-vid 10 ce-vid 401 to 500 qinq vrrp pe-vid 10 ce-vid 401 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 193 GigabitEthernet1/0/3 undo shutdown ip address 200.1.35.3 255.255.255.0 mpls mpls ldp interface LoopBack1 ip address 3.3.3.3 255.255.255.255 ospf 1 area 0.0.0.0 network 3.3.3.3 0.0.0.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 194 Configuration file of PE3 sysname PE3 mpls lsr-id 5.5.5.5 mpls mpls l2vpn vsi ldp1 static pwsignal ldp vsi-id 100 peer 3.3.3.3 peer 4.4.4.4 mpls ldp interface GigabitEthernet1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 195 10.103.1.1 255.255.255.0 arp broadcast enable bfd link11 bind peer-ip 10.100.1.254 interface GigabitEthernet1/0/1.100 source- p 10.100.1.1 auto commit bfd link12 bind peer-ip 10.101.1.254 interface GigabitEthernet1/0/1.101 source- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 196: Example For Configuring Ignorance Of The Down Of An Interface Where The Mvrrp Backup Group Is Configured

    PE1 and PE2. According to the VPLS split horizon rule, the mVRRP backup group or the peer BFD session cannot be established between NPE1 and NPE2. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 197 1/0/1. The mVRRP backup group is responsible for tracking the status of the four BFD sessions concurrently. When two or more link BFD sessions go Down, the mVRRP backup group performs master/backup fast switchover. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 198 GigabitEthernet1/0/1.102 ip address 10.102.1.253 255.255.255.0 v rrp v rid 102 v irtual-ip 10.102.1.200 interface GigabitEthernet1/0/1.103 ip address 10.103.1.253 255.255.255.0 v rrp v rid 103 v irtual-ip 10.103.1.200 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 199 BFD function of the CE as shown in Figure 4-10 and the VPLS convergence network, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability and Configuration Guide - VPN. # Configure NPE1. system-view [HUAWEI] sysname NPE1...
  • Page 200 [NPE2-GigabitEthernet1/0/1.101] arp broadcast enable [NPE2-GigabitEthernet1/0/1.101] quit [NPE2] interface gigabitethernet1/0/1.102 [NPE2-GigabitEthernet1/0/1.102] control-vid 102 qinq-termination [NPE2-GigabitEthernet1/0/1.102] qinq termination pe-vid 10 ce-vid 301 to 400 [NPE2-GigabitEthernet1/0/1.102] ip address 10.102.1.253 24 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 201 Reply from 10.100.1.1: bytes=56 Sequence=4 ttl=255 time=150 ms Reply from 10.100.1.1: bytes=56 Sequence=5 ttl=255 time=120 ms --- 10.100.1.1 ping statistics --- 5 packet(s) transmitted 5 packet(s) received 0.00% packet loss Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 202 VRRP backup group on the sub-interfaces of GE 1/0/1. [NPE2] interface eth-trunk 1.1 [NPE2-Eth-Trunk1.1] qinq vrrp pe-vid 10 ce-vid 100 [NPE2-Eth-Trunk1.1] vrrp vrid 10 virtual-ip 10.1.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 203 [NPE1-GigabitEthernet1/0/1.100] vrrp vrid 100 track admin-vrrp interface eth- trunk1.1 vrid 10 unflowdown [NPE1-GigabitEthernet1/0/1.100] quit [NPE1] interface gigabitethernet1/0/1.101 [NPE1-GigabitEthernet1/0/1.101] vrrp vrid 101 track admin-vrrp interface eth- trunk1.1 vrid 10 unflowdown [NPE1-GigabitEthernet1/0/1.101] quit [NPE1] interface gigabitethernet1/0/1.102 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 204 After the binding is finished, the service VRRP backup group no longer sends VRRP packets. The status of the service VRRP backup group is the same as the status of the bound mVRRP backup group. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 205 Commit AdminDown -------------------------------------------------------------------------------- peer1 S_AUTO_IF 8192 4096 True False link1 S_AUTO_IF 8193 4097 True False link2 S_AUTO_IF 8194 4098 True False link3 S_AUTO_IF 8195 4099 True False Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 206 : 10.1.1.1 PriorityRun : 120 PriorityConfig : 120 MasterPriority : 120 Preempt : YES Delay Time : 0 TimerRun TimerConfig Auth Type : NONE Virtual Mac 0000-5e00-010a Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 207 For the VRRP backup group with the VRID being 10, State is Backup and Type is Admin. l For the VRRP backup group with the VRID not being 10, State is Backup and Type is Member. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 208 VRID State Interface Type Virtual IP -------------------------------------------------------- Backup Eth-Trunk1.1 Admin 10.1.1.1 Backup GE1/0/1.100 Member 10.100.1.200 Backup GE1/0/1.101 Member 10.101.1.200 Backup GE1/0/1.102 Member 10.102.1.200 Backup GE1/0/1.103 Member 10.103.1.200 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 209 NPE1 and CE1 and between NPE1 and CE2. [NPE1] interface gigabitethernet1/0/1.100 [NPE1-GigabitEthernet1/0/1.100] undo shutdown [NPE1-GigabitEthernet1/0/1.100] quit [NPE1] interface gigabitethernet1/0/1.101 [NPE1-GigabitEthernet1/0/1.101] undo shutdown [NPE1-GigabitEthernet1/0/1.101] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 210 10 ce-vid 1 to 100 qinq vrrp pe-vid 10 ce-vid 100 ip address 10.1.1.254 255.255.255.0 vrrp vrid 10 virtual-ip 10.1.1.1 admin-vrrp vrid 10 ignore-if-down vrrp vrid 10 priority 120 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 211 10.100.1.1 interface GigabitEthernet1/0/1.100 source-ip 10.100.1.254 auto commit bfd link2 bind peer-ip 10.101.1.1 interface GigabitEthernet1/0/1.101 source-ip 10.101.1.254 auto commit bfd link3 bind peer-ip 10.102.1.1 interface GigabitEthernet1/0/1.102 source-ip 10.102.1.254 auto commit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 212 102 track admin-vrrp interface Eth-Trunk1.1 vrid 10 unflowdown arp broadcast enable interface GigabitEthernet1/0/1.103 control-vid 103 qinq-termination qinq termination pe-vid 10 ce-vid 401 to 500 qinq vrrp pe-vid 10 ce-vid 401 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 213 GigabitEthernet1/0/1 undo shutdown interface GigabitEthernet1/0/1.1 vlan-type dot1q 10 l2 binding vsi ldp1 interface GigabitEthernet1/0/3 undo shutdown ip address 200.1.35.3 255.255.255.0 mpls mpls ldp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 214 200.1.45.0 0.0.0.255 return Configuration file of PE3 sysname PE3 mpls lsr-id 5.5.5.5 mpls mpls l2vpn vsi ldp1 static pwsignal ldp vsi-id 100 peer 3.3.3.3 peer 4.4.4.4 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 215 103 qinq-termination qinq termination pe-vid 10 ce-vid 410 ip address 10.103.1.1 255.255.255.0 arp broadcast enable bfd link11 bind peer-ip 10.100.1.254 interface GigabitEthernet1/0/1.100 source- p 10.100.1.1 auto commit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 216: Example For Configuring Vrrp On Vlanif Interfaces

    Router B connect all networks through LAN switches. Network 1, Network 2, and Network 3 respectively correspond to the virtual IP addresses 10.1.1.1, 10.1.2.1, and 100.10.1.1 of the three backup groups. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 217 Step 1 Configure IP addresses for the interfaces of Router A and Router B. # Take Router A as an example: Create VLAN 10 and VLAN 20. Add GE 1/0/1 to VLAN 10 and GE 1/0/2 to VLAN 20. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 218 [RouterA] stp instance 1 priority 0 # Activate the MST region configuration. [RouterA] interface Eth-Trunk1 [RouterA-Eth-Trunk1] stp enable [RouterA-Eth-Trunk1] quit [RouterA] interface GigabitEthernet1/0/1 [RouterA-GigabitEthernet1/0/1] stp enable [RouterA-GigabitEthernet1/0/1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 219 : Backup Virtual IP : 10.1.2.1 Master IP : 10.1.2.3 PriorityRun : 100 PriorityConfig : 100 MasterPriority : 130 Preempt : YES Delay Time : 0 TimerRun Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 220 Run the display vrrp command on Router B, and you can view that the status of Router B in back group 1 is Master. [RouterB] display vrrp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 221 3 priority 130 interface GigabitEthernet2/0/0 undo shutdown eth-trunk 1 interface GigabitEthernet2/0/1 undo shutdown eth-trunk 1 interface Vlanif10 ip address 10.1.1.3 255.255.255.0 vrrp vrid 1 virtual-ip 10.1.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 222 10.1.2.3 255.255.255.0 vrrp vrid 2 virtual-ip 10.1.2.1 vrrp vrid 1 priority 100 return interface eth-trunk1 undo shutdown port link-type trunk port trunk allow-pass vlan 10 20 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 223: Example For Configuring Vrrp On Sub-Interfaces For Qinq Vlan Tag Termination To Reduce The Number Of Gratuitous Arp Packets To Be Sent

    Router A. In this case, Router A needs to send one double-tagged gratuitous ARP packet carrying only inner VLAN 10 to lighten burden on Router A. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 224 To complete the configuration, you need the following data: VRID of a VRRP backup group, virtual IP address, priority of each router in the VRRP backup group Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 225 [RouterB-ospf-1-area-0.0.0.0] quit [RouterB-ospf-1] quit # Configure Router C. system-view [HUAWEI] sysname RouterC [RouterC] interface pos 1/0/0 [RouterC-Pos1/0/0] undo shutdown [RouterC-Pos1/0/0] ip address 192.168.2.2 24 [RouterC-Pos1/0/0] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 226 [RouterB-GigabitEthernet2/0/0.1] qinq termination pe-vid 100 ce-vid 10 to 20 [RouterB-GigabitEthernet2/0/0.1] qinq vrrp pe-vid 100 ce-vid 10 [RouterB-GigabitEthernet2/0/0.1] vrrp vrid 1 virtual-ip 10.1.1.100 [RouterB-GigabitEthernet2/0/0.1] vrrp arp send-mode simple Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 227 [SwitchC-GigabitEthernet1/0/0] port vlan-stacking vlan 10 stack-vlan 100 [SwitchC-GigabitEthernet1/0/0] quit [SwitchC] interface gigabitethernet 1/0/1 [SwitchC-GigabitEthernet1/0/1] undo shutdown [SwitchC-GigabitEthernet1/0/1] port vlan-stacking vlan 20 stack-vlan 100 [SwitchC-GigabitEthernet1/0/1] quit [SwitchC] interface gigabitethernet 1/0/2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 228 PriorityRun : 120 PriorityConfig : 120 MasterPriority Preempt : YES Delay Time : 0 Timer Auth Type : NONE Virtual Mac : 0000-5e00-0101 Check TTL : YES Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 229 GigabitEthernet2/0/0 undo shutdown mode user-termination interface GigabitEthernet2/0/0.1 undo shutdown control-vid 1 qinq-termination qinq termination pe-vid 100 ce-vid 10 to 20 qinq vrrp pe-vid 100 ce-vid 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 230 GigabitEthernet1/0/3 undo shutdown port trunk allow-pass vlan 100 return Configuration file of Switch A sysname SwitchA vlan batch 10 interface GigabitEthernet1/0/0 undo shutdown port default vlan 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 231: Example For Configuring Vrrp For Ipv6 On Sub-Interfaces For Qinq Vlan Tag Termination To Reduce The Number Of Nd Packets To Be Sent

    ND packets will be sent, thus exposing a heavy burden on Router A. In this case, Router A needs to send one double-tagged ND packet carrying only inner VLAN 10 to lighten burden on Router A. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 232 To complete the configuration, you need the following data: VRID of a VRRP for IPv6 backup group, virtual IPv6 address, priority of each router in the VRRP backup group Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 233 [RouterB] interface gigabitethernet 2/0/0.1 [RouterB-GigabitEthernet2/0/0.1] undo shutdown [RouterB-GigabitEthernet2/0/0.1] ipv6 enable [RouterB-GigabitEthernet2/0/0.1] 2000::4 64 [RouterB-GigabitEthernet2/0/0.1] ospfv3 1 area 0 [RouterB-GigabitEthernet2/0/0.1] quit # Configure Router C. system-view [HUAWEI] sysname RouterC Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 234 [RouterA-GigabitEthernet2/0/0.1] vrrp6 nd send-mode simple [RouterA-GigabitEthernet2/0/0.1] quit # Configure Router B. Ensure that Router B functions as the backup device. [RouterB] interface gigabitethernet 2/0/0.1 [RouterB-GigabitEthernet2/0/0.1] control-vid 1 qinq-termination Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 235 After the preceding configuration, run the display vrrp6 command on Router A and then Router B. You can view that Router A's VRRP status is Master and Router B's VRRP status is Backup in VRRP for IPv6 backup group 1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 236 2000::100 PriorityRun : 100 PriorityConfig : 100 MasterPriority : 100 Preempt : YES Delay Time : 0 TimerRun : 100 TimerConfig : 100 Virtual Mac : 0000-5e00-0201 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 237 1 qinq-termination qinq termination pe-vid 100 ce-vid 10 to 20 qinq vrrp pe-vid 100 ce-vid 10 vrrp6 vrid 1 virtual-ip FE80::1 link-local vrrp6 vrid 1 virtua-ip 2000::100 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 238 GigabitEthernet1/0/3 undo shutdown port trunk allow-pass vlan 100 return Configuration file of Switch A sysname SwitchA vlan batch 10 interface GigabitEthernet1/0/0 undo shutdown port default vlan 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 239: Example For Configuring A Vrrp6 Backup Group In Master/Backup Mode

    Normally, Router A functions as a gateway. When Router A fails, Router B becomes the gateway. After Router A recovers from the fault, it can preempt the master router within 20 seconds. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 240 # Assign an IPv6 address to GE 1/0/0 on Router A. Create VRRP6 backup group 1 on GE 1/0/0. Configure Router A with the priority being 120 to ensure that Router A is the master router. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 241 Uncheck hop limit : YES Accept Mode : ON Config type : normal-vrrp # Run the shutdown command on GE 1/0/0 of Router A to simulate a fault. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 242 : 0000-5e00-0201 Uncheck hop limit : YES Accept Mode : ON Config type : normal-vrrp ----End Configuration Files Configuration file of Router A sysname RouterA ipv6 ospfv3 1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 243 Ethernet3/0/0 undo shutdown ipv6 enable ipv6 address 2003::2/64 ospfv3 1 area 0.0.0.0 interface Pos1/0/0 link-protocol ppp undo shutdown ipv6 enable ipv6 address 2002::2 ospfv3 1 area 0.0.0.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 244: Example For Configuring Vrrp6 Backup Groups In Load Balancing Mode

    2000::3/64 Eth3/0/0 RouterC 2003::2 HostC POS2/0/0 2003::1/64 2001::2/64 POS1/0/0 HostB GE1/0/0 2001::1/64 2000::4/64 2000::2/64 RouterA group 1:Backup Etherent group 2:Master Backup group 2 Virtual IP Address 2000::60 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 245 120 to ensure that Router B is the master router in backup group 2. system-view [HUAWEI] sysname RouterB [RouterB] ipv6 [RouterB] interface gigabitethernet 1/0/0 [RouterB-GigabitEthernet1/0/0] undo shutdown [RouterB-GigabitEthernet1/0/0] ipv6 enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 246 Accept Mode : ON Config type : normal-vrrp GigabitEthernet1/0/0 | Virtual Router 2 State : Master Virtual IP : FE80::2 2000::60 PriorityRun : 120 PriorityConfig : 120 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 247 2 virtual-ip 2000::60 vrrp6 vrid 2 priority 120 ospfv3 1 area 0.0.0.0 interface Pos1/0/0 link-protocol ppp undo shutdown ipv6 enable ipv6 address 2001::1/64 ospfv3 1 area 0.0.0.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 248 2002::2 ospfv3 1 area 0.0.0.0 interface Pos2/0/0 link-protocol ppp undo shutdown ipv6 enable ipv6 address 2001::2/64 ospfv3 1 area 0.0.0.0 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 249: Bfd Configuration

    BFD session is dynamically established. The static BFD session with automatically negotiated discriminators is applicable to static routes. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 250 By configuring a global destination port number for multi-hop BFD control packets, you can implement the interworking between the local device and a device running an earlier version, and between a Huawei device and a non-Huawei device. 5.13 Configuring the TTL Globally Configuring the TTL globally helps you connect the current device and a device running an early version.
  • Page 251: Introduction To Bfd

    The local and remote discriminators are set in various modes. Based on these modes, the following types of BFD sessions are supported by the NE80E/40E: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 252 IP routes. This section describes single-hop BFD. The NE80E/40E supports single-hop BFD for the following types of links: NOTE IP-Trunk cannot be configured on the X1 and X2 models of the NE80E/40E. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 253 When the number of trunk member links that are Up reaches a certain value, the trunk link keeps Up. For information about the IP-Trunk configuration, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - WAN Access; for information about the Eth-Trunk configuration, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - LAN Access and MAN Access.
  • Page 254 For example, an LPU where the trunk member interface resides is restarted. – When the BFD session is Up, the BFD status on the interface bound to the BFD session also goes Up. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 255 NOTE For the detailed configuration of BFD for static routes, refer to chapter "IP Static Route Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing. BFD for Routing Protocols BFD uses a local discriminator and a remote discriminator to identify multiple BFD sessions between one pair of systems.
  • Page 256 For the detailed configuration of BFD for IS-IS, refer to the chapter "IS-IS Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing. BFD for LSP BFD detects failures in an MPLS LSP forwarding path on the data plane. As the format of BFD packets is unchanged, the BFD packets are easily transmitted through hardware and traverse through firewalls.
  • Page 257 The NE80E/40E combines VCCV ping and BFD for checking PW connectivity dynamically, which leads to rapid traffic switchovers for protecting upper-layer services. NOTE For the configuration of BFD for PW, refer to the chapter "PWE3 Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN. BFD for PIM The NE80E/40E supports the dynamic creation of a BFD session between PIM neighbors, which is used to detect faults in links between the PIM neighbors.
  • Page 258 Configuration Guide - Reliability 5 BFD Configuration NOTE For the configuration of BFD for PIM, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - IP Multicast. CAUTION An outgoing interface is selected by LDP, TE, PIM, or a route in sequence before a BFD session of a preceding type is configured on an LPU mapped to the selected outgoing interface .
  • Page 259: Configuring Single-Hop Bfd

    If single-hop BFD detection is performed on Layer 2 interfaces or Layer 3 physical interfaces without IP addresses, a default multicast IP address is used. Do as follows on both ends of a link to be checked: Procedure Step 1 Run: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 260: Setting Up A Bfd Session

    – If BFD and Unicast Reverse Path Forwarding (URPF) are used together, as URPF checks the source IP address of received packets, configure source-ip to specify a Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 261: Checking The Configuration

    By viewing the status and type of a BFD session, you can check whether the configurations are successful. Prerequisite The configurations of a single-hop BFD session are complete. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 262 # After the configuration, run the display bfd session all verbose command, and you can view information about a BFD session. display bfd session all verbose --------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Up Name : aa...
  • Page 263: Configuring The Bfd Passive Echo Function

    BFD Echo packet, the destination address and the source address are the IP address of the outgoing interface of the local end. Therefore, in the ACL rule, both the source addresses of the remote end and the local end must be permitted. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 264: Configuring The Bfd Passive Echo Function

    By viewing the status, type, and Echo function status of a BFD session, you can check whether the configurations are successful. Prerequisite The configurations of the BFD passive echo function are complete. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 265: Configuring The Association Between The Bfd Status And The Interface Status

    [ vpn-instance vpn-instance-name ] } verbose [ slot slot-id ] command to check information about the BFD session. ----End Example # Display information about all the BFD sessions. display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Up Name : aa...
  • Page 266: Configuring The Association Between Bfd Status And Interface Status

    By being associated with the interface status, a BFD session can affect the interface protocol status after the BFD session status changes, which triggers fast route convergence. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 267: Checking The Configuration

    ----End 5.4.3 Checking the Configuration By viewing the association between a BFD session status and the interface status, you can check whether the configurations are successful. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 268: Configuring The Association Between The Bfd Status And The Sub-Interface Status

    By associating the BFD session status with the sub-interface status, you can trigger fast route convergence. This function is applicable to the single-hop BFD session that detects default multicast IP addresses. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 269: Establishing The Configuration Task

    BFD session status changes, which triggers fast route convergence. Context Do as follows on the NE80E/40E that needs to rapidly detect the link fault: Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 270: Checking The Configuration

    { all | static | dynamic | discriminator discr-value | peer-ip peer-ip [ vpn-instance vpn-instance-name ] } verbose [ slot slot-id ] command to check information about the BFD session. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 271: Configuring The Bfd To Modify The Pst

    ] } [ verbose ] [ slot slot-id ] command to check the BFD6 session. ----End Example Run the display bfd session all verbose command. display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Up Name : aa --------------------------------------------------------------------------------...
  • Page 272: Permitting The Bfd To Modify The Pst

    PST. NOTE l For the LDP FRR, refer to chapter "MPLS Basic Configuration"in the HUAWEI NetEngine80E/40E Router Configuration Guide - MPLS. l IP FRR works for the public network and for the private network. For information about the IP FRR for the public network, refer to Chapter 10 "Routing Policy Configuration"...
  • Page 273: Checking The Configuration

    After the configuration, running the display bfd session command, you can view that the field of "Process PST" in the command output is "Enable". display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Up...
  • Page 274: Configuring The Multi-Hop Bfd

    BFD session parameters: local discriminator and remote discriminator BFD mode: asynchronous mode or demand mode. If the demand mode is used, the period of command should be set. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 275: Enabling Bfd Globally

    IP address of the BFD packet in case the BFD packet is incorrectly discarded. l For an IPv6 link: Run the cfg-name bind peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] [ source-ipv6 ipv6-address ] command to configure a BFD6 session. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 276: Checking The Configuration

    ----End 5.7.4 Checking the Configuration By viewing the status and type of a BFD session, you can check whether the configurations are successful. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 277 ] } [ slot slot-id ] command to check statistics of the BFD6 session. ----End Example After the configuration, run the display bfd session all verbose command. display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (Multi Hop) State : Up Name : atoc --------------------------------------------------------------------------------...
  • Page 278: Configuring A Bfd Session With Automatically Negotiated Discriminators

    IP addresses of local and remote ends of a link checked by BFD, and name and number of the local interface 5.8.2 Enabling BFD Globally You can perform related BFD configurations only after enabling BFD globally. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 279: Configuring A Bfd Session With Automatically Negotiated Discriminators

    – The peer IP address must be specified, which cannot be a multicast IP address. Run: commit The configuration is committed. To configure BFD for IPv6, Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 280: Checking The Configuration

    You can view that a BFD session with the type being Static_Auto has been established. The local and remote discriminators of this BFD session are 8193 and 8192 respectively, which are obtained by automatic negotiation. display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 16385...
  • Page 281: Configuring The Delay Of A Bfd Session To Go Up

    The delay of a BFD session to go Up is configured to prevent traffic loss in special scenarios. Context Do as follows on the routers on which the setup of the BFD session needs to be delayed: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 282: Checking The Configuration

    Dynamic session E_Dynamic session STATIC_AUTO session LDP_LSP session STATIC_LSP session TE_TUNNEL session TE_LSP session PW session IP session -------------------------------------------------------------------------------- PAF/LCS Name Maxnum Minnum Create -------------------------------------------------------------------------------- BFD_CFG_NUM 8192 BFD_IF_NUM Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 283: Configuring A Bfd Session With The One-Arm Echo Function

    BFD-incapable device directly loops back the packet, thus achieving fast detection on the link. Pre-configuration Tasks Before configuring the BFD session with the one-arm Echo function, complete the following tasks: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 284: Enable Bfd Globally

    BFD-capable device and its BFD-incapable peer. Context Do as follows on a BFD-capable device at one end of a link: Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 285: Checking The Configuration

    { all | discriminator discr-value | dynamic | peer-ip peer- ip [ vpn-instance vpn-instance-name ] | static } [ verbose ] [ slot slot-id ] command to check information about a BFD session. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 286: Adjusting Bfd Parameters

    After a BFD session with the one-arm Echo function has been successfully configured, run the display bfd session all verbose command, and you can view detailed information about the session. display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Up...
  • Page 287: Modifying The Detection Time

    5.11.3 Configuring the BFD WTR The Wait to Recovery (WTR) time for a BFD session is used to prevent frequent master/slave switchovers triggered by BFD session flapping. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 288: Adding The Description Of A Bfd Session

    BFD sessions that are created by using automatically-negotiated discriminators. Do as follows on the router: Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 289: Checking The Configuration

    { all | static | peer-ipv6 peer-ipv6 [ vpn6-instance vpn6- instance-namevpn-instance vpn-instance-name ] } [ verbose ] [ slot slot-id ] command to check information about a BFD6 session. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 290: Globally Configuring The Destination Port Number For The Multi-Hop Bfd Control Packet

    By configuring a global destination port number for multi-hop BFD control packets, you can implement the interworking between the local device and a device running an earlier version, and between a Huawei device and a non-Huawei device. 5.12.1 Establishing the Configuration Task...
  • Page 291: Globally Configuring The Destination Port Number

    NE80E/40E can be configured with destination port 3784 for the multi-hop BFD control packet. To interwork with the non-Huawei device, the device running the NE80E/40E can be configured with destination port 4784 for the multi-hop BFD control packet.
  • Page 292: Checking The Configuration

    Run the display bfd statistics [ slot slot-id ] command to view information about statistics of global BFD. ----End Example display bfd session all verbose --------------------------------------------------------------------- Session MIndex : 16384 (Multi Hop) State : Up Name : test ---------------------------------------------------------------------...
  • Page 293: Configuring The Ttl Globally

    If devices running different versions interwork with each other, the TTL values and detection modes on both ends of a BFD session are different, resulting in BFD packet loss. The TTL is set globally to enable Huawei devices to interwork with Huawei devices running different NE80E/40E versions and non-Huawei devices.
  • Page 294: Checking The Configuration

    TTL. display bfd ttl -------------------------------------------------------------------------- Peer IP Mask Type Value --------------------------------------------------------------------------- 1.1.1.0 Single-hop --------------------------------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 295: Configuring The Interval At Which Trap Messages Are Sent

    Do as follows on the router that needs to be configured with the interval at which trap messages are sent: Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 296: Checking The Configuration

    This section describes how to maintain BFD by deleting BFD statistics, and monitoring BFD operation. 5.15.1 Clearing BFD Statistics Deleting previous BFD statistics is recommended before BFD statistics within a specified period of time are collected. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 297: Monitoring Bfd Status

    {all | static | peer-ipv6 peer-ipv6 [ vpn-instance vpn-instance-name ] } [ slot slot-id ] command in any view to check statistics about a BFD6 session. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 298: Configuration Examples

    Configure a BFD session on Router B to detect the directly-connected link between Router B and Router A. Data Preparation To complete the configuration, you need the following data: Peer IP address for a BFD session Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 299 Use the display on Router A as an example. display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Up Name : atob -------------------------------------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 300 Pos1/0/0 link-protocol ppp undo shutdown ip address 10.1.1.2 255.255.255.0 bfd btoa bind peer-ip 10.1.1.1 interface Pos1/0/0 discriminator local 2 discriminator remote 1 wtr 5 commit return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 301: Example For Configuring Single-Hop Bfd For An Ip-Trunk Member Link

    Step 1 Configure an IP-Trunk interface. # Configure an IP-Trunk interface on Router A and set the lower threshold of IP-Trunk member links in the Up state to 1. system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 302 0 errors,71 drops, Output:45 packets,1170 bytes, 0 errors,0 drops Input bandwidth utilization : 0.01% Output bandwidth utilization : 0.01% ----------------------------------------------------- PortName Status Weight ----------------------------------------------------- Pos2/0/0 Pos2/0/3 ----------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 303 : 10 Actual Tx Interval (ms): 10 Actual Rx Interval (ms): 10 Local Detect Multi Detect Interval (ms) : 30 Echo Passive : Disable Acl Number : -- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 304 Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Input: 69 packets,13465 bytes, 0 errors,71 drops, Output:45 packets,1170 bytes, 0 errors,0 drops Input bandwidth utilization : 0.01% Output bandwidth utilization : 0.01% Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 305 1 interface Pos2/0/0 link-protocol hdlc undo shutdown ip-trunk 1 bfd to_Link1 bind peer-ip default-ip interface pos 1/0/0 discriminator local 20 discriminator remote 10 wtr 5 commit return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 306: Example For Configuring Singe-Hop Bfd For An Ip-Trunk Link

    Step 1 Configure an IP-Trunk interface. # Create an IP-Trunk interface on Router A and set the lower threshold of IP-Trunk member links in the Up state to 1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 307 Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets,0 bytes, 0 errors,0 drops, Output:0 packets,0 bytes, 0 errors,0 drops Input bandwidth utilization : 0.01% Output bandwidth utilization : 0.01% Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 308 : Asynchronous Mode Without Echo Function BFD Bind Type : Interface(Ip-Trunk 1) Bind Session Type : Static Bind Peer Ip Address : 100.1.1.2 NextHop Ip Address : 100.1.1.2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 309 Internet Address is 100.1.1.1/24 Link layer protocol is nonstandard HDLC Physical is IP_TRUNK Last 300 seconds input rate 0 bits/sec, 0 packets/sec Last 300 seconds output rate 0 bits/sec, 0 packets/sec Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 310 Last 300 seconds output rate 0 bits/sec, 0 packets/sec Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 311 100.1.1.2 255.255.255.0 interface Pos1/0/0 link-protocol hdlc undo shutdown ip-trunk 1 interface Pos2/0/0 link-protocol hdlc undo shutdown ip-trunk 1 bfd btoa bind peer-ip 100.1.1.1 interface ip-trunk 1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 312: Example For Configuring Single-Hop Bfd For A Layer 3 Eth-Trunk Member Link

    Local and remote discriminators of a BFD session NOTE Default values of the minimum sending interval, minimum receiving interval, and local detection multiplier for BFD control packets are used. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 313 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Output:0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.01% Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 314 : 224.0.0.184 NextHop Ip Address : 224.0.0.184 Bind Interface : GigabitEthernet1/0/0 FSM Board Id TOS-EXP Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 315 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Output:0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.01% Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 316 1 interface GigabitEthernet2/0/0 undo shutdown eth-trunk 1 bfd to_link1 bind peer-ip default-ip interface GigabitEthernet 1/0/0 discriminator local 11 discriminator remote 10 wtr 5 commit return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 317: Example For Configuring Single-Hop Bfd For A Layer 3 Eth-Trunk Link

    Step 1 Configure an Eth-Trunk interface. # Create an Eth-Trunk interface on Router A and set the lower threshold of Eth-Trunk member links in the Up state to 1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 318 0 errors,0 drops Output:0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Input bandwidth utilization : 0.00% Output bandwidth utilization : 0.01% ----------------------------------------------------- PortName Status Weight ----------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 319 Min Tx Interval (ms) : 10 Min Rx Interval (ms) : 10 Actual Tx Interval (ms): 10 Actual Rx Interval (ms): 10 Local Detect Multi Detect Interval (ms) : 30 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 320 Realtime 0 seconds input rate 0 bits/sec, 0 packets/sec Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 321 Realtime 0 seconds output rate 0 bits/sec, 0 packets/sec Input: 0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Output:0 packets,0 bytes 0 unicast,0 broadcast,0 multicast 0 errors,0 drops Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 322 1 interface GigabitEthernet2/0/0 undo shutdown eth-trunk 1 bfd btoa bind peer-ip 100.1.1.1 interface Eth-Trunk 1 discriminator local 20 discriminator remote 10 wtr 5 commit return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 323: Example For Configuring Single-Hop Bfd For Vlanif Interfaces

    Step 1 Configure VLAN 10. # Configure VLAN 10 on Router A. system-view [HUAWEI] sysname RouterA [RouterA] interface gigabitethernet 1/0/0 [RouterA-GigabitEthernet1/0/0] undo shutdown [RouterA-GigabitEthernet1/0/0] portswitch [RouterA-GigabitEthernet1/0/0] quit [RouterA] vlan 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 324 # Enable BFD on Router A, configure a BFD session between Router A and Router B, and bind the VLANIF interface to the BFD session. [RouterA] bfd Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 325 Use the display on Router A as an example. [RouterA] display bfd session all verbose -------------------------------------------------------------------------------- Session MIndex : 256 (One Hop) State : Down Name : atob -------------------------------------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 326 20 commit return Configuration file of Router B sysname RouterB vlan batch 10 interface Vlanif10 undo shutdown ip address 110.1.1.2 255.255.255.0 interface GigabitEthernet1/0/0 undo shutdown portswitch Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 327: Example For Configuring The Association Between The Bfd Status And The Interface Status

    To complete the configuration, you need the following data: Peer IP address for a BFD session Local interface sending and receiving BFD control packets Local and remote discriminators of a BFD session Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 328 BFD Bind Type : Interface(GigabitEthernet1/0/0) Bind Session Type : Static Bind Peer Ip Address : 224.0.0.184 NextHop Ip Address : 224.0.0.184 Bind Interface : GigabitEthernet1/0/0 FSM Board Id TOS-EXP Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 329 Session TX TmrID : -- Session Detect TmrID : -- Session Init TmrID : -- Session WTR TmrID : -- PDT Index : FSM-5000000|RCV-0|IF-0|TOKEN-0 Session Description : -- -------------------------------------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 330 CRC: 3 packets, Symbol: 0 packets Overrun: 0 packets, InRangeLength: 0 packets LongPacket: 0 packets, Jabber: 0 packets, Alignment: 0 packets Fragment: 0 packets, Undersized Frame: 0 packets Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 331: Example For Configuring The Association Between The Bfd Status And The Sub-Interface Status

    BFD sessions are configured to check the connectivity of the main interface link and the BFD status is Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 332 [RouterA-GigabitEthernet1/0/0] undo shutdown [RouterA-GigabitEthernet1/0/0] ip address 10.1.1.1 24 [RouterA-GigabitEthernet1/0/0] quit [RouterA] interface gigabitethernet 1/0/0.1 [RouterA-GigabitEthernet1/0/0.1] undo shutdown [RouterA-GigabitEthernet1/0/0.1] ip address 11.1.1.1 24 [RouterA-GigabitEthernet1/0/0.1] vlan-type dot1q 10 [RouterA-GigabitEthernet1/0/0.1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 333 : No Diagnostic Bind Application : No Application Bind Session TX TmrID : -- Session Detect TmrID : -- Session Init TmrID : -- Session WTR TmrID : -- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 334 # Run the shutdown command on GE 1/0/0 of Router B. You can view that the BFD session goes Down. [RouterB] interface gigabitethernet 1/0/0 [RouterB-GigabitEthernet1/0/0] shutdown [RouterB-GigabitEthernet1/0/0] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 335 0 errors,0 drops ----End Configuration Files Configuration file of Router A sysname RouterA interface GigabitEthernet1/0/0 undo shutdown ip address 10.1.1.1 255.255.255.0 interface GigabitEthernet1/0/0.1 undo shutdown vlan-type dot1q 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 336: Example For Configuring Multi-Hop Bfd

    Router A and Router C. Figure 5-12 Networking diagram of multi-hop BFD POS1/0/0 POS1/0/0 POS1/0/0 POS2/0/0 10.1.1.2/24 10.2.1.2/24 10.1.1.1/24 10.2.1.1/24 RouterA RouterB RouterC Configuration Roadmap The configuration roadmap is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 337 Use the display on Router A as an example. display bfd session all -------------------------------------------------------------------------------- Session MIndex : 256 (Multi Hop) State : Up Name : atoc -------------------------------------------------------------------------------- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 338 Pos1/0/0 link-protocol ppp undo shutdown ip address 10.1.1.2 255.255.255.0 interface Pos2/0/0 link-protocol ppp undo shutdown ip address 10.2.1.1 255.255.255.0 return Configuration file of Router C sysname RouterC Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 339: Example For Configuring The Bfd Demand Mode

    BFD session view. Data Preparation To complete the configuration, you need the following data: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 340 Session MIndex : 256 (Multi Hop) State : Up Name : atoc -------------------------------------------------------------------------------- Local Discriminator : 10 Remote Discriminator : 20 Session Detect Mode : Demand Mode Without Echo Function Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 341 Pos1/0/0 link-protocol ppp undo shutdown ip address 10.1.1.2 255.255.255.0 interface Pos2/0/0 link-protocol ppp undo shutdown ip address 10.2.1.1 255.255.255.0 return Configuration file of Router C sysname RouterC Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 342: Example For Configuring A Bfd Session With The One-Arm Echo Function

    Configure a BFD session on Router A to detect the direct link between Router A and Router B. Data Preparation To complete the configuration, you need the following data: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 343 Proc Interface Status : Disable Process PST : Disable WTR Interval (ms) Local Demand Mode : Disable Active Multi Last Local Diagnostic : Control Detection Time Expired Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 344: Example For Configuring Bfd For Vpn Routes

    GE 1/0/0 of PE1 and GE 1/0/0 of PE2 are bound to VPN-A. BFD in asynchronous mode is used to detect faults in the VPN route between PE1 and PE2. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 345 ping -vpn-instance vpna 10.2.1.2 PING 10.2.1.2: 56 data bytes, press CTRL_C to break Reply from 10.2.1.2: bytes=56 Sequence=1 ttl=254 time=60 ms Reply from 10.2.1.2: bytes=56 Sequence=2 ttl=254 time=50 ms Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 346 Session TX TmrID : -- Session Detect TmrID : -- Session Init TmrID : -- Session WTR TmrID : -- PDT Index : FSM-0|RCV-0|IF-0|TOKEN-0 Session Description : -- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 347 3.3.3.3 enable ipv4-family vpn-instance vpna peer 10.1.1.1 as-number 65410 import-route direct ospf 100 area 0.0.0.0 network 1.1.1.1 0.0.0.0 network 172.1.1.0 0.0.0.255 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 348 10.2.1.1 as-number 65420 import-route direct ospf 100 area 0.0.0.0 network 3.3.3.3 0.0.0.0 network 172.2.1.0 0.0.0.255 return Configuration file of the P sysname P mpls lsr-id 2.2.2.2 mpls mpls ldp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 349: Example For Configuring Sub-Interfaces For Dot1Q Vlan Tag Termination To Support Bfd

    On a typical network, sub-interfaces for dot1q VLAN tag termination are configured to support BFD. In this manner, user packets with one tag can be reliably and stably sent over the network. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 350 GE1/0/0 GE1/0/0 192.168.2.1/24 192.168.1.1/24 RouterA RouterB BFD session GE2/0/0.1 GE2/0/0.1 100.1.1.1/24 100.1.1.2/24 GE1/0/1 GE1/0/2 Switch GE1/0/0 VLAN10 Host 100.1.1.3/24 Configuration Roadmap The configuration roadmap is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 351 [RouterA-GigabitEthernet2/0/0.1] ip address 100.1.1.1 24 [RouterA-GigabitEthernet2/0/0.1] quit [RouterA] ospf 1 [RouterA-ospf-1] area 0 [RouterA-ospf-1-area-0.0.0.0] network 192.168.2.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] network 100.1.1.0 0.0.0.255 [RouterA-ospf-1-area-0.0.0.0] quit [RouterA-ospf-1] quit # Configure Router B. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 352 Routing Tables: Public Destinations : 17 Routes : 17 Destination/Mask Proto Cost Flags NextHop Interface 192.168.2.0/24 Direct 0 192.168.2.1 GigabitEthernet1/0/0 192.168.2.1/32 Direct 0 127.0.0.1 GigabitEthernet1/0/0 192.168.1.0/24 OSPF 192.168.2.2 GigabitEthernet1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 353 # Configure Router B. [RouterB] bfd [RouterB-bfd] quit [RouterB] bfd atob bind peer-ip default-ip interface gigabitethernet 2/0/0.1 [RouterB-bfd-session-atob] discriminator local 2 [RouterB-bfd-session-atob] discriminator remote 1 [RouterB-bfd-session-atob] dot1q vid 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 354 GigabitEthernet1/0/0 | Virtual Router 1 State : Master Virtual IP : 100.1.1.100 PriorityRun : 160 PriorityConfig : 160 MasterPriority : 160 Preempt : YES Delay Time : 0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 355 Configuration file of Router B sysname RouterB interface GigabitEthernet 1/0/0 undo shutdown ip address 192.168.1.1 24 interface GigabitEthernet2/0/0 undo shutdown mode user-termination interface GigabitEthernet2/0/0.1 undo shutdown control-vid 1 dot1q-termination Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 356: Example For Configuring Sub-Interfaces For Qinq Vlan Tag Termination To Support Bfd

    On a typical network, sub-interfaces for QinQ VLAN tag termination are configured to support BFD. In this manner, user packets with double tags can be reliably and stably sent over the network. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 357 GE1/0/0 GE2/0/0 192.168.2.2/24 192.168.1.2/24 RouterC GE1/0/0 GE1/0/0 192.168.2.1/24 192.168.1.1/24 RouterA RouterB BFD session GE2/0/0.1 GE2/0/0.1 100.1.1.1/24 100.1.1.2/24 GE1/0/1 GE1/0/2 GE1/0/0 Switch1 GE1/0/0 Switch2 GE2/0/0 VLAN10 Host 100.1.1.3/24 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 358 [RouterA-GigabitEthernet1/0/0] undo shutdown [RouterA-GigabitEthernet1/0/0] ip address 192.168.2.1 24 [RouterA-GigabitEthernet1/0/0] quit [RouterA] interface gigabitethernet 2/0/0.1 [RouterA-GigabitEthernet2/0/0.1] undo shutdown [RouterA-GigabitEthernet2/0/0.1] ip address 100.1.1.1 24 [RouterA-GigabitEthernet2/0/0.1] quit [RouterA] ospf 1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 359 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: Public Destinations : 17 Routes : 17 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 360 [RouterA] interface gigabitethernet 2/0/0.1 [RouterA-GigabitEthernet2/0/0.1] control-vid 1 qinq-termination [RouterA-GigabitEthernet2/0/0.1] qinq termination pe-vid 100 ce-vid 10 # Configure Router B. [RouterB] interface gigabitethernet 2/0/0.1 [RouterB-GigabitEthernet2/0/0.1] control-vid 1 qinq-termination Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 361 [RouterA] interface gigabitethernet 2/0/0.1 [RouterA-GigabitEthernet2/0/0.1] qinq vrrp pe-vid 100 ce-vid 10 [RouterA-GigabitEthernet2/0/0.1] vrrp vrid 1 virtual 100.1.1.100 [RouterA-GigabitEthernet2/0/0.1] vrrp vrid 1 priority 160 [RouterA-GigabitEthernet2/0/0.1] vrrp vrid 1 track bfd-session 1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 362 1 track bfd-session 1 arp broadcast enable bfd atob bind peer-ip default-ip interface gigabitethernet 2/0/0.1 discriminator local 1 discriminator remote 2 qinq pe-vid 100 ce-vid 10 commit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 363 192.168.1.2 24 ospf 1 area 0.0.0.0 network 192.168.1.0 0.0.0.255 network 192.168.2.0 0.0.0.255 return Configuration file of Switch 1 sysname Switch1 vlan batch 100 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 364: Example For Configuring Single-Hop Bfd6 For A Layer 3 Physical Link

    Configure a BFD6 session on Router A to detect faults in the directly connected link from Router A to Router B. Configure a BFD6 session on Router B to detect faults in the directly connected link from Router B to Router A. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 365 A, and bind an outbound interface to the BFD session. [RouterB] bfd [RouterB-bfd] quit [RouterB] bfd atob bind peer-ipv6 2001::1 interface GigabitEthernet 1/0/0 [RouterB-bfd-session-btoa] discriminator local 2 [RouterB-bfd-session-btoa] discriminator remote 1 [RouterB-bfd-session-btoa] commit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 366 2001::1/64 bfd atob bind peer-ipv6 2001::2 interface GigabitEthernet1/0/0 discriminator local 1 discriminator remote 2 commit return Configuration file of Router B sysname RouterB ipv6 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 367: Example For Configuring Multi-Hop Bfd6

    Local and remote discriminators for a BFD6 session NOTE Default values of the minimum sending interval, minimum receiving interval, and local detection multiplier for BFD control packets are used. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 368 BFD session to an outbound interface. [RouterC] bfd [RouterC-bfd] quit [RouterC] bfd ctoa bind peer-ipv6 2001::1 [RouterC-bfd-session-ctoa] discriminator local 20 [RouterC-bfd-session-ctoa] discriminator remote 10 [RouterC-bfd-session-ctoa] commit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 369 2001::1/64 ospfv3 1 area 0.0.0.0 bfd atoc bind peer-ipv6 2002::2 discriminator local 10 discriminator remote 20 commit return Configuration file of Router B sysname RouterB Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 370 1.1.1.1 interface GigabitEthernet2/0/0 undo shutdown ipv6 enable ipv6 address 2002::2 ospfv3 1 area 0.0.0.0 bfd ctoa bind peer-ipv6 2001::1 discriminator local 20 discriminator remote 10 commit return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 371: Gr Configuration

    The following section provides an example for configuring GR. Familiarize yourself with the configuration procedures against the networking diagram. The configuration example consists of the networking requirements, configuration roadmap, configuration procedures, and configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 372: Gr Introduction

    1+1 backup: Two components must mirror each other. If the master component is Down, the slave component takes over the previous component to ensure that the system service is not interrupted. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 373 The HSB can back up the static and dynamic configurations of the system from the AMB to the SMB. The AMB and SMB communicate as shown in Figure 6-1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 374 Supporting backup of static configuration data from the AMB to the SMB Supporting dynamic backup and update of protocol status data from the AMB to the SMB Supporting the protocol-level GR capability Supporting data smoothing between modules Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 375 NOTE The mechanisms of implementing GR in each protocol are different. For the detailed value of the GR time, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing and HUAWEI NetEngine80E/40E Router Configuration Guide - MPLS. The administrator and the fault can trigger the restart and AMB/SMB switchover of the GR Restarter.
  • Page 376 GR Restarter and retain the routing information related to the GR Restarter before the GR time times out. After the SMB is started, the GR Restarter sends signals to the neighbors. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 377 After the GR Restarter obtains the topology information from its neighbors, it recalculates the routing table and triggers the aging of the old routes. Thus, the GR Restarter completes the AMB/SMB switchover during which packet forwarding is not interrupted. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 378 The switchover does not affect the status from the AMB to the SMB. neighbors. l The network convergence is faster than the network with GR routers. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 379: Gr Features Supported In The Ne80E/40E

    GR process of other routers. 6.2 Configuring the System-Level GR System-level GR is a technology that combines redundancy backup, GR, and HSB together to improve HA of devices. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 380: Establishing The Configuration Task

    Configuring a protocol level GR capability NOTE For the detailed configurations of OSPF GR, IS-IS GR, and BGP GR, refer to the HUAWEI NetEngine80E/ 40E Router Configuration Guide - IP Routing; for the detailed configurations of LDP GR, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - MPLS.
  • Page 381: Enabling The Automatic Synchronization Of The Amb/Smb Configuration

    The AMB and SMB can be switched to each other after the AMB/SMB switchover is enabled. Context Do as follows on the GR Restarter: Procedure Step 1 Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 382: Optional) Restarting The Smb

    The configurations of the system-level GR function are complete. Procedure Step 1 Run the display switchover state command to check the status of AMB and SMB. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 383: Maintaining Ha

    In AS65009, OSPF is used as the IGP protocol; an EBGP connection is set up between Router A and Router B; Router C is a non-BGP router in the AS. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 384 # Enable the link-local signaling and out-of-band synchronization capability of OSPF on Router B. The configuration of Router C is the same as the configuration of Router B. [RouterB] ospf 100 [RouterB-ospf-100] opaque-capability enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 385 GE1/0/0 3.3.3.3/32 127.0.0.1 t[724] InLoop0 10.1.4.0/24 10.1.2.1 t[1422] Pos1/0/0 display fib FIB Table: Total number of Routes : 10 Destination/Mask Nexthop Flag TimeStamp Interface TunnelID Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 386 10.1.2.1 255.255.255.0 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 bgp 65009 router-id 2.2.2.2 graceful-restart graceful-restart timer restart 600 peer 10.1.1.1 as-number 65008 ipv4-family unicast Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 387 10.1.2.2 255.255.255.0 interface LoopBack1 ip address 3.3.3.3 255.255.255.255 ospf 100 opaque-capability enable graceful-restart period 600 area 0.0.0.0 network 10.1.3.0 0.0.0.255 network 10.1.2.0 0.0.0.255 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 388: Nsr Configuration

    This section describes how to implement NSR and related technologies. 7.2 Configuring NSR After NSR is configured, route processing and traffic forwarding are not interrupted during the active/standby switchover of main control boards. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 389: Nsr Overview

    – After the device recovers, it can re-establish neighbor relationships with other devices, and then rebuild the routing table based on the information obtained from its neighbors. For details about the GR configuration, see the chapter "GR Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability.
  • Page 390 Therefore, routing may change, causing forwarding errors. The occasion information may be incorrect during occurs with a very low this period of time. probability. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 391: Nsr Features Supported By The Ne80E/40E

    7.1.2 NSR Features Supported by the NE80E/40E This section lists the protocols that support NSR. Currently, the protocols that support NSR are as follows: IS-IS OSPF OSPFv3 BGP4+ Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 392: Configuring Nsr

    If a fault occurs in the main process before the batch backup, the slave process, whose status is unknown and is not switchable, cannot function as the main process. The system enabled with NSR does not support system-level GR. Pre-configuration Tasks None. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 393: Enabling Nsr

    Interface information, LSDB information, and routing information on the standby main control board are consistent with those on the active main control board. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 394: Ethernet Oam Configuration

    8.8 Fault Verification on the Ethernet By sending detection packets and waiting for replies, you can test connectivity of the path between devices. 8.9 Locating the Fault on the Ethernet Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 395 The following sections provide several examples for configuring fast BFD link detection. Familiarize yourself with the configuration procedures against the networking diagram. Each configuration example consists of the networking requirements, configuration roadmap, configuration procedures, and configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 396: Ethernet Oam Overview

    Ethernet OAM improves network management and maintenance capabilities on the Ethernet and guarantees a steady network. 8.1.2 Ethernet OAM Supported by the NE80E/40E Ethernet OAM includes EFM OAM, Ethernet CFM, fault association, and EFM OAM extension. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 397 OAMPDUs based on their destination MAC addresses, the peer loops back non- OAMPDUs to the local interface. This is called remote loopback. Remote loopback can be used to locate faults and test link performance. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 398 802.1ag Draft 7 and Standard 802.1ag-2007 are the same. Maintenance Supported Supported The features association End Point configurations supported by 802.1ag Draft 7 and Standard 802.1ag-2007 are the same. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 399 Draft 7, the MIP is created on the basis of interface. l According to Standard 802.1ag-20 07, the MIP is created on the basis of the MD or default Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 400 According to IEEE 802.1ag Draft 7, MIPs reside on the interfaces of the device and are automatically generated on the basis of the interface. According to IEEE Standard 802.1ag-2007, MIPs are automatically generated on the basis of the MD or default MD. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 401 Before configuring the association between EFM OAM and an interface, ensure that the EFM OAM protocol on both ends of the link is in the detect state. Association between Ethernet CFM and an interface Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 402 BFD at the other side through the interface. When BFD detects a fault, BFD sends fault messages to EFM OAM through the interface. – EFM OAM sends fault messages to BFD. – BFD sends fault messages to EFM OAM. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 403 RouterA RouterB interface IP interface IP VLANIF/VPLS VRRP UNI interface link detection link detection by EFM OAM by EFM OAM extension extension SoftX Master link Slave link Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 404 Router B. The VRRP priority of Router B is thus increased, and Router B becomes the master router. This can ensure the consistency between the master/slave status of the SoftX and the master/slave status of both routers. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 405 PE converges the route destined for Router A. Then both the downstream traffic and upstream traffic are forwarded by Router B. Figure 8-2 shows EFM OAM extension for static routes. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 406 Router A of keeping the current backup state. Therefore, the traffic is not switched from Router B to Router A, and Router A does not advertise any route. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 407: Configuring Basic Efm Oam

    8.2.2 Enabling EFM OAM Globally You must enable EFM OAM globally before configuring EFM OAM functions. Context Do as follows on the devices at both ends of the link: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 408: Configuring The Working Mode Of Efm Oam On An Interface

    If both interfaces are configured to work in active mode, you can implement link detection. If both interfaces are configured to work in passive mode, OAM discovery fails. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 409: Optional) Setting The Maximum Size Of An Efm Oampdu

    The view of the interface on one end of a link is displayed. Step 3 Run: efm timeout timeout-value The timeout period for waiting for OAM PDUs is set. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 410: Enabling Efm Oam On An Interface

    EFM OAM on an interface. Run the display efm session { all | interface interface-type interface-number } command to check the status of the EFM OAM protocol on an interface. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 411: Configuring Efm Oam Link Monitoring

    If the EFM OAM protocol on the interface is in the Detect state, it means that the configuration succeeds. The two interfaces succeed in negotiation and enter the Detect state. display efm session interface gigabitethernet2/0/1 Interface EFM State...
  • Page 412: Optional) Detecting Errored Frames Of Efm Oam

    By default, the threshold for detecting errored frames on an interface is 1. Step 5 Run: efm error-frame notification enable The interface is enabled to detect errored frames. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 413: Optional) Detecting Errored Codes Of Efm Oam

    Context An errored frame second is a one-second interval during which at least one errored frame is detected. It specifies the seconds when errored frames are deteced. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 414: Checking The Configuration

    EFM OAM protocol on an interface. ----End Example Run the display efm command. You can view information about link monitoring on the interface. For example: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 415: Testing The Packet Loss Ratio On The Physical Link

    GE 1/0/1 on Router A. Send test packets from Router A to RouterB. You can get the packet loss ratio on the link by observing the receiving of test packets on Router A. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 416: Enabling Efm Oam Remote Loopback

    The remote loopback function is disabled manually or automatically. Procedure Step 1 Enable a device that initiates a request with the remote loopback function. Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 417: Sending Test Packets

    By default, the size of a test packet is 64 bytes; the transmitting rate is 1 Mbit/s; the number of test packets sent is 5. The outbound interface for the test packets is the interface that connects the link to be tested. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 418: Checking The Statistics On Returned Test Packets

    Do as follows on the device with an active interface on the link: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: interface interface-type interface-number Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 419: Checking The Configuration

    EFM OAM protocol status on the interface is no longer loopback (control) or loopback (be controlled). display efm session interface gigabitethernet 1/0/1 Interface EFM State Loopback Timeout ---------------------------------------------------------------------- GigabitEthernet2/0/8 detect Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 420: Associating Efm Oam With An Interface

    Configuring EFM OAM Data Preparation To associate EFM OAM with an interface, you need the following data. Data Type and number of an interface (Optional) Faulty-state hold timer Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 421: Associating Efm Oam With An Interface

    ----End 8.5.3 Checking the Configuration By viewing the TriggerIfDown field, you can check whether the configurations are successful. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 422: Configuring Basic Ethernet Cfm

    EFM OAM configuration information on an interface. ----End Example Run the display efm command. If the item "TriggerIfDown" is displayed as "enable", it means that the configuration succeeds. display efm interface gigabitethernet 1/0/1 Item Value ---------------------------------------------------- Interface: GigabitEthernet1/0/1 EFM Enable Flag:...
  • Page 423 None. Data Preparation To configure Ethernet CFM, you need the following data. Data Name and level of an MD (Optional) Name and level of a default MD Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 424: Switching Ieee 802.1Ag Versions

    8.6.3 Enabling Ethernet CFM Globally You must enable Ethernet CFM globally before configuring and applying all CFM functions. Context Do as follows on the router that requires Ethernet CFM: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 425: Creating An Md

    The default MD must be of a higher level than all MDs to which MEPs on the local device belong. In addition, the default MD must be of the same level as the high-level MD. The high- level CCMs are transmitted through the default MD. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 426: Creating An Ma

    On the NE80E/40E, up to 4k MAs can be created in an MD. On the NE80E/40E, up to 4k MAs can be created. One or multiple MA can map to one VLAN. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 427: Creating A Mep

    Only one outward-facing interface-based MEP can be created. Multiple inward-facing interface-based MEPs can be created. However, only one inward-facing interface-based MEP can be created on an interface. Only one VLAN-based MEP can be created. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 428: Creating An Rmep

    RMEP, you can perform connectivity fault detection between the local MEP and the RMEP in one MA. Context If you need to detect the connectivity between a device and an RMEP, you need to create the RMEP first. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 429: Optional) Setting The Rule For Creating A Mip

    According to IEEE Standard 802.1ag-2007, MIPs are automatically generated on the basis of the MD or default MD. Do as follows on the router that requires Ethernet CFM: Procedure Step 1 Run: system-view The system view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 430: Enabling Cc Detection

    Do as follows on the edge devices on which MEPs reside within MAs: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: cfm md md-name The MD view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 431: Optional) Creating A Vlan

    Through the association between a VLAN and default MDs, all interfaces of the specified VLAN can generate MIPs based on default MDs. Context Do as follows on each device: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 432: Checking The Configuration

    CFM objects on the specified interface and VLAN or VSI. Run the display oam global configuration command to check the MP address model. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 433 Run the display cfm ma command. If information about the MA is displayed, it means that the configuration is successful. display cfm ma md md1 The total number of MAs is 2: MD Name : md1 MD Name Format...
  • Page 434 CFM Status : up Run the display mip create-type command. If the MIP generation rule is correct, it means that the configuration is successful. display mip create-type interface gigabitethernet1/0/1 Interface Name MIP Create-Type MIP Create-Type On Interface --------------------------------------------------------------------------- GigabitEthernet1/0/1...
  • Page 435 If information about the CFM objects of the specified interface and VLAN or VSI is displayed, it means that the configuration is successful. display cfm mp-info interface gigabitethernet 1/0/1 level 6 inward vlan MD Name : md1...
  • Page 436: Configuring Related Parameters Of Ethernet Cfm

    After the timer expires, the alarm restoration event is notified to the device. If the RMEP frequently detects the alarm and alarm restoration signals, this means that alarm flapping occurs. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 437: Optional) Configuring The Rmep Activation Time

    The MD view is displayed. Step 3 Run: ma-name The MA view is displayed. Step 4 Run: active time time The RMEP activation time is configured. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 438: Optional) Configuring The Anti-Jitter Time During Alarm Restoration

    Do as follows on each device: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: cfm md md-name The MD view is displayed. Step 3 Run: ma-name Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 439: Fault Verification On The Ethernet

    ID of the destination MEP (Optional) Bridge MAC address of the device on which the destination MIP resides (Optional) Number, size, timeout period, and outbound interface of LBMs Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 440: Optional) Implementing 802.1Ag Mac Ping

    The intermediate device on the link to be tested only forwards LBMs and LBRs. In this manner, the MD, MA, or MEP are not required to be configured on the intermediate device. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 441: Optional) Implementing Gmac Ping

    Before configuring the Ethernet fault verification function, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the required data. This can help you complete the configuration task quickly and accurately. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 442: Optional) Implementing 802.1Ag Mac Trace

    Similar to tracerout or tracert, 802.1ag MAC trace tests the path between the local device and a destination device or locates failure points by sending test packets and receiving reply packets. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 443: Optional) Implementing Gmac Trace

    Step 1 Configuring the routers at both Ends and the Intermediate router Do as follows on the routers at both ends and the intermediate router on the link to be tested: Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 444: Associating Ethernet Cfm With An Interface

    MEP and a specified RMEP within the same MA, the OAM management module shuts down and then turns on the interface on which the MEP resides so that the other modules can sense the fault. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 445 When a connectivity fault occurs on Link 1, the OAM management modules on Router A and Router B shut down and then turn on their GE 1/0/1 interfaces respectively. In this manner, the Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 446 To associate Ethernet CFM with an interface, you need the following data. Data Type and number of an interface Name of an MD, MA, and ID of an RMEP Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 447: Associating Ethernet Cfm With An Interface

    Step 1 Run the display cfm remote-mep [ md md-name [ ma ma-name [ mep-id mep-id ] ] ] command to check detailed information about an RMEP. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 448: Associating Efm Oam With Ethernet Cfm

    Ethernet OAMs. When a fault occurs on the link between CE1 and PE1, Ethernet CFM sends alarms of the fault to CE2. Figure 8-11 Diagram of associating Ethernet OAM with Ethernet OAM Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 449: Associating Ethernet Oam With Ethernet Oam

    EFM OAM is configured to send fault messages to Ethernet CFM. l Run: oam-bind ingress cfm md md-name ma ma-name egress efm interface interface-type interface-number Ethernet CFM is configured to send fault messages to EFM OAM. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 450: Checking The Configuration

    MAC ping is performed to detect the reachability of the destination. MAC trace is performed to locate the fault. VPLS OAM runs between the PEs to detect the connectivity of the VPLS network. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 451: Configuring Ethernet Cfm Based On The Vpls Between The Pes

    The current MA must be associated with a VSI and the type of the MEP must be inward-facing. Do as follows on the PEs: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 452: Configuring Ethernet Cfm Between The Ce And Local Pe

    Do as follows on the PEs: NOTE The MA configured on the PE must be associated with a VSI and the type of the MEP must be outward-facing. Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 453 An MA is created and the MA view is displayed. Run: vlan vlan-id The MA is associated with a VLAN. Run: mep mep-id mep-id interface { interface-type interface-number | interface- type interface-number.subnumber } outward Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 454: Configuring Ethernet Cfm Between The Ce And Peer Pe

    Ethernet CFM succeeds. Ethernet CFM can fast detect faults between the PEs and between the CEs and PEs, and can notify the NMS of the faults. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 455: Associating Ethernet Cfm With Vll (By Using Sub-Interfaces For Qinq Vlan Tag Termination)

    Figure 8-13 Networking diagram of associating Ethernet CFM with VLL Switch1 Switch2 user user network1 network2 802.1ag 802.1ag 802.1ag 802.1ag 802.1ag Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 456: Configuring Ethernet Cfm On Pes On A Vll

    Before associating Ethernet CFM with VLL by using sub-interfaces for QinQ VLAN tag termination, complete the following tasks: Configuring a Martini VLL For details, refer to the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN. Configuring sub-interfaces for QinQ VLAN tag termination to access the VLL For details, refer to the chapter "QinQ Configuration"...
  • Page 457 Reserves the double tags, and no sub-interface (in action is required. symmetrical mode) QinQ termination Strips the double tags. Strips two tags and then adds one sub-interface (in tag. asymmetrical mode) Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 458: Configuring Ethernet Cfm On The Switch And Local Pe

    Do as follows on the PE: NOTE The MA configured on the PE must be associated with an L2VC, and the type of the MEP must be outward-facing. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 459 Encapsulation Outbound (Ethernet Encapsulation) (VLAN Encapsulation) Interface Dot1q sub- Adds one tag. Replaces the tag with the tag interface that is encapsulated on the outbound interface. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 460: Configuring Ethernet Cfm On The Switch And Remote Pe

    CCMs. In addition, MAC ping and MAC trace can be performed. Context The detailed configuration is similar to that in 8.13.3 Configuring Ethernet CFM on the Switch and Local PE, and is not mentioned here. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 461: Checking The Configuration

    MD Name Format : string Level MIP Create-type : none SenderID TLV-type : defer MA list MA Name : mdcustomer1 MA Name Format : string Interval : 1000 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 462 L2VC ID : 11 Run the display cfm macommand. If information about the MA is displayed, it means that the configuration succeeds. display cfm ma md mdcustomer The total number of MAs is : 1 -------------------------------------------------- MD Name : mdcustomer...
  • Page 463: Associating Ethernet Cfm With Vpls (By Using Sub-Interfaces For Qinq Vlan Tag Termination)

    Figure 8-14 Networking diagram of associating Ethernet CFM with VPLS Switch1 Switch2 VPLS user user network2 network1 802.1ag 802.1ag 802.1ag 802.1ag 802.1ag Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 464: Configuring Ethernet Cfm On Pes On A Vpls

    Configuring a Martini VPLS network For details, refer to the chapter "VPLS Configuration" in the HUAWEI NetEngine80E/ 40E Router Configuration Guide - VPN. Configuring sub-interfaces for QinQ VLAN tag termination to access the VPLS network For details, refer to the chapter "QinQ Configuration"...
  • Page 465: Configuring Ethernet Cfm On The Switch And Local Pe

    The MA configured on the PE must be associated with a VSI, and the type of the MEP must be outward-facing. Run: system-view The system view is displayed. Run: cfm md md-name [ level level ] An MD is created and the MD view is displayed. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 466: Configuring Ethernet Cfm On The Switch And Remote Pe

    After Ethernet CFM is associated with VPLS by using sub-interfaces for QinQ VLAN tag termination, you can view information about the MEPs and REMPs in the specified MD and MA, and the CFM status of different MAs. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 467 VSI Name : vsi1 Run the display cfm ma command. If information about the MA is displayed, it means that the configuration succeeds. display cfm ma md mdcustomer The total number of MAs is : 1 -------------------------------------------------- MD Name...
  • Page 468 MA Name : four RMEP ID Vlan ID : -- VSI Name : vsi1 : 0018-828a-f7c4 CCM Receive : enabled Trigger-If-Down : disabled CFM Status : up Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 469: Associating Ethernet Oam With Mpls Oam Or Bfd

    Configuring MPLS OAM Data Preparation To associate Ethernet OAM with MPLS OAM or BFD, you need the following data. Data Numbers of the interfaces to be associated Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 470: Configuring Ethernet Oam Functions

    Ethernet CFM is configured to send fault messages to BFD. l Run: oam-bind ingress bfd-session bfd-session-id egress cfm md md-name ma ma-name BFD is configured to send fault messages to Ethernet CFM. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 471: Checking The Configuration

    After the preceding configuration, when MPLS OAM or BFD enabled between PE1 and PE2 detects faults, EFM OAM and CFM notify CE1 of the faults and then traffic is switched to the bypass tunnel for CE1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 472: Configuring Ethernet Cfm And 1+1 Protection Of Multicast Vlans

    Ethernet CFM can be used on working VLANs, detect connectivity faults of VLANs, and trigger protection switchover, which can implement 1+1 multicast VLAN protection. Context For details, refer to the chapter "Layer 2 Multicast Configuration" in the the HUAWEI NetEngine80E/40E Router Configuration Guide - IP Multicast. 8.17 Maintaining Ethernet OAM This section describes how to maintain Ethernet OAM.
  • Page 473: Configuration Examples

    It is required that the following be achieved: Automatic connectivity detection can be performed on the link between Router A and Router B. After detecting connectivity faults, Router A and RouterB generate alarms. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 474 # Enable EFM OAM globally on Router A. system-view [HUAWEI] sysname RouterA [RouterA] efm enable # Enable EFM OAM globally on Router B. system-view [HUAWEI] sysname RouterB Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 475 [RouterB] display efm interface gigabitethernet 2/0/1 Item Value ------------------------------------- Interface: GigabitEthernet2/0/1 EFM Enable Flag: enable Mode: active OAMPDU MaxSize: OAMPDU Timeout: 5000 ErrCodeNotification: enable ErrCodePeriod: ErrCodeThreshold: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 476: Example For Testing The Packet Loss Ratio On The Link

    Router A and Router B is newly established. The ISP needs to test the packet loss ratio on the link on Router B before using the link. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 477 [RouterA-GigabitEthernet1/0/1] efm mode passive # Enable EFM OAM on GE 1/0/1 on Router A. [RouterA-GigabitEthernet1/0/1] efm enable [RouterA-GigabitEthernet1/0/1] quit # Enable EFM OAM on GE 2/0/1 on Router B. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 478 EFM Enable Flag: enable Mode: active OAMPDU MaxSize: OAMPDU Timeout: 3000 ErrCodeNotification: disable ErrCodePeriod: ErrCodeThreshold: ErrFrameNotification: disable ErrFramePeriod: ErrFrameThreshold: ErrFrameSecondNotification: disable ErrFrameSecondPeriod: ErrFrameSecondThreshold: Hold Up Time: ThresholdEvtTriggerErrDown: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 479 [RouterB] display efm session interface gigabitethernet2/0/1 Interface EFM State Loopback Timeout ---------------------------------------------------------------------- GigabitEthernet2/0/1 detect ----End Configuration Files Configuration file of Router A sysname RouterA efm enable interface GigabitEthernet1/0/1 efm mode passive Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 480: Example For Configuring Ethernet Cfm

    GE1/0/2 RouterB RouterF GE1/0/1 GE1/0/1 GE1/0/0 RouterD GE1/0/2 RouterC GE1/0/0 RouterG RouterH GE1/0/0 GE1/0/1 GE1/0/2 VLAN3 VLAN2 VLAN3 MEP of MA1 MEP of MA3 MEP of MA2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 481 [RouterA-md-md1-ma-ma1] quit # Create and configure MA 1 on Router B, Router C, Router D, Router E, Router F, Router H, and Router I within MD 1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 482 # Configure an RMEP on RouterH in MA 1 within MD 1. [RouterH-md-md1-ma-ma1] remote-mep mep-id 1 [RouterH-md-md1-ma-ma1] remote-mep mep-id 3 # Configure an RMEP on RouterI in MA 1 within MD 1. [RouterI-md-md1-ma-ma1] remote-mep mep-id 2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 483 # Enable the sending of CCMs on the MEP on Router A. [RouterA-md-md2-ma-ma3] mep ccm-send enable # Enable the receiving of CCMs from the RMEP on Router A. [RouterA-md-md2-ma-ma3] remote-mep ccm-receive enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 484 2 to 4 interface GigabitEthernet1/0/1 portswitch port trunk allow-pass vlan 2 to 4 cfm md md1 level 6 ma ma1 map vlan 2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 485 3 cfm md md2 level 4 ma ma3 map vlan 4 mep mep-id 3 interface gigabitethernet 1/0/0 inward mep ccm-send mep-id 3 enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 486 6 ma ma1 map vlan 2 ma ma2 map vlan 3 return Configuration file of Router G sysname RouterG vlan batch 3 cfm enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 487 2 enable return Configuration file of Router I sysname RouterI vlan batch 2 cfm enable interface GigabitEthernet1/0/0 portswitch port trunk allow-pass vlan 2 interface GigabitEthernet1/0/1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 488: Example For Configuring The Default Md For Ethernet Cfm

    RouterE VLAN2 GE1/0/2 RouterB GE1/0/3 RouterF GE1/0/1 RouterA RouterD GE1/0/2 GE1/0/1 VLAN3 VLAN2 MEP of MA1 MEP of MA2 Configuration Roadmap The configuration roadmap is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 489 Step 2 Create a VLAN and add related interfaces to the VLAN. The configuration is not mentioned here. Step 3 Create MD1. # Create MD1 on Router A. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 490 # Create MA1 within MD1 on Router A. [RouterA] cfm md md1 [RouterA-md-md1] ma ma1 [RouterA-md-md1-ma-ma1] map vlan 2 [RouterA-md-md1-ma-ma1] quit # Create MA1 within MD1 on Router D and Router F. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 491 # Enable the function of sending CCMs on all MEPs of Router A. [RouterA-md-md1-ma-ma2] mep ccm-send enable # Enable Router A with the function of receiving CCMs from the RMEP. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 492 Info: Succeed in tracing the destination address aa99-6600-5600. ----End Configuration Files Configuration file of Router A sysname RouterA vlan batch 2 to 3 cfm version standard cfm enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 493 2 to 3 return Configuration file of Router C sysname RouterC vlan batch 2 to 3 cfm version standard cfm enable interface GigabitEthernet1/0/1 undo shutdown portswitch Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 494 GigabitEthernet1/0/2 undo shutdown portswitch port trunk allow-pass vlan 3 cfm md md1 level 6 ma ma2 map vlan 3 mep mep-id 2 interface gigabitethernet 1/0/2 inward Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 495: Example For Associating Ethernet Cfm With An Interface

    When the active link between the user network and the ISP network fails, the LACP module on the interface can sense the fault within 50 ms and stop forwarding data on the active link. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 496 GE 1/0/1, GE 1/0/2, and GE 1/0/3. The three member interfaces of the aggregation group in static LACP mode on Router A are GE 1/0/1, GE 1/0/2, and GE 1/0/3. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 497 8 Ethernet OAM Configuration Procedure Step 1 Configure the aggregation group in static LACP mode. The detailed configuration is not mentioned here. For details, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - LAN Access and MAN Access. Step 2 Configure Ethernet CFM.
  • Page 498 VSI Name : -- : -- CCM Receive : enabled Trigger-If-Down : disabled CFM Status : up MD Name : md1 Level MA Name : ma3 RMEP ID Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 499 : enabled CFM Status : up MD Name : md1 Level MA Name : ma3 RMEP ID Vlan ID : -- VSI Name : -- : -- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 500 Configuration file of Router B sysname RouterB lacp priority 100 cfm enable interface Eth-Trunk2 portswitch mode lacp-static max bandwidth-affected-linknumber 2 interface GigabitEthernet1/0/1 eth-trunk 2 lacp priority 2000 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 501: Example For Associating Efm Oam With Ethernet Cfm

    Router A. Figure 8-21 Diagram of associating EFM OAM with Ethernet CFM RouterA RouterB RouterC RouterD GE1/0/0 GE2/0/0 GE1/0/0 GE1/0/0 GE2/0/0 GE1/0/0 GE2/0/0 GE2/0/0 VLAN10 VLAN10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 502 [RouterC-md-md1-ma-ma1] mep ccm-send enable [RouterC-md-md1-ma-ma1] remote-mep ccm-receive enable [RouterC-md-md1-ma-ma1] return Step 4 Configure EFM OAM to run between Router C and Router D. # Configure Router C. [RouterC] efm enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 503 GigabitEthernet2/0/0 portswitch port trunk allow-pass vlan 10 return Configuration file of Router B sysname RouterB vlan batch 10 efm enable cfm enable interface GigabitEthernet1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 504 RouterD vlan batch 10 efm enable interface GigabitEthernet1/0/0 portswitch port trunk allow-pass vlan 10 efm mode passive efm enable interface GigabitEthernet2/0/0 portswitch port trunk allow-pass vlan 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 505: Example For Configuring Vpls Ethernet Cfm

    MPLS. Set up LSP tunnels between PEs. Enable MPLS L2VPN on PEs. Create Virtual Switch Instances (VSIs) on PEs and bind VSIs to Attachment Circuit (AC) interfaces. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 506 [PE3-LoopBack1] quit [PE3] interface gigabitethernet 2/0/0 [PE3-GigabitEthernet2/0/0] ip address 100.2.1.2 30 [PE3-GigabitEthernet2/0/0] undo shutdown [PE3-GigabitEthernet2/0/0] quit [PE3] interface gigabitethernet 3/0/0 [PE3-GigabitEthernet3/0/0] ip address 100.3.1.2 30 [PE3-GigabitEthernet3/0/0] undo shutdown Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 507 127.0.0.1 InLoopBack0 127.0.0.1/32 Direct 0 127.0.0.1 InLoopBack0 Step 3 Enable basic MPLS functions and LDP on the MPLS backbone network. # Configure PE1. [PE1] mpls lsr-id 1.1.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 508 If PEs are indirectly connected, you need to run the mpls ldp remote-peer command and the remote-ip command to create remote LDP sessions between PEs. Step 4 Enable MPLS L2VPN on PEs. # Configure PE1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 509 [PE3] interface gigabitethernet 1/0/0.1 [PE3-GigabitEthernet1/0/0.1] vlan-type dot1q 10 [PE3-GigabitEthernet1/0/0.1] l2 binding vsi ldp1 [PE3-GigabitEthernet1/0/0.1] undo shutdown [PE3-GigabitEthernet1/0/0.1] quit # Configure CE1. system-view [HUAWEI] sysname CE1 [CE1] interface gigabitethernet 1/0/0.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 510 : 23552 PW Type : label Tunnel ID : 0x6002003, Hosts attached to CE1, CE2, and CE3 can ping through each other. Take CE1 as an example. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 511 [PE3-md-md1-ma-ma1] map vsi ldp1 [PE3-md-md1-ma-ma1] mep mep-id 3 interface gigabitethernet 1/0/0.1 inward [PE3-md-md1-ma-ma1] remote-mep mep-id 1 [PE3-md-md1-ma-ma1] remote-mep mep-id 2 [PE3-md-md1-ma-ma1] mep ccm-send enable [PE3-md-md1-ma-ma1] remote-mep ccm-receive enable [PE3-md-md1-ma-ma1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 512 VSI Name : -- : -- CCM Receive : enabled Trigger-If-Down : disabled CFM Status : up ----End Configuration Files Configuration file of PE1 sysname PE1 cfm enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 513 100.2.1.0 0.0.0.3 return Configuration file of PE2 sysname PE2 cfm enable mpls lsr-id 2.2.2.2 mpls mpls l2vpn vsi ldp1 static pwsignal ldp vsi-id 2 peer 1.1.1.1 peer 3.3.3.3 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 514 2 peer 1.1.1.1 peer 2.2.2.2 mpls ldp interface GigabitEthernet1/0/0 undo shutdown interface GigabitEthernet1/0/0.1 undo shutdown vlan-type dot1q 10 l2 binding vsi ldp1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 515 GigabitEthernet1/0/0 undo shutdown interface GigabitEthernet1/0/0.1 undo shutdown vlan-type dot1q 10 ip address 10.1.1.2 255.255.255.0 return Configuration file of CE3 sysname CE3 interface GigabitEthernet1/0/0 undo shutdown interface GigabitEthernet1/0/0.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 516: Example For Configuring Vpls-Based Ethernet Cfm Through Sub-Interfaces For Qinq Vlan Tag Termination

    AC interface of each PE and is bound to a VSI, and then is enabled with VPLS-based Ethernet CFM to fast detect connectivity of the VPLS between PEs. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 517 Set up an LSP tunnel between PEs. Enable MPLS L2VPN on each PE. Configure a sub-interface for QinQ VLAN tag termination on the AC interface of each PE. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 518 # Configure PE1. [PE1] interface loopback 1 [PE1-LoopBack1] ip address 1.1.1.9 32 [PE1-LoopBack1] quit [PE1] interface gigabitethernet 1/0/0 [PE1-GigabitEthernet1/0/0] ip address 100.1.3.1 30 [PE1-GigabitEthernet1/0/0] undo shutdown [PE1-GigabitEthernet1/0/0] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 519 Cost Flags NextHop Interface 1.1.1.9/32 Direct 0 127.0.0.1 InLoopBack0 2.2.2.9/32 OSPF 100.1.3.2 GigabitEthernet1/0/0 3.3.3.9/32 OSPF 100.1.1.2 GigabitEthernet1/0/1 100.1.1.0/30 Direct 0 100.1.1.1 GigabitEthernet1/0/1 100.1.1.1/32 Direct 0 127.0.0.1 InLoopBack0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 520 [PE3] mpls ldp [PE3-mpls-ldp] quit [PE3] interface gigabitethernet 1/0/0 [PE3-GigabitEthernet1/0/0] mpls [PE3-GigabitEthernet1/0/0] mpls ldp [PE3-GigabitEthernet1/0/0] quit [PE3] interface gigabitethernet 1/0/1 [PE3-GigabitEthernet1/0/1] mpls [PE3-GigabitEthernet1/0/1] mpls ldp [PE3-GigabitEthernet1/0/1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 521 Step 6 Configure a sub-interface for QinQ VLAN tag termination on the AC interface of each PE and bind the sub-interface to the VSI. # Configure PE1. [PE1] interface gigabitethernet 2/0/0.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 522 [PE2-md-md1-ma-ma1] remote-mep mep-id 1 [PE2-md-md1-ma-ma1] remote-mep mep-id 3 [PE2-md-md1-ma-ma1] mep ccm-send enable [PE2-md-md1-ma-ma1] remote-mep ccm-receive enable [PE2-md-md1-ma-ma1] quit # Configure PE3. [PE3] cfm enable [PE2] cfm version standard Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 523 # Assign an IP address to each sub-interface on each CE as shown in Figure 8-23 so that CEs can send frames with one tag to switches. # Configure CE1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 524 MA Name : ma1 RMEP ID Vlan ID : -- VSI Name : ldp1 L2VC ID : -- : 00e0-0003-0003 CCM Receive : enabled Trigger-If-Down : disabled Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 525 Gigabitethernet1/0/1 undo shutdown ip address 100.1.1.1 255.255.255.252 mpls mpls ldp interface LoopBack1 ip address 1.1.1.9 255.255.255.255 cfm md md1 ma ma1 map vsi ldp1 ccm-interval 30 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 526 2 interface gigabitethernet 2/0/0.1 pe-vid 100 ce-vid 10 inward mep ccm-send mep-id 2 enable remote-mep mep-id 1 remote-mep ccm-receive mep-id 1 enable remote-mep mep-id 3 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 527 3 enable remote-mep mep-id 1 remote-mep ccm-receive mep-id 1 enable remote-mep mep-id 2 remote-mep ccm-receive mep-id 2 enable ospf 1 area 0.0.0.0 network 3.3.3.9 0.0.0.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 528 Configuration file of CE1 sysname CE1 interface GigabitEthernet1/0/0.1 undo shutdown vlan-type dot1q 10 ip address 10.1.1.1 255.255.255.0 return Configuration file of CE2 sysname CE2 interface GigabitEthernet1/0/0.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 529: Example For Configuring Vll-Based Ethernet Cfm Through Sub-Interfaces For Qinq Vlan Tag Termination

    Loopback1 Loopback1 1.1.1.9/32 2.2.2.9/32 3.3.3.9/32 GE1/0/0 GE1/0/0 100.1.1.1/24 100.1.2.2/24 GE1/0/0 GE2/0/0 100.1.1.2/24 100.1.2.1/24 GE2/0/0.1 GE2/0/0.1 GE1/0/0 GE1/0/0 Switch1 Switch2 GE1/0/1 GE1/0/1 GE1/0/0.1 GE1/0/0.1 10.1.1.2/24 10.1.1.1/24 VPN1 VPN1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 530 Assign an IP address to each interface on each PE and the P router as shown in Figure 8-24. After OSPF is enabled, the 32-bit loopback addresses of PE1, P, and PE2 must be advertised. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 531 Routing Tables: Public Destinations : 9 Routes : 9 Destination/Mask Proto Cost Flags NextHop Interface 1.1.1.9/32 Direct 0 127.0.0.1 InLoopBack0 2.2.2.9/32 OSPF 100.1.1.2 GigabitEthernet1/0/0 3.3.3.9/32 OSPF 100.1.1.2 GigabitEthernet1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 532 Status field is Operational in the command output. Take the display on PE1 as an example. display mpls ldp session LDP Session(s) in Public Network Codes: LAM(Label Advertisement Mode), SsnAge Unit(DDDD:HH:MM) Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 533 [PE2] interface gigabitethernet 2/0/0.1 [PE2-GigabitEthernet2/0/0.1] control-vid 1 qinq-termination [PE2-GigabitEthernet2/0/0.1] qinq termination l2 symmetry [PE2-GigabitEthernet2/0/0.1] qinq termination pe-vid 100 ce-vid 10 [PE2-GigabitEthernet2/0/0.1] mpls l2vc 1.1.1.9 101 [PE2-GigabitEthernet2/0/0.1] undo shutdown [PE2-GigabitEthernet2/0/0.1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 534 [Switch2-vlan100] quit [Switch2] interface gigabitethernet 1/0/0 [Switch2-GigabitEthernet1/0/0] portswitch [Switch2-GigabitEthernet1/0/0] undo shutdown [Switch2-GigabitEthernet1/0/0] port trunk allow-pass vlan 100 [Switch2-GigabitEthernet1/0/0] quit [Switch2] interface gigabitethernet 1/0/1 [Switch2-GigabitEthernet1/0/1] portswitch [Switch2-GigabitEthernet1/0/1] undo shutdown Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 535 The status of RMEPS : 1 up, 0 down -------------------------------------------------- MD Name : md1 Level MA Name : ma1 RMEP ID Vlan ID : -- VSI Name : -- Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 536 2 enable ospf 1 area 0.0.0.0 network 1.1.1.9 0.0.0.0 network 100.1.1.0 0.0.0.255 return Configuration file of PE2 sysname PE2 cfm version standard cfm enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 537 100.1.1.2 255.255.255.0 mpls mpls ldp interface Gigabitethernet2/0/0 undo shutdown ip address 100.1.2.1 255.255.255.0 mpls mpls ldp interface LoopBack1 ip address 2.2.2.9 255.255.255.255 ospf 1 area 0.0.0.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 538: Example For Associating Efm Oam With Mpls Oam

    8.18.10 Example for Associating EFM OAM with MPLS OAM In this example, through the association between EFM OAM and MPLS OAM, the EFM OAM sessions can send fault information to each other through Ethernet CFM. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 539 IP addresses of the interface on the routers, name of tunnel interfaces, and tunnel ID Type of the sent detection packets Parameters such as the mode of the backward tunnel Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 540 [P-GigabitEthernet2/0/0] isis enable 1 [P-GigabitEthernet2/0/0] undo shutdown [P-GigabitEthernet2/0/0] quit [P] interface loopback 1 [P-LoopBack1] isis enable 1 [P-LoopBack1] quit # Configure NPE2. [NPE2] isis 1 [NPE2-isis-1] network-entity 00.0005.0000.0000.0003.00 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 541 # Configure NPE1. [NPE1] mpls lsr-id 2.2.2.2 [NPE1] mpls [NPE1-mpls] mpls te [NPE1-mpls] mpls rsvp-te [NPE1-mpls] mpls te cspf [NPE1-mpls] quit [NPE1] interface gigabitethernet 2/0/0 [NPE1-GigabitEthernet2/0/0] mpls Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 542 # Configure P. [P] isis 1 [P-isis-1] cost-style wide [P-isis-1] traffic-eng level-2 [P-isis-1] quit # Configure NPE2. [NPE2] isis 1 [NPE2-isis-1] cost-style wide [NPE2-isis-1] traffic-eng level-2 [NPE2-isis-1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 543 [NPE1] mpls oam ingress enable all # Configure NPE2. [NPE2] mpls [NPE2-mpls] mpls oam [NPE2-mpls] quit [NPE2] mpls oam egress lsr-id 2.2.2.2 tunnel-id 100 auto-protocol backward-lsp tunnel 3/0/0 private Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 544 You can view that the status of EFM OAM on GE 1/0/0 is detect. Take the display on UPE2 as an example. [UPE2] display efm session interface gigabitethernet 1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 545 LoopBack1 ip address 1.1.1.1 255.255.255.255 isis enable 1 return Configuration file of NPE1 sysname NPE1 efm enable mpls lsr-id 2.2.2.2 mpls mpls te mpls rsvp-te mpls oam Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 546 Configuration file of P sysname P mpls lsr-id 4.4.4.4 mpls mpls te mpls rsvp-te isis 1 is-level level-2 cost-style wide network-entity 00.0005.0000.0000.0004.00 traffic-eng level-2 interface GigabitEthernet1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 547 GigabitEthernet3/0/0 undo shutdown ip address 100.4.1.1 255.255.255.252 isis enable 1 mpls mpls te mpls rsvp-te interface LoopBack1 ip address 3.3.3.3 255.255.255.255 isis enable 1 interface Tunnel3/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 548: Example For Configuring Efm Oam Extension For Vrrp

    PEs, you can use the master device to transmit network traffic. Networking Requirements NOTE POS interfaces cannot be configured on the X1 and X2 models of the NE80E/40E. As shown in Figure 8-26. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 549 Enable EFM OAM extension between PE1 and CE1, and between PE2 and CE1. Then associate EFM OAM extension with interfaces. Create the VRRP backup group and enable EFM OAM extension to track the interface status. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 550 [CE1-vlanif10] ip address 10.1.1.1 255.255.255.0 [CE1-vlanif10] quit Step 2 Configure IGP on the MPLS backbone network to implement device interworking on the backbone network. # Configure PE1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 551 # Configure PE2. [PE2] mpls lsr-id 3.3.3.3 [PE2] mpls [PE2-mpls] quit [PE2] mpls ldp [PE2-ldp] quit [PE2] interface pos 1/0/0 [PE2-Pos1/0/0] mpls [PE2-Pos1/0/0] mpls ldp [PE2-Pos1/0/0] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 552 Step 6 Configure the static routes on PE1 and PE2 that are destined for CE1, and import the static routes to the Border Gateway Protocol (BGP). # Configure PE1. [PE1] ip route-static vpn-instance vpna 1.1.1.1 32 10.1.1.1 [PE1] bgp 100 [PE1-bgp] ipv4-family vpn-instance vpna Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 553 # Configure PE1. [PE1] interface vlanif 10 [PE1-vlanif10] vrrp vrid 1 virtual-ip 10.1.1.111 [PE1-vlanif10] vrrp vrid 1 track interface gigabitethernet 3/0/0 reduced 60 [PE1-vlanif10] quit # Configure PE2. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 554 Preempt : YES Delay Time : 0 TimerRun : 1 TimerConfig : 1 Auth Type : NONE Virtual Mac : 0000-5e00-0101 Check TTL : YES Config type : normal-vrrp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 555 GigabitEthernet2/0/0 undo shutdown portswitch port default vlan 10 interface GigabitEthernet3/0/0 undo shutdown portswitch port default vlan 10 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 556 10 interface GigabitEthernet3/0/0 undo shutdown portswitch port default vlan 10 interface LoopBack1 ip address 3.3.3.3 255.255.255.255 bgp 100 peer 4.4.4.4 as-number 100 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 557 3.3.3.3 connect-interface LoopBack1 ipv4-family unicast peer 2.2.2.2 enable peer 3.3.3.3 enable ipv4-family vpnv4 policy vpn-target peer 2.2.2.2 enable peer 3.3.3.3 enable return Configuration file of CE1 sysname CE1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 558: Exmaple For Configuring Efm Oam Extension For Static Routes

    The master interface board of CE1 (SoftX) is connected to the master router, and the slave interface board of CE1 is connected to the backup router. The interfaces on the master interface Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 559 [PE1-Pos20/0] quit [PE1] isis 1 [PE1-isis-1] is-level level-1-2 [PE1-isis-1] network-entity 10.0000.0000.0001.00 [PE1-isis-1] quit # Configure PE2. [PE2] interface loopback 1 [PE2-LoopBack1] ip address 3.3.3.3 32 [PE2-LoopBack1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 560 255.255.255.255/32 Direct 0 127.0.0.1 InLoopBack0 Step 2 Configure basic MPLS functions and MPLS LDP on the MPLS backbone network and set up LDP LSPs. # Configure PE1. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 561 SsnAge Unit : DDD:HH:MM Step 3 Configure VPN instances on PE1 and PE2 so that CE1 can access both PEs. # Configure PE1. [PE1] ip vpn-instance vpna Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 562 = 2/2/5 ms Step 4 Enable EFM OAM extension between PE1 and CE1, and between PE2 and CE1. # Configure PE1. [PE1] efm enable [PE1] interface gigabitethernet 3/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 563 [PE2-bgp] peer 2.2.2.2 as-number 100 [PE2-bgp] peer 2.2.2.2 connect-interface loopback 1 [PE2-bgp] peer 4.4.4.4 as-number 100 [PE2-bgp] peer 4.4.4.4 connect-interface loopback 1 [PE2-bgp] ipv4-family vpnv4 [PE2-bgp] peer 2.2.2.2 enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 564 Route Flags: R - relay, D - download to fib ------------------------------------------------------------------------------ Routing Tables: vpna Destinations : 8 Routes : 8 Destination/Mask Proto Cost Flags NextHop Interface 1.1.1.1/32 1.1.1.1 GigabitEthernet3/0/0 10.1.1.0/24 1.1.1.1 GigabitEthernet2/0/0 10.2.1.0/24 Direct 0 10.2.1.2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 565 Configuration Files Configuration file of PE1 sysname PE1 efm enable ip vpn-instance vpna route-distinguisher 100:1 vpn-target 111:1 export-extcommunity vpn-target 111:1 import-extcommunity mpls lsr-id 2.2.2.2 mpls mpls ldp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 566 100:2 vpn-target 111:1 export-extcommunity vpn-target 111:1 import-extcommunity mpls lsr-id 3.3.3.3 mpls mpls ldp isis 1 network-entity 10.0000.0000.0002.00 interface GigabitEthernet3/0/0 ip binding vpn-instance vpna Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 567 Pos1/0/0 link-protocol ppp ip address 100.1.1.2 255.255.255.0 mpls mpls ldp interface Pos2/0/0 link-protocol ppp ip address 100.2.1.2 255.255.255.0 mpls mpls ldp interface LoopBack1 ip address 4.4.4.4 255.255.255.255 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 568 GigabitEthernet2/0/0 ip address 10.2.1.1 255.255.255.0 efm enable interface LoopBack1 ip address 1.1.1.1 255.255.255.255 ip route-static 0.0.0.0 0.0.0.0 10.1.1.2 ip route-static 0.0.0.0 0.0.0.0 10.2.1.2 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 569: 1731 Configuration

    9.8 Configuring One-Way Frame Delay Measurement on a VPLS Network In VPLS networking, one-way frame delay measurement can be configured to measure the delay in unidirectional frame transmission on a link. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 570 9.10 Configuration Examples This section describes the typical deployment scenario of Y.1731, including the networking requirements, configuration roadmap, and data preparation, and provides related configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 571: Introduction

    After receiving the ETH-LMM, the remote MEP replies with an ETH-LMR (a frame containing ETH-LM response information). After receiving the ETH-LMR, the local MEP obtains corresponding measurement information based on message contents and calculates the frame loss ratio. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 572 DM frame and returns a Delay Measurement Reply (DMR) to carry out the one-way frame delay measurement. As shown in Figure 9-3, the process of one-way frame delay measurement is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 573 Jitter: is used as a measure of the variability over time of the frame delay across a network, and is the absolute difference value between two delays. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 574: Features Supported By The Ne80E/40E

    MEPs at both unidirectional transmission over the end of the link. ends of the link. frame link between peers transmission MEPs. over the link between peer MEPs. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 575: Configuring Single-Ended Frame Loss Measurement On A Vll

    SLA monitoring, the following functions of Y.1731 can be used to detect links: Single-ended frame loss measurement Dual-ended frame loss measurement One-way frame delay measurement Two-way frame delay measurement Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 576: Binding An Ma To A Vll

    Binding an MA to a VLL is a prerequisite for configuring single-ended frame loss measurement, dual-ended frame loss measurement,one-way frame delay measurement, or two-way frame delay measurement on the VLL. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 577 QinQ termination Removes both the inner and Removes both inner and outer sub-interface (in outer tags. tags, and then adds one tag. asymmetry mode) Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 578: Configuring Lmm Reception On A Remote Mep

    The MA view is displayed. Step 4 Run: loss-measure single-ended receive [ 8021p { 8021p-value } &<1–3> ] LMM reception is configured on a remote MEP. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 579: Enabling Single-Ended Frame Loss Measurement On A Vll

    One-way frame loss measurement on a VLL can be configured based on simple traffic classification. Priority mappings are set on PEs to change priorities in packets or re-classify the packets. This allows flexible frame loss measurement. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 580 Enable proactive single-ended frame loss measurement. NOTE Proactive single-ended frame loss measurement is PW-specific. Do as follows on the device that initiates proactive single-ended frame loss measurement on a PW: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 581: Checking The Configuration

    display Y.1731 statistic-type single-loss md md1 ma ma1 Latest single-ended loss statistics: Index Local-loss ratio Remote-loss ratio Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 582 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% display y1731 statistic-type single-loss md md1 ma ma1 8021p 1 2 Latest single-ended loss statistics of 802.1p 1: Index Local-loss ratio Remote-loss ratio 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000%...
  • Page 583: Configuring Dual-Ended Frame Loss Measurement On A Vll

    Dual-ended frame loss measurement One-way frame delay measurement Two-way frame delay measurement Figure 9-7 Networking diagram for performance monitoring Services Access Metro DSLAM BRAS Core Y.1731 Y.1731 Y.1731 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 584: Binding An Ma To A Vll

    To make dual-ended frame loss measurement on a PW, do as follows on the PEs at both ends of a VLL: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 585 QinQ termination Adds an outer tag. Replaces the VLAN ID in the sub-interface (in outer tag contained in a packet symmetry mode) with the local VLAN ID. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 586: Enabling Dual-Ended Frame Loss Measurement On A Vll

    ----End 9.3.4 Checking the Configuration After configuring dual-ended frame loss measurement on a VLL, you can view statistics about frame loss at both ends of a link. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 587: Configuring One-Way Frame Delay Measurement On A Vll

    NMS that matches the current device version. ----End Example Run the display y1731 statistic-type command, and you can view information about dual-ended frame loss measurement. display y1731 statistic-type dual-loss md md1 ma ma1 Latest dual-ended loss statistics: Index Local-loss ratio Remote-loss ratio 4294967295 100.0000%...
  • Page 588 ID of a remote MEP and MAC address of the interface where the remote MEP is located Interval at which a MEP sends CCMs in an MA Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 589: Binding An Ma To A Vll

    Dot1q termination Removes one tag. Keeps the tag unchanged. sub-interface QinQ termination Removes the outer tag. Keeps both inner and outer tags sub-interface (in unchanged. symmetry mode) Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 590: Configuring Dm Frame Reception On The Remote Device

    To make one-way frame delay measurement on a PW, do as follows on a remote PE: Procedure Step 1 Run: system-view The system view is displayed. Step 2 Run: cfm md md-name The MD view is displayed. Step 3 Run: ma-name Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 591: Enabling One-Way Frame Delay Measurement On A Vll

    1) that is involved in frame delay measurement fails to reach PE2 in time, causing incorrect frame delay statistics. 802.1p-priority-based one-way frame delay measurement can be configured for the VLL for accurate proactive frame delay tests. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 592 { mac mac-address | remote- mep mep-id mep-id } interval { 1000 | 10000 } count count-value On-demand one-way frame delay measurement is enabled on a PW. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 593: Checking The Configuration

    Procedure Run the display y1731 statistic-type oneway-delay md md-name ma ma-name [ 8021p { 8021p-value } &<1–3> ] [count value ] command to check Y.1731 performance statistics. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 594: Configuring Two-Way Frame Delay Measurement On A Vll

    30000 10000 10000 20000 10000 10000 10000 20000 10000 20000 display y1731 statistic-type oneway-delay md md1 ma ma1 8021p 1 2 Latest one-way delay statistics of 802.1p 1: Index One-way delay(usec) Delay variation(usec) 20000 20000 10000 10000 20000 10000 10000...
  • Page 595: Establishing The Configuration Task

    – Completing CFM-related configurations and configuring the MEP type as inward Data Preparation To configure two-way frame delay measurement on a VLL, you need the following data. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 596: Binding An Ma To A Vll

    MA cannot be associated with backup VC in 802.1ag. The interface of the raw type and the interface of the tagged type process packets in different manners, as shown in Table 9-8 Table 9-9. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 597: Configuring Dmm Reception On A Remote Device

    Two-way frame delay measurement can work normally only when DMM reception is configured on a remote device. Context Do as follows on the device where the remote MEP is located: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 598: Enabling Two-Way Frame Delay Measurement On A Vll

    As a result, the traffic (with the priority value of 1) that is involved in frame delay measurement fails to reach PE2 in time, causing incorrect frame delay statistics. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 599 { mac mac-address | remote-mep mep-id mep-id } interval { 1000 | 10000 } count count-value On-demand two-way frame delay measurement is enabled on a PW. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 600: Checking The Configuration

    Procedure Run the display y1731 statistic-type twoway-delay md md-name ma ma-name [ 8021p { 8021p-value } &<1–3> ] [ count value ]command to check Y.1731 performance statistics. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 601: Configuring Single-Ended Frame Loss Measurement On A Vpls Network

    MEP is located, and you can view information about two-way frame delay measurement and frame jitter. display y1731 statistic-type twoway-delay md md1 ma ma1 8021p 2 3 Latest one-way delay statistics of 8021p 2:...
  • Page 602 – Completing CFM-related configurations and configuring the MEP type as inward Data Preparation To configure single-ended frame loss measurement on a VPLS network, you need the following data. Data Names of an MD and an MA Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 603: Binding An Ma To A Vpls Network

    9.6.3 Configuring LMM Reception on a Remote MEP When single-ended frame loss measurement is performed on a link, Loss Measurement Message (LMM) reception needs to be configured on a remote MEP. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 604: Enabling Single-Ended Frame Loss Measurement On A Vpls Network

    To make single-ended frame loss measurement on a PW, do as follows on the PE that initiates the frame loss measurement: Procedure Enable on-demand single-ended frame loss measurement on a PW. Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 605: Checking The Configuration

    Y.1731 statistic-type single-loss md md1 ma ma1 Latest single-ended loss statistics: Index Local-loss ratio Remote-loss ratio 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 606: Configuring Dual-Ended Frame Loss Measurement On A Vpls Network

    Dual-ended frame loss measurement One-way frame delay measurement Two-way frame delay measurement Figure 9-13 Networking diagram for performance monitoring Services Access Metro DSLAM BRAS Core Y.1731 Y.1731 Y.1731 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 607: Binding An Ma To A Vpls Network

    PW or AC will be available. To make single-ended frame loss measurement on a PW between PEs on a VPLS network, do as follows on the PEs: Procedure Step 1 Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 608: Enabling Dual-Ended Frame Loss Measurement On A Vpls Network

    To enable dual-ended frame loss measurement on a PW, run the loss-measure dual-ended continual mep mep-id mep-id remote-mep mep-id mep-id peer-ip peer-ip [ vc-id vc-id ] command on the PEs at both ends of the PW. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 609: Checking The Configuration

    NMS that matches the current device version. ----End Example Run the display y1731 statistic-type command, and you can view information about dual-ended frame loss measurement. display y1731 statistic-type dual-loss md md1 ma ma1 peer-ip 1.1.1.1 vc-id Latest dual-ended loss statistics: Index Local-loss ratio Remote-loss ratio 4294967295 100.0000%...
  • Page 610 – Completing CFM-related configurations and configuring the MEP type as inward Data Preparation To configure one-way frame delay measurement on a VPLS network, you need the following data. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 611: Binding An Ma To A Vpls Network

    9.8.3 Configuring DM Frame Reception on a Remote Device When one-way frame delay measurement is configured for a link, DM frame reception needs to be configured on a remote device. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 612: Enabling One-Way Frame Delay Measurement On A Vpls Network

    To make one-way frame delay measurement on a PW, do as follows on the PE that initiates the frame delay measurement: Procedure Enable on-demand one-way frame delay measurement on a PW. Run: system-view The system view is displayed. Run: cfm md md-name Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 613: Checking The Configuration

    MEP is located, and you can view the value of One-way delay and frame jitter. display y1731 statistic-type oneway-delay md md1 ma ma1 peer-ip 1.1.1.1 Latest one-way delay statistics: Index...
  • Page 614: Establishing The Configuration Task

    – Configuring Martini VPLS For details, see the chapter "VPLS Configuration" in the NE80E/40E Configuration Guide - VPN. – Completing CFM-related configurations and configuring the MEP type as inward Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 615: Binding An Ma To A Vpls Network

    The MD view is displayed. Step 3 Run: ma-name The MA view is displayed. Step 4 Run: vsi vsi-name The MA is bound to a VSI. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 616: Configuring Dmm Reception On A Remote Mep

    To make frame delay measurement on a PW, do as follows on the device that initiates two- way frame delay measurement: Procedure Enable on-demand two-way frame delay measurement on a PW. Run: system-view Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 617: Checking The Configuration

    MEP is located, and you can view information about two-way frame delay measurement and frame jitter. display y1731 statistic-type twoway-delay md md1 ma ma1 peer-ip 2.2.2.2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential...
  • Page 618: Configuration Examples

    GE1/0/2 GE1/0/2 GE1/0/1 GE1/0/1 GE1/0/1 GE1/0/1 User User Network Network This example shows how to configure on-demand single-ended frame loss measurement on a PW in VLL networking. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 619 Configure a VLL connection. Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example.
  • Page 620 display y1731 statistic-type single-loss md md1 ma ma1 ----End Configuration Files Configuration file of PE1 sysname PE1 cfm version standard cfm enable mpls lsr-id 1.1.1.1 mpls Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 621 LoopBack0 ip address 2.2.2.2 255.255.255.0 ospf 1 area 0.0.0.0 network 2.2.2.2 0.0.0.0 network 100.1.1.0 0.0.0.255 cfm md md1 ma ma1 map mpls l2vc 2 tagged Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 622: Example For Configuring Proactive Single-Ended Frame Loss Measurement On A Vll

    Configure basic Ethernet CFM functions on a PW. Configure proactive single-ended frame loss measurement on a PW. Data Preparation To complete the configuration, you need the following data. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 623 Step 1 Configure a VLL connection. Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example.
  • Page 624 Configuration file of PE1 sysname PE1 cfm version standard cfm enable mpls lsr-id 1.1.1.1 mpls mpls l2vpn mpls ldp interface GigabitEthernet1/0/1.1 vlan-type dot1q 2 mpls l2vc 2.2.2.2 2 interface GigabitEthernet1/0/2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 625 2 tagged mep mep-id 2 interface GigabitEthernet1/0/1.1 inward mep ccm-send mep-id 4 enable remote-mep mep-id 3 remote-mep ccm-receive mep-id 3 enable loss-measure single-ended receive return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 626: Example For Configuring Proactive Dual-Ended Frame Loss Measurement On A Vll

    Step 1 Configure dual-ended frame loss measurement on a PW between PEs. Configure a VLL connection. Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI Issue 02 (2011-09-10) Huawei Proprietary and Confidential...
  • Page 627 HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability 9 Y.1731 Configuration NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example. After the configuration, run the display mpls l2vc command on each PE to view information about the VC and AC.
  • Page 628 1.1.1.1 mpls mpls l2vpn mpls ldp interface GigabitEthernet1/0/1.1 vlan-type dot1q 2 mpls l2vc 2.2.2.2 2 interface GigabitEthernet1/0/2 undo shutdown ip address 100.1.1.1 255.255.255.0 mpls Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 629 1.1.1.1 2 interface GigabitEthernet1/0/2 undo shutdown ip address 100.1.1.2 255.255.255.0 mpls mpls interface LoopBack0 ip address 2.2.2.2 255.255.255.0 ospf area 0.0.0.0 network 2.2.2.2 0.0.0.0 network 100.1.1.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 630: Example For Configuring On-Demand One-Way Frame Delay Measurement On A Vll

    Configuration Roadmap The configuration roadmap is as follows: Configure on-demand one-way measurement on a PW between PEs. Data Preparation To complete the configuration, you need the following data: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 631 Configure a VLL connection. Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example.
  • Page 632 10000 10000 20000 10000 20000 10000 10000 10000 10000 30000 20000 10000 20000 30000 20000 ----End Configuration Files Configuration file of PE1 sysname PE1 cfm version standard Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 633 GigabitEthernet1/0/1.1 vlan-type dot1q 2 mpls l2vc 1.1.1.1 2 interface GigabitEthernet1/0/2 undo shutdown ip address 100.1.1.2 255.255.255.0 mpls mpls ldp interface LoopBack0 ip address 2.2.2.2 255.255.255.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 634: Example For Configuring Proactive One-Way Frame Delay Measurement On A Vll

    This example shows how to configure proactive one-way frame delay measurement on a PW in VLL networking. Configuration Roadmap The configuration roadmap is as follows: Configure a PW between PEs. Complete basic CFM configurations. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 635 Step 1 Configure a VLL connection. Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example.
  • Page 636 display y1731 statistic-type oneway-delay md md1 ma ma1 ----End Configuration Files Configuration file of PE1 sysname PE1 cfm version standard cfm enable mpls lsr-id 1.1.1.1 mpls mpls l2vpn mpls ldp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 637 100.1.1.2 255.255.255.0 mpls mpls ldp interface LoopBack0 ip address 2.2.2.2 255.255.255.0 ospf 1 area 0.0.0.0 network 2.2.2.2 0.0.0.0 network 100.1.1.0 0.0.0.255 cfm md md1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 638: Example For Configuring On-Demand Two-Way Frame Delay Measurement On A Vll

    The configuration roadmap is as follows: Configure two-way frame delay measurement on a PW between PEs. Data Preparation To complete the configuration, you need the following data: VC ID Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 639 Configure a VLL connection. Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example.
  • Page 640 10000 10000 10000 10000 20000 10000 20000 10000 10000 20000 10000 10000 10000 20000 10000 ----End Configuration Files Configuration file of PE1 sysname PE1 cfm version standard Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 641 1 interface GigabitEthernet1/0/1.1 inward mep ccm-send mep-id 1 enable remote-mep mep-id 2 remote-mep ccm-receive mep-id 2 enable return Configuration file of PE2 sysname PE2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 642 2 tagged mep mep-id 2 interface GigabitEthernet1/0/1.1 inward mep ccm-send mep-id 2 enable remote-mep mep-id 1 remote-mep ccm-receive mep-id 1 enable delay-measure two-way receive return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 643: Example For Configuring Proactive Two-Way Frame Delay Measurement On A Vll

    To complete the configuration, you need the following data: VC ID MD names and MA names of PE1 and PE2, and MA names of CE1 and PE1 Procedure Step 1 Configure a VLL connection. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 644 9 Y.1731 Configuration Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example.
  • Page 645 1.1.1.1 mpls mpls l2vpn mpls ldp interface GigabitEthernet1/0/1.1 vlan-type dot1q 2 mpls l2vc 2.2.2.2 2 interface GigabitEthernet1/0/2 undo shutdown ip address 100.1.1.1 255.255.255.0 mpls mpls ldp Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 646 2 tagged mep mep-id 2 interface GigabitEthernet1/0/1.1 inward mep ccm-send mep-id 2 enable remote-mep mep-id 1 remote-mep ccm-receive mep-id 1 enable delay-measure two-way receive return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 647: Example For Configuring On-Demand Single-Ended Frame Loss Measurement On A Vpls Network

    Step 1 Configure on-demand single-ended frame loss measurement on a PW between PEs. Configure a VPLS connection. Configure a VPLS connection between PE1 and PE2. The detailed configurations are not provided here. For details, see the chapter "VPLS Configuration" in the HUAWEI Issue 02 (2011-09-10) Huawei Proprietary and Confidential...
  • Page 648 HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability 9 Y.1731 Configuration NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this example. After the configuration, run the display vsi name vsi-name verbose command on each PE to view information about the related VSI and PW.
  • Page 649 [PE1-md-md1-ma-ma1] mep mep-id 1 interface gigabitethernet1/0/1.1 inward [PE1-md-md1-ma-ma1] remote-mep mep-id 2 [PE1-md-md1-ma-ma1] mep ccm-send mep-id 1 enable [PE1-md-md1-ma-ma1] remote-mep ccm-receive mep-id 2 enable [PE1-md-md1-ma-ma1] quit [PE1-md-md1] quit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 650 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% 50.0000% 75.0000% ----End Configuration Files Configuration file of PE1 sysname PE1 cfm version standard cfm enable mpls lsr-id 1.1.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 651 1 peer 1.1.1.1 mpls ldp interface GigabitEthernet1/0/1.1 vlan-type dot1q 2 l2 binding vsi ldp1 interface GigabitEthernet1/0/2 undo shutdown ip address 100.1.1.2 255.255.255.0 mpls mpls ldp interface LoopBack0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 652: Example For Configuring Proactive Dual-Ended Frame Loss Measurement On A Vpls Network

    Network Network This example shows how to configure proactive dual-ended frame loss measurement on a PW in VPLS networking. Configuration Roadmap The configuration roadmap is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 653 Configure a VPLS connection. Configure a VPLS connection between PE1 and PE2. The detailed configurations are not provided here. For details, see the chapter "VPLS Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this example.
  • Page 654 0x800003 Broad BackupTunnel ID Ckey Nkey Main PW Token 0x800003 Slave PW Token Tnl Type OutInterface GigabitEthernet1/0/2 Backup OutInterface Stp Enable PW Last Up Time : 2010/10/12 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 655 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% 4294967295 100.0000% Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 656 2 enable loss-measure dual-ended continual mep mep-id 1 remote-mep mep-id 2 peer-ip 2.2.2.2 return Configuration file of PE2 sysname PE2 cfm version standard enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 657 2 interface GigabitEthernet1/0/1.1 inward mep ccm-send mep-id 2 enable remote-mep mep-id 1 remote-mep ccm-receive mep-id 1 enable loss-measure dual-ended continual mep mep-id 2 remote-mep mep-id 1 peer-ip 1.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 658: Example For Configuring On-Demand One-Way Frame Delay Measurement On A Vpls Network

    To complete the configuration, you need the following data: VSI name Alarm threshold of one-way frame delay measurement Names of MDs and MAs on PE1 and PE2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 659 Configure a VPLS connection. Configure a VPLS connection between PE1 and PE2. The detailed configurations are not provided here. For details, see the chapter "VPLS Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this example.
  • Page 660 IEEE Standard 802.1ag-2007. Create an MD named md1 and an MA named ma1, and bind the MA to the VSI. # Configure PE1. system-view [HUAWEI] sysname PE1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 661 10000 20000 10000 10000 10000 20000 10000 20000 30000 10000 10000 20000 20000 10000 20000 10000 10000 20000 10000 20000 20000 20000 30000 10000 10000 20000 10000 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 662 2.2.2.2 mpls interface GigabitEthernet1/0/1.1 vlan-type dot1q l2 binding vsi ldp1 interface GigabitEthernet1/0/2 undo shutdown ip address 100.1.1.1 255.255.255.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 663 2.2.2.2 mpls mpls l2vpn vsi ldp1 static pwsignal ldp1 vsi-id peer 1.1.1.1 mpls interface GigabitEthernet1/0/1.1 vlan-type dot1q l2 binding vsi ldp1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 664: Example For Configuring On-Demand Two-Way Frame Delay Measurement On A Vpls Network

    To ensure the reliability and stability of links between a user network and an operator network and improve the operator's capability in monitoring links, Y.1731 must be configured on the user network or the operator network. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 665 Configure a VPLS connection. Configure a VPLS connection between PE1 and PE2. The detailed configurations are not provided here. For details, see the chapter "VPLS Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this example.
  • Page 666 Broad BackupTunnel ID CKey NKey StpEnable PwIndex Interface Name GigabitEthernet1/0/1.1 State Last Up Time : 2010/10/12 14:18:39 Total Up Time : 0 days, 1 hours, 2 minutes, 44 seconds Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 667 [HUAWEI] sysname PE2 [PE2] cfm enable [PE2] cfm version standard [PE2] cfm md md1 [PE2-md-md1] ma ma1 [PE2-md-md1-ma-ma1] map vsi ldp1 [PE2-md-md1-ma-ma1] mep mep-id 2 interface gigabitethernet1/0/1.1 inward Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 668 10000 40000 30000 10000 30000 ----End Configuration Files Configuration file of PE1 sysname PE1 cfm version standard enable mpls lsr-id 1.1.1.1 mpls mpls l2vpn vsi ldp1 static Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 669 1 enable remote-mep mep-id 2 remote-mep ccm-receive mep-id 2 enable return Configuration file of PE2 sysname PE2 cfm version standard enable mpls lsr-id 2.2.2.2 mpls Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 670 2 interface GigabitEthernet1/0/1.1 inward mep ccm-send mep-id 2 enable remote-mep mep-id 1 remote-mep ccm-receive mep-id 1 enable delay-measure two-way receive peer-ip 1.1.1.1 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 671: Example For Configuring Y.1731 Statistics Based On Qos Simple Traffic Classification

    PWs. Figure 9-27 Network diagram for Y.1731 on a VLL GE1/0/2 GE1/0/2 GE1/0/1.1 GE1/0/1.1 User User Network Network Configuration Roadmap The configuration roadmap is as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 672 For the configuration procedure, see Configuring Priority Mapping for VLAN Packets in the HUAWEI NetEngine80E/40E Router Configuration Guide - QoS. For information on configurations, see the configuration files. NOTE Apply a traffic policy to the sub-interfaces connected to AC links on PE1 and PE2.
  • Page 673 For the configuration procedure, see Configuring Priority Mapping for MPLS Packets in the HUAWEI NetEngine80E/40E Router Configuration Guide - QoS. For information about configurations, see the configuration files. NOTE Bind the PW-side interface to a DS domain and enable simple traffic classification on PE1 and PE2.
  • Page 674 Step 3 Configure a VLL connection. Configure a VLL connection between PE1 and PE2. The configuration details are not provided here. For details, see the chapter "VLL Configuration" in the HUAWEI NetEngine80E/40E Router Configuration Guide - VPN or configuration files in this configuration example.
  • Page 675 Step 6 Enable proactive single-ended frame loss measurement on a VLL. # Configure PE1. [PE1-md-md1-ma-ma1] loss-measure single-ended continual mep mep-id 1 mac 0001-0001-0001 interval 30000 8021p 0 [PE1-md-md1-ma-ma1] quit [PE1-md-md1] quit Step 7 Verify the configuration. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 676 8021p-outbound af2 green map 3 8021p-outbound af4 green map 3 8021p-outbound cs7 green map 5 mpls-exp-inbound 6 phb cs7 green mpls-exp-outbound cs7 green map 6 cfm version standard cfm enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 677 8021p-outbound be green map 7 8021p-outbound af1 green map 3 8021p-outbound af2 green map 3 8021p-outbound af4 green map 3 8021p-outbound cs7 green map 5 mpls-exp-inbound 6 phb cs7 green Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 678 2 tagged mep mep-id 2 interface GigabitEthernet1/0/1.1 inward mep ccm-send mep-id 2 enable remote-mep mep-id 1 remote-mep ccm-receive mep-id 1 enable loss-measure single-ended receive 8021p 0 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 679: Mpls-Tp Oam Configuration

    MPLS-TP OAM configured on the NE80E/40E can check a PW built over a bidirectional LSP. 10.4 Configuration Examples This section describes the typical application scenarios of MPLS-TP OAM, networking requirements, configuration roadmap, and data preparation, and provides related configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 680: Introduction

    MPLS-TP OAM provides the performance monitoring and fault detection functions. Fault Management As shown in Table 10-1, MPLS-TP OAM supports the link fault detection and alarm suppression functions. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 681: Configuring Mpls-Tp Oam For An Lsp

    LSP to be monitored must be created. Before configuring the MPLS-TP OAM monitoring functions, familiarize yourself with the applicable environment, complete the pre-configuration tasks, and obtain the data required for the configuration. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 682 LSP faults are detected. Performance statistics Packet loss statistics LM: checks statistics about packets dropped between the ingress LER and egress LER of a bidirectional LSP. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 683: Creating An Me And Binding It To A Tunnel Interface

    The following static bidirectional LSPs are supported. Static bidirectional co-routed LSP: similar to two LSPs in opposite directions. A bidirectional co-routed LSP, however, is an integer. It maps two forwarding entries, and Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 684: Optional) Configuring Cc And Cv For An Lsp

    MEPs in a MEG. CV is used to detect consistency of configurations on two MEPs in a MEG or in different MEGs. The purpose of CC greatly differs from that of CV. The details are as follows: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 685 Sending CC/CV packets is enabled on the MEP. On the RMEP, run: cc send enable Sending CC/CV packets is enabled on the RMEP. On the MEP, run: cc receive enable Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 686: Optional) Configuring Lb For An Lsp

    Far-end packet loss: indicates the number and percentage of dropped packets that are sent from a MEP to an RMEP. The NE80E/40E supports two LM functions, namely, single-ended LM dual-ended LM. The differences between them are listed in Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 687 { threshold1 threshold1- value | threshold2 threshold2-value } command to configure the alarm threshold for packet loss measurement. Run the lost-measure dual-ended enable command to enable dual-ended LM. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 688: Optional) Configuring Dm For An Lsp

    (DMMs) to its RMEP and receives Delay Measurement Replies (DMRs) from the RMEP to carry out two-way DM. The differences between one-way DM and two-way DM are listed in Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 689: Optional) Configuring Ais For An Lsp

    If the server layer where the MEG resides detects a fault, it will report an alarm to the NMS and then inform the client layer of the fault. This can prevent higher-level network devices from sending the same alarm to the NMS. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 690: Checking The Configuration

    Run the display mpls-tp oam meg command to check MEG information on the device. Run the display mpls-tp oam statistic-type command to check MPLS-TP OAM performance statistics. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 691 Configuration Guide - Reliability 10 MPLS-TP OAM Configuration Example Run the display mpls-tp oam ais command to view the AIS configuration on a device. display mpls-tp oam ais meg test -------------------------------------------------- Meg test -------------------------------------------------- Ais Interval : 60000 Ais Exp...
  • Page 692: Configuring Mpls-Tp Oam For A Pw

    : SD1-NEAR, SD1-FAR, SD2-NEAR, SD2-FAR -------------------------------------------------- Run the display mpls-tp oam statistic-type command to view one-way delay statistics obtained using MPLS-TP OAM. display mpls-tp oam meg test statistic-type delay-measure one-way One-way delay measure statistics Index delay(us) delay variation(us) ----------------------------------------...
  • Page 693 Performance statistics Packet loss statistics Loss Measurement (LM): checks statistics about packets dropped between the ingress LER and egress LER of a PW built over a bidirectional LSP. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 694: Creating An Me And Binding It To A Pw

    If a transport path is a PW built over a bidirectional LSP, an ME created for the path must be bound to the PW before MPLS-TP OAM is configured. Perform the following steps on the MEP and RMEP: Procedure Step 1 Run: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 695: Optional) Configuring Cc And Cv For A Pw

    CC checks loss of continuity (LOC) defects between two MEPs in a MEG. CV is used to detect consistency of configurations on two MEPs in a MEG or in different MEGs. In real Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 696 – 60000 ms: 1 frame is sent per minute. – 600000 ms: 6 frames are sent per hour. Select a proper CCM transmission interval to suit the CC application requirement. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 697: Optional) Configuring Lb (To Be Performed At A Specified Time) For A Pw

    If the network speed is rather slow, timeout-value (a parameter that specifies the period for waiting for a response packet) can be set to a larger value when the ping meg command is configured. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 698: Optional) Configuring Lm For A Pw

    Far-end packet loss: indicates the number and percentage of dropped packets that are sent from a MEP to an RMEP. The NE80E/40E supports two LM functions, namely, single-ended LM and dual-ended LM. The differences between them are listed in Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 699 { threshold1 threshold1- value | threshold2 threshold2-value } command to configure the alarm threshold for packet loss measurement. Run the lost-measure dual-ended enable command to enable dual-ended LM. ----End Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 700: Optional) Configuring Dm For A Pw

    (DMMs) to its RMEP and receives Delay Measurement Replies (DMRs) from the RMEP to carry out two-way DM. The differences between one-way DM and two-way DM are listed in Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 701: Checking The Configuration

    MEG. Run the display mpls-tp oam me meg meg-name [ mep-id mep-id [ remote-mep-id remote-mep-id ] ] command to check ME information about the MEG. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 702 MPLS-TP OAM performance statistics. ----End Example Run the display mpls-tp oam ais command to view AIS configuration on a device. display mpls-tp oam ais meg test -------------------------------------------------- Meg test -------------------------------------------------- Ais Interval : 60000 Ais Exp...
  • Page 703: Configuration Examples

    : SD1-NEAR, SD1-FAR, SD2-NEAR, SD2-FAR -------------------------------------------------- Run the display mpls-tp oam statistic-type command to view one-way delay statistics obtained using MPLS-TP OAM. display mpls-tp oam meg test statistic-type delay-measure one-way One-way delay measure statistics Index delay(us) delay variation(us) ----------------------------------------...
  • Page 704: Example For Configuring Cc And Cv For An Lsp

    The configuration roadmap is as follows: Create an ME and bind it to a bidirectional LSP. Configure the interval between CCM transmissions and priority of CCMs. Enable CC and CV. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 705 Step 1 Configure a bidirectional LSP. For details about the bidirectional LSP that is built based on LSRs, see "Configuring a Static Bidirectional LSP" in the HUAWEI NetEngine80E/40E Router Configuration Guide-MPLS or information in the configuration files of this configuration example.
  • Page 706 3.3.3.3 mpls te signal-protocol cr-static mpls te tunnel-id 100 mpls te bidirectional mpls te commit ip route-static 2.2.2.2 255.255.255.255 2.1.1.2 ip route-static 3.3.3.3 255.255.255.255 2.1.1.2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 707 3.2.1.2 255.255.255.0 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 interface LoopBack1 ip address 3.3.3.3 255.255.255.255 interface Tunnel2/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 708: Example For Configuring Lb For An Lsp

    MEPs. Figure 10-6 Networking diagram for a bidirectional LSP Loopback1 Loopback1 Loopback1 1.1.1.1/32 2.2.2.2/32 3.3.3.3/32 POS1/0/0 POS1/0/0 POS2/0/0 POS1/0/0 2.1.1.1/24 2.1.1.2/24 3.2.1.1/24 3.2.1.2/24 LSRA LSRB LSRC Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 709 Step 1 Configure a bidirectional LSP. For details about the bidirectional LSP built based on LSRs, see "Configuring a Static Bidirectional LSP" in the
  • Page 710 100000 mpls te bandwidth bc0 100000 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 ip route-static 1.1.1.1 255.255.255.255 2.1.1.1 ip route-static 3.3.3.3 255.255.255.255 3.2.1.2 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 711: Example For Configuring Lm For An Lsp

    The number of dropped packets is the difference between the number of packets sent by the ingress node and the number of packets received by the egress node on a P2P LSP. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 712 Step 1 Configure a bidirectional LSP. For details about how to configure a bidirectional LSP between T-PEs, see "Configuring a Static Bidirectional LSP" in the HUAWEI NetEngine80E/40E Router Configuration Guide-MPLS or information in the configuration files of this configuration example.
  • Page 713 Min far-end lost frames:10,frame loss ratio:12.50% Average far-end lost frames:10,frame loss ratio:12.50% ----End Configuration Files Configuration file of LSRA sysname LSRA mpls lsr-id 1.1.1.1 mpls mpls te bidirectional static-cr-lsp ingress Tunnel1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 714 100000 mpls te bandwidth bc0 100000 interface LoopBack1 ip address 2.2.2.2 255.255.255.255 ip route-static 1.1.1.1 255.255.255.255 2.1.1.1 ip route-static 3.3.3.3 255.255.255.255 3.2.1.2 return Configuration file of LSRC Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 715: Example For Configuring Dm For An Lsp

    If the delay is longer than 2 seconds, VoIP services are unavailable. In addition, if the delay jitter is longer than the transmission of a voice packet, voice quality will drop greatly. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 716 Step 1 Configure a bidirectional LSP. For details about how to configure a bidirectional LSP between T-PEs, see "Configuring a Static Bidirectional LSP" in the HUAWEI NetEngine80E/40E Router Configuration Guide-MPLS or information in the configuration files of this configuration example.
  • Page 717 2.2.2.2 255.255.255.255 2.1.1.2 ip route-static 3.3.3.3 255.255.255.255 2.1.1.2 mpls-tp meg test me te interface Tunnel1/0/0 mep-id 1 remote-mep-id 2 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 718 LoopBack1 tunnel-protocol mpls te destination 1.1.1.1 mpls te signal-protocol cr-static mpls te tunnel-id 200 mpls te passive-tunnel mpls te binding bidirectional static-cr-lsp egress lsp1 mpls te commit Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 719: Example For Configuring Ais For An Lsp

    To complete the configuration, you need the following data: MEG name Name of the TE tunnel bound to the ME Procedure Step 1 Configure a bidirectional LSP. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 720 10 MPLS-TP OAM Configuration For details about how to configure a bidirectional LSP between T-PEs, see "Configuring a Static Bidirectional LSP" in the HUAWEI NetEngine80E/40E Router Configuration Guide-MPLS or information in the configuration files of this configuration example. Step 2 Create an ME and bind it to a bidirectional LSP.
  • Page 721 LSRC mpls lsr-id 3.3.3.3 mpls mpls te bidirectional static-cr-lsp egress lsp1 forward in-label 40 lsrid 1.1.1.1 tunnel-id 100 backward nexthop 3.2.1.1 out-label 16 bandwidth ct0 10000 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 722: Example For Configuring Cc And Cv For A Pw

    PW, the device will report an alarm indicating a forwarding error. Transport networks have strict requirements on data forwarding correctness. In addition, MPLS-TP requires that the data plane be able to work without IP support, which means Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 723 Step 1 Set up a PW over a bidirectional LSP. For details about how to set up a PW (between LSRs) based on a bidirectional LSP, see see "Configuring a PW" in the
  • Page 724 : 30000 vc type : VLAN state : UP alarm indicate : no alarm -------------------------------------------------- ----End Configuration Files Configuration file of PE1 sysname PE1 mpls lsr-id 1.1.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 725 20 nexthop 3.2.1.2 out-label 40 bandwidth ct0 10000 backward in-label 16 nexthop 2.1.1.1 out-label 20 bandwidth ct0 10000 interface Pos1/0/0 undo shutdown ip address 2.1.1.2 255.255.255.0 mpls Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 726 200 mpls te passive-tunnel mpls te binding bidirectional static-cr-lsp egress lsp1 mpls te reserved-for-binding mpls te commit ip route-static 1.1.1.1 255.255.255.255 3.2.1.1 ip route-static 2.2.2.2 255.255.255.255 3.2.1.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 727: Example For Configuring Lb For A Pw

    The configuration roadmap is as follows: Create an ME and bind it to a PW. Enable LB. Data Preparation To complete the configuration, you need the following data: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 728 Step 1 Set up a PW over a bidirectional LSP. For details about how to set up a PW (between LSRs) based on a bidirectional LSP, see see "Configuring a PW" in the HUAWEI NetEngine80E/40E Router Configuration Guide-MPLS or information in the configuration files of this configuration example.
  • Page 729 100000 ais enable interface Pos2/0/0 undo shutdown ip address 3.2.1.1 255.255.255.0 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 730 2.2.2.2 255.255.255.255 3.2.1.1 tunnel-policy tpctoa tunnel binding destination 1.1.1.1 te Tunnel1/0/0 mpls-tp meg test me l2vc peer-ip 1.1.1.1 vc-id 30000 vc-type vlan mep-id 2 remote-mep-id 1 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 731: Example For Configuring Lm For A Pw

    Create an ME and bind it to a PW. Enable CC on the MEP and RMEP. Configure an alarm threshold for packet loss measurement. Enable dual-ended LM. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 732 Step 1 Set up a PW over a bidirectional LSP. For details about how to set up a PW (between LSRs) based on a bidirectional LSP, see see "Configuring a PW" in the HUAWEI NetEngine80E/40E Router Configuration Guide-MPLS or information in the configuration files of this configuration example.
  • Page 733 2.2.2.2 255.255.255.255 2.1.1.2 ip route-static 3.3.3.3 255.255.255.255 2.1.1.2 tunnel-policy tpatoc tunnel binding destination 2.2.2.2 te Tunnel1/0/0 mpls-tp meg test Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 734 1.1.1.1 control-word tnl-policy tpctoa interface Pos1/0/0 undo shutdown ip address 3.2.1.2 255.255.255.0 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 interface POS1/0/0.1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 735: Example For Configuring Dm For A Pw

    10-13, PE1, PE2, and PE3 are connected using a PW built over a bidirectional LSP. The following deployment is performed to guarantee the connectivity between PE1 and PE3: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 736 Step 1 Set up a PW over a bidirectional LSP. For details about how to set up a PW (between LSRs) based on a bidirectional LSP, see see "Configuring a PW" in the HUAWEI NetEngine80E/40E Router Configuration Guide-MPLS or information in the configuration files of this configuration example.
  • Page 737 2.2.2.2 255.255.255.255 2.1.1.2 ip route-static 3.3.3.3 255.255.255.255 2.1.1.2 tunnel-policy tpatoc tunnel binding destination 2.2.2.2 te Tunnel1/0/0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 738 1.1.1.1 control-word tnl-policy tpctoa interface Pos1/0/0 undo shutdown ip address 3.2.1.2 255.255.255.0 mpls mpls te mpls te bandwidth max-reservable-bandwidth 100000 mpls te bandwidth bc0 100000 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 739 2.2.2.2 255.255.255.255 3.2.1.1 tunnel-policy tpctoa tunnel binding destination 1.1.1.1 te Tunnel1/0/0 mpls-tp meg test me l2vc peer-ip 1.1.1.1 vc-id 30000 vc-type vlan mep-id 2 remote-mep-id 1 return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 740: Multi-Device Backup Configuration

    11.5 Configuration Examples This section provides configuration examples of multi-device backup. Each configuration example consists of the networking requirements, configuration precautions, configuration roadmap, configuration procedures, and configuration files. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 741: Introduction

    If a new backup device is added or the fault is rectified on the backup link, the router adopts the batch backup mode to ensure the same information between devices. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 742 Therefore, a large number of ARP Miss messages are generated. The new master device can forward network traffic to users only after the new master device have learned all users' MAC addresses. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 743: Establishing The Multi-Device Backup Platform

    Configuring a local or remote IP address pool (The IP address pools on the devices that back up each other must be the same.) Data Preparation To establish the multi-device backup platform, you need the following data. Data VRRP backup group ID Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 744: Configuring Vrrp

    The VRRP backup group IDs and virtual IP addresses of the two devices that back up each other must be the same. Step 5 Run: vrrp vrid virtual-router-id priority priority-value The VRRP priority of the device is configured. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 745: Configuring The Remote Backup Service

    The RBS is configured to track the network-side interface status. In this manner, the NE80E/ 40E can detect the fault occurrence or recovery of the TCP connection established by the RBS. Step 6 (Optional) Run: track bfd-session bfd-session Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 746: Configuring A Remote Backup Profile

    ----End 11.2.5 Checking the Configuration After the configuration succeeds, you can view the connection status of the remote server and the configuration of the remote backup policy. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 747: Configuring Dual-Device Arp Hot Backup

    Before configuring dual-device ARP hot backup, familiarize yourself with the deployment scenario, complete the pre-configuration tasks, and obtain the data required for the configuration. This will help you complete the configuration task quickly and efficiently. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 748: Configuring An Rbp For Arp Service Backup

    The remote backup policy bound to an interface must be created in the system view. Otherwise, the binding fails. Context Do as follows on the devices that back up each other: Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 749: Checking The Configuration

    (RBS). ----End Example display remote-backup-profile test -------------------------------------------- Profile-Index : 0x802 Profile-Name : test Service : arp Remote-backup-service: test Backup-ID : 10 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 750: Maintaining Multi-Device Backup

    [ service-name [verbose ]] command to display information about the RBS. ----End 11.4.2 Clearing Backup Information Clearing backup and information may affect services. You must execute this operation with caution. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 751: Configuration Examples

    , without learning MAC addresses of users. This prevents packet loss if the new master device fails to obtain MAC addresses of users in time. Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 752 The configuration roadmap is as follows: Configure a routing protocol to achieve intercommunication between devices. For details, refer to the HUAWEI NetEngine80E/40E Router Configuration Guide - IP Routing. Establish a multi-device backup platform. Configure the RBP to back up ARP services.
  • Page 753 Step 2 Bind the RBP to the user access interface. In this example, GE 1/0/0 is used and the configuration of Router A is provided. The configuration of Router A is similar to that of Router B. [RouterA] interface gigabitethernet 1/0/0 [RouterA-GigabitEthernet1/0/0] remote-backup-profile profile1 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 754 100.0.0.2 discriminator local 1 discriminator remote 2 commit interface gigabitethernet 1/0/0 vlan-type dot1q 200 ip address 100.0.0.1 255.255.255.0 vrrp vrid 1 virtual-ip 100.0.0.100 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 755 1 interface gigabitethernet 1/0/0 interface gigabitethernet 1/0/0 user-vlan 50 remote-backup-profile profile1 interface LoopBack1 ip address 88.88.88.88 255.255.255.255 ospf 1 area 0.0.0.0 network 11.0.0.0 0.0.0.255 network 88.88.88.88 0.0.0.0 Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 756 HUAWEI NetEngine80E/40E Router Configuration Guide - Reliability 11 Multi-Device Backup Configuration return Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 757: A Glossary

    In this manner, CCMs from a low- level MD are confined within the bounds of the MD. DMTI Desired Min TX Interval Detect Multiplier Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 758 MA. Either a MEP or a MIP is called a Maintenance Point (MP). MTBF Mean Time Between Failure MTTR Mean Time to Repair Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 759 The working mode of EFM OAM is an attribute of the interface enabled with EFM OAM. EFM OAM has two working modes: active mode and passive mode. Wait To Restore Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 760: B Acronyms And Abbreviations

    Description Abbreviations Active Main Board Bidirectional Forwarding Detection Border Gateway Protocol DMTI Desired Min TX Interval Detect Multiplier Fast ReRoute Graceful Restart High Availability Label Switched Path Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.
  • Page 761 Mean Time to Repair RMTI Required Min TX Interval Second Main Board service provider universal resource locator Universal Media Gateway VRRP Virtual Router Redundancy Protocol Wait To Restore Issue 02 (2011-09-10) Huawei Proprietary and Confidential Copyright © Huawei Technologies Co., Ltd.

This manual is also suitable for:

Netengine40e

Table of Contents