H3C S9500E Series Configuration manual

Category
Networking
Type
Configuration manual
H3C S9500E Series Routing Switches
Layer3 - IP Routing Configuration Guide
Hangzhou H3C Technologies Co., Ltd.
http://www.h3c.com
Document Version:
Product Version:
Copyright © 2003-2010, Hangzhou H3C Technologies Co., Ltd. and its licensors
All Rights Reserved
No part of this manual may be reproduced or transmitted in any form or by any means without prior
written consent of Hangzhou H3C Technologies Co., Ltd.
Trademarks
H3C, , Aolynk, , H
3
Care,
, TOP G, , IRF, NetPilot, Neocean, NeoVTL,
SecPro, SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V
2
G, V
n
G, PSPT,
XGbus, N-Bus, TiGem, InnoVision and HUASAN are trademarks of Hangzhou H3C Technologies Co.,
Ltd.
All other trademarks that may be mentioned in this manual are the property of their respective owners.
Notice
The information in this document is subject to change without notice. Every effort has been made in the
preparation of this document to ensure accuracy of the contents, but all statements, information, and
recommendations in this document do not constitute the warranty of any kind, express or implied.
Environmental Protection
This product has been designed to comply with the requirements on environmental protection. The
storage, use, and disposal of this product must meet the applicable national laws and regulations.
Preface
The H3C S9500E documentation set includes 13 configuration guides, which describe the software
features for the H3C S9500E Series Routing Switches and guide you through the software configuration
procedures. These configuration guides also provide configuration examples to help you apply software
features to different network scenarios.
This preface includes:
• Audience
• Conventions
• About the H3C S9500E Documentation Set
• Obtaining Documentation
• Documentation Feedback
Audience
This documentation is intended for:
Network planners
Field technical support and servicing engineers
Network administrators working with the S9500E series
4
Conventions
This section describes the conventions used in this documentation set.
Command conventions
Convention Description
Boldface Bold text represents commands and keywords that you enter literally as shown.
italic Italic text represents arguments that you replace with actual values.
[ ]
Square brackets enclose syntax choices (keywords or arguments) that are
optional.
{ x | y | ... }
Braces enclose a set of required syntax choices separated by vertical bars, from
which you select one.
[ x | y | ... ]
Square brackets enclose a set of optional syntax choices separated by vertical
bars, from which you select one or none.
{ x | y | ... } *
Asterisk marked braces enclose a set of required syntax choices separated by
vertical bars, from which you select at least one.
[ x | y | ... ] *
Asterisk marked square brackets enclose optional syntax choices separated by
vertical bars, from which you may select multiple choices or none.
&<1-n>
The argument or keyword and argument combination before the ampersand (&)
sign can be entered 1 to n times.
# A line that starts with a pound (#) sign is comments.
GUI conventions
Convention Description
< > Button names are inside angle brackets. For example, click <OK>.
[ ]
Window names, menu items, data table and field names are inside square
brackets. For example, pop up the [New User] window.
/
Multi-level menus are separated by forward slashes. For example,
[File/Create/Folder].
Symbols
Convention Description
Means reader be extremely careful. Improper operation may cause bodily
injury.
Means reader be careful. Improper operation may cause data loss or damage
to equipment.
Means an action or information that needs special attention to ensure successful
configuration or good performance.
Means a complementary description.
Means techniques helpful for you to make configuration with ease.
5
Network topology icons
Convention Description
Represents a generic network device, such as a router, switch, or firewall.
Represents a routing-capable device, such as a router or Layer 3 switch.
Represents a generic switch, such as a Layer 2 or Layer 3 switch, or a router
that supports Layer 2 forwarding and other Layer 2 features.
6
About the H3C S9500E Documentation Set
The H3C S9500E documentation set includes:
Category Documents Purposes
Product description and
specifications
Marketing brochures Describe product specifications and benefits.
Technology white papers
Provide an in-depth description of software features
and technologies.
Card datasheets Describe card specifications, features, and standards.
Hardware specifications
and installation
Compliance and safety
manual
Provides regulatory information and the safety
instructions that must be followed during installation.
Quick start
Guides you through initial installation and setup
procedures to help you quickly set up and use your
device with the minimum configuration.
Installation guide
Provides a complete guide to hardware installation
and hardware specifications.
Card manuals Provide the hardware specifications of cards.
H3C N68 Cabinet
Installation and Remodel
Introduction
Guides you through installing and remodeling H3C
N68 cabinets.
H3C Pluggable SFP
[SFP+][XFP] Transceiver
Modules Installation
Guide
Guides you through installing SFP/SFP+/XFP
transceiver modules.
Adjustable Slider Rail
Installation Guide
Guides you through installing adjustable slider rails to
a rack.
H3C High-End Network
Products Hot-Swappable
Module Manual
Describes the hot-swappable modules available for the
H3C high-end network products, their external views,
and specifications.
Installation videos
Show how to install the LSTM1PEMC and
LSTM1PEM2N AC-input power supply modules.
Software configuration
Configuration guides
Describe software features and configuration
procedures.
Command references Provide a quick reference to all available commands.
Configuration examples
Describe typical network scenarios and provide
configuration examples and instructions.
Operations and
maintenance
System log messages Explains the system log messages.
Trap messages Explains the trap messages.
MIB Companion Describes the MIBs for the software release.
Release notes
Provide information about the product release,
including the version history, hardware and software
compatibility matrix, version upgrade information,
technical support information, and software
upgrading.
7
Category Documents Purposes
Error code reference Explains the error codes for the QoS module.
8
Obtaining documentation
You can access the most up-to-date H3C product documentation on the World Wide Web at
http://www.h3c.com
.
Click the links on the top navigation bar to obtain different categories of product documentation:
[Technical Support & Documents > Technical Documents]
– Provides hardware installation, software
upgrading, and software feature configuration and maintenance documentation.
[Products & Solutions]
– Provides information about products and technologies, as well as solutions.
[Technical Support & Documents > Software Down
load] – Provides the documentation released with the
software version.
Documentation feedback
You can e-mail your comments about product documentation to [email protected].
We appreciate your comments.
9
Table of Contents
Preface ·········································································································································································· 3
Audience ············································································································································································ 3
Conventions ······································································································································································· 4
About the H3C S9500E Documentation Set ·················································································································· 6
IP routing basics configuration ·································································································································· 20
IP routing and routing table ·········································································································································· 20
Routing ···································································································································································· 20
Routing table ·························································································································································· 20
Routing protocol overview ············································································································································· 22
Static routing and dynamic routing ····················································································································· 22
Dynamic routing protocols classification ············································································································ 22
Routing protocols and routing preference ·········································································································· 23
Load balancing and route backup ······················································································································ 24
Route recursion ······················································································································································ 24
Routing information sharing ································································································································· 24
Configuring a router ID ················································································································································· 24
Displaying and maintaining a routing table ··············································································································· 25
Static routing configuration ······································································································································· 27
Static route ····························································································································································· 27
Default route ··························································································································································· 27
Application environment ······································································································································· 27
Configuring a static route ·············································································································································· 28
Configuring BFD for static routes ························································································································· 29
Configuring static route FRR ·········································································································································· 31
Displaying and maintaining static routes ···················································································································· 32
Static route configuration examples ····························································································································· 33
Basic static route configuration example ············································································································ 33
Static route FRR configuration example ·············································································································· 35
Configuring BFD echo packet mode ··················································································································· 38
Configuring BFD control packet mode for static routing ··················································································· 40
RIP configuration ························································································································································ 42
RIP overview ··································································································································································· 42
RIP routing table ···················································································································································· 42
RIP timers ································································································································································ 42
Routing loops prevention ······································································································································ 43
Operating RIP ························································································································································ 43
RIP versions ···························································································································································· 43
RIP message format ··············································································································································· 44
10
Supported RIP features ·········································································································································· 46
Protocols and standards ······································································································································· 46
Configuring RIP basic functions ···································································································································· 46
Configuring RIP route control ········································································································································ 48
Configuring an additional routing metric ··········································································································· 49
Configuring RIPv2 route summarization·············································································································· 49
Disabling host route reception ····························································································································· 50
Advertising a default route ··································································································································· 51
Configuring inbound or outbound route filtering ······························································································· 52
Configuring a priority for RIP ······························································································································· 52
Configuring RIP route redistribution ····················································································································· 53
Configuring RIP network optimization ························································································································· 53
Configuring RIP timers ··········································································································································· 53
Configuring split horizon and poison reverse ···································································································· 54
Configuring the maximum number of load balanced routes ············································································ 55
Enabling zero field check on incoming RIPv1 messages ·················································································· 55
Enabling source IP address check on incoming RIP updates ············································································ 56
Configuring RIPv2 message authentication ········································································································ 56
Specifying a RIP neighbor ···································································································································· 57
Configuring RIP-to-MIB binding ···························································································································· 57
Configuring the RIP packet sending rate ············································································································ 57
Configuring RIP FRR ·············································································································································· 58
Configuring BFD for RIP ················································································································································· 59
Single-hop detection in BFD echo packet mode ································································································ 59
Bidirectional detection in BFD control packet mode ·························································································· 60
Displaying and maintaining RIP ··································································································································· 60
RIP configuration examples ··········································································································································· 61
Configuring RIP version ········································································································································ 61
Configuring RIP route redistribution ····················································································································· 63
Configuring an additional metric for a RIP interface ························································································· 65
Configuring RIP to advertise a summary route ··································································································· 67
RIP FRR configuration example ···························································································································· 70
Configuring BFD for RIP (single-hop detection in BFD echo packet mode) ····················································· 72
Configuring BFD for RIP (bidirectional detection in BFD control packet mode) ·············································· 75
Troubleshooting RIP ························································································································································ 79
No RIP updates received ······································································································································ 79
Route oscillation occurred ···································································································································· 79
OSPF configuration ···················································································································································· 80
Introduction to OSPF ······················································································································································ 80
Basic concepts ······················································································································································· 80
OSPF area partition ·············································································································································· 82
Router types ···························································································································································· 86
Classification of OSPF networks ·························································································································· 87
11
DR and BDR ··························································································································································· 88
OSPF packet formats ············································································································································· 89
Supported OSPF features ····································································································································· 99
Protocols and standards ····································································································································· 101
OSPF configuration tasks ············································································································································ 101
Enabling OSPF ····························································································································································· 102
Prerequisites ························································································································································· 102
Configuration procedure ···································································································································· 102
Configuring OSPF areas ············································································································································· 103
Prerequisites ························································································································································· 103
Configuring a stub area ····································································································································· 104
Configuring an NSSA area ································································································································ 104
Configuring a virtual link ···································································································································· 105
Configuring OSPF network types ······························································································································· 106
Prerequisites ························································································································································· 106
Configuring the OSPF network type for an interface as broadcast ······························································· 107
Configuring the OSPF network type for an interface as NBMA ···································································· 107
Configuring the OSPF network type for an interface as P2MP ······································································ 108
Configuring the OSPF network type for an interface as P2P ·········································································· 109
Configuring OSPF route control ································································································································· 110
Prerequisites ························································································································································· 110
Configuring OSPF route summarization ··········································································································· 110
Configuring OSPF inbound route filtering ········································································································ 112
Configuring ABR Type-3 LSA filtering ··············································································································· 112
Configuring an OSPF cost for an interface ······································································································ 113
Configuring the maximum number of OSPF routes ························································································· 114
Configuring the maximum number of load-balanced routes ·········································································· 114
Configuring a priority for OSPF ························································································································· 114
Configuring OSPF route redistribution ·············································································································· 115
Advertising a host route ······································································································································ 117
Configuring OSPF network optimization ··················································································································· 117
Prerequisites ························································································································································· 117
Configuring OSPF packet timers ························································································································ 117
Specifying an LSA transmission delay ·············································································································· 118
Specifying SPF calculation interval ···················································································································· 119
Specifying the LSA minimum repeat arrival interval ························································································ 119
Specifying the LSA generation interval ············································································································· 120
Disabling interfaces from receiving or sending OSPF packets ······································································· 121
Configuring stub routers ····································································································································· 121
Configuring OSPF authentication ······················································································································ 122
Adding the interface MTU into DD packets ······································································································ 123
Configuring the maximum number of external LSAs in LSDB ········································································· 123
Making external route selection rules defined in RFC 1583 compatible ······················································ 124
Logging neighbor state changes ························································································································ 124
12
Configuring OSPF network management ········································································································· 124
Enabling message logging ································································································································· 125
Enabling the advertisement and reception of opaque LSAs ··········································································· 126
Configuring OSPF to give priority to receiving and processing hello packets ············································· 126
Configuring the LSU transmit rate ······················································································································ 126
Configuring OSPF FRR ········································································································································ 127
Prerequisites ························································································································································· 128
Configure OSPF FRR to automatically calculate a backup next hop ····························································· 128
Configure OSPF FRR to designate a backup next hop using a routing policy ············································· 128
Configuring OSPF graceful restart ····························································································································· 129
Configuring the OSPF GR Helper ······················································································································ 130
Triggering OSPF Graceful Restart······················································································································ 131
Configuring BFD for OSPF ·········································································································································· 131
Displaying and maintaining OSPF ····························································································································· 132
OSPF configuration examples ···································································································································· 134
Configuring OSPF basic functions ····················································································································· 134
Configuring OSPF route redistribution ·············································································································· 138
Configuring OSPF to advertise a summary route ····························································································· 140
Configuring an OSPF stub area························································································································· 143
Configuring an OSPF NSSA area ····················································································································· 147
Configuring OSPF DR election ··························································································································· 149
Configuring OSPF virtual links ··························································································································· 154
OSPF Graceful Restart configuration example ································································································· 156
Configuring route filtering ·································································································································· 158
Configuring OSPF FRR ········································································································································ 161
Configuring BFD for OSPF ································································································································· 163
Troubleshooting OSPF configuration ························································································································· 165
No OSPF neighbor relationship established ···································································································· 165
Incorrect routing information ······························································································································ 165
IS-IS configuration ··················································································································································· 167
IS-IS overview ······························································································································································· 167
Basic concepts ····················································································································································· 167
IS-IS area ······························································································································································ 169
IS-IS network types ·············································································································································· 171
IS-IS PDU format ··················································································································································· 173
Supported IS-IS features ······································································································································ 179
Protocols and standards ····································································································································· 182
IS-IS configuration tasks ··············································································································································· 182
Configuring IS-IS basic functions ······················································································································· 182
Enabling IS-IS ······················································································································································· 183
Configuring the IS level and circuit level ·········································································································· 183
Configuring the network type of an interface as P2P ······················································································ 184
Configuring IS-IS routing information control ············································································································ 184
13
Configuring IS-IS link cost ··································································································································· 184
Specifying a priority for IS-IS ····························································································································· 186
Configuring the maximum number of equal-cost routes ·················································································· 187
Configuring IS-IS route summarization ·············································································································· 187
Advertising a default route ································································································································· 188
Configuring IS-IS route redistribution ················································································································ 188
Configuring IS-IS route filtering ·························································································································· 189
Configuring IS-IS route leaking ·························································································································· 190
Tuning and optimizing IS-IS networks ························································································································ 191
Specifying intervals for sending IS-IS hello and CSNP packets ····································································· 191
Specifying the IS-IS hello multiplier ···················································································································· 191
Configuring a DIS priority for an interface ······································································································· 192
Disabling an interface from sending or receiving IS-IS packets ····································································· 192
Enabling an interface to send small hello packets ··························································································· 193
Configuring LSP parameters ······························································································································· 193
Configuring SPF parameters ······························································································································ 197
Setting the LSDB overload bit ····························································································································· 197
Configuring IS-IS authentication ································································································································· 198
Configuring neighbor relationship authentication ··························································································· 198
Configuring area authentication ························································································································ 198
Configuring routing domain authentication ······································································································ 199
Configuring system ID to host name mappings ········································································································ 199
Configuring a static system ID to host name mapping ···················································································· 200
Configuring dynamic system ID to host name mapping ················································································· 200
Configuring IS-IS GR ···················································································································································· 201
Configuring IS-IS NSR ·················································································································································· 202
Configuring IS-IS FRR ··················································································································································· 203
Introduction ·························································································································································· 203
Configure IS-IS FRR to automatically calculate a backup next hop································································ 204
Configure IS-IS FRR to designate a backup next hop with a routing policy·················································· 204
Enabling the logging of neighbor state changes ······································································································ 205
Enabling IS-IS SNMP trap ··········································································································································· 205
Binding an IS-IS process with MIBs ···························································································································· 205
Configuring BFD for IS-IS············································································································································· 206
Displaying and maintaining IS-IS ······························································································································· 206
IS-IS configuration examples ······································································································································· 207
IS-IS basic configuration ····································································································································· 207
DIS election configuration ·································································································································· 213
Configuring IS-IS route redistribution ················································································································ 218
IS-IS-based Graceful Restart configuration example ························································································ 223
IS-IS NSR configuration example ······················································································································· 225
IS-IS FRR configuration example ························································································································ 228
IS-IS authentication configuration example······································································································· 231
Configuring BFD for IS-IS ···································································································································· 233
14
BGP configuration ··················································································································································· 236
BGP overview ······························································································································································· 236
Formats of BGP messages ·································································································································· 237
BGP path attributes ············································································································································· 240
BGP route selection ············································································································································· 244
iBGP and IGP synchronization ·························································································································· 246
Settlements for problems in large-scale BGP networks ···················································································· 247
BGP GR ································································································································································ 251
MP-BGP ································································································································································· 252
Protocols and standards ····································································································································· 253
BGP configuration ························································································································································ 253
Configuring BGP connection ······························································································································ 253
Creating a BGP connection ································································································································ 253
Specifying the source interface for TCP connections ······················································································· 254
Allowing establishment of eBGP connection to a non-directly connected peer or peer group ······················ 255
Controlling route distribution and reception ············································································································· 256
Configuring BGP route redistribution ················································································································ 256
Configuring BGP route summarization ············································································································· 256
Advertising a default route to a peer or peer group ······················································································· 257
Configuring BGP route distribution filtering policies ······················································································· 257
Configuring BGP route reception filtering policies ·························································································· 258
Enabling BGP and IGP route synchronization ································································································· 259
Configuring BGP route dampening ··················································································································· 260
Configuring BGP route attributes ································································································································ 260
Tuning and optimizing BGP networks ························································································································ 262
Configuring BGP keepalive interval and holdtime ·························································································· 262
Configuring the interval for sending the same update ···················································································· 263
Configuring BGP soft-reset·································································································································· 263
Enabling the BGP ORF capability······················································································································ 265
Enabling quick eBGP session reestablishment ································································································· 266
Enabling MD5 authentication for TCP connections ························································································· 266
Configuring BGP load balancing ······················································································································ 266
Forbiding session establishment with a peer or peer group ··········································································· 267
Configuring a large-scale BGP network ···················································································································· 267
Configuring BGP peer groups ··························································································································· 267
Configuring BGP community ······························································································································ 270
Configuring a BGP route reflector ····················································································································· 270
Configuring a BGP confederation ····················································································································· 271
Configuring BGP GR ··················································································································································· 271
Enabling trap ································································································································································ 272
Configuring BFD for BGP ············································································································································ 273
Displaying and maintaining BGP ······························································································································· 273
Displaying BGP ···················································································································································· 273
Resetting BGP connections ································································································································· 275
15
Clearing BGP information ·································································································································· 275
BGP configuration examples ······································································································································ 275
BGP basic configuration ····································································································································· 276
BGP and IGP synchronization configuration ···································································································· 281
BGP load balancing configuration ···················································································································· 284
BGP community configuration ···························································································································· 286
BGP route reflector configuration ······················································································································ 289
BGP confederation configuration ······················································································································ 291
BGP path selection configuration ······················································································································ 295
Configuring BFD for BGP ··································································································································· 299
BGP GR configuration ········································································································································· 302
Troubleshooting BGP ··················································································································································· 303
No BGP peer relationship established ·············································································································· 303
IP unicast policy routing configuration ·················································································································· 305
Introduction to IP unicast policy routing ····················································································································· 305
Policy routing ······················································································································································· 305
Track-policy routing collaboration ····················································································································· 305
Configuring IP unicast policy routing ························································································································· 306
Defining a policy ················································································································································· 306
Configuring local policy routing ························································································································ 307
Configuring interface policy routing ················································································································· 307
Displaying and maintaining IP unicast policy routing configuration ······································································ 308
IP unicast policy routing configuration examples ····································································································· 308
Configuring local policy routing based on packet type ·················································································· 308
Configuring interface policy routing based on packet type ··········································································· 311
IPv6 static routing configuration ····························································································································· 313
Introduction to IPv6 static routing ······························································································································· 313
Features of IPv6 static routes ······························································································································ 313
Default IPv6 route ················································································································································ 313
Configuring an IPv6 static route ································································································································· 313
Configuring an IPv6 static route ························································································································ 313
Displaying and maintaining IPv6 static routes ·········································································································· 314
IPv6 static routing configuration example ················································································································· 314
RIPng configuration ················································································································································· 324
Introduction to RIPng ···················································································································································· 324
RIPng working mechanism ·································································································································· 325
RIPng packet format ············································································································································ 325
RIPng packet processing procedure ·················································································································· 327
Protocols and standards ····································································································································· 327
Configuring RIPng basic functions ······························································································································ 327
Configuring RIPng route control ································································································································· 328
Configuring an additional routing metri ··········································································································· 328
16
Configuring RIPng route summarization ··········································································································· 329
Advertising a default route ································································································································· 329
Configuring a RIPng route filtering policy ········································································································· 329
Configuring a priority for RIPng ························································································································· 330
Configuring RIPng route redistribution ·············································································································· 330
Tuning and optimizing the RIPng network ················································································································· 331
Configuring RIPng timers ···································································································································· 331
Configuring split horizon and poison reverse ·································································································· 331
Configuring zero field check on RIPng packets ······························································································· 332
Configuring the maximum number of equal cost routes for load balancing ················································ 333
Displaying and maintaining RIPng ····························································································································· 333
RIPng configuration examples····································································································································· 334
Configure RIPng basic functions ························································································································ 334
Configuring RIPng route redistribution ·············································································································· 337
OSPFv3 configuration ············································································································································· 341
Introduction to OSPFv3 ················································································································································ 341
OSPFv3 overview ················································································································································ 341
OSPFv3 packets··················································································································································· 341
OSPFv3 LSA types ··············································································································································· 342
Timers of OSPFv3 ················································································································································ 342
OSPFv3 features supported ································································································································ 343
Protocols and standards ····································································································································· 343
OSPFv3 configuration tasks ········································································································································ 343
Enabling OSPFv3 ················································································································································ 343
Enabling an OSPFv3 process ····························································································································· 344
Configuring OSPFv3 area parameters ············································································································· 344
Configuring an OSPFv3 stub area ···················································································································· 344
Configuring an OSPFv3 virtual link ··················································································································· 345
Configuring OSPFv3 network types ··························································································································· 346
Configuring the OSPFv3 network type for an interface ·················································································· 346
Configuring an NBMA or P2MP neighbor ······································································································· 346
Configuring OSPFv3 routing information control ····································································································· 347
Configuring OSPFv3 route summarization ······································································································· 347
Configuring OSPFv3 inbound route filtering ···································································································· 348
Configuring an OSPFv3 cost for an interface ·································································································· 348
Configuring the maximum number of OSPFv3 load-balanced routes ··························································· 349
Configuring a priority for OSPFv3 ···················································································································· 349
Configuring OSPFv3 route redistribution ·········································································································· 350
Tuning and optimizing OSPFv3 networks ················································································································· 351
Configuring OSPFv3 timers ································································································································ 351
Configuring a DR priority for an interface ········································································································ 352
Ignoring MTU check for DD packets ················································································································· 352
Disable interfaces from sending OSPFv3 packets ··························································································· 353
17
Enable the logging of neighbor state changes ································································································ 353
Configuring OSPFv3 GR ············································································································································· 354
Configuring GR Restarter ···································································································································· 354
Configuring GR Helper ······································································································································· 354
Displaying and maintaining OSPFv3 ························································································································· 355
OSPFv3 configuration examples ································································································································ 356
Configuring OSPFv3 areas ································································································································ 356
Configuring OSPFv3 DR election ······················································································································· 361
Configuring OSPFv3 route redistribution ·········································································································· 364
Configuring OSPFv3 GR ···································································································································· 368
Troubleshooting OSPFv3 configuration ····················································································································· 369
No OSPFv3 neighbor relationship established ································································································ 369
Incorrect routing information ······························································································································ 370
IPv6 IS-IS configuration ··········································································································································· 371
Introduction to IPv6 IS-IS ·············································································································································· 371
Configuring IPv6 IS-IS basic functions ························································································································ 371
Configuring IPv6 IS-IS routing information control ··································································································· 372
Prerequisites ························································································································································· 372
Displaying and maintaining IPv6 IS-IS ······················································································································· 373
IPv6 IS-IS configuration example ································································································································ 374
IPv6 BGP configuration ··········································································································································· 377
IPv6 BGP overview ······················································································································································· 377
IPv6 BGP configuration tasks ······································································································································ 377
Configuring IPv6 BGP basic functions ·············································································································· 377
Specifying an IPv6 BGP peer ····························································································································· 378
Injecting a local IPv6 route ································································································································· 378
Configuring a preferred value for routes from a peer or peer group ···························································· 378
Specifying the source interface for establishing TCP connections ································································· 379
Allowing the establishment of a non-direct eBGP connection ········································································ 380
Configuring a description for an IPv6 peer or peer group ············································································· 380
Disabling session establishment to an IPv6 peer or peer group ···································································· 381
Logging IPv6 peer or peer group state changes ······························································································ 381
Controlling route distribution and reception ············································································································· 381
Configuring IPv6 BGP route redistribution ········································································································ 382
Advertising a default route to an IPv6 peer or peer group ············································································· 382
Configuring outbound route filtering ················································································································· 383
Configuring inbound route filtering ··················································································································· 383
Configuring IPv6 BGP and IGP route synchronization ···················································································· 384
Configuring route dampening ···························································································································· 385
Configuring IPv6 BGP route attributes ······················································································································· 385
Configuring IPv6 BGP preference and default LOCAL_PREF and NEXT_HOP attributes ···························· 385
Configuring the MED attribute ··························································································································· 386
Configuring the AS_PATH attribute ··················································································································· 387
18
Tuning and optimizing IPv6 BGP networks ··············································································································· 388
Configuring IPv6 BGP timers ······························································································································ 388
Configuring IPv6 BGP soft reset ························································································································· 389
Enabling the IPv6 BGP ORF capability ············································································································· 390
Configuring the maximum number of load-balanced routes ·········································································· 391
Configuring a large-scale IPv6 BGP network ············································································································ 392
Configuring IPv6 BGP peer group ····················································································································· 392
Configuring IPv6 BGP community ····················································································································· 394
Configuring an IPv6 BGP route reflector··········································································································· 394
Configuring 6PE ··························································································································································· 395
Configuring basic 6PE capabilities ··················································································································· 396
Configuring optional 6PE capabilities ·············································································································· 396
Displaying and maintaining IPv6 BGP ······················································································································· 398
Displaying BGP ···················································································································································· 398
Resetting IPv6 BGP connections ························································································································· 399
Clearing IPv6 BGP information ·························································································································· 400
IPv6 BGP configuration examples ······························································································································ 400
IPv6 BGP basic configuration ···························································································································· 401
IPv6 BGP route reflector configuration ·············································································································· 403
Troubleshooting IPv6 BGP configuration ··················································································································· 405
No IPv6 BGP peer relationship established ····································································································· 405
IPv6 unicast policy routing configuration ·············································································································· 406
Introduction to IPv6 unicast policy routing················································································································· 406
Configuring IPv6 unicast policy routing ····················································································································· 406
Configuring IPv6 policy ······································································································································ 406
Configuring IPv6 local policy routing ················································································································ 408
Configuring IPv6 interface policy routing ········································································································· 408
Displaying and maintaining IPv6 unicast policy routing configuration ·································································· 409
IPv6 unicast policy routing configuration examples ································································································· 409
Configuring IPv6 local policy routing based on packet type ········································································· 410
Configuring IPv6 interface policy routing based on packet type ··································································· 412
Routing policy configuration ·································································································································· 415
Introduction to routing policy ······································································································································ 415
Routing policy and policy routing ······················································································································ 415
Filters ····································································································································································· 415
Routing policy application ·································································································································· 416
Routing policy configuration tasks ······························································································································ 416
Defining filters ······················································································································································ 416
Defining an IP-prefix list ······································································································································ 417
Defining an AS-PATH list ···································································································································· 418
Defining a community list ··································································································································· 418
Defining an extended community list ················································································································ 419
Configuring a routing policy ······································································································································· 419
19
Creating a routing policy ··································································································································· 420
Defining if-match clauses ···································································································································· 420
Defining apply clauses ········································································································································ 422
Defining a continue clause ································································································································· 424
Displaying and maintaining the routing policy ········································································································· 425
Routing policy configuration examples ······················································································································ 425
Applying a routing policy to IPv4 route redistribution ····················································································· 425
Applying a routing policy to IPv6 route redistribution ····················································································· 429
Applying a routing policy to filter received BGP routes ·················································································· 431
Troubleshooting routing policy configuration ··········································································································· 433
IPv4 routing information filtering failure············································································································ 433
IPv6 routing information filtering failure············································································································ 434
Obtaining support for your product ······················································································································· 436
Register your product ··················································································································································· 436
Purchase value-added services ··································································································································· 436
Troubleshoot online ······················································································································································ 436
Access software downloads ········································································································································ 437
Telephone technical support and repair ···················································································································· 437
Contact us ····································································································································································· 437
Acronyms ································································································································································· 438
Index ········································································································································································ 452
20
IP routing basics configuration
IP routing and routing table
Routing
Routing in the Internet is achieved through routers. Upon receiving a packet, a router finds an
optimal route based on the destination address and forwards the packet to the next router in the
path until the packet reaches the last router. The last router forwards the packet to the intended
destination host.
The term router in this document refers to both routers and Layer 3 switches.
Routing table
Routing tables play a key role in routing. Each router maintains a routing table. Each entry in the
table specifies which physical interface a packet destined for a certain destination will go out to
reach the next hop (the next router) or the directly connected destination.
Routes in a routing table can be divided into the following categories by origin:
• Direct routes: Routes discovered by data link protocols, also known as interface routes
• Static routes: Manually configured routes
• Dynamic routes: Routes discovered dynamically by routing protocols
Routing table contents
A routing table includes the following key items:
• Destination address: Destination IP address or destination network.
• Network mask: Specifies, in company with the destination address, the address of the
destination network. A logical AND operation between the destination address and the
network mask yields the address of the destination network. For example, if the destination
address is 129.102.8.10 and the mask is 255.255.0.0, then the address of the destination
network is 129.102.0.0. A network mask is made of a certain number of consecutive 1s. It
can be expressed in dotted decimal format or by the number of the 1s.
• Outbound interface: Specifies the interface through which the IP packets are to be
forwarded.
• IP address of the next hop: Specifies the address of the next router on the path. If only the
outbound interface is configured, its address will be the IP address of the next hop.
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459

H3C S9500E Series Configuration manual

Category
Networking
Type
Configuration manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI