Operation Manual - Routing Protocol
Quidway S3500 Series Ethernet Switches Table of Contents
Huawei Technologies Proprietary
iii
4.3 Displaying and Debugging OSPF.................................................................................... 4-24
4.4 Typical OSPF Configuration Example ............................................................................. 4-25
4.4.1 Configuring DR Election Based on OSPF Priority ................................................ 4-25
4.4.2 Configuring OSPF Virtual Link .............................................................................. 4-27
4.5 OSPF Fault Diagnosis and Troubleshooting ................................................................... 4-28
Chapter 5 BGP Configuration ...................................................................................................... 5-1
5.1 Brief Introduction to BGP...................................................................................................5-1
5.1.1 BGP Overview......................................................................................................... 5-1
5.1.2 BGP Messages ....................................................................................................... 5-2
5.1.3 BGP Routing Mechanism........................................................................................ 5-2
5.1.4 BGP peer and peer group....................................................................................... 5-3
5.2 BGP Configuration............................................................................................................. 5-3
5.2.1 Enabling BGP.......................................................................................................... 5-4
5.2.2 Configuring basic features for BGP peer ................................................................ 5-4
5.2.3 Configuring application features of BGP peer (group)............................................ 5-7
5.2.4 Configuring route filtering of peer (group)............................................................. 5-11
5.2.5 Configuring Networks for BGP Distribution........................................................... 5-12
5.2.6 Configuring the Interaction between BGP and IGP .............................................. 5-12
5.2.7 Configuring BGP Route Summarization ............................................................... 5-13
5.2.8 Configuring BGP Route Filtering........................................................................... 5-14
5.2.9 Configuring BGP route dampening....................................................................... 5-15
5.2.10 Configuring BGP Timer....................................................................................... 5-16
5.2.11 Configuring the local preference ......................................................................... 5-16
5.2.12 Configuring MED for AS...................................................................................... 5-17
5.2.13 Comparing the MED Routing Metrics from the Peers in Different ASs............... 5-17
5.2.14 Configuring BGP Community.............................................................................. 5-18
5.2.15 Configuring BGP Route Reflector ....................................................................... 5-19
5.2.16 Configuring BGP AS Confederation Attribute ..................................................... 5-21
5.2.17 Defining ACL, AS Path List, and Route-policy.................................................... 5-22
5.2.18 Clearing BGP Connection................................................................................... 5-23
5.2.19 Refreshing BGP Routes...................................................................................... 5-23
5.3 Displaying and Debugging BGP ...................................................................................... 5-24
5.4 Typical BGP Configuration Example ............................................................................... 5-25
5.4.1 Configuring BGP AS Confederation Attribute ....................................................... 5-25
5.4.2 Configuring BGP Route Reflector ......................................................................... 5-27
5.4.3 Configuring BGP Routing...................................................................................... 5-29
5.5 Fault Diagnosis and BGP Troubleshooting ..................................................................... 5-32
Chapter 6 IP Routing Policy Configuration ................................................................................ 6-1
6.1 Brief Introduction to IP Routing Policy ............................................................................... 6-1
6.2 IP Routing Policy Configuration......................................................................................... 6-3
6.2.1 Defining a route-policy ............................................................................................ 6-3
6.2.2 Defining If-match clauses for a Route-policy .......................................................... 6-4