Brocade Communications Systems ICX 6650, Layer 3 Routing Configuration ICX 6650 User manual

  • Hello! I am an AI chatbot trained to assist you with the Brocade Communications Systems ICX 6650 User manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
53-1002603-01
28 September 2012
®
Brocade ICX 6650
Layer 3 Routing Configuration Guide
Supporting FastIron Software Release 07.5.00
Copyright © 2012 Brocade Communications Systems, Inc. All Rights Reserved.
Brocade, Brocade Assurance, the B-wing symbol, BigIron, DCX, Fabric OS, FastIron, MLX, NetIron, SAN Health, ServerIron,
TurboIron, VCS, and VDX are registered trademarks, and AnyIO, Brocade One, CloudPlex, Effortless Networking, ICX, NET Health,
OpenScript, and The Effortless Network are trademarks of Brocade Communications Systems, Inc., in the United States and/or in
other countries. Other brands, products, or service names mentioned may be trademarks of their respective owners.
Notice: This document is for informational purposes only and does not set forth any warranty, expressed or implied, concerning
any equipment, equipment feature, or service offered or to be offered by Brocade. Brocade reserves the right to make changes to
this document at any time, without notice, and assumes no responsibility for its use. This informational document describes
features that may not be currently available. Contact a Brocade sales office for information on feature and product availability.
Export of technical data contained in this document may require an export license from the United States government.
The authors and Brocade Communications Systems, Inc. shall have no liability or responsibility to any person or entity with
respect to any loss, cost, liability, or damages arising from the information contained in this book or the computer programs that
accompany it.
The product described by this document may contain “open source” software covered by the GNU General Public License or other
open source license agreements. To find out which open source software is included in Brocade products, view the licensing
terms applicable to the open source software, and obtain a copy of the programming source code, please visit
http://www.brocade.com/support/oscd.
Brocade Communications Systems, Incorporated
Document History
Corporate and Latin American Headquarters
Brocade Communications Systems, Inc.
130 Holger Way
San Jose, CA 95134
Tel: 1-408-333-8000
Fax: 1-408-333-8101
E-mail: info@brocade.com
Asia-Pacific Headquarters
Brocade Communications Systems China HK, Ltd.
No. 1 Guanghua Road
Chao Yang District
Units 2718 and 2818
Beijing 100020, China
Tel: +8610 6588 8888
Fax: +8610 6588 9999
European Headquarters
Brocade Communications Switzerland Sàrl
Centre Swissair
Tour B - 4ème étage
29, Route de l'Aéroport
Case Postale 105
CH-1215 Genève 15
Switzerland
Tel: +41 22 799 5640
Fax: +41 22 799 5641
E-mail: emea-i[email protected]
Asia-Pacific Headquarters
Brocade Communications Systems Co., Ltd. (Shenzhen WFOE)
Citic Plaza
No. 233 Tian He Road North
Unit 1308 – 13th Floor
Guangzhou, China
Tel: +8620 3891 2000
Fax: +8620 3891 2111
Title Publication number Summary of changes Date
Brocade ICX 6650 Layer 3 Routing
Configuration Guide
53-1002603-01 Release 07.4.00 document
updated with
enhancements in Release
07.5.00
September 2012
Brocade ICX 6650 Layer 3 Routing Configuration Guide iii
53-1002603-01
Contents
About This Document
Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Supported hardware and software . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
Brocade ICX 6650 slot and port numbering . . . . . . . . . . . . . . . . . . . . xi
How this document is organized . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii
Document conventions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Text formatting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Command syntax conventions . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Notes, cautions, and warnings . . . . . . . . . . . . . . . . . . . . . . . . . . xiii
Notice to the reader . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Related publications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xiv
Additional information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Brocade resources. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Other industry resources . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Getting technical help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv
Document feedback . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvi
Chapter 1 IP Configuration
Basic IP configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
IP configuration overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Full Layer 3 support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
IP interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
IP packet flow through a Layer 3 Switch. . . . . . . . . . . . . . . . . . . . 5
IP route exchange protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
IP multicast protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
IP interface redundancy protocols . . . . . . . . . . . . . . . . . . . . . . . 10
ACLs and IP access policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Basic IP parameters and defaults – Layer 3 Switches. . . . . . . . . . .11
When parameter changes take effect . . . . . . . . . . . . . . . . . . . .11
IP global parameters – Layer 3 Switches. . . . . . . . . . . . . . . . . . 11
IP interface parameters – Layer 3 Switches . . . . . . . . . . . . . . .15
Basic IP parameters and defaults – Layer 2 Switches. . . . . . . . . . . 17
IP global parameters – Layer 2 Switches. . . . . . . . . . . . . . . . . . 17
Interface IP parameters – Layer 2 Switches . . . . . . . . . . . . . . .19
iv Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
Configuring IP parameters – Layer 3 Switches . . . . . . . . . . . . . . . . . 19
Configuring IP addresses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Configuring 31-bit subnet masks on
point-to-point networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .23
Configuring DNS resolver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Configuring packet parameters . . . . . . . . . . . . . . . . . . . . . . . . .28
Changing the router ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Specifying a single source interface for specified
packet types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
ARP parameter configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Configuring forwarding parameters . . . . . . . . . . . . . . . . . . . . . . 40
Disabling ICMP messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
Disabling ICMP redirect messages . . . . . . . . . . . . . . . . . . . . . . .44
Static routes configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45
Configuring a default network route . . . . . . . . . . . . . . . . . . . . . .54
Configuring IP load sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . .55
ICMP Router Discovery Protocol configuration . . . . . . . . . . . . .58
IRDP parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
Reverse Address Resolution Protocol configuration . . . . . . . . . 61
Configuring UDP broadcast and IP helper parameters . . . . . . .62
BootP and DHCP relay parameter configuration . . . . . . . . . . . . 65
DHCP Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
Displaying DHCP Server information . . . . . . . . . . . . . . . . . . . . .78
DHCP Client-Based Auto-Configuration and flash
image update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .80
Configuring IP parameters – Layer 2 Switches . . . . . . . . . . . . . . . . .88
Configuring the management IP address and specifying
the default gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 88
Configuring Domain Name Server resolver . . . . . . . . . . . . . . . .89
Changing the TTL threshold . . . . . . . . . . . . . . . . . . . . . . . . . . . .90
DHCP Assist configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
IPv4 point-to-point GRE tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . .95
IPv4 GRE tunnel overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95
GRE packet structure and header format . . . . . . . . . . . . . . . . .95
Path MTU Discovery (PMTUD) support . . . . . . . . . . . . . . . . . . . .96
Configuration considerations for PMTUD support . . . . . . . . . . . 97
Support for IPv4 multicast routing over GRE tunnels . . . . . . . . 97
GRE support with other features . . . . . . . . . . . . . . . . . . . . . . . .98
Configuration considerations for GRE IP tunnels . . . . . . . . . . .98
Configuration tasks for GRE tunnels . . . . . . . . . . . . . . . . . . . .100
Point-to-point GRE tunnel configuration example . . . . . . . . . .107
Displaying GRE tunneling information . . . . . . . . . . . . . . . . . . .108
Clearing GRE statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .112
Displaying IP configuration information and statistics . . . . . . . . . .113
Changing the network mask display to prefix format . . . . . . .113
Displaying IP information – Layer 3 Switches . . . . . . . . . . . . .113
Displaying IP information – Layer 2 Switches . . . . . . . . . . . . .128
Brocade ICX 6650 Layer 3 Routing Configuration Guide v
53-1002603-01
Chapter 2 Base Layer 3 and Routing Protocols
Adding a static IP route. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .133
Adding a static ARP entry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .134
Modifying and displaying Layer 3 system parameter limits . . . . . .134
Layer 3 configuration notes. . . . . . . . . . . . . . . . . . . . . . . . . . . .134
Displaying Layer 3 system parameter limits . . . . . . . . . . . . . .135
Configuring RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
Enabling RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .136
Enabling redistribution of IP static routes into RIP . . . . . . . . .136
Configuring a redistribution filter . . . . . . . . . . . . . . . . . . . . . . .137
Enabling redistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .138
Enabling learning of default routes . . . . . . . . . . . . . . . . . . . . .138
Changing the route loop prevention method . . . . . . . . . . . . . .138
Other Layer 3 protocols. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139
Enabling or disabling routing protocols . . . . . . . . . . . . . . . . . . . . . .139
Enabling or disabling Layer 2 switching . . . . . . . . . . . . . . . . . . . . .139
Configuration notes and feature limitations for
Layer 2 switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .140
Command syntax for Layer 2 switching . . . . . . . . . . . . . . . . . .140
Chapter 3 RIP (IPv4)
RIP overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .141
RIP parameters and defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
RIP global parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142
RIP interface parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . .143
RIP parameter configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
Enabling RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .144
Enabling ECMP for routes in RIP . . . . . . . . . . . . . . . . . . . . . . . .144
Configuring metric parameters . . . . . . . . . . . . . . . . . . . . . . . . .144
Changing the administrative distance. . . . . . . . . . . . . . . . . . .146
Configuring redistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146
Route learning and advertising parameters . . . . . . . . . . . . . .148
Denying route advertisements for connected routes . . . . . . .150
Changing the route loop prevention method . . . . . . . . . . . . . .150
Suppressing RIP route advertisement on a VRRP or
VRRP-E backup interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Configuring RIP route filters . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Displaying RIP filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .153
Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . . . . . . .154
Chapter 4 RIP (IPv6)
RIPng overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157
Summary of configuration tasks . . . . . . . . . . . . . . . . . . . . . . . . . . .158
RIPng configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158
Enabling RIPng . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .158
vi Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
RIPng timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
Updating RIPng timers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .159
Route learning and advertising parameters . . . . . . . . . . . . . . . . . .160
Configuring default route learning and advertising . . . . . . . . .160
Advertising IPv6 address summaries . . . . . . . . . . . . . . . . . . . .160
Changing the metric of routes learned and
advertised on an interface . . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Redistributing routes into RIPng . . . . . . . . . . . . . . . . . . . . . . . . . . .161
Controlling distribution of routes through RIPng. . . . . . . . . . . . . . .162
Configuring poison reverse parameters . . . . . . . . . . . . . . . . . . . . .162
Clearing RIPng routes from the IPv6 route table. . . . . . . . . . . . . . .163
Displaying the RIPng configuration . . . . . . . . . . . . . . . . . . . . . . . . .164
Displaying RIPng routing table . . . . . . . . . . . . . . . . . . . . . . . . . . . . .165
Chapter 5 OSPF version 2 (IPv4)
OSPF overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .168
OSPF point-to-point links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169
Designated routers in multi-access networks . . . . . . . . . . . . .170
Designated router election in multi-access networks . . . . . . .170
OSPF RFC 1583 and 2178 compliance . . . . . . . . . . . . . . . . . . 171
Reduction of equivalent AS External LSAs . . . . . . . . . . . . . . . .172
Support for OSPF RFC 2328 Appendix E . . . . . . . . . . . . . . . . . 174
Dynamic OSPF activation and configuration . . . . . . . . . . . . . .175
Dynamic OSPF memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
OSPF graceful restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 176
Configuring OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177
OSPF configuration rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
OSPF parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .177
Enabling OSPF on the router. . . . . . . . . . . . . . . . . . . . . . . . . . .178
Assigning OSPF areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .179
Assigning an area range (optional). . . . . . . . . . . . . . . . . . . . . .183
Assigning interfaces to an area . . . . . . . . . . . . . . . . . . . . . . . .184
Modifying interface defaults . . . . . . . . . . . . . . . . . . . . . . . . . . .184
Changing the timer for OSPF authentication changes . . . . . .186
Block flooding of outbound LSAs on specific
OSPF interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .187
Configuring an OSPF non-broadcast interface. . . . . . . . . . . . .188
Assigning virtual links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .189
Modifying virtual link parameters . . . . . . . . . . . . . . . . . . . . . . .191
Changing the reference bandwidth for the cost
on OSPF interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .192
Defining redistribution filters . . . . . . . . . . . . . . . . . . . . . . . . . .194
Preventing specific OSPF routes from being installed
in the IP route table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .197
Modifying the default metric for redistribution . . . . . . . . . . . .200
Enabling route redistribution. . . . . . . . . . . . . . . . . . . . . . . . . . .200
Disabling or re-enabling load sharing. . . . . . . . . . . . . . . . . . . .202
Configuring external route summarization. . . . . . . . . . . . . . . .204
Brocade ICX 6650 Layer 3 Routing Configuration Guide vii
53-1002603-01
Configuring default route origination . . . . . . . . . . . . . . . . . . . .205
Modifying SPF timers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206
Modifying the redistribution metric type . . . . . . . . . . . . . . . . .207
Administrative distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .207
Configuring OSPF group Link State Advertisement pacing . . .208
Modifying OSPF traps generated . . . . . . . . . . . . . . . . . . . . . . .208
Specifying the types of OSPF Syslog messages to log . . . . . .209
Modifying the OSPF standard compliance setting. . . . . . . . . .210
Modifying the exit overflow interval . . . . . . . . . . . . . . . . . . . . .210
Configuring an OSPF point-to-point link . . . . . . . . . . . . . . . . . .211
Configuring OSPF graceful restart . . . . . . . . . . . . . . . . . . . . . .211
Clearing OSPF information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .212
Clearing OSPF neighbor information . . . . . . . . . . . . . . . . . . . .212
Clearing OSPF topology information . . . . . . . . . . . . . . . . . . . . .213
Clearing redistributed routes from the OSPF routing table. . .213
Clearing information for OSPF areas . . . . . . . . . . . . . . . . . . . .213
Displaying OSPF information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214
Displaying general OSPF configuration information . . . . . . . .214
Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . . .215
Displaying OSPF area information . . . . . . . . . . . . . . . . . . . . . .216
Displaying OSPF neighbor information . . . . . . . . . . . . . . . . . . . 217
Displaying OSPF interface information. . . . . . . . . . . . . . . . . . .219
Displaying OSPF route information . . . . . . . . . . . . . . . . . . . . . .220
Displaying OSPF external link state information . . . . . . . . . . .222
Displaying OSPF link state information . . . . . . . . . . . . . . . . . .223
Displaying the data in an LSA . . . . . . . . . . . . . . . . . . . . . . . . . .224
Displaying OSPF virtual neighbor information . . . . . . . . . . . . .224
Displaying OSPF virtual link information . . . . . . . . . . . . . . . . .224
Displaying OSPF ABR and ASBR information . . . . . . . . . . . . . .225
Displaying OSPF trap status . . . . . . . . . . . . . . . . . . . . . . . . . . .225
Displaying OSPF graceful restart information . . . . . . . . . . . . .226
Chapter 6 OSPF version 3 (IPv6)
OSPF (IPv6) overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227
Differences between OSPF V2 and OSPF V3 . . . . . . . . . . . . . . . . .228
Link state advertisement types for OSPF V3. . . . . . . . . . . . . . . . . .228
OSPF V3 configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .229
Enabling OSPF V3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .229
Assigning OSPF V3 areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . .230
Assigning interfaces to an area . . . . . . . . . . . . . . . . . . . . . . . .231
Configuring virtual links. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .231
Changing the reference bandwidth for the cost on
OSPF V3 interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .234
Redistributing routes into OSPF V3 . . . . . . . . . . . . . . . . . . . . .235
External route summarization. . . . . . . . . . . . . . . . . . . . . . . . . .238
Filtering OSPF V3 routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .239
Default route origination . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .242
Shortest path first timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . .243
Administrative distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .244
viii Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
Configuring the OSPF V3 LSA pacing interval . . . . . . . . . . . . .245
Modifying exit overflow interval. . . . . . . . . . . . . . . . . . . . . . . . .245
Modifying external link state database limit . . . . . . . . . . . . . .245
Modifying OSPF V3 interface defaults . . . . . . . . . . . . . . . . . . .246
Disabling or re-enabling event logging . . . . . . . . . . . . . . . . . . .247
IPsec for OSPF V3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 247
IPsec for OSPF V3 configuration . . . . . . . . . . . . . . . . . . . . . . . .248
Displaying OSPF V3 Information . . . . . . . . . . . . . . . . . . . . . . . . . . .254
Displaying OSPF V3 area information. . . . . . . . . . . . . . . . . . . .255
Displaying OSPF V3 database information. . . . . . . . . . . . . . . .256
Displaying OSPF V3 interface information . . . . . . . . . . . . . . . .261
Displaying OSPF V3 memory usage . . . . . . . . . . . . . . . . . . . . .264
Displaying OSPF V3 neighbor information . . . . . . . . . . . . . . . .265
Displaying routes redistributed into OSPF V3 . . . . . . . . . . . . .267
Displaying OSPF V3 route information . . . . . . . . . . . . . . . . . . .268
Displaying OSPF V3 SPF information . . . . . . . . . . . . . . . . . . . .270
Displaying IPv6 OSPF virtual link information . . . . . . . . . . . . .273
Displaying OSPF V3 virtual neighbor information . . . . . . . . . .273
IPsec examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 274
Chapter 7 BGP (IPv4)
BGP4 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282
Relationship between the BGP4 route table and
the IP route table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .282
How BGP4 selects a path for a route . . . . . . . . . . . . . . . . . . . .283
BGP4 message types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .285
BGP4 graceful restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .287
Basic configuration and activation for BGP4 . . . . . . . . . . . . . . . . .287
Note regarding disabling BGP4. . . . . . . . . . . . . . . . . . . . . . . . .288
BGP4 parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .288
BGP4 parameter changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .289
Basic configuration tasks required for BGP4 . . . . . . . . . . . . . . . . .291
Enabling BGP4 on the router . . . . . . . . . . . . . . . . . . . . . . . . . .291
Changing the router ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .291
Setting the local AS number . . . . . . . . . . . . . . . . . . . . . . . . . . .292
Adding a loopback interface . . . . . . . . . . . . . . . . . . . . . . . . . . .292
Adding BGP4 neighbors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .292
Adding a BGP4 peer group . . . . . . . . . . . . . . . . . . . . . . . . . . . .299
Optional BGP4 configuration tasks . . . . . . . . . . . . . . . . . . . . . . . . .304
Changing the Keep Alive Time and Hold Time . . . . . . . . . . . . .304
Changing the BGP4 next-hop update timer . . . . . . . . . . . . . . .304
Enabling fast external fallover. . . . . . . . . . . . . . . . . . . . . . . . . .305
Changing the maximum number of paths for
BGP4 load sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .305
Customizing BGP4 load sharing . . . . . . . . . . . . . . . . . . . . . . . .307
Specifying a list of networks to advertise. . . . . . . . . . . . . . . . .307
Changing the default local preference . . . . . . . . . . . . . . . . . . .309
Using the IP default route as a valid next hop for
a BGP4 route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .309
Brocade ICX 6650 Layer 3 Routing Configuration Guide ix
53-1002603-01
Advertising the default route. . . . . . . . . . . . . . . . . . . . . . . . . . .310
Changing the default MED (Metric) used for
route redistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .310
Enabling next-hop recursion . . . . . . . . . . . . . . . . . . . . . . . . . . .310
Changing administrative distances . . . . . . . . . . . . . . . . . . . . .313
Requiring the first AS to be the neighbor AS . . . . . . . . . . . . . .315
Disabling or re-enabling comparison of the
AS-Path length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315
Enabling or disabling comparison of the router IDs . . . . . . . .315
Configuring the Layer 3 switch to always compare
Multi-Exit Discriminators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .316
Treating missing MEDs as the worst MEDs . . . . . . . . . . . . . . .316
Route reflection parameter configuration . . . . . . . . . . . . . . . . 317
Configuration notes for BGP4 autonomous systems . . . . . . .320
Aggregating routes advertised to BGP4 neighbors . . . . . . . . .323
Configuring BGP4 graceful restart . . . . . . . . . . . . . . . . . . . . . . . . . .324
Configuring timers for BGP4 graceful restart (optional) . . . . .324
BGP null0 routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .325
Configuration steps for BGP null0 routing . . . . . . . . . . . . . . . .326
Configuration examples for BGP null0 routing. . . . . . . . . . . . .327
Show commands for BGP null0 routing . . . . . . . . . . . . . . . . . .328
Modifying redistribution parameters . . . . . . . . . . . . . . . . . . . . . . . .330
Redistributing connected routes. . . . . . . . . . . . . . . . . . . . . . . .330
Redistributing RIP routes. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .331
Redistributing OSPF external routes. . . . . . . . . . . . . . . . . . . . .331
Redistributing static routes . . . . . . . . . . . . . . . . . . . . . . . . . . . .332
Disabling or re-enabling re-advertisement of all learned
BGP4 routes to all BGP4 neighbors . . . . . . . . . . . . . . . . . . . . .332
Redistributing IBGP routes into RIP and OSPF. . . . . . . . . . . . .332
Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .333
Specific IP address filtering. . . . . . . . . . . . . . . . . . . . . . . . . . . .333
AS-path filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .334
BGP4 filtering communities . . . . . . . . . . . . . . . . . . . . . . . . . . .338
Defining IP prefix lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .340
Defining neighbor distribute lists . . . . . . . . . . . . . . . . . . . . . . .341
Defining route maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .342
Using a table map to set the tag value. . . . . . . . . . . . . . . . . . .350
Configuring cooperative BGP4 route filtering. . . . . . . . . . . . . .351
Route flap dampening configuration . . . . . . . . . . . . . . . . . . . . . . . .354
Globally configuring route flap dampening . . . . . . . . . . . . . . .355
Using a route map to configure route flap dampening
for specific routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .355
Using a route map to configure route flap dampening for
a specific neighbor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .356
Removing route dampening from a route. . . . . . . . . . . . . . . . .357
Removing route dampening from neighbor routes
suppressed due to aggregation . . . . . . . . . . . . . . . . . . . . . . . .357
Displaying and clearing route flap dampening statistics . . . .359
Generating traps for BGP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .360
x Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
Displaying BGP4 information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .361
Displaying summary BGP4 information . . . . . . . . . . . . . . . . . .361
Displaying the active BGP4 configuration . . . . . . . . . . . . . . . .364
Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . . .364
Displaying summary neighbor information . . . . . . . . . . . . . . .366
Displaying BGP4 neighbor information. . . . . . . . . . . . . . . . . . .367
Displaying peer group information . . . . . . . . . . . . . . . . . . . . . .378
Displaying summary route information . . . . . . . . . . . . . . . . . .379
Displaying the BGP4 route table. . . . . . . . . . . . . . . . . . . . . . . .380
Displaying BGP4 route-attribute entries. . . . . . . . . . . . . . . . . .386
Displaying the routes BGP4 has placed in the
IP route table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .387
Displaying route flap dampening statistics . . . . . . . . . . . . . . .388
Displaying the active route map configuration . . . . . . . . . . . .389
Displaying BGP4 graceful restart neighbor information . . . . .390
Updating route information and resetting a neighbor session . . .390
Using soft reconfiguration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391
Dynamically requesting a route refresh from
a BGP4 neighbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .393
Closing or resetting a neighbor session . . . . . . . . . . . . . . . . . .396
Clearing and resetting BGP4 routes in the IP route table . . . .397
Clearing traffic counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .397
Clearing route flap dampening statistics. . . . . . . . . . . . . . . . . . . . .398
Removing route flap dampening . . . . . . . . . . . . . . . . . . . . . . . . . . .398
Clearing diagnostic buffers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .399
Chapter 8 IPv6
Static IPv6 route configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . .401
Configuring a static IPv6 route . . . . . . . . . . . . . . . . . . . . . . . . .401
IPv6 over IPv4 tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .403
IPv6 over IPv4 tunnel configuration notes . . . . . . . . . . . . . . . .403
Configuring a manual IPv6 tunnel . . . . . . . . . . . . . . . . . . . . . .404
Clearing IPv6 tunnel statistics . . . . . . . . . . . . . . . . . . . . . . . . .405
Displaying IPv6 tunnel information. . . . . . . . . . . . . . . . . . . . . .405
ECMP load sharing for IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .408
Disabling or re-enabling ECMP load sharing for IPv6 . . . . . . .409
Changing the maximum load sharing paths for IPv6 . . . . . . .409
Enabling support for network-based ECMP
load sharing for IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .409
Displaying ECMP load-sharing information for IPv6 . . . . . . . .409
Chapter 9 VRRP and VRRP-E
VRRP and VRRP-E overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .412
VRRP overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .412
VRRP-E overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417
ARP behavior with VRRP-E. . . . . . . . . . . . . . . . . . . . . . . . . . . . .420
Brocade ICX 6650 Layer 3 Routing Configuration Guide xi
53-1002603-01
Comparison of VRRP and VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . . .420
VRRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .420
VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .420
Architectural differences between VRRP and VRRP-E. . . . . . .421
VRRP and VRRP-E parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . .422
Note regarding disabling VRRP or VRRP-E . . . . . . . . . . . . . . . .425
Basic VRRP parameter configuration . . . . . . . . . . . . . . . . . . . . . . .425
Configuration rules for VRRP. . . . . . . . . . . . . . . . . . . . . . . . . . .425
Configuring the Owner for IPv4 VRRP. . . . . . . . . . . . . . . . . . . .426
Configuring the Owner for IPv6 VRRP. . . . . . . . . . . . . . . . . . . .426
Configuring a Backup for IPv4 VRRP . . . . . . . . . . . . . . . . . . . .427
Configuring a Backup for IPv6 VRRP . . . . . . . . . . . . . . . . . . . .428
Configuration considerations for IPv6 VRRP v3 and
IPv6 VRRP-E v3 support on Brocade devices . . . . . . . . . . . . .429
Basic VRRP-E parameter configuration . . . . . . . . . . . . . . . . . . . . . .430
Configuration rules for VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . .430
Configuring IPv4 VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .430
Configuring IPv6 VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .431
Additional VRRP and VRRP-E parameter configuration . . . . . . . . .432
VRRP and VRRP-E authentication types. . . . . . . . . . . . . . . . . .433
VRRP router type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .435
Suppression of RIP advertisements . . . . . . . . . . . . . . . . . . . . .436
Hello interval configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .437
Dead interval configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . .438
Backup Hello message state and interval . . . . . . . . . . . . . . . .438
Track port configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .439
Track priority configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .439
Backup preempt configuration . . . . . . . . . . . . . . . . . . . . . . . . .440
Changing the timer scale. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .440
VRRP-E slow start timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .441
VRRP-E Extension for Server Virtualization . . . . . . . . . . . . . . .442
Forcing a Master router to abdicate to a Backup router. . . . . . . . .445
Displaying VRRP and VRRP-E information. . . . . . . . . . . . . . . . . . . .446
Displaying summary information . . . . . . . . . . . . . . . . . . . . . . .446
Displaying detailed information . . . . . . . . . . . . . . . . . . . . . . . .448
Displaying statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .454
Clearing VRRP or VRRP-E statistics . . . . . . . . . . . . . . . . . . . . .456
Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . . .456
Displaying VRRP and VRRP-E information for IPv6 . . . . . . . . . . . . .458
Displaying detailed information for IPv6 VRRP v3 and
IPv6 VRRP-E v3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .458
Configuration examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460
VRRP example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .460
VRRP-E example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .461
Index
xii Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
xi
About This Document
The Brocade ICX 6650 is a ToR (Top of Rack) Ethernet switch for campus LAN and classic Ethernet
data center environments.
Audience
This document is designed for system administrators with a working knowledge of Layer 2 and
Layer 3 switching and routing.
If you are using a Brocade Layer 3 Switch, you should be familiar with the following protocols if
applicable to your network: IP, RIP, OSPF, BGP, ISIS, PIM, and VRRP.
Supported hardware and software
This document is specific to the Brocade ICX 6650 running FastIron 7.5.00.
Brocade ICX 6650 slot and port numbering
Many CLI commands require users to enter port numbers as part of the command syntax, and
many show command outputs display port numbers. The port numbers are entered and displayed
in stack-unit/slot number/port number format. In all Brocade ICX 6650 inputs and outputs, the
stack-unit number is always 1.
The Brocade ICX 6650 contains the following slots and Ethernet ports:
Slot 1 is located on the front of the ICX 6650 device and contains ports 1 through 56. Ports 1
through 32 are 10 GbE. Ports 33 through 56 are 1/10 GbE SFP+ ports. Refer to the following
figure.
Slot 1
xii
Brocade ICX 6650 slot and port numbering
Slot 2 is located on the back of the Brocade ICX 6650 device and contains ports 1 through 3
on the top row and port 4 on the bottom row. These ports are 2x40 GbE QSFP+. Refer to the
following figure.
Slot 3 is located on the back of the Brocade ICX 6650 device and contains ports 1 through 8.
These ports are 4 x 10 GbE breakout ports and require the use of a breakout cable. Refer to
the previous figure.
How this document is organized
This document is organized to help you find the information that you want as quickly and easily as
possible.
The document contains the following components:
“IP Configuration” on page 1
“Base Layer 3 and Routing Protocols” on page 133
“RIP (IPv4)” on page 141
“RIP (IPv6)” on page 157
“OSPF version 2 (IPv4) on page 167
“OSPF version 3 (IPv6) on page 227
“BGP (IPv4)” on page 281
“IPv6” on page 401
“VRRP and VRRP-E” on page 411
Slot 2
Slot 2 Slot 3
Brocade ICX 6650 Layer 3 Routing Configuration Guide xiii
53-1002603-01
Brocade ICX 6650 slot and port numbering
Document conventions
This section describes text formatting conventions and important notice formats used in this
document.
Text formatting
The narrative-text formatting conventions that are used are as follows:
bold text Identifies command names
Identifies the names of user-manipulated GUI elements
Identifies keywords and operands
Identifies text to enter at the GUI or CLI
italic text Provides emphasis
Identifies variables
Identifies paths and Internet addresses
Identifies document titles
code text Identifies CLI output
Identifies command syntax examples
For readability, command names in the narrative portions of this guide are presented in mixed
lettercase: for example, switchShow. In actual examples, command lettercase is all lowercase.
Command syntax conventions
Command syntax in this manual follows these conventions:
Notes, cautions, and warnings
The following notices and statements are used in this manual. They are listed below in order of
increasing severity of potential hazards.
NOTE
A note provides a tip, guidance, or advice, emphasizes important information, or provides a
reference to related information.
command Commands are printed in bold.
--option, option Command options are printed in bold.
-argument, arg Arguments.
[ ] Optional elements appear in brackets.
variable Variables are printed in italics. In the help pages, values are underlined
or
enclosed in angled brackets < >.
... Repeat the previous element, for example “member[;member...]”
value Fixed values following arguments are printed in plain font. For example,
--show WWN
| Boolean. Elements are exclusive. Example:
--show -mode egress | ingress
xiv
Brocade ICX 6650 slot and port numbering
ATTENTION
An Attention statement indicates potential damage to hardware or data.
CAUTION
A Caution statement alerts you to situations that can be potentially hazardous to you or cause
damage to hardware, firmware, software, or data.
DANGER
A Danger statement indicates conditions or situations that can be potentially lethal or extremely
hazardous to you. Safety labels are also attached directly to products to warn of these conditions
or situations.
Notice to the reader
This document might contain references to the trademarks of the following corporations. These
trademarks are the properties of their respective companies and corporations.
These references are made for informational purposes only.
Related publications
The following Brocade documents supplement the information in this guide:
Brocade ICX 6650 Release Notes
Brocade ICX 6650 Hardware Installation Guide New
Brocade ICX 6650 Administration Guide
Brocade ICX 6650 Platform and Layer 2 Configuration Guide
Brocade ICX 6650 Layer 3 Routing Configuration Guide
Brocade ICX 6650 Security Configuration Guide
Brocade ICX 6650 IP Multicast Configuration Guide
Corporation Referenced Trademarks and Products
Microsoft Corporation Windows, Windows NT, Internet Explorer
Oracle Corporation Oracle, Java
Netscape Communications Corporation Netscape
Mozilla Corporation Mozilla Firefox
Sun Microsystems, Inc. Sun, Solaris
Red Hat, Inc. Red Hat, Red Hat Network, Maximum RPM, Linux Undercover
Brocade ICX 6650 Layer 3 Routing Configuration Guide xv
53-1002603-01
Brocade ICX 6650 slot and port numbering
Brocade ICX 6650 Diagnostic Reference
Unified IP MIB Reference
Ports-on-Demand Licensing for the Brocade ICX 6650
The latest versions of these guides are posted at http://www.brocade.com/ethernetproducts.
Additional information
This section lists additional Brocade and industry-specific documentation that you might find
helpful.
Brocade resources
To get up-to-the-minute information, go to http://my.brocade.com to register at no cost for a user ID
and password.
White papers, online demonstrations, and data sheets are available through the Brocade website
at:
http://www.brocade.com/products-solutions/products/index.page
For additional Brocade documentation, visit the Brocade website:
http://www.brocade.com
Release notes are available on the MyBrocade website.
Other industry resources
For additional resource information, visit the Technical Committee T11 website. This website
provides interface standards for high-performance and mass storage applications for Fibre
Channel, storage management, and other applications:
http://www.t11.org
For information about the Fibre Channel industry, visit the Fibre Channel Industry Association
website:
http://www.fibrechannel.org
Getting technical help
To contact Technical Support, go to
http://www.brocade.com/services-support/index.page
for the latest e-mail and telephone contact information.
xvi
Brocade ICX 6650 slot and port numbering
Document feedback
Quality is our first concern at Brocade and we have made every effort to ensure the accuracy and
completeness of this document. However, if you find an error or an omission, or you think that a
topic needs further development, we want to hear from you. Forward your feedback to:
documentation@brocade.com
Provide the title and version number of the document and as much detail as possible about your
comment, including the topic heading and page number and your suggestions for improvement.
Brocade ICX 6650 Layer 3 Routing Configuration Guide 1
53-1002603-01
Chapter
1
IP Configuration
Table 1 lists the IP features Brocade ICX 6650 devices support. These features are supported with
the full Layer 3 software image, except where explicitly noted.
TABLE 1 Supported IP features
Feature Brocade ICX 6650
BootP/DHCP relay Yes
Specifying which IP address will be
included in a DHCP/BootP reply packet
Yes
DHCP Server Yes
DHCP Client-Based Auto-Configuration Yes
DHCP Client-Based Flash image
Auto-update
Yes
DHCP assist Yes
Equal Cost Multi Path (ECMP) load sharing Yes
IP helper Yes
Single source address for the following
packet types:
Telnet
TFTP
Syslog
SNTP
TACACS/TACACS+
RADIUS
SSH
SNMP
Yes
IPv4 point-to-point GRE IP tunnels Yes
Routes in hardware maximum:
Up to 7168 routes
Yes
Routing for directly connected IP subnets Yes
Virtual Interfaces:
Up to 512 virtual interfaces
Yes
31-bit subnet mask on point-to-point
networks
Yes
Address Resolution Protocol (ARP) Yes
Reverse Address Resolution Protocol
(RARP)
Yes
IP follow Yes
Proxy ARP Yes
2 Brocade ICX 6650 Layer 3 Routing Configuration Guide
53-1002603-01
Basic IP configuration
NOTE
The terms Layer 3 Switch and router are used interchangeably in this chapter and mean the same.
Basic IP configuration
IP is enabled by default. Basic configuration consists of adding IP addresses for Layer 3 Switches,
enabling a route exchange protocol, such as the Routing Information Protocol (RIP).
If you are configuring a Layer 3 Switch, refer to “Configuring IP addresses” on page 19 to add IP
addresses, then enable and configure the route exchange protocols, as described in other chapters
of this guide.
If you are configuring a Layer 2 Switch, refer to “Configuring the management IP address and
specifying the default gateway” on page 88 to add an IP address for management access through
the network and to specify the default gateway.
The rest of this chapter describes IP and how to configure it in more detail. Use the information in
this chapter if you need to change some of the IP parameters from their default values or you want
to view configuration information or statistics.
IP configuration overview
Brocade Layer 2 Switches and Layer 3 Switches support Internet Protocol version 4 (IPv4) and IPv6.
IP support on Brocade Layer 2 Switches consists of basic services to support management access
and access to a default gateway.
Full Layer 3 support
IP support on Brocade full Layer 3 Switches includes all of the following, in addition to a highly
configurable implementation of basic IP services including Address Resolution Protocol (ARP),
ICMP Router Discovery Protocol (IRDP), and Reverse ARP (RARP):
Route-only support (Global configuration level only)
Route redistribution
Local proxy ARP Yes
Jumbo frames
Up to 10,240 bytes
Yes
IP MTU (individual port setting) Yes
Path MTU discovery Yes
ICMP Router Discovery Protocol (IRDP) Yes
Domain Name Server (DNS) resolver Yes
TABLE 1 Supported IP features (Continued)
Feature Brocade ICX 6650
/