FastIron 07400 ConfigGuide
FastIron 07400 ConfigGuide
FastIron
Configuration Guide
Supporting FastIron Software Release 07.4.00
2012 Brocade Communications Systems, Inc. All Rights Reserved. Brocade, Brocade Assurance, the B-wing symbol, DCX, Fabric OS, MLX, SAN Health, 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.
European Headquarters Brocade Communications Switzerland Srl Centre Swissair Tour B - 4me tage 29, Route de l'Aroport Case Postale 105 CH-1215 Genve 15 Switzerland Tel: +41 22 799 5640 Fax: +41 22 799 5641 E-mail: [email protected]
Document History
Title
FastIron Configuration Guide
Publication number
53-1002494-01
Summary of changes
Release 07.4.00
Date
March 2012
Contents
Chapter 1
Management Applications
Management port overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 How the management port works. . . . . . . . . . . . . . . . . . . . . . . . . 2 CLI Commands for use with the management port. . . . . . . . . . . 2 Logging on through the CLI. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Online help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Command completion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Scroll control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Line editing commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Using stack-unit, slot number, and port number with CLI commands. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 CLI nomenclature on Chassis-based models. . . . . . . . . . . . . . . . 6 CLI nomenclature on FESX Compact devices . . . . . . . . . . . . . . . 6 CLI nomenclature on Stackable devices . . . . . . . . . . . . . . . . . . . 7 Searching and filtering output from CLI commands . . . . . . . . . . 7 Using special characters in regular expressions . . . . . . . . . . . . . 9 Creating an alias for a CLI command . . . . . . . . . . . . . . . . . . . . . 11 Logging on through the Web Management Interface . . . . . . . . . . . . 12 Navigating the Web Management Interface . . . . . . . . . . . . . . . 13
iii
Chapter 2
Chapter 3
iv
Using SNMP to upgrade software . . . . . . . . . . . . . . . . . . . . . . . . . . . 80 Software reboot. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Software boot configuration notes . . . . . . . . . . . . . . . . . . . . . . . 81 Displaying the boot preference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 Loading and saving configuration files . . . . . . . . . . . . . . . . . . . . . . . 82 Replacing the startup configuration with the running configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Replacing the running configuration with the startup configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 Logging changes to the startup-config file . . . . . . . . . . . . . . . . . 83 Copying a configuration file to or from a TFTP server . . . . . . . . 83 Dynamic configuration loading . . . . . . . . . . . . . . . . . . . . . . . . . . 84 Maximum file sizes for startup-config file and running-config . 86 Loading and saving configuration files with IPv6 . . . . . . . . . . . . . . . 87 Using the IPv6 copy command . . . . . . . . . . . . . . . . . . . . . . . . . . 87 Copying a file from an IPv6 TFTP server. . . . . . . . . . . . . . . . . . . 88 IPv6 ncopy command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 IPv6 TFTP server file upload . . . . . . . . . . . . . . . . . . . . . . . . . . . . 90 Using SNMP to save and load configuration information . . . . . 91 Erasing image and configuration files . . . . . . . . . . . . . . . . . . . . 92 System reload scheduling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Reloading at a specific time . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 Reloading after a specific amount of time. . . . . . . . . . . . . . . . . 93 Displaying the amount of time remaining before a scheduled reload . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Canceling a scheduled reload. . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Diagnostic error codes and remedies for TFTP transfers . . . . . . . . . 93 Network connectivity testing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Pinging an IPv4 address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Tracing an IPv4 route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96 Hitless management on the FSX 800 and FSX 1600. . . . . . . . . . . . 97 Benefits of hitless management. . . . . . . . . . . . . . . . . . . . . . . . . 98 Supported protocols and services for hitless management events . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 Hitless management configuration notes and feature limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .100 Hitless reload or switchover requirements and limitations . .100 What happens during a Hitless switchover or failover . . . . . .101 Enabling hitless failover on the FSX 800 and FSX 1600 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .103 Executing a hitless switchover on the FSX 800 and FSX 1600 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .104 Hitless OS upgrade on the FSX 800 and FSX 1600 . . . . . . . .104 Syslog message for Hitless management events . . . . . . . . . . 107 Displaying diagnostic information. . . . . . . . . . . . . . . . . . . . . . .108
Chapter 4
Security Access
Securing access methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .110
Remote access to management function restrictions . . . . . . . . . .112 ACL usage to restrict remote access . . . . . . . . . . . . . . . . . . . .112 Defining the console idle time . . . . . . . . . . . . . . . . . . . . . . . . .115 Remote access restrictions . . . . . . . . . . . . . . . . . . . . . . . . . . . .115 Restricting access to the device based on IP or MAC address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 Defining the Telnet idle time . . . . . . . . . . . . . . . . . . . . . . . . . . .118 Changing the login timeout period for Telnet sessions . . . . . .118 Specifying the maximum number of login attempts for Telnet access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .118 Changing the login timeout period for Telnet sessions . . . . . .118 Restricting remote access to the device to specific VLAN IDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .119 Designated VLAN for Telnet management sessions to a Layer 2 Switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .120 Device management security . . . . . . . . . . . . . . . . . . . . . . . . . .121 Disabling specific access methods. . . . . . . . . . . . . . . . . . . . . .122 Passwords used to secure access . . . . . . . . . . . . . . . . . . . . . . . . . .124 Setting a Telnet password . . . . . . . . . . . . . . . . . . . . . . . . . . . . .124 Setting passwords for management privilege levels . . . . . . . .125 Recovering from a lost password . . . . . . . . . . . . . . . . . . . . . . .127 Displaying the SNMP community string . . . . . . . . . . . . . . . . . .128 Specifying a minimum password length. . . . . . . . . . . . . . . . . .128 Local user accounts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .129 Enhancements to username and password . . . . . . . . . . . . . .129 Local user account configuration . . . . . . . . . . . . . . . . . . . . . . .133 Creating a password option. . . . . . . . . . . . . . . . . . . . . . . . . . . .135 Changing a local user password . . . . . . . . . . . . . . . . . . . . . . . .136 SSL security for the Web Management Interface . . . . . . . . . . . . . .136 Enabling the SSL server on the Brocade device . . . . . . . . . . .137 Changing the SSL server certificate key size . . . . . . . . . . . . . .137 Support for SSL digital certificates larger than 2048 bits . . .138 Importing digital certificates and RSA private key files. . . . . .138 Generating an SSL certificate . . . . . . . . . . . . . . . . . . . . . . . . . .138
vi
TACACS and TACACS+ security . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139 How TACACS+ differs from TACACS . . . . . . . . . . . . . . . . . . . . . .139 TACACS/TACACS+ authentication, authorization, and accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .139 TACACS authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .142 TACACS/TACACS+ configuration considerations . . . . . . . . . . .145 Enabling TACACS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .146 Identifying the TACACS/TACACS+ servers. . . . . . . . . . . . . . . . .146 Specifying different servers for individual AAA functions . . . . 147 Setting optional TACACS and TACACS+ parameters . . . . . . . . 147 Configuring authentication-method lists for TACACS and TACACS+ . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .149 Configuring TACACS+ authorization . . . . . . . . . . . . . . . . . . . . .151 TACACS+ accounting configuration. . . . . . . . . . . . . . . . . . . . . .154 Configuring an interface as the source for all TACACS and TACACS+ packets . . . . . . . . . . . . . . . . . . . . . . . . .155 Displaying TACACS/TACACS+ statistics and configuration information . . . . . . . . . . . . . . . . . . . . . . . . . . . . .156 RADIUS security. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .157 RADIUS authentication, authorization, and accounting . . . . .157 RADIUS configuration considerations. . . . . . . . . . . . . . . . . . . .160 Configuring RADIUS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .161 Brocade-specific attributes on the RADIUS server . . . . . . . . .161 Enabling SNMP to configure RADIUS . . . . . . . . . . . . . . . . . . . .163 Identifying the RADIUS server to the Brocade device . . . . . . .163 Specifying different servers for individual AAA functions . . . .163 RADIUS server per port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .164 RADIUS server to individual ports mapping . . . . . . . . . . . . . . .165 RADIUS parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .166 Setting authentication-method lists for RADIUS . . . . . . . . . . .167 RADIUS authorization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .169 RADIUS accounting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171 Configuring an interface as the source for all RADIUS packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .172 Displaying RADIUS configuration information . . . . . . . . . . . . .172 Authentication-method lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 Configuration considerations for authenticationmethod lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .175 Examples of authentication-method lists. . . . . . . . . . . . . . . . .175 TCP Flags - edge port security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 Using TCP Flags in combination with other ACL features . . . .178
Chapter 5
vii
SSH2 authentication types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181 Enabling and disabling SSH by generating and deleting host keys . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .181 Configuring DSA or RSA challenge-response authentication .183 Optional SSH parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .185 Setting the number of SSH authentication retries . . . . . . . . .186 Deactivating user authentication . . . . . . . . . . . . . . . . . . . . . . .186 Enabling empty password logins. . . . . . . . . . . . . . . . . . . . . . . .186 Setting the SSH port number . . . . . . . . . . . . . . . . . . . . . . . . . .187 Setting the SSH login timeout value . . . . . . . . . . . . . . . . . . . . .187 Designating an interface as the source for all SSH packets. .187 Configuring the maximum idle time for SSH sessions . . . . . .187 Filtering SSH access using ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . .188 Terminating an active SSH connection . . . . . . . . . . . . . . . . . . . . . .188 Displaying SSH information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .188 Displaying SSH connection information . . . . . . . . . . . . . . . . . .188 Displaying SSH configuration information . . . . . . . . . . . . . . . .189 Displaying additional SSH connection information . . . . . . . . .190 Secure copy with SSH2. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .191 Enabling and disabling SCP . . . . . . . . . . . . . . . . . . . . . . . . . . .191 Secure copy configuration notes . . . . . . . . . . . . . . . . . . . . . . .191 Example file transfers using SCP . . . . . . . . . . . . . . . . . . . . . . .191 SSH2 client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195 Enabling SSH2 client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .195 Configuring SSH2 client public key authentication . . . . . . . . .195 Using SSH2 client . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .196 Displaying SSH2 client information . . . . . . . . . . . . . . . . . . . . .197
Chapter 6
Software-based Licensing
Software license terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .199 Software-based licensing overview . . . . . . . . . . . . . . . . . . . . . . . . .200 How software-based licensing works . . . . . . . . . . . . . . . . . . . .200 Seamless transition for legacy devices . . . . . . . . . . . . . . . . . .201 License types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .201 Non-licensed features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .202 Licensed features and part numbers . . . . . . . . . . . . . . . . . . . . . . .202 Licensing rules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .206 General notes about licensing . . . . . . . . . . . . . . . . . . . . . . . . .206 Licensing rules for FCX and ICX 6610 devices. . . . . . . . . . . . .207 Licensing rules for FESX6, FSX 800, and FSX 1600 devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .208 Licensing for Ports on Demand . . . . . . . . . . . . . . . . . . . . . . . . . . . .208 Configuring PoD on an interface. . . . . . . . . . . . . . . . . . . . . . . .208 Configuring the upper PoD ports in a stack for ICX 6610 devices only . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .209 Displaying license configuration for PoD ports after a license upgrade . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .210
viii
Upgrading or downgrading configuration considerations for PoD .212 Configuration considerations for stacking or trunking PoD ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213 Configuration considerations when configuring PoD on an interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .213 Configuration considerations when configuring PoD for ICX 6450 devices only . . . . . . . . . . . . . . . . . . . . . . . . . . . . .214 Software licensing configuration tasks . . . . . . . . . . . . . . . . . . . . . .216 Obtaining a license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .216 Installing a license file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .221 Using TFTP to copy a license file on FESX, SX 800 and SX 1600, and FWS devices . . . . . . . . . . . . . . . . . . . . . . . .221 Using TFTP to copy a license file on FCX and ICX devices. . . .221 Using Secure Copy to install a license . . . . . . . . . . . . . . . . . . .221 Verifying the license file installation . . . . . . . . . . . . . . . . . . . . .222 Deleting a license file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .222 Deleting a license on FESX, SX 800 and SX 1600, and FWS devices . . . . . . . . . . . . . . . . . . . . . . . . . . . .222 Deleting a license on FCX and ICX devices . . . . . . . . . . . . . . .223 Using a trial license. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .223 What happens when a trial license expires . . . . . . . . . . . . . . .223 Console, syslog, and trap messages for trial license expiration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .224 Renewing or extending a trial license. . . . . . . . . . . . . . . . . . . .224 Viewing software license information from the Brocade software portal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .224 Transferring a license . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .226 Special replacement instructions for legacy devices . . . . . . . . . . .226 Syslog messages and trap information . . . . . . . . . . . . . . . . . . . . . .227 Viewing information about software licenses . . . . . . . . . . . . . . . . .227 Viewing the License ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .227 Viewing the license database . . . . . . . . . . . . . . . . . . . . . . . . . .229 Viewing software packages installed in the device . . . . . . . . .232
Chapter 7
ix
Connecting ICX 6450 and ICX 6430 devices in a stack . . . . . . . .244 Connecting ICX 6450 devices in a stack. . . . . . . . . . . . . . . . .245 Connecting ICX 6430 devices in a stack . . . . . . . . . . . . . . . . .245 Trunking configuration considerations for ICX 6430 and ICX 6450 devices. . . . . . . . . . . . . . . . . . . . . . . .245 Software requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .248 IronStack construction methods. . . . . . . . . . . . . . . . . . . . . . . .249 Scenario 1 - Three-member IronStack in a ring topology using secure-setup. . . . . . . . . . . . . . . . . . . .250 Scenario 2 - Three-member IronStack in a ring topology using the automatic setup process. . . . . . .254 Scenario 3 - Three member IronStack in a ring topology using the manual configuration process . .257 FCX IronStack configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .258 Configuring FCX stacking ports . . . . . . . . . . . . . . . . . . . . . . . . .259 Configuring a default stacking port to function as a data port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .264 Configuring an ICX 6610 IronStack . . . . . . . . . . . . . . . . . . . . . . . . .265 ICX 6610 trunked stacking ports configuration. . . . . . . . . . . .265 Configuration notes for ICX stack topologies . . . . . . . . . . . . . .265 Periodic background stack diagnosis for ICX 6610 devices . .266 Configuring an ICX 6430 and ICX 6450 IronStack . . . . . . . . . . . .266 Configuring ICX 6430 or ICX 6450 trunked stacking ports . .267 Configuring ICX 6430 or ICX 6450 multi-trunked stacking ports . . . . . . . . . . . . . . . . . . . . . . . . . . .267 Periodic background stack diagnosis for ICX 6430 and ICX 6450 devices . . . . . . . . . . . . . . . . . . . .269 Error messages encountered during the configuration of an ICX 6430 or ICX 6450 IronStack . . . . . . . . . . . . . . . . . . . . . . .269 Verifying an IronStack configuration . . . . . . . . . . . . . . . . . . . . . . . .270 Brocade IronStack management . . . . . . . . . . . . . . . . . . . . . . . . . . .273 Logging in through the CLI. . . . . . . . . . . . . . . . . . . . . . . . . . . . .273 Logging in through the console port . . . . . . . . . . . . . . . . . . . . .273 IronStack management MAC address . . . . . . . . . . . . . . . . . . .275 Removing MAC address entries . . . . . . . . . . . . . . . . . . . . . . . .277 CLI command syntax for stack units. . . . . . . . . . . . . . . . . . . . .279 IronStack CLI commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . .279 Important notes about stacking images . . . . . . . . . . . . . . . . .281 Copying the flash image to a stack unit from the Active Controller. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283 Reloading a stack unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283 Controlling stack topology . . . . . . . . . . . . . . . . . . . . . . . . . . . . .283 Managing IronStack partitioning. . . . . . . . . . . . . . . . . . . . . . . .284 MIB support for the IronStack. . . . . . . . . . . . . . . . . . . . . . . . . .285 Persistent MAC address for the IronStack . . . . . . . . . . . . . . . .286 Unconfiguring an IronStack. . . . . . . . . . . . . . . . . . . . . . . . . . . .287 Displaying IronStack information . . . . . . . . . . . . . . . . . . . . . . .289 Adding, removing, or replacing units in an IronStack . . . . . . .311 Renumbering stack units . . . . . . . . . . . . . . . . . . . . . . . . . . . . .313 Syslog, SNMP, and traps for stack units. . . . . . . . . . . . . . . . . . 314
IronStack troubleshooting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .315 Troubleshooting an unsuccessful stack build . . . . . . . . . . . . .315 Troubleshooting a stacking upgrade. . . . . . . . . . . . . . . . . . . . . 317 Troubleshooting image copy issues . . . . . . . . . . . . . . . . . . . . .318 Stack mismatches. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .318 Image mismatches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .319 Advanced feature privileges (FCX devices only). . . . . . . . . . . .319 Configuration mismatch for stack units . . . . . . . . . . . . . . . . . .320 Auto Image Copy for stack units . . . . . . . . . . . . . . . . . . . . . . . .321 Memory allocation failure . . . . . . . . . . . . . . . . . . . . . . . . . . . . .322 Recovering from a stack unit mismatch. . . . . . . . . . . . . . . . . .323 Troubleshooting secure-setup. . . . . . . . . . . . . . . . . . . . . . . . . .324 Troubleshooting unit replacement issues . . . . . . . . . . . . . . . .324 More about IronStack technology . . . . . . . . . . . . . . . . . . . . . . . . . .325 Configuration, startup configuration files, and stacking flash . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .325 IronStack topologies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326 Port down and aging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .326 Brocade IronStack device roles and elections. . . . . . . . . . . . .326 Hitless stacking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .329 Supported hitless stacking events . . . . . . . . . . . . . . . . . . . . . .329 Non-supported hitless stacking events . . . . . . . . . . . . . . . . . .330 Supported hitless stacking protocols and services . . . . . . . . .330 Hitless stacking configuration notes and feature limitations .333 What happens during a hitless stacking switchover or failover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .333 Standby Controller role in hitless stacking. . . . . . . . . . . . . . . .335 Support during stack formation, stack merge, and stack split . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .337 Hitless stacking default behavior . . . . . . . . . . . . . . . . . . . . . . .340 Hitless stacking failover. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .342 Hitless stacking switchover . . . . . . . . . . . . . . . . . . . . . . . . . . . .343 Displaying information about hitless stacking . . . . . . . . . . . . .350 Displaying information about stack failover. . . . . . . . . . . . . . .350 Displaying information about link synchronization status . . .350 Syslog messages for hitless stacking failover and switchover . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .351
Chapter 8
xi
IPv6 host address on a Layer 2 switch . . . . . . . . . . . . . . . . . . . . . .360 Configuring a global or site-local IPv6 address with a manually configured interface ID . . . . . . . . . . . . . . . . .361 Configuring a link-local IPv6 address as a system-wide address for a switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .361 Configuring the management port for an IPv6 automatic address configuration. . . . . . . . . . . . . . . . . . . . . . .362 Configuring basic IPv6 connectivity on a Layer 3 switch. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .362 Enabling IPv6 routing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .362 IPv6 configuration on each router interface . . . . . . . . . . . . . .362 Configuring IPv4 and IPv6 protocol stacks. . . . . . . . . . . . . . . .365 IPv6 management on FastIron X Series devices (IPv6 host support) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .366 Configuring IPv6 management ACLs . . . . . . . . . . . . . . . . . . . .366 Restricting SNMP access to an IPv6 node . . . . . . . . . . . . . . . .367 Specifying an IPv6 SNMP trap receiver . . . . . . . . . . . . . . . . . .367 Configuring SNMP V3 over IPv6 . . . . . . . . . . . . . . . . . . . . . . . .367 Configuring SNTP over IPv6. . . . . . . . . . . . . . . . . . . . . . . . . . . .367 Secure Shell, SCP, and IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . .367 IPv6 Telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .368 IPv6 traceroute. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .368 IPv6 Web management using HTTP and HTTPS . . . . . . . . . . .369 Restricting Web management access . . . . . . . . . . . . . . . . . . .369 Configuring name-to-IPv6 address resolution using IPv6 DNS resolver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .370 Defining an IPv6 DNS entry. . . . . . . . . . . . . . . . . . . . . . . . . . . .370 Pinging an IPv6 address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .370 Configuring an IPv6 Syslog server . . . . . . . . . . . . . . . . . . . . . .372 Viewing IPv6 SNMP server addresses . . . . . . . . . . . . . . . . . . .372 Disabling router advertisement and solicitation messages . .373 Disabling IPv6 on a Layer 2 switch . . . . . . . . . . . . . . . . . . . . . .373 Static IPv6 route configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . .373 IPv6 over IPv4 tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 376 IPv6 over IPv4 tunnel configuration notes . . . . . . . . . . . . . . . . 376 Configuring a manual IPv6 tunnel . . . . . . . . . . . . . . . . . . . . . .377 Clearing IPv6 tunnel statistics . . . . . . . . . . . . . . . . . . . . . . . . .378 Displaying IPv6 tunnel information. . . . . . . . . . . . . . . . . . . . . .378 ECMP load sharing for IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .381 Disabling or re-enabling ECMP load sharing for IPv6 . . . . . . .381 Changing the maximum load sharing paths for IPv6 . . . . . . .382 Enabling support for network-based ECMP load sharing for IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .382 Displaying ECMP load-sharing information for IPv6 . . . . . . . .382 IPv6 ICMP feature configuration . . . . . . . . . . . . . . . . . . . . . . . . . . .383 Configuring ICMP rate limiting . . . . . . . . . . . . . . . . . . . . . . . . .383 Enabling IPv6 ICMP redirect messages . . . . . . . . . . . . . . . . . .384
xii
IPv6 neighbor discovery configuration . . . . . . . . . . . . . . . . . . . . . .384 IPv6 neighbor discovery configuration notes . . . . . . . . . . . . . .385 Neighbor solicitation and advertisement messages . . . . . . . .385 Router advertisement and solicitation messages . . . . . . . . . .386 Neighbor redirect messages . . . . . . . . . . . . . . . . . . . . . . . . . . .386 Setting neighbor solicitation parameters for duplicate address detection . . . . . . . . . . . . . . . . . . . . . . . . . . .387 Setting IPv6 router advertisement parameters . . . . . . . . . . . .387 Prefixes advertised in IPv6 router advertisement messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . .389 Setting flags in IPv6 router advertisement messages. . . . . . .390 Enabling and disabling IPv6 router advertisements . . . . . . . .390 Configuring reachable time for remote IPv6 nodes. . . . . . . . .391 IPv6 MTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391 Configuration notes and feature limitations for IPv6 MTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .391 Changing the IPv6 MTU . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .392 Static neighbor entries configuration . . . . . . . . . . . . . . . . . . . . . . .392 Limiting the number of hops an IPv6 packet can traverse . . . . . .393 IPv6 source routing security enhancements. . . . . . . . . . . . . . . . . .393 TCAM space on FCX device configuration . . . . . . . . . . . . . . . . . . . .394 Allocating TCAM space for IPv4 routing information . . . . . . . .394 Allocating TCAM space for GRE tunnel information. . . . . . . . .394 Clearing global IPv6 information . . . . . . . . . . . . . . . . . . . . . . . . . . .395 Clearing the IPv6 cache. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .395 Clearing IPv6 neighbor information . . . . . . . . . . . . . . . . . . . . .395 Clearing IPv6 routes from the IPv6 route table . . . . . . . . . . . .396 Clearing IPv6 traffic statistics . . . . . . . . . . . . . . . . . . . . . . . . . .396 Displaying global IPv6 information. . . . . . . . . . . . . . . . . . . . . . . . . .396 Displaying IPv6 cache information . . . . . . . . . . . . . . . . . . . . . .397 Displaying IPv6 interface information. . . . . . . . . . . . . . . . . . . .398 Displaying IPv6 neighbor information. . . . . . . . . . . . . . . . . . . .400 Displaying the IPv6 route table . . . . . . . . . . . . . . . . . . . . . . . . .401 Displaying local IPv6 routers . . . . . . . . . . . . . . . . . . . . . . . . . . .402 Displaying IPv6 TCP information . . . . . . . . . . . . . . . . . . . . . . . .403 Displaying IPv6 traffic statistics . . . . . . . . . . . . . . . . . . . . . . . .407 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 410
Chapter 9
xiii
IPv6 management features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .413 IPv6 management ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .413 IPv6 Web management using HTTP and HTTPS . . . . . . . . . . .413 IPv6 logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 414 Name-to-IPv6 address resolution using IPv6 DNS server . . . . 415 Defining an IPv6 DNS entry. . . . . . . . . . . . . . . . . . . . . . . . . . . . 415 Pinging IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 415 SNTP over IPv6. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 SNMP3 over IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 Specifying an IPv6 SNMP trap receiver . . . . . . . . . . . . . . . . . . 417 Secure Shell, SCP, and IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 IPv6 Telnet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 417 IPv6 traceroute. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419 IPv6 management commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 419
Chapter 10
SNMP Access
SNMP overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .421 SNMP community strings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .422 Encryption of SNMP community strings . . . . . . . . . . . . . . . . . .422 Adding an SNMP community string . . . . . . . . . . . . . . . . . . . . .422 Displaying the SNMP community strings . . . . . . . . . . . . . . . . .424 User-based security model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .425 Configuring your NMS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .426 Configuring SNMP version 3 on Brocade devices . . . . . . . . . .426 Defining the engine id . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .426 Defining an SNMP group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .427 Defining an SNMP user account. . . . . . . . . . . . . . . . . . . . . . . .428 Defining SNMP views . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .429 SNMP version 3 traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .430 Defining an SNMP group and specifying which view is notified of traps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .430 Defining the UDP port for SNMP v3 traps . . . . . . . . . . . . . . . .431 Trap MIB changes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .432 Specifying an IPv6 host as an SNMP trap receiver . . . . . . . . .432 SNMP v3 over IPv6 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .433 Specifying an IPv6 host as an SNMP trap receiver . . . . . . . . .433 Viewing IPv6 SNMP server addresses . . . . . . . . . . . . . . . . . . .433 Displaying SNMP Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .434 Displaying the Engine ID . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .434 Displaying SNMP groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .435 Displaying user information. . . . . . . . . . . . . . . . . . . . . . . . . . . .435 Interpreting varbinds in report packets . . . . . . . . . . . . . . . . . .435 SNMP v3 configuration examples . . . . . . . . . . . . . . . . . . . . . . . . . .436 Simple SNMP v3 configuration . . . . . . . . . . . . . . . . . . . . . . . . .436 More detailed SNMP v3 configuration . . . . . . . . . . . . . . . . . . .436
xiv
Chapter 11
Foundry Discovery Protocol (FDP) and Cisco Discovery Protocol (CDP) Packets
FDP Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .437 FDP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .438 Displaying FDP information . . . . . . . . . . . . . . . . . . . . . . . . . . . .439 Clearing FDP and CDP information. . . . . . . . . . . . . . . . . . . . . .442 CDP packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .443 Enabling interception of CDP packets globally . . . . . . . . . . . .443 Enabling interception of CDP packets on an interface . . . . . .443 Displaying CDP information. . . . . . . . . . . . . . . . . . . . . . . . . . . .443 Clearing CDP information . . . . . . . . . . . . . . . . . . . . . . . . . . . . .445
Chapter 12
xv
LLDP-MED attributes advertised by the Brocade device . . . . . . . .485 Extended power-via-MDI information . . . . . . . . . . . . . . . . . . . .486 Displaying LLDP statistics and configuration settings. . . . . . .488 LLDP configuration summary . . . . . . . . . . . . . . . . . . . . . . . . . .488 Displaying LLDP statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . .489 Displaying LLDP neighbors . . . . . . . . . . . . . . . . . . . . . . . . . . . .491 Displaying LLDP neighbors detail . . . . . . . . . . . . . . . . . . . . . . .492 Displaying LLDP configuration details . . . . . . . . . . . . . . . . . . .493 Resetting LLDP statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .495 Clearing cached LLDP neighbor information. . . . . . . . . . . . . . . . . .495
Chapter 13
Chapter 14
Syslog
About Syslog messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .508 Displaying Syslog messages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .508 Enabling real-time display of Syslog messages . . . . . . . . . . . .509 Enabling real-time display for a Telnet or SSH session . . . . . .509 Displaying real-time Syslog messages . . . . . . . . . . . . . . . . . . . 510 Syslog service configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 510 Displaying the Syslog configuration . . . . . . . . . . . . . . . . . . . . . 510 Disabling or re-enabling Syslog. . . . . . . . . . . . . . . . . . . . . . . . . 514 Specifying a Syslog server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 514 Specifying an additional Syslog server . . . . . . . . . . . . . . . . . . . 514 Disabling logging of a message level . . . . . . . . . . . . . . . . . . . .515 Changing the number of entries the local buffer can hold . . .515 Changing the log facility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 516 Displaying interface names in Syslog messages. . . . . . . . . . . 517 Displaying TCP or UDP port numbers in Syslog messages . . . 517 Retaining Syslog messages after a soft reboot . . . . . . . . . . . .518 Clearing the Syslog messages from the local buffer . . . . . . . .518 Syslog messages for hardware errors . . . . . . . . . . . . . . . . . . .518
xvi
Chapter 15
Network Monitoring
Basic system management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .521 Viewing system information . . . . . . . . . . . . . . . . . . . . . . . . . . .521 Viewing configuration information . . . . . . . . . . . . . . . . . . . . . .522 Viewing port statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .523 Viewing STP statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .525 Clearing statistics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .526 Traffic counters for outbound traffic. . . . . . . . . . . . . . . . . . . . .526 Viewing egress queue counters on FCX devices . . . . . . . . . . .530 RMON support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .531 Maximum number of entries allowed in the RMON control table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .531 Statistics (RMON group 1). . . . . . . . . . . . . . . . . . . . . . . . . . . . .532 History (RMON group 2). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .534 Alarm (RMON group 3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .534 Event (RMON group 9). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .535 sFlow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .535 sFlow version 5 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .536 sFlow support for IPv6 packets. . . . . . . . . . . . . . . . . . . . . . . . .536 sFlow configuration considerations . . . . . . . . . . . . . . . . . . . . .537 Configuring and enabling sFlow . . . . . . . . . . . . . . . . . . . . . . . .539 Enabling sFlow forwarding. . . . . . . . . . . . . . . . . . . . . . . . . . . . .545 sFlow version 5 feature configuration . . . . . . . . . . . . . . . . . . .546 Displaying sFlow information . . . . . . . . . . . . . . . . . . . . . . . . . .549 Utilization list for an uplink port . . . . . . . . . . . . . . . . . . . . . . . . . . . .552 Utilization list for an uplink port command syntax . . . . . . . . .553 Displaying utilization percentages for an uplink . . . . . . . . . . .553
Chapter 16
xvii
Flow-based MAC address learning. . . . . . . . . . . . . . . . . . . . . . . . . .563 Flow-based learning overview . . . . . . . . . . . . . . . . . . . . . . . . . .563 Flow-based learning configuration considerations . . . . . . . . .564 Configuring flow-based MAC address learning . . . . . . . . . . . .565 Displaying information about flow-based MACs. . . . . . . . . . . .566 Clearing flow-based MAC address entries . . . . . . . . . . . . . . . .566 Enabling port-based VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .566 Assigning IEEE 802.1Q tagging to a port . . . . . . . . . . . . . . . . .567 Defining MAC address filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .568 MAC address filters configuration notes and limitations . . . .568 MAC address filters command syntax . . . . . . . . . . . . . . . . . . .569 Enabling logging of management traffic permitted by MAC address filters . . . . . . . . . . . . . . . . . . . . . . .570 MAC address filter override for 802.1X-enabled ports . . . . . . 571 Locking a port to restrict addresses . . . . . . . . . . . . . . . . . . . . . . . .573 Lock address configuration notes . . . . . . . . . . . . . . . . . . . . . .573 Lock address command syntax . . . . . . . . . . . . . . . . . . . . . . . .573 Monitoring MAC address movement . . . . . . . . . . . . . . . . . . . . . . . .573 Configuring the MAC address movement threshold rate . . . . 574 Viewing the MAC address movement threshold rate configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .575 Configuring an interval for collecting MAC address move notifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576 Viewing MAC address movement statistics for the interval history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 576 Displaying and modifying system parameter default settings . . . .577 System default settings configuration considerations . . . . . .577 Displaying system parameter default values . . . . . . . . . . . . . .577 Modifying system parameter default values . . . . . . . . . . . . . .583 Dynamic buffer allocation for QoS priorities for FastIron X Series devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .583 Default queue depth limits for FastIron X Series devices . . . .584 Configuring the total transmit queue depth limit for FastIron X Series devices . . . . . . . . . . . . . . . . . . . . . . . . . . .584 Configuring the transmit queue depth limit for a given traffic class on FastIron X Series devices . . . . . . . . . .585 Removing buffer allocation limits on FastIron X Series devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . .586 Buffer profile configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .586 Default queue depth limits for FastIron X Series devices . . . .588 Dynamic buffer allocation for FCX, FWS, and ICX devices . . . . . . .588 Configuring buffer profiles. . . . . . . . . . . . . . . . . . . . . . . . . . . . .589 Configuring buffer sharing on FCX and ICX devices . . . . . . . .598 Removing buffer allocation limits on FCX, FWS, and ICX . . . .601 Buffer profiles for VoIP on FastIron stackable devices . . . . . .602 Remote Fault Notification on 1Gbps fiber connections . . . . . . . . .602 Enabling and disabling remote fault notification. . . . . . . . . . .603 Link Fault Signaling for 10Gbps Ethernet devices . . . . . . . . . . . . .603
xviii
Chapter 17
Metro Features
Topology groups. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .607 Master VLAN and member VLANs . . . . . . . . . . . . . . . . . . . . . .608 Control ports and free ports . . . . . . . . . . . . . . . . . . . . . . . . . . .608 Topology group configuration considerations . . . . . . . . . . . . .608 Configuring a topology group . . . . . . . . . . . . . . . . . . . . . . . . . .609 Displaying topology group information . . . . . . . . . . . . . . . . . . .610 Metro Ring Protocol. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .611 Metro Ring Protocol configuration notes . . . . . . . . . . . . . . . . .613 MRP rings without shared interfaces (MRP Phase 1) . . . . . . .613 MRP rings with shared interfaces (MRP Phase 2). . . . . . . . . .614 Ring initialization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .616 How ring breaks are detected and healed . . . . . . . . . . . . . . . .621 Master VLANs and customer VLANs . . . . . . . . . . . . . . . . . . . . .623 Metro Ring Protocol configuration . . . . . . . . . . . . . . . . . . . . . .625 Metro Ring Protocol diagnostics . . . . . . . . . . . . . . . . . . . . . . . .628 Displaying MRP information . . . . . . . . . . . . . . . . . . . . . . . . . . .629 MRP CLI example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .631 VSRP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .633 VSRP configuration notes and feature limitations. . . . . . . . . .634 Layer 2 and Layer 3 redundancy . . . . . . . . . . . . . . . . . . . . . . .635 Master election and failover . . . . . . . . . . . . . . . . . . . . . . . . . . .635 VSRP-aware security features . . . . . . . . . . . . . . . . . . . . . . . . . .639 VSRP parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .640 Configuring basic VSRP parameters. . . . . . . . . . . . . . . . . . . . .642 Configuring optional VSRP parameters . . . . . . . . . . . . . . . . . .643 Displaying VSRP information. . . . . . . . . . . . . . . . . . . . . . . . . . .651 VSRP fast start . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .654 VSRP and MRP signaling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .656
Chapter 18
xix
Enabling the detection of PoE power requirements advertised through CDP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .670 Command syntax for PoE power requirements . . . . . . . . . . . .670 Setting the maximum power level for a PoE powerconsuming device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .670 Setting power levels configuration note . . . . . . . . . . . . . . . . . . 671 Configuring power levels command syntax . . . . . . . . . . . . . . . 671 Setting the power class for a PoE powerconsuming device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .672 Setting the power class configuration notes . . . . . . . . . . . . . .672 Setting the power class command syntax . . . . . . . . . . . . . . . .672 Setting the power budget for a PoE interface module . . . . . . . . . .673 Setting the inline power priority for a PoE port . . . . . . . . . . . . . . . .673 Command syntax for setting the inline power priority for a PoE port . . . . . . . . . . . . . . . . . . . . . . . . . . . 674 Resetting PoE parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .675 Displaying Power over Ethernet information . . . . . . . . . . . . . . . . . .675 Displaying PoE operational status . . . . . . . . . . . . . . . . . . . . . .675 Displaying detailed information about PoE power supplies . .678
Chapter 19
Chapter 20
xx
Configuring a trunk group. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .706 CLI syntax for configuring consecutive ports in a trunk group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .706 CLI syntax for configuring non-consecutive ports in a trunk group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .707 Example 1: Configuring the trunk groups. . . . . . . . . . . . . . . . .708 Example 2: Configuring a trunk group that spans two Ethernet modules in a chassis device. . . . . . . . . . . . . . . .708 Example 3: Configuring a multi-slot trunk group with one port per module . . . . . . . . . . . . . . . . . . . . . . . . . . . . .709 Example 4: Configuring a trunk group of 10 Gbps Ethernet ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .709 Additional trunking options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 710 Displaying trunk group configuration information . . . . . . . . . . . . . 715 Viewing the first and last ports in a trunk group . . . . . . . . . . . 716 Dynamic link aggregation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 717 IronStack LACP trunk group configuration example . . . . . . . . 718 Examples of valid LACP trunk groups . . . . . . . . . . . . . . . . . . . . 718 Configuration notes and limitations for configuring IronStack LACP trunk groups. . . . . . . . . . . . . . . . . . . . . . . . . . .720 Adaptation to trunk disappearance . . . . . . . . . . . . . . . . . . . . .721 Flexible trunk eligibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .722 Enabling dynamic link aggregation. . . . . . . . . . . . . . . . . . . . . .723 How changing the VLAN membership of a port affects trunk groups and dynamic keys . . . . . . . . . . . . . . . . . .724 Additional trunking options for LACP trunk ports. . . . . . . . . . .724 Link aggregation parameters . . . . . . . . . . . . . . . . . . . . . . . . . .724 Displaying and determining the status of aggregate links . . . . . . .730 Events that affect the status of ports in an aggregate link. . .730 Displaying link aggregation and port status information . . . .730 Displaying LACP status information . . . . . . . . . . . . . . . . . . . . .733 Clearing the negotiated aggregate links table . . . . . . . . . . . . . . . .733 Single instance LACP configuration . . . . . . . . . . . . . . . . . . . . . . . . .733 Configuration notes for single link LACP . . . . . . . . . . . . . . . . .734 CLI syntax for single link LACP . . . . . . . . . . . . . . . . . . . . . . . . .734
Chapter 21
VLANs
VLAN overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .736 Types of VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .736 Modifying a port-based VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . 742 Default VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .752 802.1Q tagging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .753 Spanning Tree Protocol (STP) . . . . . . . . . . . . . . . . . . . . . . . . . .756 Virtual routing interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .757 VLAN and virtual routing interface groups . . . . . . . . . . . . . . . .758 Dynamic, static, and excluded port membership . . . . . . . . . .759 Super aggregated VLANs. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 761 Trunk group ports and VLAN membership . . . . . . . . . . . . . . . . 761 Summary of VLAN configuration rules . . . . . . . . . . . . . . . . . . .762
xxi
Routing between VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .763 Virtual routing interfaces (Layer 2 switches only) . . . . . . . . . .763 Routing between VLANs using virtual routing interfaces (Layer 3 switches only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .763 Dynamic port assignment (Layer 2 switches and Layer 3 switches) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .764 Assigning a different VLAN ID to the default VLAN . . . . . . . . .764 Assigning different VLAN IDs to reserved VLANs 4091 and 4092 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .765 Assigning trunk group ports . . . . . . . . . . . . . . . . . . . . . . . . . . .766 Enable spanning tree on a VLAN . . . . . . . . . . . . . . . . . . . . . . .766 Configuring IP subnet, IPX network and protocol-based VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .768 IP subnet, IPX network, and protocol-based VLAN configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . .768 IP subnet, IPX network, and protocol-based VLANs within port-based VLANs. . . . . . . . . . . . . . . . . . . . . . . . . . . .770 IPv6 protocol VLAN configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . 774 Routing between VLANs using virtual routing interfaces (Layer 3 switches only) . . . . . . . . . . . . . . . . . . . . . . . . . . 774 Configuring protocol VLANs with dynamic ports . . . . . . . . . . . . . . .780 Aging of dynamic ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .781 Configuration guidelines for membership aging of dynamic VLAN ports . . . . . . . . . . . . . . . . . . . . . . . . . .782 Configuring an IP, IPX, or AppleTalk Protocol VLAN with Dynamic Ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . .782 Configuring an IP subnet VLAN with dynamic ports . . . . . . . .783 Configuring an IPX network VLAN with dynamic ports . . . . . .783 Configuring uplink ports within a port-based VLAN . . . . . . . . . . . .784 Configuration considerations for uplink ports within a port-based VLAN . . . . . . . . . . . . . . . . . . . . . . . .784 Configuration syntax for uplink ports within a port-based VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . .784 IP subnet address on multiple port-based VLAN configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .785 VLAN groups and virtual routing interface group . . . . . . . . . . . . . .788 Configuring a VLAN group . . . . . . . . . . . . . . . . . . . . . . . . . . . . .788 Configuring a virtual routing interface group . . . . . . . . . . . . . .790 Displaying the VLAN group and virtual routing interface group information . . . . . . . . . . . . . . . . . . . . . . . . . . .791 Allocating memory for more VLANs or virtual routing interfaces. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .792 Super-aggregated VLAN configuration. . . . . . . . . . . . . . . . . . . . . . .793 Configuration notes for aggregated VLANs . . . . . . . . . . . . . . .796 Configuring aggregated VLANs . . . . . . . . . . . . . . . . . . . . . . . . .796 Verifying the aggregated VLAN configuration. . . . . . . . . . . . . .798 Complete CLI examples for aggregated VLANs . . . . . . . . . . . .798
xxii
802.1Q-in-Q tagging configuration. . . . . . . . . . . . . . . . . . . . . . . . . .801 Configuration rules for 802.1Q-in-Q tagging . . . . . . . . . . . . . .802 Enabling 802.1Q-in-Q tagging . . . . . . . . . . . . . . . . . . . . . . . . . .802 Example 802.1Q-in-Q configuration . . . . . . . . . . . . . . . . . . . . .803 Configuring 802.1Q-in-Q tag profiles . . . . . . . . . . . . . . . . . . . .804 Private VLAN configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .805 Configuration notes for PVLANs and standard VLANs. . . . . . .809 Enabling broadcast or unknown unicast traffic to the PVLAN. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .812 CLI example for a general PVLAN network . . . . . . . . . . . . . . . .812 CLI example for a PVLAN network with switch-switch link ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .813 Dual-mode VLAN ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .814 Displaying VLAN information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 817 Displaying VLANs in alphanumeric order . . . . . . . . . . . . . . . . . 817 Displaying system-wide VLAN information . . . . . . . . . . . . . . . .818 Displaying global VLAN information . . . . . . . . . . . . . . . . . . . . .819 Displaying VLAN information for specific ports . . . . . . . . . . . .819 Displaying a port VLAN membership . . . . . . . . . . . . . . . . . . . .820 Displaying a port dual-mode VLAN membership . . . . . . . . . . .820 Displaying port default VLAN IDs (PVIDs) . . . . . . . . . . . . . . . . .821 Displaying PVLAN information. . . . . . . . . . . . . . . . . . . . . . . . . .821
Chapter 22
Multi-Chassis Trunking
Multi-Chassis Trunking Overview . . . . . . . . . . . . . . . . . . . . . . . . . . .823 How MCT works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .824 MCT terminology . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .825 MCT data flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .826 MCT and VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .830 Cluster client automatic configuration . . . . . . . . . . . . . . . . . . .831 MCT feature interaction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .831 Basic MCT configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .833 MCT configuration considerations . . . . . . . . . . . . . . . . . . . . . .833 Differences in configuring MCT for the switch and router image834 Configuring MCT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .834 Setting up cluster client automatic configuration . . . . . . . . . .837 MCT failover scenarios . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .839 Layer 2 behavior with MCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .842 MAC operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .842 Port loop detection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .845 MCT Layer 2 protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .846 Protocol-based VLANs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .846 Uplink switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .847 Layer 2 multicast snooping over MCT. . . . . . . . . . . . . . . . . . . .847 Layer 3 behavior with MCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .850 Layer 3 unicast over MCT . . . . . . . . . . . . . . . . . . . . . . . . . . . . .851 MCT for VRRP or VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .853
xxiii
Displaying MCT information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .856 Displaying peer and client states . . . . . . . . . . . . . . . . . . . . . . .856 Displaying state machine information . . . . . . . . . . . . . . . . . . .857 Displaying cluster, peer, and client states . . . . . . . . . . . . . . . .858 Displaying information about Ethernet interfaces. . . . . . . . . .858 Displaying STP information . . . . . . . . . . . . . . . . . . . . . . . . . . . .860 Displaying information for multicast snooping . . . . . . . . . . . .860 MCT configuration examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .863 Single-level MCT example . . . . . . . . . . . . . . . . . . . . . . . . . . . . .863 Two-level MCT example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .867 MCT configuration with VRRP-E example . . . . . . . . . . . . . . . . .872 Multicast snooping configuration example . . . . . . . . . . . . . . .875
Chapter 23
GVRP
GVRP overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .879 GVRP application examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .880 Dynamic core and fixed edge . . . . . . . . . . . . . . . . . . . . . . . . . .881 Dynamic core and dynamic edge . . . . . . . . . . . . . . . . . . . . . . .882 Fixed core and dynamic edge . . . . . . . . . . . . . . . . . . . . . . . . . .882 Fixed core and fixed edge . . . . . . . . . . . . . . . . . . . . . . . . . . . . .882 VLAN names created by GVRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . .882 Configuration notes for GVRP. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .882 GVRP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .884 Changing the GVRP base VLAN ID . . . . . . . . . . . . . . . . . . . . . .884 Increasing the maximum configurable value of the Leaveall timer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .884 Enabling GVRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .885 Disabling VLAN advertising . . . . . . . . . . . . . . . . . . . . . . . . . . . .885 Disabling VLAN learning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .886 Changing the GVRP timers . . . . . . . . . . . . . . . . . . . . . . . . . . . .886 Converting a VLAN created by GVRP into a statically-configured VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .888 Displaying GVRP information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .889 Displaying GVRP configuration information . . . . . . . . . . . . . . .890 Displaying GVRP VLAN information. . . . . . . . . . . . . . . . . . . . . .892 Displaying GVRP statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . .894 Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . . .897 Clearing GVRP statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .898 GVRP CLI examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .898 Dynamic core and fixed edge . . . . . . . . . . . . . . . . . . . . . . . . . .898 Dynamic core and dynamic edge . . . . . . . . . . . . . . . . . . . . . . .899 Fixed core and dynamic edge . . . . . . . . . . . . . . . . . . . . . . . . . .900 Fixed core and fixed edge . . . . . . . . . . . . . . . . . . . . . . . . . . . . .900
xxiv
Chapter 24
MAC-based VLANs
MAC-based VLAN overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .901 Static and dynamic hosts . . . . . . . . . . . . . . . . . . . . . . . . . . . . .901 MAC-based VLAN feature structure . . . . . . . . . . . . . . . . . . . . .902 Dynamic MAC-based VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .903 Configuration notes and feature limitations for dynamic MAC-based VLAN . . . . . . . . . . . . . . . . . . . . . . . . . .903 Dynamic MAC-based VLAN CLI commands . . . . . . . . . . . . . . .903 Dynamic MAC-based VLAN configuration example . . . . . . . . .904 MAC-based VLAN configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .905 Using MAC-based VLANs and 802.1X security on the same port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .906 Configuring generic and Brocade vendor-specific attributes on the RADIUS server . . . . . . . . . . . . . . . . . . . . . . . .906 Aging for MAC-based VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . .907 Disabling aging for MAC-based VLAN sessions . . . . . . . . . . . .908 Configuring the maximum MAC addresses per port . . . . . . . .909 Configuring a MAC-based VLAN for a static host . . . . . . . . . . .909 Configuring MAC-based VLAN for a dynamic host . . . . . . . . . .910 Configuring dynamic MAC-based VLAN . . . . . . . . . . . . . . . . . .910 Configuring MAC-based VLANs using SNMP . . . . . . . . . . . . . . . . . .911 Displaying Information about MAC-based VLANs . . . . . . . . . . . . . .911 Displaying the MAC-VLAN table. . . . . . . . . . . . . . . . . . . . . . . . .911 Displaying the MAC-VLAN table for a specific MAC address . .912 Displaying allowed MAC addresses . . . . . . . . . . . . . . . . . . . . .912 Displaying denied MAC addresses . . . . . . . . . . . . . . . . . . . . . .913 Displaying detailed MAC-VLAN data . . . . . . . . . . . . . . . . . . . . .914 Displaying MAC-VLAN information for a specific interface . . .915 Displaying MAC addresses in a MAC-based VLAN . . . . . . . . . .916 Displaying MAC-based VLAN logging . . . . . . . . . . . . . . . . . . . . 917 Clearing MAC-VLAN information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 917 Sample MAC-based VLAN application . . . . . . . . . . . . . . . . . . . . . . . 917
Chapter 25
xxv
MAC address filter-based mirroring . . . . . . . . . . . . . . . . . . . . . . . . .931 Configuring MAC address filter-based mirroring . . . . . . . . . . .931 VLAN-based mirroring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .932 VLAN-based mirroring on FastIron X Series devices . . . . . . . .934
Chapter 26
IP Configuration
Basic IP configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .940 IP configuration overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .941 Edge Layer 3 support. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .941 Full Layer 3 support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .941 IP interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .942 IP packet flow through a Layer 3 Switch. . . . . . . . . . . . . . . . . .943 IP route exchange protocols . . . . . . . . . . . . . . . . . . . . . . . . . . .948 IP multicast protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .948 IP interface redundancy protocols . . . . . . . . . . . . . . . . . . . . . .948 ACLs and IP access policies . . . . . . . . . . . . . . . . . . . . . . . . . . .949 Basic IP parameters and defaults Layer 3 Switches . . . . . . . . . .949 When parameter changes take effect . . . . . . . . . . . . . . . . . . .950 IP global parameters Layer 3 Switches. . . . . . . . . . . . . . . . .950 IP interface parameters Layer 3 Switches . . . . . . . . . . . . . .953 Basic IP parameters and defaults Layer 2 Switches . . . . . . . . . .956 IP global parameters Layer 2 Switches. . . . . . . . . . . . . . . . .956 Interface IP parameters Layer 2 Switches . . . . . . . . . . . . . .958 Configuring IP parameters Layer 3 Switches . . . . . . . . . . . . . . . .958 Configuring IP addresses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .958 Configuring 31-bit subnet masks on point-to-point networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .962 Configuring DNS resolver . . . . . . . . . . . . . . . . . . . . . . . . . . . . .964 Configuring packet parameters . . . . . . . . . . . . . . . . . . . . . . . .967 Changing the router ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .970 Specifying a single source interface for specified packet types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 971 ARP parameter configuration . . . . . . . . . . . . . . . . . . . . . . . . . .975 Configuring forwarding parameters . . . . . . . . . . . . . . . . . . . . .980 Disabling ICMP messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . .983 Disabling ICMP Redirect Messages . . . . . . . . . . . . . . . . . . . . .984 Static routes configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . .985 Configuring a default network route . . . . . . . . . . . . . . . . . . . . .994 Configuring IP load sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . .995 ICMP Router Discovery Protocol configuration . . . . . . . . . . . .998 IRDP parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .999 Reverse Address Resolution Protocol configuration . . . . . . .1001 Configuring UDP broadcast and IP helper parameters . . . . 1003 BootP and DHCP relay parameter configuration . . . . . . . . . 1005 DHCP Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1007 Displaying DHCP Server information . . . . . . . . . . . . . . . . . . .1018 DHCP Client-Based Auto-Configuration and Flash image update . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1022
xxvi
Configuring IP parameters Layer 2 Switches . . . . . . . . . . . . . . .1031 Configuring the management IP address and specifying the default gateway . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1031 Configuring Domain Name Server (DNS) resolver. . . . . . . . 1032 Changing the TTL threshold . . . . . . . . . . . . . . . . . . . . . . . . . 1033 DHCP Assist configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . 1034 IPv4 point-to-point GRE tunnels . . . . . . . . . . . . . . . . . . . . . . . . . . .1037 IPv4 GRE tunnel overview . . . . . . . . . . . . . . . . . . . . . . . . . . . 1038 GRE packet structure and header format . . . . . . . . . . . . . . 1038 Path MTU Discovery (PMTUD) support . . . . . . . . . . . . . . . . . 1039 Configuration considerations for PMTUD support . . . . . . . . 1039 Tunnel loopback ports for GRE tunnels . . . . . . . . . . . . . . . . 1040 Support for IPv4 multicast routing over GRE tunnels . . . . . 1040 GRE support with other features . . . . . . . . . . . . . . . . . . . . . .1041 Configuration considerations for GRE IP tunnels . . . . . . . . 1042 Configuration tasks for GRE tunnels . . . . . . . . . . . . . . . . . . 1044 Example point-to-point GRE tunnel configuration . . . . . . . . 1052 Displaying GRE tunneling information . . . . . . . . . . . . . . . . . 1053 Clearing GRE statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1058 Displaying IP configuration information and statistics . . . . . . . . 1058 Changing the network mask display to prefix format . . . . . 1059 Displaying IP information Layer 3 Switches . . . . . . . . . . . 1059 Displaying IP information Layer 2 Switches . . . . . . . . . . . . 1074 Disabling IP checksum check. . . . . . . . . . . . . . . . . . . . . . . . . . . . .1078
Chapter 27
STP feature configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1097 Fast port span . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1097 Fast Uplink Span . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1100 802.1W Rapid Spanning Tree (RSTP) . . . . . . . . . . . . . . . . . . 1103 802.1W Draft 3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1140 Single Spanning Tree (SSTP) . . . . . . . . . . . . . . . . . . . . . . . . . 1145 STP per VLAN group . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1147 PVST/PVST+ compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1151 Overview of PVST and PVST+ . . . . . . . . . . . . . . . . . . . . . . . . .1151 VLAN tags and dual mode . . . . . . . . . . . . . . . . . . . . . . . . . . . 1152 Configuring PVST+ support . . . . . . . . . . . . . . . . . . . . . . . . . . 1153 Displaying PVST+ support information . . . . . . . . . . . . . . . . . 1154 PVST+ configuration examples . . . . . . . . . . . . . . . . . . . . . . . 1154 PVRST compatibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1157
xxvii
BPDU guard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1157 Enabling BPDU protection by port. . . . . . . . . . . . . . . . . . . . . .1157 Re-enabling ports disabled by BPDU guard . . . . . . . . . . . . . 1158 Displaying the BPDU guard status . . . . . . . . . . . . . . . . . . . . 1158 BPDU guard status example console messages . . . . . . . . . 1159 Root guard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1160 Enabling STP root guard . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1160 Displaying the STP root guard . . . . . . . . . . . . . . . . . . . . . . . . 1160 Displaying the root guard by VLAN . . . . . . . . . . . . . . . . . . . . .1161 Error disable recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1161 Enabling error disable recovery . . . . . . . . . . . . . . . . . . . . . . .1161 Setting the recovery interval . . . . . . . . . . . . . . . . . . . . . . . . . 1162 Displaying the error disable recovery state by interface . . . 1162 Displaying the recovery state for all conditions . . . . . . . . . . 1162 Displaying the recovery state by port number and cause. . 1163 Errdisable Syslog messages . . . . . . . . . . . . . . . . . . . . . . . . . 1163 802.1s Multiple Spanning Tree Protocol . . . . . . . . . . . . . . . . . . . Multiple spanning-tree regions . . . . . . . . . . . . . . . . . . . . . . . Configuration notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring MSTP mode and scope . . . . . . . . . . . . . . . . . . . Reduced occurrences of MSTP reconvergence . . . . . . . . . . Configuring additional MSTP parameters . . . . . . . . . . . . . . 1163 1164 1165 1165 1166 1168
Chapter 28
Configuring RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1187 Enabling RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1187 Enabling redistribution of IP static routes into RIP . . . . . . . .1187 Configuring a redistribution filter . . . . . . . . . . . . . . . . . . . . . 1189 Enabling redistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1189 Enabling learning of default routes . . . . . . . . . . . . . . . . . . . 1190 Changing the route loop prevention method . . . . . . . . . . . . 1190 Other Layer 3 protocols. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1190 Enabling or disabling routing protocols . . . . . . . . . . . . . . . . . . . . 1190 Enabling or disabling Layer 2 switching . . . . . . . . . . . . . . . . . . . .1191 Configuration notes and feature limitations for Layer 2 switching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1191 Command syntax for Layer 2 switching . . . . . . . . . . . . . . . . .1191
xxviii
Chapter 29
RIP (IPv4)
RIP overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1193 ICMP host unreachable message for undeliverable ARPs . 1194 RIP parameters and defaults . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1194 RIP global parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1194 RIP interface parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 1195 RIP parameter configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196 Enabling RIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1196 Enabling ECMP for routes in RIP . . . . . . . . . . . . . . . . . . . . . . .1197 Configuring metric parameters . . . . . . . . . . . . . . . . . . . . . . . .1197 Changing the administrative distance. . . . . . . . . . . . . . . . . 1198 Configuring redistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . 1199 Route learning and advertising parameters . . . . . . . . . . . . 1201 Denying route advertisements for connected routes . . . . . 1202 Changing the route loop prevention method . . . . . . . . . . . . 1203 Suppressing RIP route advertisement on a VRRP or VRRP-E backup interface. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1203 Configuring RIP route filters . . . . . . . . . . . . . . . . . . . . . . . . . 1204 Displaying RIP filters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1205 Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . . . . . 1206
Chapter 30
RIP (IPv6)
RIPng overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1209 Summary of configuration tasks . . . . . . . . . . . . . . . . . . . . . . . . . .1210 RIPng configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1210 RIPng timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1211 Route learning and advertising parameters . . . . . . . . . . . . . . . . Configuring default route learning and advertising . . . . . . . Advertising IPv6 address summaries . . . . . . . . . . . . . . . . . . Changing the metric of routes learned and advertised on an interface . . . . . . . . . . . . . . . . . . . . . . . . . . 1212 1212 1212 1213
Redistributing routes into RIPng . . . . . . . . . . . . . . . . . . . . . . . . . .1214 Controlling distribution of routes through RIPng. . . . . . . . . . . . . .1214 Configuring poison reverse parameters . . . . . . . . . . . . . . . . . . . 1215 Clearing RIPng routes from the IPv6 route table. . . . . . . . . . . . . 1215 Displaying the RIPng configuration . . . . . . . . . . . . . . . . . . . . . . . .1216 Displaying RIPng routing table . . . . . . . . . . . . . . . . . . . . . . . . . . . .1217
xxix
Chapter 31
OSPF graceful restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1228 Configuring OSPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1229 OSPF configuration rules. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1229 OSPF parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1229 Enabling OSPF on the router . . . . . . . . . . . . . . . . . . . . . . . . . 1230 Assigning OSPF areas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1231 Assigning an area range (optional) . . . . . . . . . . . . . . . . . . . . 1235 Assigning interfaces to an area . . . . . . . . . . . . . . . . . . . . . . 1236 Modifying interface defaults . . . . . . . . . . . . . . . . . . . . . . . . . 1236 Changing the timer for OSPF authentication changes . . . . 1238 Block flooding of outbound LSAs on specific OSPF interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1239 Configuring an OSPF non-broadcast interface. . . . . . . . . . . 1240 Assigning virtual links . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1241 Modifying virtual link parameters . . . . . . . . . . . . . . . . . . . . . 1243 Changing the reference bandwidth for the cost on OSPF interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1245 Defining redistribution filters . . . . . . . . . . . . . . . . . . . . . . . . 1246 Preventing specific OSPF routes from being installed in the IP route table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1249 Modifying the default metric for redistribution . . . . . . . . . . 1252 Enabling route redistribution. . . . . . . . . . . . . . . . . . . . . . . . . 1252 Disabling or re-enabling load sharing. . . . . . . . . . . . . . . . . . 1254 Configuring external route summarization . . . . . . . . . . . . . . 1256 Configuring default route origination . . . . . . . . . . . . . . . . . . 1257 Modifying SPF timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1258 Modifying the redistribution metric type . . . . . . . . . . . . . . . 1259 Administrative distance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1259 Configuring OSPF group Link State Advertisement (LSA) pacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1260 Modifying OSPF traps generated . . . . . . . . . . . . . . . . . . . . . 1260 Specifying the types of OSPF Syslog messages to log . . . . 1261 Modifying the OSPF standard compliance setting. . . . . . . . 1262 Modifying the exit overflow interval . . . . . . . . . . . . . . . . . . . 1262 Configuring an OSPF point-to-point link . . . . . . . . . . . . . . . . 1263 Configuring OSPF graceful restart . . . . . . . . . . . . . . . . . . . . 1263
xxx
Clearing OSPF information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clearing OSPF neighbor information . . . . . . . . . . . . . . . . . . Clearing OSPF topology information . . . . . . . . . . . . . . . . . . . Clearing redistributed routes from the OSPF routing table . Clearing information for OSPF areas . . . . . . . . . . . . . . . . . .
Displaying OSPF information . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1266 Displaying general OSPF configuration information . . . . . . 1266 Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . 1267 Displaying OSPF area information . . . . . . . . . . . . . . . . . . . . 1269 Displaying OSPF neighbor information . . . . . . . . . . . . . . . . . 1269 Displaying OSPF interface information. . . . . . . . . . . . . . . . . 1272 Displaying OSPF route information . . . . . . . . . . . . . . . . . . . . 1273 Displaying OSPF external link state information . . . . . . . . . 1275 Displaying OSPF link state information . . . . . . . . . . . . . . . . .1276 Displaying the data in an LSA . . . . . . . . . . . . . . . . . . . . . . . . .1277 Displaying OSPF virtual neighbor information . . . . . . . . . . . .1277 Displaying OSPF virtual link information . . . . . . . . . . . . . . . 1278 Displaying OSPF ABR and ASBR information . . . . . . . . . . . . 1278 Displaying OSPF trap status . . . . . . . . . . . . . . . . . . . . . . . . . 1278 Displaying OSPF graceful restart information . . . . . . . . . . . 1279
Chapter 32
xxxi
Displaying OSPF V3 Information . . . . . . . . . . . . . . . . . . . . . . . . . 1308 Displaying OSPF V3 area information. . . . . . . . . . . . . . . . . . 1309 Displaying OSPF V3 database information. . . . . . . . . . . . . . .1310 Displaying OSPF V3 interface information . . . . . . . . . . . . . . .1315 Displaying OSPF V3 memory usage . . . . . . . . . . . . . . . . . . . 1318 Displaying OSPF V3 neighbor information . . . . . . . . . . . . . . .1319 Displaying routes redistributed into OSPF V3 . . . . . . . . . . . 1321 Displaying OSPF V3 route information . . . . . . . . . . . . . . . . . 1322 Displaying OSPF V3 SPF information . . . . . . . . . . . . . . . . . . 1324 Displaying IPv6 OSPF virtual link information . . . . . . . . . . . 1327 Displaying OSPF V3 virtual neighbor information . . . . . . . . 1327 IPsec examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1328
Chapter 33
BGP (IPv4)
BGP4 overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Relationship between the BGP4 route table and the IP route table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How BGP4 selects a path for a route . . . . . . . . . . . . . . . . . . BGP4 message types. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1336 1337 1338 1339
BGP4 graceful restart . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1341 Basic configuration and activation for BGP4 . . . . . . . . . . . . . . . 1342 Note regarding disabling BGP4. . . . . . . . . . . . . . . . . . . . . . . 1342 BGP4 parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1343 BGP4 parameter changes . . . . . . . . . . . . . . . . . . . . . . . . . . . 1344 BGP4 memory considerations . . . . . . . . . . . . . . . . . . . . . . . . . . . 1345 Memory configuration options obsoleted by dynamic memory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1346 Basic configuration tasks required for BGP4 . . . . . . . . . . . . . . . 1346 Enabling BGP4 on the router . . . . . . . . . . . . . . . . . . . . . . . . 1346 Changing the router ID. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1346 Setting the local AS number . . . . . . . . . . . . . . . . . . . . . . . . . .1347 Adding a loopback interface . . . . . . . . . . . . . . . . . . . . . . . . . .1347 Adding BGP4 neighbors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1348 Adding a BGP4 peer group . . . . . . . . . . . . . . . . . . . . . . . . . . 1355
xxxii
Optional BGP4 configuration tasks . . . . . . . . . . . . . . . . . . . . . . . 1359 Changing the Keep Alive Time and Hold Time . . . . . . . . . . . 1359 Changing the BGP4 next-hop update timer . . . . . . . . . . . . . 1359 Enabling fast external fallover. . . . . . . . . . . . . . . . . . . . . . . . 1360 Changing the maximum number of paths for BGP4 load sharing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1360 Customizing BGP4 load sharing . . . . . . . . . . . . . . . . . . . . . . 1362 Specifying a list of networks to advertise. . . . . . . . . . . . . . . 1362 Changing the default local preference . . . . . . . . . . . . . . . . . 1364 Using the IP default route as a valid next hop for a BGP4 route . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1364 Advertising the default route. . . . . . . . . . . . . . . . . . . . . . . . . 1365 Changing the default MED (Metric) used for route redistribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1365 Enabling next-hop recursion . . . . . . . . . . . . . . . . . . . . . . . . . 1365 Changing administrative distances . . . . . . . . . . . . . . . . . . . 1368 Requiring the first AS to be the neighbor AS . . . . . . . . . . . . 1370 Disabling or re-enabling comparison of the AS-Path length . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1370 Enabling or disabling comparison of the router IDs . . . . . . 1370 Configuring the Layer 3 switch to always compare Multi-Exit Discriminators (MEDs) . . . . . . . . . . . . . . . . . . . . . .1371 Treating missing MEDs as the worst MEDs . . . . . . . . . . . . . .1371 Route reflection parameter configuration . . . . . . . . . . . . . . 1372 Configuration notes for BGP4 autonomous systems . . . . . 1375 Aggregating routes advertised to BGP4 neighbors . . . . . . . 1378 Configuring BGP4 graceful restart . . . . . . . . . . . . . . . . . . . . . . . . 1379 Configuring BGP4 graceful restart . . . . . . . . . . . . . . . . . . . . 1379 Configuring timers for BGP4 graceful restart (optional) . . . 1379 BGP null0 routing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration steps for BGP null 0 routing. . . . . . . . . . . . . . Configuration examples for BGP null 0 routing . . . . . . . . . . Show commands for BGP null 0 routing. . . . . . . . . . . . . . . . Modifying redistribution parameters . . . . . . . . . . . . . . . . . . . . . . Redistributing connected routes. . . . . . . . . . . . . . . . . . . . . . Redistributing RIP routes. . . . . . . . . . . . . . . . . . . . . . . . . . . . Redistributing OSPF external routes. . . . . . . . . . . . . . . . . . . Redistributing static routes . . . . . . . . . . . . . . . . . . . . . . . . . . Disabling or re-enabling re-advertisement of all learned BGP4 routes to all BGP4 neighbors . . . . . . . . . . . . . . . . . . . Redistributing IBGP routes into RIP and OSPF. . . . . . . . . . . 1380 1381 1382 1383 1385 1385 1386 1386 1387 1387 1387
Filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1388 Specific IP address filtering. . . . . . . . . . . . . . . . . . . . . . . . . . 1388 AS-path filtering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1389 BGP4 filtering communities . . . . . . . . . . . . . . . . . . . . . . . . . 1393 Defining IP prefix lists . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1395 Defining neighbor distribute lists . . . . . . . . . . . . . . . . . . . . . 1396 Defining route maps . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1397 Using a table map to set the rag value. . . . . . . . . . . . . . . . . 1405 Configuring cooperative BGP4 route filtering. . . . . . . . . . . . 1405
xxxiii
Route flap dampening configuration . . . . . . . . . . . . . . . . . . . . . . 1408 Globally configuring route flap dampening . . . . . . . . . . . . . 1409 Using a route map to configure route flap dampening for specific routes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1410 Using a route map to configure route flap dampening for a specific neighbor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1411 Removing route dampening from a route. . . . . . . . . . . . . . . .1412 Removing route dampening from a neighbor routes suppressed due to aggregation . . . . . . . . . . . . . . . . . . . . . . .1412 Displaying and clearing route flap dampening statistics . . .1413 Generating traps for BGP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1415 Displaying BGP4 information . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1415 Displaying summary BGP4 information . . . . . . . . . . . . . . . . .1416 Displaying the active BGP4 configuration . . . . . . . . . . . . . . .1419 Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . .1419 Displaying summary neighbor information . . . . . . . . . . . . . .1421 Displaying BGP4 neighbor information. . . . . . . . . . . . . . . . . 1422 Displaying peer group information . . . . . . . . . . . . . . . . . . . . 1433 Displaying summary route information . . . . . . . . . . . . . . . . 1434 Displaying the BGP4 route table . . . . . . . . . . . . . . . . . . . . . . 1435 Displaying BGP4 route-attribute entries . . . . . . . . . . . . . . . . .1441 Displaying the routes BGP4 has placed in the IP route table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1442 Displaying route flap dampening statistics . . . . . . . . . . . . . 1443 Displaying the active route map configuration . . . . . . . . . . 1444 Displaying BGP4 graceful restart neighbor information . . . 1445 Updating route information and resetting a neighbor session . 1445 Using soft reconfiguration . . . . . . . . . . . . . . . . . . . . . . . . . . . 1446 Dynamically requesting a route refresh from a BGP4 neighbor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1448 Closing or resetting a neighbor session . . . . . . . . . . . . . . . . .1451 Clearing and resetting BGP4 routes in the IP route table . . 1452 Clearing traffic counters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1452 Clearing route flap dampening statistics. . . . . . . . . . . . . . . . . . . 1453 Removing route flap dampening . . . . . . . . . . . . . . . . . . . . . . . . . 1453 Clearing diagnostic buffers. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1454
xxxiv
Chapter 34
xxxv
PIM SM snooping show commands. . . . . . . . . . . . . . . . . . . . . . . Displaying PIM SM snooping information. . . . . . . . . . . . . . . Displaying PIM SM snooping information on a Layer 2 switch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying PIM SM snooping information for a specific group or source group pair . . . . . . . . . . . . . . . . . . . . . . . . . . Clear commands for IGMP snooping . . . . . . . . . . . . . . . . . . . . . . Clearing the IGMP mcache . . . . . . . . . . . . . . . . . . . . . . . . . . Clearing the mcache on a specific VLAN . . . . . . . . . . . . . . . Clearing traffic on a specific VLAN . . . . . . . . . . . . . . . . . . . . Clearing IGMP counters on VLANs . . . . . . . . . . . . . . . . . . . .
Chapter 35
IP Multicast Traffic Reduction for FastIron WS and Brocade FCX and ICX Switches
IGMP snooping overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1485 Configuration notes for IGMP snooping . . . . . . . . . . . . . . . . .1487 Querier and non-querier configuration . . . . . . . . . . . . . . . . . 1488 VLAN specific configuration . . . . . . . . . . . . . . . . . . . . . . . . . 1489 IGMPv2 with IGMPv3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1489 PIM SM traffic snooping overview . . . . . . . . . . . . . . . . . . . . . . . . 1489 Application example of PIM SM traffic snooping . . . . . . . . . 1489 IGMP snooping configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1491 Displaying IGMP snooping information . . . . . . . . . . . . . . . . . . . . 1499 Displaying querier information . . . . . . . . . . . . . . . . . . . . . . . 1504 Clear IGMP snooping commands . . . . . . . . . . . . . . . . . . . . . 1508
Chapter 36
IP Multicast Protocols
IP multicast overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1510 IPv4 multicast group addresses . . . . . . . . . . . . . . . . . . . . . . .1510 Mapping of IPv4 Multicast group addresses to Ethernet MAC addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1510 Supported Layer 3 multicast routing protocols . . . . . . . . . . .1511 Suppression of unregistered multicast packets . . . . . . . . . .1511 Multicast terms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1511 Global IP multicast parameters . . . . . . . . . . . . . . . . . . . . . . . . . . .1511 Changing dynamic memory allocation for IP multicast groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1512 Changing IGMP V1 and V2 parameters . . . . . . . . . . . . . . . . .1513
xxxvi
PIM Dense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1516 Initiating PIM multicasts on a network . . . . . . . . . . . . . . . . . .1516 Pruning a multicast tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1516 Grafts to a multicast Tree . . . . . . . . . . . . . . . . . . . . . . . . . . . .1518 PIM DM versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1518 PIM DM configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1519 Failover time in a multi-path topology . . . . . . . . . . . . . . . . . 1523 Modifying the TTL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1523 Displaying basic PIM Dense configuration information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1524 Displaying all multicast cache entries in a pruned state . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1525 PIM Sparse . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PIM Sparse switch types . . . . . . . . . . . . . . . . . . . . . . . . . . . . RP paths and SPT paths . . . . . . . . . . . . . . . . . . . . . . . . . . . . PIM Sparse configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . ACL based RP assignment . . . . . . . . . . . . . . . . . . . . . . . . . . Anycast RP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying PIM Sparse configuration information and statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Multicast Source Discovery Protocol (MSDP) . . . . . . . . . . . . . . . Peer Reverse Path Forwarding (RPF) flooding . . . . . . . . . . . Source active caching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . MSDP configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Designating an interface IP address as the RP IP address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Filtering MSDP source-group pairs . . . . . . . . . . . . . . . . . . . . MSDP mesh groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying MSDP information . . . . . . . . . . . . . . . . . . . . . . . . Clearing MSDP information . . . . . . . . . . . . . . . . . . . . . . . . . . 1525 1526 1527 1527 1533 1534 1539 1552 1555 1555 1556 1557 1557 1561 1567 1572
Passive multicast route insertion. . . . . . . . . . . . . . . . . . . . . . . . . 1573 DVMRP overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1574 Initiating DVMRP multicasts on a network . . . . . . . . . . . . . . .1574 Pruning a multicast tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1575 Grafts to a multicast tree . . . . . . . . . . . . . . . . . . . . . . . . . . . .1576 DVMRP configuration on the Layer 3 switch and interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1576 Modifying DVMRP global parameters . . . . . . . . . . . . . . . . . . .1577 Modifying DVMRP interface parameters . . . . . . . . . . . . . . . 1580 Displaying information about an upstream neighbor device. . . . . . . . . . . . . . . . . . . . . . . . . . . 1581 IP tunnel configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1581 Using ACLs to control multicast features. . . . . . . . . . . . . . . . . . . 1582 Using ACLs to limit static RP groups . . . . . . . . . . . . . . . . . . . 1582 Using ACLs to limit PIM RP candidate advertisement . . . . . 1584
xxxvii
Disabling CPU processing for select multicast groups . . . . . . . . 1585 CLI command syntax to disable CPU processing . . . . . . . . . 1586 Viewing disabled multicast addresses . . . . . . . . . . . . . . . . . 1586 Configuring a static multicast route. . . . . . . . . . . . . . . . . . . . . . . 1587 Displaying the multicast configuration for another multicast router. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1589 IGMP V3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Default IGMP version . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Compatibility with IGMP V1 and V2 . . . . . . . . . . . . . . . . . . . Globally enabling the IGMP version . . . . . . . . . . . . . . . . . . . Enabling the IGMP version per interface setting . . . . . . . . . Enabling the IGMP version on a physical port within a virtual routing interface . . . . . . . . . . . . . . . . . . . . . . . . . . . Enabling membership tracking and fast leave . . . . . . . . . . Setting the query interval . . . . . . . . . . . . . . . . . . . . . . . . . . . Setting the group membership time. . . . . . . . . . . . . . . . . . . Setting the maximum response time . . . . . . . . . . . . . . . . . . IGMP V3 and source-specific multicast protocols . . . . . . . . Displaying IGMP V3 information on Layer 3 switches . . . . . Clearing IGMP statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . IGMP Proxy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . IGMP proxy configuration notes . . . . . . . . . . . . . . . . . . . . . . IGMP proxy limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring IGMP Proxy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying IGMP Proxy traffic . . . . . . . . . . . . . . . . . . . . . . . . 1590 1591 1591 1591 1592 1592 1592 1593 1593 1594 1594 1594 1598 1599 1599 1599 1599 1600
IP multicast protocols and IGMP snooping on the same device. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1600 IP multicast protocols and IGMP snooping configuration example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1601 IP multicast protocols and IGMP snooping CLI commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1602
Chapter 37
xxxviii
MLD snooping configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1609 Configuring the hardware and software resource limits . . . .1610 Disabling transmission and receipt of MLD packets on a port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1610 Configuring the global MLD mode . . . . . . . . . . . . . . . . . . . . .1611 Modifying the age interval . . . . . . . . . . . . . . . . . . . . . . . . . . . .1611 Modifying the query interval (active MLD snooping mode only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1611 Configuring the global MLD version . . . . . . . . . . . . . . . . . . . .1612 Configuring report control . . . . . . . . . . . . . . . . . . . . . . . . . . . .1612 Modifying the wait time before stopping traffic when receiving a leave message . . . . . . . . . . . . . . . . . . . . . . . . . . .1612 Modifying the multicast cache (mcache) aging time. . . . . . .1613 Disabling error and warning messages . . . . . . . . . . . . . . . . .1613 Configuring the MLD mode for a VLAN . . . . . . . . . . . . . . . . . .1613 Disabling MLD snooping for the VLAN . . . . . . . . . . . . . . . . . .1614 Configuring the MLD version for the VLAN . . . . . . . . . . . . . . .1614 Configuring the MLD version for individual ports . . . . . . . . .1614 Configuring static groups to the entire VLAN or to individual ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1614 Configuring static router ports . . . . . . . . . . . . . . . . . . . . . . . .1615 Disabling static group proxy . . . . . . . . . . . . . . . . . . . . . . . . . .1615 Enabling MLDv2 membership tracking and fast leave for the VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1615 Configuring fast leave for MLDv1 . . . . . . . . . . . . . . . . . . . . . .1616 Enabling fast convergence . . . . . . . . . . . . . . . . . . . . . . . . . . .1616 Displaying MLD snooping information . . . . . . . . . . . . . . . . . .1617 Clearing MLD snooping counters and mcache . . . . . . . . . . 1622
Chapter 38
xxxix
MLD snooping configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1629 Global tasks for MLD Snooping . . . . . . . . . . . . . . . . . . . . . . 1629 VLAN-specific tasks for MLD Snooping . . . . . . . . . . . . . . . . 1629 Configuring the hardware and software resource limits . . . 1630 Disabling transmission and receipt of MLD packets on a port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1630 Configuring the global MLD mode . . . . . . . . . . . . . . . . . . . . 1630 Modifying the age interval . . . . . . . . . . . . . . . . . . . . . . . . . . . .1631 Modifying the query interval (Active MLD snooping mode only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1631 Configuring the global MLD version . . . . . . . . . . . . . . . . . . . .1631 Configuring report control . . . . . . . . . . . . . . . . . . . . . . . . . . . .1631 Modifying the wait time before stopping traffic when receiving a leave message . . . . . . . . . . . . . . . . . . . . . . . . . . 1632 Modifying the multicast cache (mcache) aging time. . . . . . 1632 Disabling error and warning messages . . . . . . . . . . . . . . . . 1632 Configuring the MLD mode for a VLAN . . . . . . . . . . . . . . . . . 1633 Disabling MLD snooping for the VLAN . . . . . . . . . . . . . . . . . 1633 Configuring the MLD version for the VLAN . . . . . . . . . . . . . . 1633 Configuring the MLD version for individual ports . . . . . . . . 1633 Configuring static groups to the entire VLAN or to individual ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1634 Configuring static router ports . . . . . . . . . . . . . . . . . . . . . . . 1634 Turning off static group proxy . . . . . . . . . . . . . . . . . . . . . . . . 1634 Enabling MLDv2 membership tracking and fast leave for the VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1635 Configuring fast leave for MLDv1 . . . . . . . . . . . . . . . . . . . . . 1635 Enabling fast convergence . . . . . . . . . . . . . . . . . . . . . . . . . . 1636 Displaying MLD snooping information . . . . . . . . . . . . . . . . . 1636 Clear MLD snooping commands. . . . . . . . . . . . . . . . . . . . . . .1641
Chapter 39
VRRP and VRRP-E parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . 1654 Note regarding disabling VRRP or VRRP-E . . . . . . . . . . . . . . .1657 Basic VRRP parameter configuration . . . . . . . . . . . . . . . . . . . . . 1658 Configuration rules for VRRP. . . . . . . . . . . . . . . . . . . . . . . . . 1658 Configuring the Owner for IPv4 VRRP. . . . . . . . . . . . . . . . . . 1658 Configuring the Owner for IPv6 VRRP. . . . . . . . . . . . . . . . . . 1659 Configuring a Backup for IPv4 VRRP . . . . . . . . . . . . . . . . . . 1660 Configuring a Backup for IPv6 VRRP . . . . . . . . . . . . . . . . . . 1660 Configuration considerations for IPv6 VRRP v3 and IPv6 VRRP-E v3 support on Brocade devices . . . . . . . . . . . .1661
xl
Basic VRRP-E parameter configuration . . . . . . . . . . . . . . . . . . . . Configuration rules for VRRP-E . . . . . . . . . . . . . . . . . . . . . . . Configuring IPv4 VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring IPv6 VRRP-E . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Additional VRRP and VRRP-E parameter configuration . . . . . . . 1664 VRRP and VRRP-E authentication types. . . . . . . . . . . . . . . . 1665 VRRP router type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1667 Suppression of RIP advertisements . . . . . . . . . . . . . . . . . . . 1668 Hello interval configuration . . . . . . . . . . . . . . . . . . . . . . . . . . 1669 Dead interval configuration. . . . . . . . . . . . . . . . . . . . . . . . . . 1670 Backup Hello message state and interval . . . . . . . . . . . . . . 1670 Track port configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1671 Track priority configuration . . . . . . . . . . . . . . . . . . . . . . . . . . .1671 Backup preempt configuration . . . . . . . . . . . . . . . . . . . . . . . 1672 Changing the timer scale. . . . . . . . . . . . . . . . . . . . . . . . . . . . 1672 VRRP-E slow start timer. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1673 VRRP-E Extension for Server Virtualization . . . . . . . . . . . . . .1674 Forcing a Master router to abdicate to a Backup router. . . . . . . 1677 Displaying VRRP and VRRP-E information . . . . . . . . . . . . . . . . . . Displaying summary information . . . . . . . . . . . . . . . . . . . . . Displaying detailed information . . . . . . . . . . . . . . . . . . . . . . Displaying statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Clearing VRRP or VRRP-E statistics . . . . . . . . . . . . . . . . . . . Displaying CPU utilization statistics . . . . . . . . . . . . . . . . . . . 1678 1678 1680 1686 1688 1688
Displaying VRRP and VRRP-E information for IPv6 . . . . . . . . . . . 1690 Displaying detailed information for IPv6 VRRP v3 and IPv6 VRRP-E v3 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1690 Configuration examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1692 VRRP example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1692 VRRP-E example. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1694
Chapter 40
Rule-Based IP ACLs
ACL overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1699 Types of IP ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1699 ACL IDs and entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1700 Numbered and named ACLs . . . . . . . . . . . . . . . . . . . . . . . . . .1700 Default ACL action . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1701 How hardware-based ACLs work . . . . . . . . . . . . . . . . . . . . . . . . . .1701 How fragmented packets are processed . . . . . . . . . . . . . . . .1701 Hardware aging of Layer 4 CAM entries . . . . . . . . . . . . . . . . .1702 ACL configuration considerations . . . . . . . . . . . . . . . . . . . . . . . . .1702 Configuring standard numbered ACLs. . . . . . . . . . . . . . . . . . . . . .1703 Standard numbered ACL syntax . . . . . . . . . . . . . . . . . . . . . . .1703 Configuration example for standard numbered ACLs . . . . . .1705 Standard named ACL configuration. . . . . . . . . . . . . . . . . . . . . . . .1705 Standard named ACL syntax . . . . . . . . . . . . . . . . . . . . . . . . . .1705 Configuration example for standard named ACLs . . . . . . . . .1707
xli
Extended numbered ACL configuration . . . . . . . . . . . . . . . . . . . . .1708 Extended numbered ACL syntax . . . . . . . . . . . . . . . . . . . . . . .1708 Configuration examples for extended numbered ACLs . . . . .1712 Extended named ACL configuration. . . . . . . . . . . . . . . . . . . . . . . . 1714 Extended named ACL syntax . . . . . . . . . . . . . . . . . . . . . . . . . .1715 Configuration example for extended named ACLs. . . . . . . . .1719 Applying egress ACLs to Control (CPU) traffic . . . . . . . . . . . . . . . .1719 Preserving user input for ACL TCP/UDP port numbers. . . . . . . . .1719 ACL comment text management . . . . . . . . . . . . . . . . . . . . . . . . . .1720 Adding a comment to an entry in a numbered ACL . . . . . . . .1720 Adding a comment to an entry in a named ACL. . . . . . . . . . .1721 Deleting a comment from an ACL entry . . . . . . . . . . . . . . . . .1721 Viewing comments in an ACL . . . . . . . . . . . . . . . . . . . . . . . . .1721 Applying an ACL to a virtual interface in a protocolor subnet-based VLAN . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1722 ACL logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1723 Enabling strict control of ACL filtering of fragmented packets. . .1726 Enabling ACL support for switched traffic in the router image . .1727 Enabling ACL filtering based on VLAN membership or VE port membership . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1728 Configuration notes for ACL filtering . . . . . . . . . . . . . . . . . . . .1728 Applying an IPv4 ACL to specific VLAN members on a port (Layer 2 devices only) . . . . . . . . . . . . . . . . . . . . . . . . . .1728 Applying an IPv4 ACL to a subset of ports on a virtual interface (Layer 3 devices only) . . . . . . . . . . . . . . . . . . . . . . .1729 ACLs to filter ARP packets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1730 Configuration considerations for filtering ARP packets. . . . .1731 Configuring ACLs for ARP filtering . . . . . . . . . . . . . . . . . . . . . .1731 Displaying ACL filters for ARP . . . . . . . . . . . . . . . . . . . . . . . . .1732 Clearing the filter count . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1732 Filtering on IP precedence and ToS values . . . . . . . . . . . . . . . . . .1733 TCP flags - edge port security . . . . . . . . . . . . . . . . . . . . . . . . .1733 QoS options for IP ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1734 Configuration notes for QoS options on FCX and ICX devices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1734 Using an ACL to map the DSCP value (DSCP CoS mapping) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1735 Using an IP ACL to mark DSCP values (DSCP marking). . . . .1736 DSCP matching . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1738 ACL-based rate limiting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1738 ACL statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1739 ACLs to control multicast features . . . . . . . . . . . . . . . . . . . . . . . . .1739 Enabling and viewing hardware usage statistics for an ACL . . . .1739 Displaying ACL information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1740 Troubleshooting ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1741
xlii
Chapter 41
IPv6 ACLs
IPv6 ACL overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1749 IPv6 ACL traffic filtering criteria . . . . . . . . . . . . . . . . . . . . . . .1750 IPv6 protocol names and numbers. . . . . . . . . . . . . . . . . . . . .1750 IPv6 ACL configuration notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1751 Configuring an IPv6 ACL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1752 Example IPv6 configurations. . . . . . . . . . . . . . . . . . . . . . . . . .1752 Default and implicit IPv6 ACL action. . . . . . . . . . . . . . . . . . . .1753 Creating an IPv6 ACL. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1755 Syntax for creating an IPv6 ACL . . . . . . . . . . . . . . . . . . . . . . .1755 Enabling IPv6 on an interface to which an ACL will be applied . . 1761 Syntax for enabling IPv6 on an interface . . . . . . . . . . . . . . . . 1761 Applying an IPv6 ACL to an interface . . . . . . . . . . . . . . . . . . . . . . . 1761 Syntax for applying an IPv6 ACL . . . . . . . . . . . . . . . . . . . . . . . 1761 Applying an IPv6 ACL to a trunk group . . . . . . . . . . . . . . . . . .1762 Applying an IPv6 ACL to a virtual interface in a protocol-based or subnet-based VLAN . . . . . . . . . . . . . . . . . .1762 Adding a comment to an IPv6 ACL entry . . . . . . . . . . . . . . . . . . . .1762 Deleting a comment from an IPv6 ACL entry . . . . . . . . . . . . . . . .1763 Support for ACL logging . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1763 Displaying IPv6 ACLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1763
Chapter 42
Traffic Policies
Traffic policies overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1765 Configuration notes and feature limitations for traffic policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1766 Maximum number of traffic policies supported on a device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1767 Setting the maximum number of traffic policies supported on a Layer 3 device . . . . . . . . . . . . . . . . . . . . . . . .1768 ACL-based rate limiting using traffic policies. . . . . . . . . . . . . . . . .1768 Support for fixed rate limiting and adaptive rate limiting . . .1769 Configuring ACL-based fixed rate limiting . . . . . . . . . . . . . . . .1769 ACL-based adaptive rate limiting configuration . . . . . . . . . . .1770 Specifying the action to be taken for packets that are over the limit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1773 ACL statistics and rate limit counting . . . . . . . . . . . . . . . . . . . . . . 1774 Enabling ACL statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1775 Enabling ACL statistics with rate limiting traffic policies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1776 Viewing ACL and rate limit counters . . . . . . . . . . . . . . . . . . . .1776 Clearing ACL and rate limit counters . . . . . . . . . . . . . . . . . . .1777 Viewing traffic policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1778
xliii
Chapter 43
xliv
Multi-device port authentication and 802.1X security on the same port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1827
Chapter 44
Clearing port security statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 1835 Clearing restricted MAC addresses. . . . . . . . . . . . . . . . . . . . 1835 Clearing violation statistics . . . . . . . . . . . . . . . . . . . . . . . . . . 1835 Displaying port security information . . . . . . . . . . . . . . . . . . . . . . Displaying port security settings . . . . . . . . . . . . . . . . . . . . . . Displaying the secure MAC addresses . . . . . . . . . . . . . . . . . Displaying port security statistics . . . . . . . . . . . . . . . . . . . . . Displaying restricted MAC addresses on a port . . . . . . . . . . 1836 1836 1836 1837 1839
Chapter 45
Multi-device port authentication and 802.1X security on the same port. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1845 Configuring Brocade-specific attributes on the RADIUS server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1846
xlv
Multi-device port authentication configuration. . . . . . . . . . . . . . Enabling multi-device port authentication . . . . . . . . . . . . . . Specifying the format of the MAC addresses sent to the RADIUS server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying the authentication-failure action . . . . . . . . . . . . Generating traps for multi-device port authentication . . . . Defining MAC address filters. . . . . . . . . . . . . . . . . . . . . . . . . Configuring dynamic VLAN assignment . . . . . . . . . . . . . . . . Dynamically applying IP ACLs to authenticated MAC addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Enabling denial of service attack protection . . . . . . . . . . . . Enabling source guard protection . . . . . . . . . . . . . . . . . . . . . Clearing authenticated MAC addresses . . . . . . . . . . . . . . . . Disabling aging for authenticated MAC addresses . . . . . . . Changing the hardware aging period for blocked MAC addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Specifying the aging time for blocked MAC addresses . . . . Specifying the RADIUS timeout action . . . . . . . . . . . . . . . . . Multi-device port authentication password override . . . . . . Limiting the number of authenticated MAC addresses. . . . Displaying multi-device port authentication information . . . . . . Displaying authenticated MAC address information . . . . . . Displaying multi-device port authentication configuration information . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying multi-device port authentication information for a specific MAC address or port . . . . . . . . . . . . . . . . . . . . Displaying the authenticated MAC addresses . . . . . . . . . . . Displaying the non-authenticated MAC addresses . . . . . . . Displaying multi-device port authentication information for a port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Displaying multi-device port authentication settings and authenticated MAC addresses . . . . . . . . . . . . . . . . . . . Displaying the MAC authentication table for FCX devices. .
1847 1847 1848 1848 1849 1849 1850 1853 1856 1856 1858 1858 1859 1860 1860 1862 1862 1862 1863 1863 1864 1865 1866 1866 1867 1870
Example port authentication configurations. . . . . . . . . . . . . . . . .1871 Multi-device port authentication with dynamic VLAN assignment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1871 Examples of multi-device port authentication and 802.1X authentication configuration on the same port. . . . . . . . . . .1874
Chapter 46
Web Authentication
Web authentication overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1879 Web authentication configuration considerations . . . . . . . . . . . 1880 Web authentication configuration tasks . . . . . . . . . . . . . . . . . . . 1882 Enabling and disabling web authentication . . . . . . . . . . . . . . . . 1883 Web authentication mode configuration . . . . . . . . . . . . . . . . . . . Using local user databases . . . . . . . . . . . . . . . . . . . . . . . . . . Passcodes for user authentication . . . . . . . . . . . . . . . . . . . . Automatic authentication . . . . . . . . . . . . . . . . . . . . . . . . . . . 1884 1884 1888 1892
xlvi
Web authentication options configuration . . . . . . . . . . . . . . . . . 1893 Enabling RADIUS accounting for web authentication . . . . . 1893 Changing the login mode (HTTPS or HTTP) . . . . . . . . . . . . . 1893 Specifying trusted ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1893 Specifying hosts that are permanently authenticated . . . . 1894 Configuring the re-authentication period . . . . . . . . . . . . . . . 1895 Defining the web authentication cycle . . . . . . . . . . . . . . . . . 1895 Limiting the number of web authentication attempts. . . . . 1895 Clearing authenticated hosts from the web authentication table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1895 Setting and clearing the block duration for web authentication attempts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1896 Manually blocking and unblocking a specific host . . . . . . . 1896 Limiting the number of authenticated hosts . . . . . . . . . . . . 1896 Filtering DNS queries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1897 Forcing re-authentication when ports are down . . . . . . . . . .1897 Forcing re-authentication after an inactive period . . . . . . . 1898 Defining the web authorization redirect address . . . . . . . . 1898 Deleting a web authentication VLAN . . . . . . . . . . . . . . . . . . 1898 Web authentication pages . . . . . . . . . . . . . . . . . . . . . . . . . . 1900 Displaying web authentication information. . . . . . . . . . . . . . . . . .1907 Displaying the web authentication configuration . . . . . . . . .1907 Displaying a list of authenticated hosts . . . . . . . . . . . . . . . . 1909 Displaying a list of hosts attempting to authenticate . . . . . .1910 Displaying a list of blocked hosts . . . . . . . . . . . . . . . . . . . . . .1911 Displaying a list of local user databases . . . . . . . . . . . . . . . .1911 Displaying a list of users in a local user database . . . . . . . 1912 Displaying passcodes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1912
Chapter 47
Chapter 48
DHCP
Dynamic ARP inspection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1919 ARP poisoning . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1919 About Dynamic ARP Inspection. . . . . . . . . . . . . . . . . . . . . . . 1920 Configuration notes and feature limitations for DAI . . . . . . 1921 Dynamic ARP inspection configuration . . . . . . . . . . . . . . . . 1922 Displaying ARP inspection status and ports . . . . . . . . . . . . 1923 Displaying the ARP table . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1923
xlvii
DHCP snooping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . How DHCP snooping works . . . . . . . . . . . . . . . . . . . . . . . . . . System reboot and the binding database . . . . . . . . . . . . . . Configuration notes and feature limitations for DHCP snooping. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuring DHCP snooping . . . . . . . . . . . . . . . . . . . . . . . . . Clearing the DHCP binding database . . . . . . . . . . . . . . . . . . Displaying DHCP snooping status and ports . . . . . . . . . . . . Displaying the DHCP snooping binding database . . . . . . . . Displaying DHCP binding entry and status. . . . . . . . . . . . . . DHCP snooping configuration example . . . . . . . . . . . . . . . . DHCP relay agent information . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration notes for DHCP option 82 . . . . . . . . . . . . . . . DHCP Option 82 sub-options . . . . . . . . . . . . . . . . . . . . . . . . DHCP option 82 configuration . . . . . . . . . . . . . . . . . . . . . . . Viewing information about DHCP option 82 processing . . . IP source guard . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration notes and feature limitations for IP source guard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Enabling IP source guard on a port . . . . . . . . . . . . . . . . . . . Defining static IP source bindings . . . . . . . . . . . . . . . . . . . . Enabling IP source guard per-port-per-VLAN . . . . . . . . . . . . Enabling IP source guard on a VE . . . . . . . . . . . . . . . . . . . . . Displaying learned IP addresses. . . . . . . . . . . . . . . . . . . . . .
1923 1924 1925 1925 1926 1927 1927 1927 1927 1928 1928 1929 1929 1931 1933 1934 1935 1936 1936 1937 1937 1937
Chapter 49
Rate Limiting and Rate Shaping on FastIron X Series and FCX and ICX Series Switches
Rate limiting overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1939 Rate limiting in hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1940 How Fixed rate limiting works . . . . . . . . . . . . . . . . . . . . . . . . 1940 Configuration notes for rate limiting . . . . . . . . . . . . . . . . . . . .1941 Configuring a port-based rate limiting policy . . . . . . . . . . . . .1941 Configuring an ACL-based rate limiting policy . . . . . . . . . . . 1942 Displaying the fixed rate limiting configuration . . . . . . . . . . 1943 Rate shaping overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Configuration notes for rate shaping . . . . . . . . . . . . . . . . . . Configuring outbound rate shaping for a port . . . . . . . . . . . Configuring outbound rate shaping for a specific priority . . Configuring outbound rate shaping for a trunk port . . . . . . Displaying rate shaping configurations . . . . . . . . . . . . . . . . 1944 1944 1945 1945 1945 1946
Chapter 50
xlviii
Fixed rate limiting on inbound port configuration. . . . . . . . . . . . Minimum and maximum inbound rate limits. . . . . . . . . . . . Configuration notes for fixed rate limiting . . . . . . . . . . . . . . Configuration syntax for fixed rate limiting. . . . . . . . . . . . . .
Fixed rate limiting on outbound port configuration . . . . . . . . . . 1950 Minimum and maximum outbound rate limits . . . . . . . . . . 1950 Configuration notes for outbound rate limiting . . . . . . . . . . 1950 Configuring port-based fixed rate limiting . . . . . . . . . . . . . . .1951 Configuring port- and priority-based rate limiting . . . . . . . . .1951 ACL-based rate limiting policy configuration . . . . . . . . . . . . . . . . 1952 Displaying the fixed rate limiting configuration. . . . . . . . . . . . . . 1952 Inbound ports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1952 Displaying fixed rate limiting configuration on outbound ports . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1953
Chapter 51
Quality of Service
QoS overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1955 Processing of classified traffic . . . . . . . . . . . . . . . . . . . . . . . 1956 QoS for Brocade stackable devices . . . . . . . . . . . . . . . . . . . . . . . QoS profile restrictions in an IronStack . . . . . . . . . . . . . . . . QoS behavior for trusting Layer 2 (802.1p) in an IronStack QoS behavior for trusting Layer 3 (DSCP) in an IronStack . QoS behavior on port priority and VLAN priority in an IronStack . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . QoS behavior for 802.1p marking in an IronStack . . . . . . . QoS queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Queues for the SX-FI48GPP interface module. . . . . . . . . . . Queues for the SX-FI-8XG interface module. . . . . . . . . . . . . Queues for the ICX 6430 switch . . . . . . . . . . . . . . . . . . . . . . User-configurable scheduler profile . . . . . . . . . . . . . . . . . . . 1962 1962 1963 1963 1963 1963 1963 1964 1965 1965 1967
QoS priorities-to-traffic assignment . . . . . . . . . . . . . . . . . . . . . . . .1970 Changing a port priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1970 Assigning static MAC entries to priority queues. . . . . . . . . . .1970 Buffer allocation and threshold for QoS queues . . . . . . . . . .1971 802.1p priority override . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1971 Configuration notes and feature limitations . . . . . . . . . . . . .1972 Enabling 802.1p priority override . . . . . . . . . . . . . . . . . . . . . .1972 Marking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1972 DSCP-based QoS configuration . . . . . . . . . . . . . . . . . . . . . . . . . . .1973 Application notes for DSCP-based QoS . . . . . . . . . . . . . . . . .1973 Using ACLs to honor DSCP-based QoS . . . . . . . . . . . . . . . . . .1973 Trust DSCP for the SX-FI48GPP, SX-FI-24GPP, SX-FI-24HF, SX-FI-2XG, and SX-FI8XG modules . . . . . . . . . . . 1974
xlix
Configuring QoS mapping configuration . . . . . . . . . . . . . . . . . . . . 1974 Default DSCP to internal forwarding priority mappings. . . . .1975 Changing the DSCP to internal forwarding priority mappings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1976 Changing the VLAN priority 802.1p to hardware forwarding queue mappings . . . . . . . . . . . . . . . . . . . . . . . . . .1977 Default scheduling configuration for the SX-FI48GPP module. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1977 Default scheduling configuration for the ICX 6430 . . . . . . . .1978 Scheduling QoS information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1979 Scheduling for the SX-FI48GPP module . . . . . . . . . . . . . . . . .1979 QoS queuing methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1979 Selecting the QoS queuing method . . . . . . . . . . . . . . . . . . . 1980 Configuring the QoS queues . . . . . . . . . . . . . . . . . . . . . . . . . 1981 Viewing QoS settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1984 Viewing DSCP-based QoS settings . . . . . . . . . . . . . . . . . . . . . . . . 1984
Appendix A Appendix B
Index
Introduction
This guide describes the following product families from Brocade:
FastIron X Series devices: FastIron Edge Switch X Series (FESX) Layer 2/Layer 3 switch FastIron Edge Switch X Series Expanded (FESXE) Layer 2/Layer 3 switch FastIron SX 800 and 1600 Layer 2/Layer 3 switches FastIron WS (FWS) Layer 2, base Layer 3, and EPREM devices Brocade FCX Series (FCX) Stackable Switch Brocade ICX 6610 (ICX 6610) Stackable Switch Brocade ICX 6430 Series (ICX 6430) Brocade ICX 6450 Series (ICX 6450)
This guide includes procedures for configuring the software. The software procedures show how to perform tasks using the CLI. This guide also describes how to monitor Brocade products using statistics and summary screens. This guide applies to the FastIron models listed in Table 1.
Device nomenclature
Table 1 lists the terms (product names) contained in this guide and the specific set of devices to which each term refers.
TABLE 1
This name
FastIron X Series Devices NOTE: The FastIron X Series product family includes compact switch models and chassis models. The compact models are referred to as FESX switches. The chassis models are referred to as the FastIron SX switches. Chassis systems have these models: FastIron SX 800 and FastIron SX 1600. FastIron Edge Switch X Series (FESX) FastIron SX Management Modules FESX624, FESX624HF, FESX624-PREM, FESX624-PREM6, FESX624HF-PREM, FESX624HF-PREM6, FESX648, FESX648-PREM, FESX648-PREM6 FastIron SX 800/1600 Management modules with: 667MHz / 512MB NOTE: For a complete list of the SX 800/1600 Management modules and their part numbers, see the Brocade FastIron X Series Chassis Hardware Installation Guide.
li
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, IGMP, PIM, DVMRP, and VRRP.
TABLE 2
Feature
Described in
Brocade ICX 6430 and ICX 6450 Stackable Switches Hardware Installation Guide http://www.brocade.com/downloads/documents/da ta_sheets/product_data_sheets/Optics_DS.pdf
New optic
http://www.brocade.com/downloads/documents/da ta_sheets/product_data_sheets/Optics_DS.pdf
lii
TABLE 2
Feature
Described in
Multi-Chassis Trunking on page 823
Multi-Chassis Trunking
Maximum Trunk support and Maximum trunk port member support on FastIron SX interface modules
CPU rate-limiting
liii
TABLE 2
Feature
Described in
Chapter 51, Quality of Service
Quality of Service (QoS) support for ICX 6430 and 6450 devices
Connecting ICX 6450 and ICX 6430 devices in a stack on page 244 Configuring an ICX 6430 and ICX 6450 IronStack on page 266
Licensed features and part numbers on page 202 Licensing for Ports on Demand on page 208
Configuring 31-bit subnet masks on point-to-point networks on page 962 Brocade FCX, Brocade FastIron SX, Brocade ICX Web Management Interface User Guide Unified IP MIB Reference Brocade FastIron, FCX, ICX, TurboIron Diagnostic and Troubleshooting Reference
liv
TABLE 2
Feature
Described in
VLAN-based mirroring on FastIron X Series devices on page 934 Support for RADIUS user-name attribute in access-accept messages on page 1787
Unsupported features
Features that are not documented in this guide are not supported. Table 3 lists the features that are not supported on Brocade FastIron devices. If required, these features are available on other Brocade devices.
TABLE 3
Unsupported Features
Unsupported features
ACL logging of permitted packets Broadcast and multicast MAC address filters Outbound ACLs
Layer 3 features not supported: AppleTalk Routing Foundry Standby Router Protocol (FSRP) IPv6 Multicast Routing IPX Routing IS-IS Multiprotocol Border Gateway Protocol (MBGP) Multiprotocol Label Switching (MPLS) Network Address Translation (NAT)
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:
lv
bold text
Identifies command names Identifies the names of user-manipulated GUI elements Identifies keywords Identifies text to enter at the GUI or CLI
italic text
code text
For readability, command names in the narrative portions of this guide are presented in bold: for example, show version.
NOTE
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.
lvi
Related publications
The following Brocade documents supplement the information in this guide:
Brocade FCX, Brocade FastIron SX, Brocade ICX Web Management Interface User Guide Brocade ICX 6610 Series Hardware Installation Guide Brocade FastIron CX Hardware Installation Guide Brocade FastIron X Series Chassis Hardware Installation Guide Brocade FastIron Compact Switch Hardware Installation Guide Brocade FastIron Edge X-Series Hardware Installation Guide Brocade FastIron WS Switch Hardware Installation Guide Brocade ICX 6450, ICX 6430 Switch Hardware Installation Guide Brocade FCX and Brocade ICX 6610 Debug Guide Brocade FCX Series Hardware Installation Guide Unified IP MIB Reference
The latest version of these guides are posted at http://www.brocade.com/ethernetproducts. If you find errors in the guides, send an email to [email protected]
lvii
lviii
Management Applications
Table 4 lists the individual Brocade FastIron switches and the management application features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images.
TABLE 4
16
Feature
FWS
FCX
ICX 6610
Management port
No
Yes
Yes
industry-standard Command Line Interface (CLI), including support for: Serial and Telnet access Alias command On-line help Command completion Scroll control Line editing Searching and filtering output Special characters Web-based GUI Web Management Interface
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
Yes
NOTE
For SX 800 and SX 1600 devices, the MAC address for the management port is derived as if the management port is the last port on the management module where it is located. For example, on a 2 X 10G management module, the MAC address of the management port is that of the third port on that module.
Only packets that are specifically addressed to the management port MAC address or the
broadcast MAC address are processed by the Layer 2 switch or Layer 3 switch. All other packets are filtered out.
No packet received on a management port is sent to any in-band ports, and no packets
received on in-band ports are sent to a management port.
A management port is not part of any VLAN Protocols are not supported on the management port. Creating a management VLAN disables the management port on the device. For FCX devices, all features that can be configured from the global configuration mode can also be configured from the interface level of the management port. Features that are configured through the management port take effect globally, not on the management port itself.
For switches, any in-band port may be used for management purposes. A router sends Layer 3 packets using the MAC address of the port as the source MAC address. For stacking devices, (for example, an FCX stack) each stack unit has one out-of band management port. Only the management port on the Active Controller will actively send and receive packets. If a new Active Controller is elected, the new Active Controller management port will become the active management port. In this situation, the MAC address of the old Active Controller and the MAC address of the new controller will be different.
To display the current configuration, use the show interfaces management command. Syntax: show interfaces management <num>
Brocade(config)#show interfaces management 1 GigEthernetmgmt1 is up, line protocol is up Hardware is GigEthernet, address is 0000.9876.544a (bia 0000.9876.544a) Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual none BPRU guard is disabled, ROOT protect is disabled
Link Error Dampening is Disabled STP configured to OFF, priority is level0, mac-learning is enabled Flow Control is config disabled, oper enabled Mirror disabled, Monitor disabled Not member of any active trunks Not member of any configured trunks No port name IPG MII 0 bits-time, IPG GMII 0 bits-time IP MTU 1500 bytes 300 second input rate: 83728 bits/sec, 130 packets/sec, 0.01% utilization 300 second output rate: 24 bits/sec, 0 packets/sec, 0.00% utilization 39926 packets input, 3210077 bytes, 0 no buffer Received 4353 broadcasts, 32503 multicasts, 370 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 22 packets output, 1540 bytres, 0 underruns Transmitted 0 broadcasts, 6 multicasts, 16 unicasts 0 output errors, 0 collisions
To display the management interface information in brief form, enter the show interfaces brief management command. Syntax: show interfaces brief management <num>
Brocade(config)#show interfaces brief management 1 Port Link State Dupl Speed Trunk Tag Pri mgmt1 Up None Full 1G None No 0 MAC 0000.9876.544a Name
To display management port statistics, enter the show statistics management command. Syntax: show statistics management <num>
Brocade(config)#show statistics management 1 Port Link State Dupl Speed Trunk Tag mgmt1 Up None Full 1G None No Port mgmt1 Counters: InOctets3210941OutOctets1540 InPkts39939OutPackets22 InBroadcastPkts4355OutbroadcastPkts0 InMultiastPkts35214OutMulticastPkts6 InUnicastPkts370OutUnicastPkts16 InBadPkts0 InFragments0 InDiscards0OutErrors0 CRC 0 Collisions0 InErrors0 LateCollisions0 InGiantPkts0 InShortPkts0 InJabber0 InFlowCtrlPkts0OutFlowCtrlPkts0 InBitsPerSec83728OutBitsPerSec24 InPktsPerSec130OutPktsPerSec0 InUtilization0.01%OutUtilization0.00% Pri 0 MAC 0000.9876.544a Name
To display the management interface statistics in brief form, enter the show statistics brief management command. Syntax: show statistics brief management <num>
Brocade(config)#show statistics brief management 1 PortIn PacketsOut PacketsTrunkIn ErrorsOut Errors mgmt1399462200 Total399452200
User EXEC Lets you display information and perform basic tasks such as pings and
traceroutes.
Privileged EXEC Lets you use the same commands as those at the User EXEC level plus
configuration commands that do not require saving the changes to the system-config file.
CONFIG Lets you make configuration changes to the device. To save the changes across
reboots, you need to save them to the system-config file. The CONFIG level contains sub-levels for individual ports, for VLANs, for routing protocols, and other configuration areas.
NOTE
By default, any user who can open a serial or Telnet connection to the Brocade device can access all these CLI levels. To secure access, you can configure Enable passwords or local user accounts, or you can configure the device to use a RADIUS or TACACS/TACACS+ server for authentication. Refer to Chapter 4, Security Access.
Online help
To display a list of available commands or command options, enter ? or press Tab. If you have not entered part of a command at the command prompt, all the commands supported at the current CLI level are listed. If you enter part of a command, then enter ? or press Tab, the CLI lists the options you can enter at this point in the command string. If you enter an invalid command followed by ?, a message appears indicating the command was unrecognized. An example is given below.
Brocade(config)#rooter ip Unrecognized command
Command completion
The CLI supports command completion, so you do not need to enter the entire name of a command or option. As long as you enter enough characters of the command or option name to avoid ambiguity with other commands or options, the CLI understands what you are typing. This feature is not available in the boot loader prompt of ICX 6430 and ICX 6450 devices.
Scroll control
By default, the CLI uses a page mode to paginate displays that are longer than the number of rows in your terminal emulation window. For example, if you display a list of all the commands at the global CONFIG level but your terminal emulation window does not have enough rows to display them all at once, the page mode stops the display and lists your choices for continuing the display. An example is given below.
aaa all-client appletalk arp boot some lines omitted for brevity... ipx lock-address logging mac --More--, next page: Space, next line: Return key, quit: Control-c
Press the Space bar to display the next page (one screen at a time). Press the Return or Enter key to display the next line (one line at a time). Press Ctrl+C or Ctrl+Q to cancel the display.
TABLE 5
Ctrl+A Ctrl+B Ctrl+C Ctrl+D Ctrl+E Ctrl+F Ctrl+K Ctrl+L; Ctrl+R Ctrl+N Ctrl+P Ctrl+U; Ctrl+X
Ctrl+Key combination
Using stack-unit, slot number, and port number with CLI commands
TABLE 5
Ctrl+W Ctrl+Z
Ctrl+Key combination
Using stack-unit, slot number, and port number with CLI commands
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 one of the following formats:
port number only slot number and port number stack-unit, slot number, and port number
The following sections show which format is supported on which devices. The ports are labelled on the front panels of the devices.
FSX commands
Brocade(config)#interface e 1/1 Brocade(config-if-1/1)#
Using stack-unit, slot number, and port number with CLI commands
Syntax: ethernet <stack-unit>/<slotnum>/<portnum> Refer to Chapter 7, Brocade Stackable Devices for more information about these devices.
NOTE
The vertical bar ( | ) is part of the command. Note that the regular expression specified as the search string is case sensitive. In the example above, a search string of Internet would match the line containing the IP address, but a search string of internet would not. Displaying lines that do not contain a specified string The following command filters the output of the show who command so it displays only lines that do not contain the word closed. This command can be used to display open connections to the Brocade device.
Using stack-unit, slot number, and port number with CLI commands
Brocade#show who | exclude closed Console connections: established you are connecting to this session 2 seconds in idle Telnet connections (inbound): 1 established, client ip address 192.168.9.37 27 seconds in idle Telnet connection (outbound): SSH connections:
Syntax: <show-command> | exclude <regular-expression> Displaying lines starting with a specified string The following command filters the output of the show who command so it displays output starting with the first line that contains the word SSH. This command can be used to display information about SSH connections to the Brocade device.
Brocade#show who | begin SSH SSH connections: 1 established, client ip address 192.168.9.210 7 seconds in idle 2 closed 3 closed 4 closed 5 closed
To display lines containing only a specified search string (similar to the include option for show commands) press the plus sign key ( + ) at the --More-- prompt and then enter the search string.
Using stack-unit, slot number, and port number with CLI commands
--More--, next page: Space, next line: Return key, quit: Control-c +telnet
To display lines that do not contain a specified search string (similar to the exclude option for show commands) press the minus sign key ( - ) at the --More-- prompt and then enter the search string.
--More--, next page: Space, next line: Return key, quit: Control-c -telnet
temperature sensor commands display syslog TraceRoute to IP node Disable debugging functions (see also 'debug') Undelete flash card files WHOIS lookup Write running configuration to flash or terminal
As with the commands for filtering output from show commands, the search string is a regular expression consisting of a single character or string of characters. You can use special characters to construct complex regular expressions. See the next section for information on special characters used with regular expressions.
TABLE 6
Character
.
Using stack-unit, slot number, and port number with CLI commands
TABLE 6
Character
?
A caret (when not used within brackets) matches on the beginning of an input string. For example, the following regular expression matches output that begins with deg: ^deg A dollar sign matches on the end of an input string. For example, the following regular expression matches output that ends with deg: deg$ An underscore matches on one or more of the following: , (comma) { (left curly brace) } (right curly brace) ( (left parenthesis) ) (right parenthesis) The beginning of the input string The end of the input string A blank space For example, the following regular expression matches on 100 but not on 1002, 2100, and so on. _100_
[]
Square brackets enclose a range of single-character patterns. For example, the following regular expression matches output that contains 1, 2, 3, 4, or 5: [1-5] You can use the following expression symbols within the brackets. These symbols are allowed only inside the brackets. ^ The caret matches on any characters except the ones in the brackets. For example, the following regular expression matches output that does not contain 1, 2, 3, 4, or 5:
[^1-5] - The hyphen separates the beginning and ending of a range of characters. A match occurs if any of the characters within the range is present. See the example above.
A vertical bar separates two alternative values or sets of values. The output can match one or the other value. For example, the following regular expression matches output that contains either abc or defg: abc|defg Parentheses allow you to create complex expressions. For example, the following complex expression matches on abc, abcabc, or defg, but not on abcdefgdefg: ((abc)+)|((defg)?)
()
If you want to filter for a special character instead of using the special character as described in the table above, enter \ (backslash) in front of the character. For example, to filter on output containing an asterisk, enter the asterisk portion of the regular expression as \*.
10
Using stack-unit, slot number, and port number with CLI commands
Syntax: [no] alias <alias-name> = <cli-command> The <alias-name> must be a single word, without spaces. After the alias is configured, entering shoro at either the Privileged EXEC or CONFIG levels of the CLI, executes the show ip route command. To create an alias called wrsbc for the CLI command copy running-config tftp 10.10.10.10 test.cfg, enter the following command.
Brocade(config)#alias wrsbc = copy running-config tftp 10.10.10.10 test.cfg
To remove the wrsbc alias from the configuration, enter one of the following commands.
Brocade(config)#no alias wrsbc
or
Brocade(config)#unalias wrsbc
Syntax: unalias <alias-name> The specified <alias-name> must be the name of an alias already configured on the Brocade device. To display the aliases currently configured on the Brocade device, enter the following command at either the Privileged EXEC or CONFIG levels of the CLI.
Brocade#alias wrsbc shoro copy running-config tftp 10.10.10.10 test.cfg show ip route
Syntax: alias
You cannot include additional parameters with the alias at the command prompt. For example,
after you create the shoro alias, shoro bgp would not be a valid command.
To save an alias definition to the startup-config file, use the write memory command.
11
FIGURE 1
If you are unable to connect with the device through a Web browser due to a proxy problem, it may be necessary to set your Web browser to direct Internet access instead of using a proxy. For information on how to change a proxy setting, refer to the on-line help provided with your Web browser. To log in, click on the Login link. The following dialog box is displayed.
NOTE
FIGURE 2
The login username and password you enter depends on whether your device is configured with AAA authentication for SNMP. If AAA authentication for SNMP is not configured, you can use the user name get and the default read-only password public for read-only access. However, for read-write access, you must enter set for the user name, and enter a read-write community string you have configured on the device for the password. There is no default read-write community string. You must add one using the CLI. As an alternative to using the SNMP community strings to log in, you can configure the Brocade device to secure Web management access using local user accounts or Access Control Lists (ACLs).
12
FIGURE 3
NOTE
If you are using Internet Explorer 6.0 to view the Web Management Interface, make sure the version you are running includes the latest service packs. Otherwise, the navigation tree (the left-most pane in Figure 3) will not display properly. For information on how to load the latest service packs, refer to the on-line help provided with your Web browser.
FIGURE 4
13
If you are using Internet Explorer 6.0 to view the Web Management Interface, make sure the version you are running includes the latest service packs. Otherwise, the navigation tree (the left-most pane in Figure 3) will not display properly. For information on how to load the latest service packs, refer to the on-line help provided with your Web browser. The left pane of the Web Management Interface window contains a tree view, similar to the one found in Windows Explorer. Configuration options are grouped into folders in the tree view. These folders, when expanded, reveal additional options. To expand a folder, click on the plus sign to the left of the folder icon. You can configure the appearance of the Web Management Interface by using one of the following methods. Using the CLI, you can modify the appearance of the Web Management Interface with the web-management command. To cause the Web Management Interface to display the List view by default, enter the web-management list-menu command.
Brocade(config)#web-management list-menu
NOTE
To disable the front panel frame, enter the no web-management front-panel command.
Brocade(config)#no web-management front-panel
When you save the configuration with the write memory command, the changes will take place the next time you start the Web Management Interface, or if you are currently running the Web Management Interface, the changes will take place when you click the Refresh button on your browser. Using the Web Management Interface 1. Click on the plus sign next to Configure in the tree view to expand the list of configuration options. 2. Click on the plus sign next to System in the tree view to expand the list of system configuration links. 3. Click on the plus sign next to Management in the tree view to expand the list of system management links. 4. Click on the Web Preference link to display the Web Management Preferences panel. 5. Enable or disable elements on the Web Management Interface by clicking on the appropriate radio buttons on the panel. The following figure identifies the elements you can change.
14
Menu Type
(Tree View shown)
Page Menu
Menu Frame
NOTE
The tree view is available when you use the Web Management Interface with Netscape 4.0 or higher or Internet Explorer 4.0 or higher browsers. If you use the Web Management Interface with an older browser, the Web Management Interface displays the List view only, and the Web Management Preferences panel does not include an option to display the tree view. 6. When you have finished, click the Apply button on the panel, then click the Refresh button on your browser to activate the changes. 7. To save the configuration, click the plus sign next to the Command folder, then click the Save to Flash link.
NOTE
The only changes that become permanent are the settings to the Menu Type and the Front Panel Frame. Any other elements you enable or disable will go back to their default settings the next time you start the Web Management Interface.
15
16
Chapter
Table 7 lists the individual Brocade FastIron switches and the basic software features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 7
Feature
17
TABLE 7
Feature
FWS
FCX
ICX 6610
Port status (enable or disable) Flow control: Responds to flow control packets, but does not generate them Symmetric flow control Can transmit and receive 802.1x PAUSE frames Auto-negotiation and advertisement of flow control PHY FIFO Rx and TX Depth Interpacket Gap (IPG) adjustment CLI support for 100BaseTX and 100BaseFX Gbps fiber negotiate mode QoS priority VOIP autoconfiguration and CDP Port flap dampening Port loop detection
Yes Yes
Yes Yes
Yes Yes
No
No
Yes
Yes
Yes
NOTE
Before assigning or modifying any router parameters, you must assign the IP subnet (interface) addresses for each port.
For information about configuring IP addresses, DNS resolver, DHCP assist, and other IP-related parameters, refer to Chapter 26, IP Configuration.
NOTE
For information about the Syslog buffer and messages, refer to Appendix A, Syslog messages. The procedures in this section describe how to configure the basic system parameters listed in Table 7.
NOTE
18
Syntax: hostname <string> Syntax: snmp-server contact <string> Syntax: snmp-server location <string> The text strings can contain blanks. The SNMP text strings do not require quotation marks when they contain blanks but the host name does.
NOTE
The chassis name command does not change the CLI prompt. Instead, the command assigns an administrative ID to the device.
Specify a Simple Network Management Protocol (SNMP) trap receiver. Specify a source address and community string for all traps sent by the device. Change the holddown time for SNMP traps Disable individual SNMP traps. (All traps are enabled by default.) Disable traps for CLI access that is authenticated by a local user account, a RADIUS server, or a TACACS/TACACS+ server.
To add and modify get (read-only) and set (read-write) community strings, refer to Chapter 4, Security Access.
NOTE
19
When you add a trap receiver, the software automatically encrypts the community string you associate with the receiver when the string is displayed by the CLI or Web Management Interface. If you want the software to show the community string in the clear, you must explicitly specify this when you add a trap receiver. In either case, the software does not encrypt the string in the SNMP traps sent to the receiver. To specify the host to which the device sends all SNMP traps, use one of the following methods. To add a trap receiver and encrypt the display of the community string, enter commands such as the following. To specify an SNMP trap receiver and change the UDP port that will be used to receive traps, enter a command such as the following.
Brocade(config)# snmp-server host 2.2.2.2 0 mypublic port 200 Brocade(config)# write memory
Syntax: snmp-server host <ip-addr> [0 | 1] <string> [port <value>] The <ip-addr> parameter specifies the IP address of the trap receiver. The 0 | 1 parameter specifies whether you want the software to encrypt the string (1) or show the string in the clear (0). The default is 0. The <string> parameter specifies an SNMP community string configured on the Brocade device. The string can be a read-only string or a read-write string. The string is not used to authenticate access to the trap host but is instead a useful method for filtering traps on the host. For example, if you configure each of your Brocade devices that use the trap host to send a different community string, you can easily distinguish among the traps from different Brocade devices based on the community strings. The command in the example above adds trap receiver 2.2.2.2 and configures the software to encrypt display of the community string. When you save the new community string to the startup-config file (using the write memory command), the software adds the following command to the file.
snmp-server host 2.2.2.2 1 <encrypted-string>
To add a trap receiver and configure the software to encrypt display of the community string in the CLI and Web Management Interface, enter commands such as the following.
Brocade(config)# snmp-server host 2.2.2.2 0 FastIron-12 Brocade(config)# write memory
The port <value> parameter allows you to specify which UDP port will be used by the trap receiver. This parameter allows you to configure several trap receivers in a system. With this parameter, a network management application can coexist in the same system. Brocade devices can be configured to send copies of traps to more than one network management application.
20
The command in this example changes the holddown time for SNMP traps to 30 seconds. The device waits 30 seconds to allow convergence in STP and OSPF before sending traps to the SNMP trap receiver. Syntax: [no] snmp-server enable traps holddown-time <secs> The <secs> parameter specifies the number of seconds and can be from 1 600 (ten minutes). The default is 60 seconds.
NOTE
SNMP authentication keys Power supply failure Fan failure Cold start Link up Link down Bridge new root Bridge topology change Locked address violation
21
SNMP Layer 3 traps The following traps are generated on devices running Layer 3 software:
SNMP authentication key Power supply failure Fan failure Cold start Link up Link down Bridge new root Bridge topology change Locked address violation BGP4 OSPF VRRP VRRP-E
To stop link down occurrences from being reported, enter the following.
Brocade(config)# no snmp-server enable traps link-down
The Brocade device counts traffic from all virtual interfaces (VEs). For example, in a
configuration with two VLANs (VLAN 1 and VLAN 20) on port 1, when traffic is sent on VLAN 1, the counters (VE statistics) increase for both VE 1 and VE 20.
The counters include all traffic on each virtual interface, even if the virtual interface is
disabled.
The counters include traffic that is denied by ACLs or MAC address filters.
To enable SNMP to display VE statistics, enter the enable snmp ve-statistics command.
Brocade(config)# enable snmp ve-statistics
Syntax: [no] enable snmp ve-statistics Use the no form of the command to disable this feature once it is enabled. Note that the above CLI command enables SNMP to display virtual interface statistics. It does not enable the CLI or Web Management Interface to display the statistics.
22
NOTE
The Privileged EXEC level is sometimes called the Enable level, because the command for accessing this level is enable. The feature is enabled by default. Examples of Syslog messages for CLI access When a user whose access is authenticated by a local user account, a RADIUS server, or a TACACS or TACACS+ server logs into or out of the CLI User EXEC or Privileged EXEC mode, the software generates a Syslog message and trap containing the following information:
The time stamp The user name Whether the user logged in or out The CLI level the user logged into or out of (User EXEC or Privileged EXEC level)
Messages for accessing the User EXEC level apply only to access through Telnet. The device does not authenticate initial access through serial connections but does authenticate serial access to the Privileged EXEC level. Messages for accessing the Privileged EXEC level apply to access through the serial connection or Telnet. The following examples show login and logout messages for the User EXEC and Privileged EXEC levels of the CLI.
Brocade# show logging Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Buffer logging: level ACDMEINW, 12 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warning Static Log Buffer: Dec 15 19:04:14:A:Fan 1, fan on right connector, failed Dynamic Log Buffer (50 entries): Oct 15 18:01:11:info:dg logout from USER EXEC mode Oct 15 17:59:22:info:dg logout from PRIVILEGE EXEC mode Oct 15 17:38:07:info:dg login to PRIVILEGE EXEC mode Oct 15 17:38:03:info:dg login to USER EXEC mode
NOTE
Syntax: show logging The first message (the one on the bottom) indicates that user dg logged in to the CLI User EXEC level on October 15 at 5:38 PM and 3 seconds (Oct 15 17:38:03). The same user logged into the Privileged EXEC level four seconds later.
23
The user remained in the Privileged EXEC mode until 5:59 PM and 22 seconds. (The user could have used the CONFIG modes as well. Once you access the Privileged EXEC level, no further authentication is required to access the CONFIG levels.) At 6:01 PM and 11 seconds, the user ended the CLI session. Disabling the Syslog messages and traps Logging of CLI access is enabled by default. If you want to disable the logging, enter the following commands.
Brocade(config)# no logging enable user-login Brocade(config)# write memory Brocade(config)# end Brocade# reload
NOTE
Brocade devices do not retain time and date information across power cycles. Unless you want to reconfigure the system time counter each time the system is reset, Brocade recommends that you use the SNTP feature as described below. To identify an SNTP server with IP address 208.99.8.95 to act as the clock reference for a Brocade device, enter the following.
Brocade(config)# sntp server 208.99.8.95
Syntax: [no] sntp server { <ip-address> | <hostname> | ipv6 <ipv6-address> } [<sntp-version>] [ authentication-key <key-ID> <key-string>] The <sntp-version> parameter specifies the SNTP version the server is running and can be from 1 4. The default is 4. The SNTP version is automatically set to 4, unless a different SNTP version is specified in the device startup configuration. You can configure up to three SNTP servers by entering three separate sntp server commands.
24
The order in which the SNTP servers are configured is the order in which they are consulted. The server that was configured first is the first server consulted after the poll cycle; the next server will be consulted only if a positive ACK is not received from the first one. To specify an IPv6 address for the SNTP server, use the ipv6 option. The authentication-key option allows you to configure an authentication key for communication with the SNTP server. When the authentication key is configured for an SNTP client, it is used only for an SNTP unicast client. You must assign a unique server <key-ID> and pre-share <key-string>. The <key-ID> and pre-share <key-string> are used together to create the MD5 checksum. The MD5 checksum is used for authentication for request and reply messages with the SNTP server. The <key-ID> is the symmetric key shared with the upstream server, and accepts values from 1 to 4,294,967,295. The <key-string> is the authentication string itself, and can take up to 16 characters. If the <key-string> variable consists of only numerical characters, you must enclose the numerical characters in double quotes. Modification of the authentication key fields is not supported. To change the key ID or key string, remove the time server using the no sntp server... command, then reconfigure the server with the new key. By default, the Brocade device polls its SNTP server every 30 minutes (1800 seconds). To configure the Brocade device to poll for clock updates from a SNTP server every 15 minutes, enter the following.
Brocade(config)# sntp poll-interval 900
Syntax: [no] sntp poll-interval <16-131072> To display information about SNTP associations, enter the show sntp associations command.
Brocade# show sntp associations address ref clock ~207.95.6.102 0.0.0.0 ~207.95.6.101 0.0.0.0 * synced, ~ configured
st 16 16
poll 4 0
Syntax: show sntp associations The following table describes the information displayed by the show sntp associations command.
TABLE 8
Field
(leading character)
st when
poll
25
TABLE 8
Field
delay disp
To display detailed information about SNTP associations, enter the show sntp associations details command.
Brocade# show sntp associations details 208.99.8.95 configured,insane, unsynched,invalid, stratum 16 ref ID 0.0.0.0,time 0.0 (Jan 1 00:00:00) our mode client, peer mode unspec, our poll intvl 15, peer poll intvl 0 root delay 0.0 msec, root disp 0.0 delay 0 msec, offset 0 msec precision 2**0, version 0 org time 0.0 (Jan 1 00:00:00) rcv time 0.0 (Jan 1 00:00:00) xmt time 0.0 (Jan 1 00:00:00)
Syntax: show sntp associations details The following table describes the information displayed by the show sntp associations details command.
TABLE 9
Field
IP address
configured or dynamic authenticated sane or insane synched or unsynched valid or invalid stratum reference ID
time our mode peer mode our poll intvl peer poll intv
26
Field
root delay root disp delay offset precision version org time rcv time xmt time
Description
The total delay time in milliseconds along the path to the root clock. The dispersion of the root path in milliseconds. The round trip delay to the peer in milliseconds. The offset of the peer clock relative to the system clock. The precision of the system clock in Hz. The NTP version of the peer. The version can be from 1 - 4. The original timestamp of the system clock. The original timestamp is what the client has sent to the server. The receive timestamp of the system clock. The transmit timestamp of the system clock.
To display information about SNTP status, enter the show sntp status command.
Brocade# show sntp status Clock is synchronized, stratum = 4, reference clock = 10.70.20.23 precision is 2**-20 reference time is 3489354594.3780510747 clock offset is 0.0000 msec, root delay is 0.41 msec root dispersion is 0.11 msec, peer dispersion is 0.00 msec sntp poll-interval is 10 secs
Syntax: show sntp status The following table describes the information displayed by the show sntp status command.
TABLE 10
Field
precision reference time clock offset root delay root dispersion peer dispersion sntp poll-interval
27
The above example configures the device to operate as an SNTP server with the local clock as a reference backup and an authentication key of abc123 and writes the configuration changes to memory. Syntax: [no] sntp server-mode [ use-local-clock [ stratum <stratum-number> ] ] [ authentication-key <key-string> ]
The use-local-clock option causes the Brocade device to use the local clock as a reference
source if an upstream reference source becomes unavailable. The SNTP stratum number is set to 1 by default. You may specify a different stratum number using the stratum option; <stratum-number> must be between 1 and 15. When the internal clock is serving as the SNTP reference source, the Brocade device will use the specified stratum number (or the default value of 1). When it is synchronized with the upstream server, the Brocade device will use the upstream servers stratum number plus 1. If you do not include the use-local-clock option the Brocade device will function as specified by RFC 4330: when the Brocade device loses upstream synchronization, it will respond to client SNTP requests with a kiss-of-death response (stratum value=0). To enable the use-local-clock option, you must set the internal clock of the Brocade device either by SNTP synchronization (see Specifying an SNTP server on page 24) or by using the clock set command (see Setting the system clock on page 30). Until the internal clock is set, the Brocade device will continue to rely exclusively on an upstream SNTP server if one is reachable. If none, the SNTP server of the Brocade device is disabled (down).
NOTE
To require a code string for authentication of SNTP communication from clients, use the
authentication-key option and enter a key string of up to 16 characters. When this option is used, authentication parameters are required in clients SNTP request messages. If authentication fails, the Brocade device will reply with stratum 0 and a reference ID code of CRYP (cryptographic authentication or identification failed), and messages received without the required parameters will be dropped.
NOTE
Once entered, the authentication key cannot be viewed. Using the show running-config command will show output similar to the following when an authentication key has been set:
sntp server-mode authentication-key 2 $QHMiR3NzQA=
The 2 indicates that the key is encrypted using base-64 encryption; the characters following the 2 are the encrypted authentication string.
28
You cannot enable or disable the use-local-clock option (or its stratum number) or change the authentication string when the SNTP server is up. To change these settings after enabling SNTP server mode, you must disable server mode using the command no sntp server-mode, then re-enable it with the new parameters.
NOTE
TABLE 11
Field
status
stratum
29
Syntax: sntp broadcast client The sntp broadcast client command enables an SNTP client to listen to all NTP servers, and update the clients clock with the last message received from any NTP server. To enable an SNTP client to listen to only one specific IPv4 NTP broadcast server, enter the following commands.
Brocade(config)#sntp broadcast client Brocade(config)#sntp broadcast server 1.1.1.1
To enable an SNTP client to listen to only one specific IPv6 NTP broadcast server, enter the following commands.
Brocade(config)#sntp broadcast client Brocade(config)#sntp broadcast server ipv6 2001:179:2:1::1
Syntax: sntp broadcast server [<ip-address> | ipv6 <ipv6-address>] The sntp broadcast client command must be configured with the sntp broadcast server command to allow for an SNTP client to listen to only one specific NTP server. When both unicast and broadcast modes are enabled for an SNTP client, the priority by which the NTP server is used to update the clients clock is as follows. 1. The last responsive unicast server. 2. The broadcast server on any interface.
NOTE
The time counter setting is not retained across power cycles. For more details about SNTP, refer to Specifying an SNTP server on page 24. To set the system time and date to 10:15:05 on October 15, 2003, enter the following command.
Brocade# clock set 10:15:05 10-15-2003
30
To synchronize the time counter with your SNTP server time, enter the following command.
Brocade# sntp sync
Syntax: sntp sync By default, Brocade switches and routers do not change the system time for daylight saving time. To enable daylight saving time, enter the clock summer-time command.
Brocade# clock summer-time
Syntax: [no] clock summer-time Although SNTP servers typically deliver the time and date in Greenwich Mean Time (GMT), you can configure the Brocade device to adjust the time for any one-hour offset from GMT or for one of the following U.S. time zones:
US Pacific (default) Alaska Aleutian Arizona Central East-Indiana Eastern Hawaii Michigan Mountain Pacific Samoa
The default is US Pacific. To change the time zone to Australian East Coast time (which is normally 10 hours ahead of GMT), enter the clock timezone gmt command.
Brocade(config)# clock timezone gmt gmt+10
Syntax: [no] clock timezone gmt | us <time-zone> You can enter one of the following values for <time-zone>:
US time zones (us): alaska, aleutian, arizona, central, east-indiana, eastern, hawaii, michigan,
mountain, pacific, samoa.
GMT time zones (gmt): gmt+0:00 to gmt+12:00 in increments of 1, and gmt-0:00 to gmt-12:00
in decrements of 1 are supported.
31
NOTE
Syntax: [no] clock timezone us <timezone-type> Enter pacific, eastern, central, or mountain for <timezone-type>. This command must be configured on every device that follows the US DST. To verify the change, run a show clock command.
Brocade# show clock
Refer to October 19, 2006 - Daylight Saving Time 2007 Advisory, posted on kp.foundrynet.com for more information.
Broadcast, multicast, and unknown unicast configuration notes and feature limitations
The following describes feature differences on FastIron devices:
32
FastIron X Series devices, except for the SX-FI48GPP interface module - Unknown unicast limiting is independent of broadcast and multicast limiting. To enable
multicast limiting, enable it after enabling broadcast limiting. Multicast limiting uses the limit defined in broadcast limiting. You cannot set a separate limit for multicast limiting.
FastIron X Series devices support packet-based and byte-based limiting per port, as well as simultaneously on the same port. For example, you can configure the broadcast limit in packet-based mode and the unknown unicast limit in the byte-based mode on the same port. On FastIron X Series devices, when you configure unknown-unicast limiting, the rate applies to all ports in the port range for which unknown unicast is enabled. Also, when you enable multicast limiting, it is enabled on all the ports in the port range for which broadcast limiting is enabled. A 1-Gbps port range consists of 12 ports.
To enable unknown-unicast limiting or multicast limiting, enable it after enabling broadcast limiting. Unknown-unicast limiting and multicast limiting use the limit defined in broadcast limiting. You cannot set a separate limit for unknown-unicast limiting and multicast limiting. FastIron WS, Brocade FCX Series, and ICX 6430 devices support packet-based limiting only.
Brocade ICX 6610 and ICX 6450 devices support byte based limiting only
These commands configure packet-based broadcast limiting on ports 1 8. On each port, the maximum number of broadcast packets per second cannot exceed 65,536 packets per second. To include multicasts in the 65536 packets per second limit on each of the ports, enter the multicast limit command after enabling broadcast limiting.
Brocade(config-mif-e1000-1-8)# multicast limit
To enable unknown unicast limiting by counting the number of packets received, enter commands such as the following.
33
Brocade(config)# interface ethernet 1 Brocade(config-if-e1000-1)# unknown-unicast limit 65536 The combined number of inbound Unknown Unicast packets permitted for ports 1 to 12 is now set to 65536 Brocade((config-if-e1000-1)#
NOTE
On the SX-FI48GPP module, multicast and unknown-unicast limiting use the value defined in broadcast limiting. You cannot set a separate limit for unknown-unicast limiting and multicast limiting. Syntax: [no] broadcast limit <num> Syntax: [no] multicast limit Syntax: [no] unknown-unicast limit <num> The <num> variable specifies the maximum number of packets per second. It can be any number that is a multiple of 8192, up to a maximum value of 2147418112. If you enter the multicast limit or unknown-unicast limit command, multicast packets or unknown-unicast limit are included in the corresponding limit. If you specify 0, limiting is disabled. If you specify a number that is not a multiple of 8192, the software rounds the number to the next multiple of 8192. Limiting is disabled by default.
Command syntax for packet-based limiting on FastIron WS and Brocade FCX Series and ICX 6430 devices
To enable broadcast limiting on a group of ports by counting the number of packets received, enter commands such as the following.
Brocade(config)# interface ethernet 1/1/1 to 1/1/8 Brocade(config-mif-e1000-1/1/1-1/1/8)# broadcast limit 65536
To include unknown unicast limiting by counting the number of packets received, enter commands such as the following.
Brocade(config-mif-e1000-1/1/1-1/1/8)# unknown-unicast limit
To include multicasts limiting, enter the multicast limit command after enabling broadcast limiting.
Brocade(config-mif-e1000-1-8)# multicast limit
Syntax: [no]broadcast limit <num> Syntax: [no] multicast limit Syntax: [no] unknown-unicast limit The <num> variable specifies the maximum number of packets per second. It can be any number that is a multiple of 65536, up to a maximum value of 2147418112. If you enter the multicast limit command, multicast packets are included in the corresponding limit. If you specify 0, limiting is disabled. If you specify a number that is not a multiple of 65536, the software rounds the number to the next multiple of 65536. Limiting is disabled by default.
34
Command syntax for packet-based limiting on Brocade ICX 6610 and 6450 devices
To enable broadcast limiting on a group of ports by counting the number of bytes received, enter commands such as the following.
Brocade(config)# interface ethernet 1/1/1 to 1/1/8 Brocade(config-mif-e1000-1/1/1-1/1/8)# broadcast limit 8192
To include unknown-unicast limiting, enter the unknown-unicast limit command after enabling broadcast limiting.
Brocade(config-mif-e1000-1/1/1-1/1/8)# unknown-unicast limit
To include multicasts limiting, enter the multicast limit command after enabling broadcast limiting.
Brocade(config-mif-e1000-1-8)# multicast limit
Syntax: [no]broadcast limit <num> Syntax: [no] multicast limit Syntax: [no] unknown-unicast limit The <num> variable specifies the maximum number of Kilo bytes per second. It can be any number that is a multiple of 8192, up to a maximum value of 2147418112. If you enter the multicast limit or unknown-unicast limit command, multicast or unknown-unicast packets are included in the corresponding limit. If you specify 0, limiting is disabled. If you specify a number that is not a multiple of 8192, the software rounds the number to the next multiple of 8192. Limiting is disabled by default.
These commands configure byte-based broadcast limiting on ports 9 and 10. On each port, the total number of bytes received from broadcast packets cannot exceed 131,072 per second. To include multicasts in the 131072 bytes per second limit on each of the ports, enter the multicast limit command after enabling broadcast limiting.
Brocade(config-mif-e1000-1-8)# multicast limit
35
Brocade# config terminal Brocade(config)# interface ethernet 13 Brocade(config-if-e1000-13)# unknown-unicast limit 65536 bytes The combined number of bytes of inbound Unknown Unicast packets permitted for ports 13 to 24 is now set to 65536 Brocade((config-if-e1000-13)#
Syntax: [no] broadcast limit <num> bytes Syntax: [no] multicast limit Syntax: [no] unknown-unicast limit <num> bytes The <num> variable can be any number that is a multiple of 65536, up to a maximum value of 2147418112. If you enter the multicast limit command, multicast packets are included in the limit you specify. If you specify 0, limiting is disabled. If you specify a number that is not a multiple of 65536, the software rounds the number to the next multiple of 65536. Limiting is disabled by default.
36
Use the show rate-limit unknown-unicast command to display the unknown unicast limit for each port region to which it applies.
Example
Brocade# show rate-limit unknown-unicast Unknown Unicast Limit Settings: Port Region Combined Limit Packets/Bytes 1 - 12 524288 Packets 13 - 24 65536 Bytes
Syntax: show rate-limit unknown-unicast Use the show rate-limit broadcast command to display the broadcast limit or broadcast and multicast limit for each port to which it applies.
Example
Brocade# show rate-limit broadcast Broadcast/Multicast Limit Settings: Port Limit Packets/Bytes Packet Type(s) 4 1245184 Bytes Broadcast + Multicast 5 1245184 Bytes Broadcast + Multicast 14 65536 Packets Broadcast only 23 131072 Packets Broadcast + Multicast
A delimiting character is established on the first line of the banner motd command. You begin and end the message with this delimiting character. The delimiting character can be any character except (double-quotation mark) and cannot appear in the banner text. In this example, the delimiting character is $ (dollar sign). The text in between the dollar signs is the contents of the banner. The banner text can be up to 4000 characters long, which can consist of multiple lines. Syntax: [no] banner motd <delimiting-character> To remove the banner, enter the no banner motd command.
37
The banner <delimiting-character> command is equivalent to the banner motd <delimiting-character> command. When you access the Web Management Interface, the banner is displayed.
NOTE
If you are using a Web client to view the message of the day, and your banners are very wide, with large borders, you may need to set your PC display resolution to a number greater than the width of your banner. For example, if your banner is 100 characters wide and the display is set to 80 characters, the banner may distort, or wrap, and be difficult to read. If you set your display resolution to 120 characters, the banner will display correctly.
NOTE
Requiring users to press the Enter key after the message of the day banner
In earlier IronWare software releases, users were required to press the Enter key after the Message of the Day (MOTD) was displayed, prior to logging in to the Brocade device on a console or from a Telnet session. Now, this requirement is disabled by default. Unless configured, users do not have to press Enter after the MOTD banner is displayed. For example, if the MOTD "Authorized Access Only" is configured, by default, the following messages are displayed when a user tries to access the Brocade device from a Telnet session.
Authorized Access Only ... Username:
The user can then login to the device. However, if the requirement to press the Enter key is enabled, the following messages are displayed when accessing the switch from Telnet.
Authorized Access Only ... Press <Enter> to accept and continue the login process....
The user must press the Enter key before the login prompt is displayed. Also, on the console, the following messages are displayed if the requirement to press the Enter key is disabled.
Press Enter key to login Authorized Access Only ... User Access Verification Please Enter Login Name:
38
However, if the requirement to press the Enter key after a MOTD is enabled, the following messages are displayed when accessing the switch on the console.
Press Enter key to login Authorized Access Only ... Press <Enter> to accept and continue the login process....
The user must press the Enter key to continue to the login prompt. To enable the requirement to press the Enter key after the MOTD is displayed, enter a command such as the following.
Brocade(config)# banner motd require-enter-key
Syntax: [no] banner motd require-enter-key Use the no form of the command to disable the requirement.
As with the banner motd command, you begin and end the message with a delimiting character; in this example, the delimiting character is #(pound sign). The delimiting character can be any character except (double-quotation mark) and cannot appear in the banner text. The text in between the pound signs is the contents of the banner. Banner text can be up to 4000 characters, which can consist of multiple lines. Syntax: [no] banner exec_mode <delimiting-character> To remove the banner, enter the no banner exec_mode command.
When a user connects to the CLI using Telnet, the following message appears on the Console.
Telnet from 209.157.22.63 Incoming Telnet Session!!
39
As with the banner motd command, you begin and end the message with a delimiting character; in this example, the delimiting character is $(dollar sign). The delimiting character can be any character except (double-quotation mark) and cannot appear in the banner text. The text in between the dollar signs is the contents of the banner. Banner text can be up to 4000 characters, which can consist of multiple lines. Syntax: [no] banner incoming <delimiting-character> To remove the banner, enter the no banner incoming command.
Syntax: [no] use-local-management-mac You must save the configuration and reload the software to place the change into effect.
NOTE
NOTE
This feature is only available for the switch code. It is not available for router code.
40
Syntax: port-name <text> The <text> parameter is an alphanumeric string. The name can be up to 64 characters long. The name can contain blanks. You do not need to use quotation marks around the string, even when it contains blanks.
NOTE
You can modify the port speed of copper ports only; this feature does not apply to fiber ports.
NOTE
For optimal link operation, copper ports on devices that do not support 803.3u must be configured with like parameters, such as speed (10,100,1000), duplex (half, full), MDI/MDIX, and Flow Control.
10-full 10 Mbps, full duplex 10-half 10 Mbps, half duplex 100-full 100 Mbps, full duplex 100-half 100 Mbps, half duplex 1000-full-master 1 Gbps, full duplex master 1000-full-slave 1 Gbps, full duplex slave auto auto-negotiation
The default is auto (auto-negotiation). Use the no form of the command to restore the default.
NOTE
On FastIron devices, when setting the speed and duplex-mode of an interface to 1000-full, configure one side of the link as master (1000-full-master) and the other side as slave (1000-full-slave).
41
Auto negotiated FESX combo ports may flap for a few seconds before the link is up.
NOTE
On Brocade ICX 6610 and Series devices, after you remove 10 Gbps speed from the running configuration, plugging in a 1G optic SFP transceiver into a 10 Gbps port causes the software to fail to revert the ports back from the default 10G LRM mode to 1 Gbps speed. Remove the 1G SFP transceiver and plug in the 10G optic SFP+transceiver so that the Brocade ICX 6610 devices go into default 10 Gbps LRM mode..
NOTE
NOTE
Auto negotiated FESX combo ports may flap for a few seconds before the link is up. Maximum Port speed advertisement and Port speed down-shift are enhancements to the auto-negotiation feature, a mechanism for accommodating multi-speed network devices by automatically configuring the highest performance mode of inter-operation between two connected devices. Port speed down-shift enables Gbps copper ports on the Brocade device to establish a link at 1000 Mbps over a 4-pair wire when possible, or to down-shift to 100 Mbps if the medium is a 2-pair wire. Maximum port speed advertisement enables you to configure an auto-negotiation maximum speed that Gbps copper ports on the Brocade device will advertise to the connected device. You can configure a port to advertise a maximum speed of either 100 Mbps or 10 Mbps. When the maximum port speed advertisement feature is configured on a port that is operating at 100 Mbps maximum speed, the port will advertise 10/100 Mbps capability to the connected device. Similarly, if a port is configured at 10 Mbps maximum speed, the port will advertise 10 Mbps capability to the connected device. The port speed down-shift and maximum port speed advertisement features operate dynamically at the physical link layer between two connected network devices. They examine the cabling conditions and the physical capabilities of the remote link, then configure the speed of the link segment according to the highest physical-layer technology that both devices can accommodate. The port speed down-shift and maximum port speed advertisement features operate dynamically at the physical link layer, independent of logical trunk group configurations. Although Brocade recommends that you use the same cable types and auto-negotiation configuration on all members of a trunk group, you could utilize the auto-negotiation features conducive to your cabling environment. For example, in certain circumstances, you could configure each port in a trunk group to have its own auto-negotiation maximum port speed advertisement or port speed down-shift configuration.
NOTE
42
When port speed down-shift or maximum port speed advertisement is enabled on a port, the
device will reject any configuration attempts to set the port to a forced speed mode (100 Mbps or 1000 Mbps).
When the port speed down-shift feature is enabled on a combo port, the port will not support
true media automatic detection, meaning the device will not be able to detect and select the fiber or copper connector based on link availability.
The above command configures Gbps copper ports 1 and 2 to establish a link at 1000 Mbps over a 4-pair wire when possible, or to down-shift (reduce the speed) to 100 Mbps when the medium is a 2-pair wire. Syntax: [no] link-config gig copper autoneg-control down-shift ethernet <port> [ethernet <port>] | to <port>... Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. You can enable port speed down-shift on one or two ports at a time. To disable port speed down-shift after it has been enabled, enter the no form of the command.
43
Syntax: [no] link-config gig copper autoneg-control [down-shift | 100m-auto | 10m-auto] ethernet <port-list> The <port-list> is the list of ports to which the command will be applied. For <port-list>, specify the ports in one of the following formats:
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. The output from the show run command for this configuration will resemble the following.
Brocade# show run Current configuration: ! ver 04.0.00b64T7el ! module 1 fgs-48-port-management-module module 2 fgs-cx4-2-port-10g-module ! link-config gig copper autoneg-control down-shift ethernet 0/1/1 to 0/1/10 ethernet 0/1/15 to 0/1/20 ! ! ip address 10.44.9.11 255.255.255.0 ip default-gateway 10.44.9.1 ! end
To disable selective auto-negotiation of 100m-auto on ports 0/1/21 to 0/1/25 and 0/1/30, enter the following.
Brocade(config)# no link-config gig copper autoneg-control 100m-auto ethernet 0/1/21 to 0/1/25 ethernet 0/1/30
To configure a maximum port speed advertisement of 100 Mbps on a port that has auto-negotiation enabled, enter the following command at the Global CONFIG level of the CLI.
Brocade(config)# link-config gig copper autoneg-control 100m ethernet 2
Syntax: [no] link-config gig copper autoneg-control 10m | 100m ethernet <port> [ethernet [<port>] Specify the <port> variable in one of the following formats:
44
FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. You can enable maximum port speed advertisement on one or two ports at a time. To disable maximum port speed advertisement after it has been enabled, enter the no form of the command.
NOTE
You can modify the port duplex mode of copper ports only. This feature does not apply to fiber ports. Port duplex mode and port speed are modified by the same command.
45
To turn off automatic MDI/MDIX detection and define a port as an MDIX only port.
Brocade(config-if-e1000-2)# mdi-mdix mdix
To turn on automatic MDI/MDIX detection on a port that was previously set as an MDI or MDIX port.
Brocade(config-if-e1000-2)# mdi-mdix auto
Syntax: mdi-mdix <mdi | mdix | auto> After you enter the mdi-mdix command, the Brocade device resets the port and applies the change. To display the MDI/MDIX settings, including the configured value and the actual resolved setting (for mdi-mdix auto), enter the command show interface at any level of the CLI.
You also can disable or re-enable a virtual interface. To do so, enter commands such as the following.
Brocade(config)# interface ve v1 Brocade(config-vif-1)# disable
Syntax: disable To re-enable a virtual interface, enter the enable command at the Interface configuration level. For example, to re-enable virtual interface v1, enter the enable command.
Brocade(config-vif-1)# enable
Syntax: enable
46
When any of the flow control commands are applied to a port that is up, the port will be
disabled and re-enabled.
For 10 Gbps ports, the show interface <port> display shows Flow Control is enabled or Flow
Control is disabled, depending on the configuration.
When flow-control is enabled, the hardware can only advertise PAUSE frames. It does not
advertise Asym.
Syntax: [no] flow-control For optimal link operation, link ports on devices that do not support 803.3u must be configured with like parameters, such as speed (10,100,1000), duplex (half, full), MDI/MDIX, and Flow Control.
NOTE
47
flow-control [default] - Enable flow control, flow control negotiation, and advertise flow control no flow-control neg-on - Disable flow control negotiation no flow-control - Disable flow control, flow control negotiation, and advertising of flow control
After flow control negotiation is enabled using the flow-control neg-on command option, flow control is enabled or disabled depending on the peer advertisement. Commands may be entered in IF (single port) or MIF (multiple ports at once) mode.
Example
Brocade(config)# interface ethernet 0/1/21 Brocade(config-if-e1000-0/1/21)# no flow-control
48
0 runts, 0 giants 5 packets output, 320 bytes, 0 underruns Transmitted 0 broadcasts, 5 multicasts, 0 unicasts 0 output errors, 0 collisions
Issuing the show interface <port> command on a FSX device displays the following output:
Brocade# show interface ethernet 18/1 GigabitEthernet18/1 is up, line protocol is up Hardware is GigabitEthernet, address is 0012.f228.0600 (bia 0012.f228.0798) Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual MDIX Member of 4 L2 VLANs, port is tagged, port state is FORWARDING BPDU guard is Disabled, ROOT protect is Disabled Link Error Dampening is Disabled STP configured to ON, priority is level0, flow control enabled Flow Control is config enabled, oper enabled, negotiation disabled mirror disabled, monitor disabled Not member of any active trunks Not member of any configured trunks No port name IPG MII 96 bits-time, IPG GMII 96 bits-time IP MTU 1500 bytes, encapsulation ethernet 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 848 bits/sec, 0 packets/sec, 0.00% utilization 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 10251 packets output, 1526444 bytes, 0 underruns Transmitted 1929 broadcasts, 8293 multicasts, 29 unicasts 0 output errors, 0 collisions
The line highlighted in bold will resemble one of the following, depending on the configuration:
If flow control negotiation is enabled (and a neighbor advertises Pause-Not Capable), the
display shows:
Flow Control is config enabled, oper disabled, negotiation enabled
If flow control negotiation is enabled (and a neighbor advertises Pause-Capable), the display
shows:
Flow Control is config enabled, oper enabled, negotiation enabled
If flow control is enabled, and flow control negotiation is disabled, the display shows:
Flow Control is config enabled, oper enabled, negotiation disabled
49
Symmetric flow control addresses the requirements of a lossless service class in an Internet Small Computer System Interface (iSCSI) environment. It is supported on FCX standalone units as well as on all FCX units in an IronStack.
TABLE 12
1G ports
Total buffers XOFF XON 272 240 / 91% 200 / 75% 272 216 / 82% 184 / 70%
10G ports
Total buffers XOFF XON 416 376 / 91% 312 / 75% 416 336 / 82% 288 / 70%
If necessary, you can change the total buffer limits and the XON and XOFF default thresholds. Refer to Changing the total buffer limits on page 52 and Changing the XON and XOFF thresholds on page 51, respectively.
Symmetric flow control is supported on FCX devices only. It is not supported on other FastIron
models.
Symmetric flow control is supported on all 1G and 10G data ports on FCX and ICX devices. Symmetric flow control is not supported on stacking ports or across units in a stack. To use this feature, 802.3x flow control must be enabled globally and per interface on the FCX.
By default, 802.3x flow control is enabled, but can be disabled with the no flow-control command.
50
The following QoS features are not supported together with symmetric flow control: - Dynamic buffer allocation (CLI commands qd-descriptor and qd-buffer) - Buffer profiles (CLI command buffer-profile port-region) - DSCP-based QoS (CLI command trust dscp)
Although the above QoS features are not supported with symmetric flow control, the CLI will still accept these commands. The last command issued will be the one placed into effect on the device. For example, if trust dscp is enabled after symmetric-flow-control is enabled, symmetric flow control will be disabled and trust dscp will be placed into effect. Make sure you do not enable incompatible QoS features when symmetric flow control is enabled on the device.
NOTE
Head of Line (HOL) blocking may occur when symmetric flow control is enabled. This means
that a peer can stop transmitting traffic streams unrelated to the congestion stream.
To enable symmetric flow control globally on all full-duplex data ports of a particular unit in an IronStack, enter the symmetric-flow-control enable <stack-unit> command.
Brocade(config)# symmetric-flow-control enable unit 4
Syntax: [no] symmetric-flow-control enable [unit <stack-unit>] The <stack-unit> parameter specifies one of the units in a stacking system. Master/Standby/Members are examples of a stack-unit To disable symmetric flow control once it has been enabled, use the no form of the command.
To change the thresholds for all 10G ports, enter a command such as the following.
Brocade(config)# symmetric-flow-control set 2 xoff 91 xon 75
51
In the above configuration examples, when the XOFF limit of 91% is reached or exceeded, the Brocade device will send PAUSE frames to the sender telling it to stop transmitting data temporarily. When the XON limit of 75% is reached, the Brocade device will send PAUSE frames to the sender telling it to resume sending data. Syntax: symmetric-flow-control set 1 | 2 xoff <%> xon <%> symmetric-flow-control set 1 sets the XOFF and XON limits for 1G ports. symmetric-flow-control set 2 sets the XOFF and XON limits for 10G ports. For xoff <%>, the <%> minimum value is 60% and the maximum value is 95%. For xon <%>, the <%> minimum value is 50% and the maximum value is 90%. Use the show symmetric command to view the default or configured XON and XOFF thresholds. Refer to Displaying symmetric flow control status on page 52.
To change the total buffer limit for all 10G ports, enter a command such as the following.
Brocade(config)# symmetric-flow-control set 2 buffers 128 Total buffers modified, 1G: 320, 10G: 128
Syntax: symmetric-flow-control set 1 | 2 buffers <value> symmetric-flow-control set 1 buffers <value> sets the total buffer limits for 1G ports. The default <value> is 272. You can specify a number from 64 320. symmetric-flow-control set 2 buffers <value> sets the total buffer limits for 10G ports. The default <value> is 416. You can specify a number from 64 1632. Use the show symmetric command to view the default or configured total buffer limits. Refer to Displaying symmetric flow control status on page 52.
52
Brocade(config)# show symmetric Symmetric Flow Control Information: ----------------------------------Symmetric Flow Control is enabled on units: 2 3 Buffer parameters: 1G Ports: Total Buffers : 272 XOFF Limit : 240(91%) XON Limit : 200(75%) 10G Ports: Total Buffers : 416 XOFF Limit : 376(91%) XON Limit : 312(75%)
This command can be issued for a single port from the IF config mode or for multiple ports from the MIF config mode. Higher settings give better tolerance for clock differences with the partner phy, but may marginally increase latency as well.
NOTE
53
IPG configuration commands are based on "port regions". All ports within the same port region
should have the same IPG configuration. If a port region contains two or more ports, changes to the IPG configuration for one port are applied to all ports in the same port region. When you enter a value for IPG, the CLI displays the ports to which the IPG configuration is applied.
Example
Brocade(config-if-e1000-7/1)# ipg-gmii 120 IPG 120(112) has been successfully configured for ports 7/1 to 7/12
When you enter a value for IPG, the device applies the closest valid IPG value for the port mode
to the interface. For example, if you specify 120 for a 1 Gbps Ethernet port in 1 Gbps mode, the device assigns 112 as the closest valid IPG value to program into hardware.
Syntax: [no] ipg-mii <bit time> Enter 12-124 for <bit time>. The default is 96 bit time. 1G mode To configure IPG on a Gbps Ethernet port for 1-Gbps Ethernet mode, enter commands such as the following.
Brocade(config)# interface ethernet 7/1 Brocade(config-if-e1000-7/1)# ipg-gmii 120 IPG 120(112) has been successfully configured for ports 0/7/1 to 7/12
Syntax: [no] ipg-gmii <bit time> Enter 48 - 112 for <bit time>. The default is 96 bit time.
Syntax: [no] ipg-xgmii <bit time> Enter 96-192 for <bit time>. The default is 96 bit time.
54
55
When an IPG is applied to a trunk group, it applies to all ports in the trunk group. When you are
creating a new trunk group, the IPG setting on the primary port is automatically applied to the secondary ports.
For multiple interface levels, to configure IPG for ports 0/1/11 and 0/1/14 through 0/1/17, enter the following commands.
Brocade(config)# interface ethernet 0/1/11 ethernet 0/1/14 to 0/1/17 Brocade(config-mif-0/1/11,0/1/14-0/1/17)# ipg 104
Syntax: [no] ipg <value> For value, enter a number in the range from 48-120 bit times in multiples of 8. The default is 96. As a result of the above configuration, the output from the show interface Ethernet 0/1/21 command is as follows.
Brocade# show interfaces ethernet 0/1/21 GigabitEthernet 0/1/21 is up, line protocol is up Hardware is GigabitEthernet, address is 00e0.5204.4014 (bia 00e0.5204.4014) Configured speed auto, actual 100Mbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual MDIX Member of L2 VLAN ID 1, port is untagged, port state is FORWARDING BPDU Guard is disabled, Root Protect is disabled STP configured to ON, priority is level0 Flow Control is config enabled, oper enabled, negotiation disabled Mirror disabled, Monitor disabled Not member of any active trunks Not member of any configured trunks No port name Inter-Packet Gap (IPG) is 112 bit times IP MTU 10222 bytes 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 248 bits/sec, 0 packets/sec, 0.00% utilization 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 80 packets output, 5120 bytes, 0 underruns Transmitted 0 broadcasts, 80 multicasts, 0 unicasts 0 output errors, 0 collisions
56
After the link is up, it will be in 100M/full-duplex mode, as shown in the following example.
Brocade# show interface brief ethernet 11 Port Link State Dupl Speed Trunk Tag 11 Up Forward Full 100M None No
Priori level10
The show media command will display the SFP transceiver as 1G M-TX. Syntax: [no] 100-tx To disable support, enter the no form of the command.
The FCX624S-F is the only FCX model that supports the 1000Base-TX SFP module, and only on
the non-combo ports (ports 5-24). The FCX624S-F does not have a specific command to enable the 1000Base-TX SFP optic at 100 Mbps. You must manually configure it with the speed-duplex 100-full command. Refer to Port speed and duplex mode configuration syntax on page 41.
1000Base-TX modules must be configured individually, one interface at a time. 1000Base-TX modules do not support Digital Optical Monitoring. This module requires a Cat5 cable and uses an RJ45 connector. Hotswap is supported for this module when it is configured in 100M mode.
NOTE
57
Multimode SFP maximum distance is 2 kilometers Long Reach (LR) maximum distance is 40 kilometers Intermediate Reach (IR) maximum distance is 15 kilometers
For information about supported SFP and SFP+ transceivers on FastIron devices, refer to the following Brocade website: http://www.brocade.com/downloads/documents/data_sheets/product_data_sheets/Optics_ DS.pdf
NOTE
Connect the 100BaseFX fiber transceiver after configuring both sides of the link. Otherwise, the link could become unstable, fluctuating between up and down states. To enable 100BaseFX on a fiber port, enter the following command at the Global CONFIG level of the CLI.
Brocade(config)# link-config gig fiber 100base-fx ethernet 4
The above command enables 100BaseFX on port 4. The following command enables 100BaseFX on ports 3 and 4
Brocade(config)# link-config gig fiber 100base-fx ethernet 3 ethernet 4
Syntax: [no] link-config gig fiber 100base-fx ethernet [<port>] ethernet [<port>] The <port> variable is a valid port number. You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To disable 100BaseFX support on a fiber port, enter the no form of the command. Note that you must disable 100BaseFX support before inserting a different type of module In the same port. Otherwise, the device will not recognize traffic traversing the port.
NOTE
Multimode SFP maximum distance is 2 kilometers Long Reach (LR) maximum distance is 40 kilometers Intermediate Reach (IR) maximum distance is 15 kilometers
58
For information about supported SFP and SFP+ transceivers on FastIron devices, refer to the following Brocade website: http://www.brocade.com/downloads/documents/data_sheets/product_data_sheets/Optics_ DS.pdf Connect the 100BaseFX fiber transceiver after configuring both sides of the link. Otherwise, the link could become unstable, fluctuating between up and down states. To enable support for 100BaseFX on an FSX fiber port or on a Stackable switch, enter commands such as the following.
Brocade(config)# interface ethernet 1/6 Brocade(config-if-1/6)# 100-fx
NOTE
The above commands enable 100BaseFX on port 6 in slot 1. Syntax: [no] 100-fx To disable 100BaseFX support on a fiber port, enter the no form of the command. Note that you must disable 100BaseFX support before inserting a different type of module In the same port. Otherwise, the device will not recognize traffic traversing the port.
NOTE
Negotiate-full-auto The port first tries to perform a handshake with the other port to
exchange capability information. If the other port does not respond to the handshake attempt, the port uses the manually configured configuration information (or the defaults if an administrator has not set the information). This is the default.
Auto-Gbps The port tries to perform a handshake with the other port to exchange capability
information.
Negotiation-off The port does not try to perform a handshake. Instead, the port uses
configuration information manually configured by an administrator. To change the mode for individual ports, enter commands such as the following.
Brocade(config)# interface ethernet 1 to 4 Brocade(config-mif-1-4)# gig-default auto-gig
This command overrides the global setting and sets the negotiation mode to auto-Gbps for ports 1 4. Syntax: gig-default neg-full-auto | auto-gig | neg-off When Gbps negotiation mode is turned off (CLI command gig-default neg-off), the Brocade device may inadvertently take down both ends of a link. This is a hardware limitation for which there is currently no workaround.
NOTE
59
To create a voice VLAN ID for a group of ports, enter commands such as the following.
60
Syntax: [no] voice-vlan <voice-vlan-num> where <voice-vlan-num> is a valid VLAN ID between 1 4095. To remove a voice VLAN ID, use the no form of the command.
The following example shows the message that appears when the port does not have a configured voice VLAN.
Brocade# show voice-vlan ethernet 2 Voice vlan is not configured for port 2.
To view the voice VLAN for all ports, use the show voice-vlan command. The following example shows the command output results.
Brocade# show voice-vlan Port ID Voice-vlan 2 1001 8 150 15 200
Syntax: show voice-vlan [ethernet <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both.
61
The Brocade device counts the number of times a port link state toggles from "up to down",
and not from "down to up".
The sampling time or window (the time during which the specified toggle threshold can occur
before the wait period is activated) is triggered when the first "up to down" transition occurs.
"Up to down" transitions include UDLD-based toggles, as well as the physical link state.
Syntax: [no] link-error-disable <toggle-threshold> <sampling-time-in-sec> <wait-time-in-sec> The <toggle-threshold> is the number of times a port link state goes from up to down and down to up before the wait period is activated. Enter a value from 1 - 50. The <sampling-time-in-sec> is the amount of time during which the specified toggle threshold can occur before the wait period is activated. The default is 0 seconds. Enter 1 65535 seconds. The <wait-time-in-sec> is the amount of time the port remains disabled (down) before it becomes enabled. Enter a value from 0 65535 seconds; 0 indicates that the port will stay down until an administrative override occurs.
62
Use the show link-error-disable all command to display the ports with the port flap dampening feature enabled. For FastIron Stackable devices, the output of the command shows the following.
Brocade# show link-error-disable all Port8/1 is configured for link-error-disable threshold:1, sampling_period:10, waiting_period:0 Port8/2 is configured for link-error-disable threshold:1, sampling_period:10, waiting_period:0 Port8/3 is configured for link-error-disable threshold:1, sampling_period:10, waiting_period:0 Port8/4 is configured for link-error-disable threshold:1, sampling_period:10, waiting_period:0 Port8/5 is configured for link-error-disable threshold:4, sampling_period:10, waiting_period:2 Port8/9 is configured for link-error-disable threshold:2, sampling_period:20, waiting_period:0
For FastIron X Series devices, the output of the command shows the following.
Brocade# show link-error-disable all Port -----------------Config--------------# Threshold Sampling-Time Shutoff-Time ------------- ------------- -----------11 3 120 600 12 3 120 500
Table 13 defines the port flap dampening statistics displayed by the show link-error-disable all command.
TABLE 13
Column
Port # Threshold
Sampling-Time Shutoff-Time
63
TABLE 13
Column
State
Counter
If the port state is Idle, this field displays N/A. If the port state is Down, this field shows the remaining value of the shutoff timer. If the port state is Err, this field shows the number of errors sampled.
Syntax: show link-error-disable [all] Also, in FastIron X Series devices, the show interface command indicates if the port flap dampening feature is enabled on the port.
Example
Brocade# show interface ethernet 15 GigabitEthernet15 is up, line protocol is up Link Error Dampening is Enabled Hardware is GigabitEthernet, address is 00e0.5200.010e (bia 00e0.5200.010e) Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual MDIX Brocade# show interface ethernet 17 GigabitEthernet17 is ERR-DISABLED, line protocol is down Link Error Dampening is Enabled Hardware is GigabitEthernet, address is 00e0.5200.010e (bia 00e0.5200.010e) Configured speed auto, actual unknown, configured duplex fdx, actual unknown
The line Link Error Dampening displays Enabled if port flap dampening is enabled on the port or Disabled if the feature is disabled on the port. The feature is enabled on the ports in the two examples above. Also, the characters ERR-DISABLED is displayed for the GbpsEthernet line if the port is disabled because of link errors. Syntax: show interface ethernet <port-number> In addition to the show commands above, the output of the show interface brief command for FastIron X Series indicates if a port is down due to link errors.
Example
Brocade# show interface brief e17 Port 17 Link State ERR-DIS None Dupl Speed Trunk Tag Priori MAC Name None None 15 Yes level0 00e0.5200.010e
The ERR-DIS entry under the Link column indicates the port is down due to link errors.
64
If a port name is longer than five characters, the port name is truncated in the output of the show interface brief command.
NOTE
If the threshold for the number of times that a port link toggles from up to down then
down to up has been exceeded, the following Syslog message is displayed.
0d00h02m10s:I:ERR_DISABLE: Link flaps on port ethernet 16 exceeded threshold; port in err-disable state
If the wait time (port is down) expires and the port is brought up the following Syslog message
is displayed.
0d00h02m41s:I:ERR_DISABLE: Interface ethernet 16, err-disable recovery timeout
You manually disable and enable the port at the Interface Level of the CLI. You enter the command clear loop-detection. This command clears loop detection statistics
and enables all Err-Disabled ports.
The device automatically re-enables the port. To set your device to automatically re-enable
Err-Disabled ports, refer to Configuring the device to automatically re-enable ports on page 67.
65
With Loose Mode, two ports of a loop are disabled. Different VLANs may disable different ports. A disabled port affects every VLAN using it. Loose Mode floods test packets to the entire VLAN. This can impact system performance if too
many VLANs are configured for Loose Mode loop detection. Brocade recommends that you limit the use of Loose Mode. If you have a large number of VLANS, configuring loop detection on all of them can significantly affect system performance because of the flooding of test packets to all configured VLANs. An alternative to configuring loop detection in a VLAN-group of many VLANs is to configure a separate VLAN with the same tagged port and configuration, and enable loop detection on this VLAN only.
NOTE
NOTE
When loop detection is used with L2 loop prevention protocols, such as spanning tree (STP), the L2 protocol takes higher priority. Loop detection cannot send or receive probe packets if ports are blocked by L2 protocols, so it does not detect L2 loops when STP is running because loops within a VLAN have been prevented by STP. Loop detection running in Loose Mode can detect and break L3 loops because STP cannot prevent loops across different VLANs. In these instances, the ports are not blocked and loop detection is able to send out probe packets in one VLAN and receive packets in another VLAN. In this way, loop detection running in Loose Mode disables both ingress and egress ports.
By default, the port will send test packets every one second, or the number of seconds specified by the loop-detection-interval command. Refer to Configuring a global loop detection interval on page 66. Syntax: [no] loop-detection Use the [no] form of the command to disable loop detection.
66
This command sets the loop-detection interval to 5 seconds (50 x 0.1). To revert to the default global loop detection interval of 10, enter one of the following.
Brocade(config)# loop-detection-interval 10
OR
Brocade(config)# no loop-detection-interval 50
Syntax: [no] loop-detection-interval <number> where <number> is a value from 1 to 100. The system multiplies your entry by 0.1 to calculate the interval at which test packets will be sent.
The above command will cause the Brocade device to automatically re-enable ports that were disabled because of a loop detection. By default, the device will wait 300 seconds before re-enabling the ports. You can optionally change this interval to a value from 10 to 65535 seconds. Refer to Specifying the recovery time interval on page 67. Syntax: [no] errdisable recovery cause loop-detection Use the [no] form of the command to disable this feature.
The above command configures the device to wait 120 seconds (2 minutes) before re-enabling the ports. To revert back to the default recovery time interval of 300 seconds (5 minutes), enter one of the following commands.
Brocade(config)# errdisable recovery interval 300
OR
Brocade(config)# no errdisable recovery interval 120
Syntax: [no] errdisable recovery interval <seconds> where <seconds> is a number from 10 to 65535.
67
Clearing loop-detection
To clear loop detection statistics and re-enable all ports that are in Err-Disable state because of a loop detection, enter the clear loop-detection command.
Brocade# clear loop-detection
If a port is errdisabled in Strict mode, it shows ERR-DISABLE by itself. If it is errdisabled due to its associated vlan, it shows ERR-DISABLE by vlan ? The following command displays the current disabled ports, including the cause and the time.
Brocade# show loop-detection disable Number of err-disabled ports: 3 You can re-enable err-disable ports one by one by "disable" then "enable" under interface config, re-enable all by "clear loop-detect", or configure "errdisable recovery cause loop-detection" for automatic recovery index port caused-by disabled-time 1 1/18 itself 00:13:30 2 1/19 vlan 12 00:13:30 3 1/20 vlan 12 00:13:30
This example shows the disabled ports, the cause, and the time the port was disabled. If loop-detection is configured on a physical port, the disable cause will show itself. For VLANs configured for loop-detection, the cause will be a VLAN. The following command shows the hardware and software resources being used by the loop-detection feature.
Vlans configured loop-detection use 1 HW MAC Vlans not configured but use HW MAC: 1 10 alloc in-use 16 6 16 10 avail get-fail 10 0 6 0 limit 3712 3712 get-mem 6 10 size init 15 16 16 16
68
Syntax: show loop-detection resource Table 14 describes the output fields for this command.
TABLE 14
Field
This command displays the following information for the configuration pool and the linklist pool. alloc in-use avail get-fail limit get-mem size init Memory allocated Memory in use Available memory The number of get requests that have failed The maximum memory allocation The number of get-memory requests The size The number of requests initiated
69
70
Chapter
Table 15 lists the individual Brocade FastIron switches and the operations, administration, and maintenance (OAM) features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 15
Feature
FWS
FCX
ICX 6610
Flash and boot code verification Flash image verification Software upgrade via CLI Software upgrade via SNMP Hitless management: Hitless switchover Hitless failover Hitless OS upgrade
Yes (Hitless switchover and Hitless failover only; Hitless OS upgrade is not supported) Refer toHitless stacking on page 329 Yes (PBR only) Yes (PBR only) No
No
Boot code synchronization for active and redundant management modules Software reboot Show boot preference Load and save configuration files System reload scheduling Diagnostic error codes and remedies for TFTP transfers IPv4 ping IPv4 traceroute
OAM Overview
For easy software image management, all Brocade devices support the download and upload of software images between the flash modules on the devices and a Trivial File Transfer Protocol (TFTP) server on the network. Brocade devices have two flash memory modules:
71
Primary flash The default local storage device for image files and configuration files. Secondary flash A second flash storage device. You can use the secondary flash to store
redundant images for additional booting reliability or to preserve one software image while testing another one. Only one flash device is active at a time. By default, the primary image will become active upon reload. You can update the software contained on a flash module using TFTP to copy the update image from a TFTP server onto the flash module. In addition, you can copy software images and configuration files from a flash module to a TFTP server.
NOTE
Brocade devices are TFTP clients but not TFTP servers. You must perform the TFTP transaction from the Brocade device. You cannot put a file onto the Brocade device using the interface of your TFTP server.
If you are attempting to transfer a file using TFTP but have received an error message, refer to Diagnostic error codes and remedies for TFTP transfers on page 93.
NOTE
Compact devices
To determine the flash image version running on a Compact device, enter the show version command at any level of the CLI. The following shows an example output.
Brocade#show version Copyright (c) 1996-2012 Brocade Communications Systems, Inc. All rights reserved. UNIT 1: compiled on Mar 2 2012 at 12:38:17 labeled as ICX64S07400 (10360844 bytes) from Primary ICX64S07400.bin SW: Version 07.4.00T311 Boot-Monitor Image size = 774980, Version:07.4.00T310 (kxz07400) HW: Stackable ICX6450-24 ========================================================================== UNIT 1: SL 1: ICX6450-24 24-port Management Module Serial #: BZS0442G00G License: BASE_SOFT_PACKAGE (LID: dbuFJJHiFFi) P-ENGINE 0: type DEF0, rev 01 ========================================================================== UNIT 1: SL 2: ICX6450-SFP-Plus 4port 40G Module ========================================================================== 800 MHz ARM processor ARMv5TE, 400 MHz bus 65536 KB flash memory
72
512 MB DRAM STACKID 1 system uptime is 3 minutes 39 seconds The system : started=warm start reloaded=by "reload"
03.0.00T53 indicates the flash code version number. The T53 is used by Brocade for
record keeping.
labeled as FER03000 indicates the flash code image label. The label indicates the image
type and version and is especially useful if you change the image file name.
Primary fer03000.bin indicates the flash code image file name that was loaded.
73
512 KB boot flash memory 16384 KB code flash memory 512 MB DRAM Standby Management Module: 660 MHz Power PC processor 8541 (version 0020/0020) 66 MHz bus 512 KB boot flash memory 16384 KB code flash memory 512 MB DRAM The system uptime is 1 minutes 2 seconds The system : started=warm start reloaded=by "reload"
03.1.00aT3e3 indicates the flash code version number. The T3e3 is used by Brocade for
record keeping.
labeled as SXR03100a indicates the flash code image label. The label indicates the image
type and version and is especially useful if you change the image file name.
Primary SXR03100a.bin indicates the flash code image file name that was loaded.
The Compressed Pri Code size line lists the flash code version installed in the primary flash
area.
The Compressed Sec Code size line lists the flash code version installed in the secondary
flash area.
The Boot Monitor Image size line lists the boot code version installed in flash memory. The
device does not have separate primary and secondary flash areas for the boot image. The flash memory module contains only one boot image.
74
NOTE
To minimize the boot-monitor image size on FastIron devices, the ping and tftp operations performed in the boot-monitor mode are restricted to copper ports on the FastIron Chassis management modules and to copper ports on the FastIron stackable switch combination copper and fiber ports. The fiber ports on these devices do not have the ability to ping or tftp from the boot-monitor mode.
MD5 - Message Digest algorithm (RFC 1321) SHA1 - US Secure Hash Algorithm (RFC 3174) CRC - Cyclic Redundancy Checksum algorithm
md5 Generates a 16-byte hash code sha1 Generates a 20-byte hash code crc32 Generates a 4 byte checksum ascii string A valid image filename primary The primary boot image (primary.img) secondary The secondary boot image (secondary.img) hash code The hash code to verify
The following examples show how the verify command can be used in a variety of circumstances. To generate an MD5 hash value for the secondary image, enter the following command.
Brocade#verify md5 secondary Brocade#.........................Done Size = 2044830, MD5 01c410d6d153189a4a5d36c955653862
To generate a SHA-1 hash value for the secondary image, enter the following command.
Brocade#verify sha secondary Brocade#.........................Done Size = 2044830, SHA1 49d12d26552072337f7f5fcaef4cf4b742a9f525
To generate a CRC32 hash value for the secondary image, enter the following command.
Brocade#verify crc32 secondary Brocade#.........................Done Size = 2044830, CRC32 b31fcbc0
To verify the hash value of a secondary image with a known value, enter the following commands.
75
Brocade#verify md5 secondary 01c410d6d153189a4a5d36c955653861 Brocade#.........................Done Size = 2044830, MD5 01c410d6d153189a4a5d36c955653862 Verification FAILED.
In the previous example, the codes did not match, and verification failed. If verification succeeds, the output will look like this.
Brocade#verify md5 secondary 01c410d6d153189a4a5d36c955653861 Brocade#.........................Done Size = 2044830, MD5 01c410d6d153189a4a5d36c955653861 Verification SUCEEDED.
The following examples show this process for SHA-1 and CRC32 algorithms.
Brocade#verify sha secondary 49d12d26552072337f7f5fcaef4cf4b742a9f525 Brocade#.........................Done Size = 2044830, sha 49d12d26552072337f7f5fcaef4cf4b742a9f525 Verification SUCCEEDED.
and
Brocade#verify crc32 secondary b31fcbc0 Brocade#.........................Done Size = 2044830, CRC32 b31fcbc0 Verification SUCCEEDED.
TABLE 16
Product
FESX FSX 800 FSX 1600 FWS
Flash image
SXSxxxxx.bin (Layer 2) or SXLxxxxx.bin (base Layer 3) or SXRxxxxx.bin (full Layer 3) FGSxxxxx.bin (Layer 2) or FGSLxxxxx.bin (base Layer 3) or FGSRxxxxx.bin (edge Layer 3) FCXSxxxxx.bin (Layer 2) or FCXRxxxxx.bin (Layer 3) ICX64S07400.bin (Layer 2) or ICX64R07400.bin (Layer 3 - ICX 6450 only)
fgzxxxxx.bin
grzxxxxxx.bin kxz07400.bin
These images are applicable to these devices only and are not interchangeable. For example, you cannot load FCX boot or flash images on a FSX device, and vice versa.
76
Software upgrades
Software upgrades
Refer to the release notes for instructions about upgrading the software.
NOTE
For devices other than FCX and ICX, enter the dir command at the monitor mode. To enter
monitor mode from any level of the CLI, press the Shift and Control+Y keys simultaneously then press the M key. Enter the dir command to display a list of the files stored in flash memory. To exit monitor mode and return to the CLI, press Control+Z.
For FCX devices, enter the show dir command at any level of the CLI, or enter the dir command
at the monitor mode.
For ICX devices, enter the show files command at the device configuration prompt.
The following shows an example command output.
77
Brocade#show dir 133 [38f4] boot-parameter 0 [ffff] bootrom 3802772 [0000] primary 4867691 [0000] secondary 163 [dd8e] stacking.boot 1773 [0d2d] startup-config 1808 [acfa] startup-config.backup 8674340 bytes 7 File(s) 56492032 bytes free
Syntax: show dir To display the contents of a flash configuration file, enter a command such as the following from the User EXEC or Privileged EXEC mode of the CLI:
Brocade#copy flash console startup-config.backup ver 07.0.00b1T7f1 ! stack unit 1 module 1 fcx-24-port-management-module module 2 fcx-cx4-2-port-16g-module module 3 fcx-xfp-2-port-10g-module priority 80 stack-port 1/2/1 1/2/2 stack unit 2 module 1 fcx-48-poe-port-management-module module 2 fcx-cx4-2-port-16g-module module 3 fcx-xfp-2-port-10g-module stack-port 2/2/1 2/2/2 stack enable ! ! ! ! vlan 1 name DEFAULT-VLAN by port no spanning-tree metro-rings 1 metro-ring 1 master ring-interfaces ethernet 1/1/2 ethernet 1/1/3 enable ! vlan 10 by port mac-vlan-permit ethe 1/1/5 to 1/1/6 ethe 2/1/5 to 2/1/6 vlan 20 by port untagged ethe 1/1/7 to 1/1/8 no spanning-tree pvlan type primary pvlan mapping 40 ethe 1/1/8 pvlan mapping 30 ethe 1/1/7 ! vlan 30 by port untagged ethe 1/1/9 to 1/1/10 no spanning-tree pvlan type community ! ... some lines omitted for brevity...
no spanning-tree !
78
Syntax: copy flash console <filename> For <filename>, enter the name of a file stored in flash memory.
79
NOTE
Brocade recommends that you make a backup copy of the startup-config file before you upgrade the software. If you need to run an older release, you will need to use the backup copy of the startup-config file. 1. Configure a read-write community string on the Brocade device, if one is not already configured. To configure a read-write community string, enter the following command from the global CONFIG level of the CLI. snmp-server community <string> ro | rw where <string> is the community string and can be up to 32 characters long. 2. On the Brocade device, enter the following command from the global CONFIG level of the CLI. no snmp-server pw-check This command disables password checking for SNMP set requests. If a third-party SNMP management application does not add a password to the password field when it sends SNMP set requests to a Brocade device, by default the Brocade device rejects the request. 3. From the command prompt in the UNIX shell, enter the following command. /usr/OV/bin/snmpset -c <rw-community-string> <brcd-ip-addr> 1.3.6.1.4.1.1991.1.1.2.1.5.0 ipaddress <tftp-ip-addr> 1.3.6.1.4.1.1991.1.1.2.1.6.0 octetstringascii <file-name> 1.3.6.1.4.1.1991.1.1.2.1.7.0 integer <command-integer> where <rw-community-string> is a read-write community string configured on the Brocade device. <brcd-ip-addr> is the IP address of the Brocade device. <tftp-ip-addr> is the TFTP server IP address. <file-name> is the image file name. <command-integer> is one of the following. 20 Download the flash code into the primary flash area. 22 Download the flash code into the secondary flash area.
NOTE
80
Software reboot
Software reboot
You can use boot commands to immediately initiate software boots from a software image stored in primary or secondary flash on a Brocade device or from a BootP or TFTP server. You can test new versions of code on a Brocade device or choose the preferred boot source from the console boot prompt without requiring a system reset. It is very important that you verify a successful TFTP transfer of the boot code before you reset the system. If the boot code is not transferred successfully but you try to reset the system, the system will not have the boot code with which to successfully boot. By default, the Brocade device first attempts to boot from the image stored in its primary flash, then its secondary flash, and then from a TFTP server. You can modify this booting sequence at the global CONFIG level of the CLI using the boot system command. To initiate an immediate boot from the CLI, enter one of the boot system commands.
NOTE
If you are booting the device from a TFTP server through a fiber connection, use the following
command: boot system tftp <ip-address> <filename> fiber-port.
81
The results of the show run command for the configured example above appear as follows.
Brocade#show run Current Configuration: ! ver 04.0.00x1T7el ! module 1 fgs-48-port-copper-base-module module 2 fgs-xfp-1-port-10g-module module 3 fgs-xfp-1-port-10g-module ! alias cp=copy tf 10.1.1.1 FGS04000bl.bin pri ! ! boot sys fl sec boot sys df 10.1.1.1 FGS04000bl.bin boot sys fl pri ip address 10.1.1.4 255.255.255.0 snmp-client 10.1.1.1 ! end
Startup configuration file This file contains the configuration information that is currently
saved in flash. To display this file, enter the show configuration command at any CLI prompt.
Running configuration file This file contains the configuration active in the system RAM but
not yet saved to flash. These changes could represent a short-term requirement or general configuration change. To display this file, enter the show running-config or write terminal command at any CLI prompt. Each device can have one startup configuration file and one running configuration file. The startup configuration file is shared by both flash modules. The running configuration file resides in DRAM. When you load the startup-config file, the CLI parses the file three times. 1. During the first pass, the parser searches for system-max commands. A system-max command changes the size of statically configured memory. 2. During the second pass, the parser implements the system-max commands if present and also implements trunk configuration commands (trunk command) if present. 3. During the third pass, the parser implements the remaining commands.
82
If the startup-config file was modified by a valid user, the following Syslog message is generated.
startup-config was changed by <username>
To disable or re-enable Syslog messages when the startup-config file is changed, use the following command. Syntax: [no] logging enable config-changed
NOTE
For details about the copy and ncopy commands used with IPv6, refer to Using the IPv6 copy command on page 87and IPv6 ncopy command on page 89.
You can name the configuration file when you copy it to a TFTP server. However, when you copy a configuration file from the server to a Brocade device, the file is always copied as startup-config or running-config, depending on which type of file you saved to the server.
NOTE
83
To initiate transfers of configuration files to or from a TFTP server using the CLI, enter one of the following commands:
copy startup-config tftp <tftp-ip-addr> <filename> Use this command to upload a copy of the
startup configuration file from the Layer 2 Switch or Layer 3 Switch to a TFTP server.
copy running-config tftp <tftp-ip-addr> <filename> Use this command to upload a copy of
the running configuration file from the Layer 2 Switch or Layer 3 Switch to a TFTP server.
copy tftp startup-config <tftp-ip-addr> <filename> Use this command to download a copy of
the startup configuration file from a TFTP server to a Layer 2 Switch or Layer 3 Switch.
Do not use this feature if you have deleted a trunk group but have not yet placed the changes
into effect by saving the configuration and then reloading. When you delete a trunk group, the command to configure the trunk group is removed from the device running-config, but the trunk group remains active. To finish deleting a trunk group, save the configuration (to the startup-config file), then reload the software. After you reload the software, then you can load the configuration from the file.
Do not load port configuration information for secondary ports in a trunk group. Since all ports
in a trunk group use the port configuration settings of the primary port in the group, the software cannot implement the changes to the secondary port.
The configuration file is a script containing CLI configuration commands. The CLI reacts to
each command entered from the file in the same way the CLI reacts to the command if you enter it. For example, if the command results in an error message or a change to the CLI configuration level, the software responds by displaying the message or changing the CLI level.
The software retains the running-config that is currently on the device, and changes the
running-config only by adding new commands from the configuration file. If the running config already contains a command that is also in the configuration file you are loading, the CLI rejects the new command as a duplicate and displays an error message. For example, if the running-config already contains a a command that configures ACL 1, the software rejects ACL 1 in the configuration file, and displays a message that ACL 1 is already configured.
The file can contain global CONFIG commands or configuration commands for interfaces,
routing protocols, and so on. You cannot enter User EXEC or Privileged EXEC commands.
84
The default CLI configuration level in a configuration file is the global CONFIG level. Thus, the
first command in the file must be a global CONFIG command or ! . The ! (exclamation point) character means return to the global CONFIG level.
NOTE
You can enter text following ! as a comment. However, the ! is not a comment marker. It returns the CLI to the global configuration level.
NOTE
If you copy-and-paste a configuration into a management session, the CLI ignores the ! instead of changing the CLI to the global CONFIG level. As a result, you might get different results if you copy-and-paste a configuration instead of loading the configuration using TFTP.
Make sure you enter each command at the correct CLI level. Since some commands have
identical forms at both the global CONFIG level and individual configuration levels, if the CLI response to the configuration file results in the CLI entering a configuration level you did not intend, then you can get unexpected results. For example, if a trunk group is active on the device, and the configuration file contains a command to disable STP on one of the secondary ports in the trunk group, the CLI rejects the commands to enter the interface configuration level for the port and moves on to the next command in the file you are loading. If the next command is a spanning-tree command whose syntax is valid at the global CONFIG level as well as the interface configuration level, then the software applies the command globally. Here is an example. The configuration file contains these commands.
interface ethernet 2 no spanning-tree
If the file contains commands that must be entered in a specific order, the commands must
appear in the file in the required order. For example, if you want to use the file to replace an IP address on an interface, you must first remove the old address using no in front of the ip address command, then add the new address. Otherwise, the CLI displays an error message and does not implement the command. Here is an example. The configuration file contains these commands.
interface ethernet 11 ip address 10.10.10.69/24
The running-config already has a command to add an address to port 11, so the CLI responds like this.
Brocade(config)#interface ethernet 11 Brocade(config-if-e1000-11)#ip add 10.10.10.69/24 Error: can only assign one primary ip address per subnet Brocade(config-if-e1000-11)#
To successfully replace the address, enter commands into the file as follows.
85
This time, the CLI accepts the command, and no error message is displayed.
Brocade(config)#interface ethernet 11 Brocade(config-if-e1000-11)#no ip add 20.20.20.69/24 Brocade(config-if-e1000-111)#ip add 10.10.10.69/24 Brocade(config-if-e1000-11)
Always use the end command at the end of the file. The end command must appear on the
last line of the file, by itself.
copy tftp running-config <ip-addr> <filename> ncopy tftp <ip-addr> <filename> running-config
NOTE
If you are loading a configuration file that uses a truncated form of the CLI command access-list, the software will not go into batch mode. For example, the following command line will initiate batch mode.
access-list 131 permit host pc1 host pc2
Commands to copy the running-config to a TFTP server: copy running-config tftp <ip-addr> <filename> ncopy running-config tftp <ip-addr> <from-name> Commands to copy the startup-config file to a TFTP server: copy startup-config tftp <ip-addr> <filename> ncopy startup-config tftp <ip-addr> <from-name>
86
Copy a file from a specified source to an IPv6 TFTP server Copy a file from an IPv6 TFTP server to a specified destination
This command copies the secondary boot image named test.img from flash memory to a TFTP server with the IPv6 address of 2001:7382:e0ff:7837::3. Syntax: copy flash tftp <ipv6-address> <source-file-name> primary | secondary The <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <source-file-name> parameter specifies the name of the file you want to copy to the IPv6 TFTP server. The primary keyword specifies the primary boot image, while the secondary keyword specifies the secondary boot image.
This command copies the running configuration to a TFTP server with the IPv6 address of 2001:7382:e0ff:7837::3 and names the file on the TFTP server newrun.cfg. Syntax: copy running-config | startup-config tftp <ipv6-address> <destination-file-name> Specify the running-config keyword to copy the running configuration file to the specified IPv6 TFTP server.
87
Specify the startup-config keyword to copy the startup configuration file to the specified IPv6 TFTP server. The tftp <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <destination-file-name> parameter specifies the name of the file that is copied to the IPv6 TFTP server.
This command copies a boot image named test.img from an IPv6 TFTP server with the IPv6 address of 2001:7382:e0ff:7837::3 to the secondary storage location in the device flash memory. Syntax: copy tftp flash <ipv6-address> <source-file-name> primary | secondary The <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <source-file-name> parameter specifies the name of the file you want to copy from the IPv6 TFTP server. The primary keyword specifies the primary storage location in the device flash memory, while the secondary keyword specifies the secondary storage location in the device flash memory.
This command copies the newrun.cfg file from the IPv6 TFTP server and overwrites the running configuration file with the contents of newrun.cfg. To activate this configuration, you must reload (reset) the device. Syntax: copy tftp running-config | startup-config <ipv6-address> <source-file-name> [overwrite] Specify the running-config keyword to copy the running configuration from the specified IPv6 TFTP server.
NOTE
88
The <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <source-file-name> parameter specifies the name of the file that is copied from the IPv6 TFTP server. The overwrite keyword specifies that the device should overwrite the current configuration file with the copied file. If you do not specify this parameter, the device copies the file into the current running or startup configuration but does not overwrite the current configuration.
Copy a primary or secondary boot image from flash memory to an IPv6 TFTP server. Copy the running configuration to an IPv6 TFTP server. Copy the startup configuration to an IPv6 TFTP server Upload various files from an IPv6 TFTP server.
Copying a primary or secondary boot Image from flash memory to an IPv6 TFTP server
For example, to copy the primary or secondary boot image from the device flash memory to an IPv6 TFTP server, enter a command such as the following.
Brocade#ncopy flash primary tftp 2001:7382:e0ff:7837::3 primary.img
This command copies the primary boot image named primary.img from flash memory to a TFTP server with the IPv6 address of 2001:7382:e0ff:7837::3. Syntax: ncopy flash primary | secondary tftp <ipv6-address> <source-file-name> The primary keyword specifies the primary boot image, while the secondary keyword specifies the secondary boot image. The tftp <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <source-file-name> parameter specifies the name of the file you want to copy from flash memory.
This command copies a device running configuration to a TFTP server with the IPv6 address of 2001:7382:e0ff:7837::3 and names the destination file bakrun.cfg. Syntax: ncopy running-config | startup-config tftp <ipv6-address> <destination-file-name> Specify the running-config keyword to copy the device running configuration or the startup-config keyword to copy the device startup configuration.
89
The tftp <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <destination-file-name> parameter specifies the name of the running configuration that is copied to the IPv6 TFTP server.
Primary boot image. Secondary boot image. Running configuration. Startup configuration.
This command uploads the primary boot image named primary.img from a TFTP server with the IPv6 address of 2001:7382:e0ff:7837::3 to the device primary storage location in flash memory. Syntax: ncopy tftp <ipv6-address> <source-file-name> flash primary | secondary The tftp <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <source-file-name> parameter specifies the name of the file you want to copy from the TFTP server. The primary keyword specifies the primary location in flash memory, while the secondary keyword specifies the secondary location in flash memory.
This command uploads a file named newrun.cfg from a TFTP server with the IPv6 address of 2001:7382:e0ff:7837::3 to the device. Syntax: ncopy tftp <ipv6-address> <source-file-name> running-config | startup-config The tftp <ipv6-address> parameter specifies the address of the TFTP server. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <source-file-name> parameter specifies the name of the file you want to copy from the TFTP server.
90
Specify the running-config keyword to upload the specified file from the IPv6 TFTP server to the device. The device copies the specified file into the current running configuration but does not overwrite the current configuration. Specify the startup-config keyword to upload the specified file from the IPv6 TFTP server to the device. The the device copies the specified file into the current startup configuration but does not overwrite the current configuration.
NOTE
The syntax shown in this section assumes that you have installed HP OpenView in the /usr directory. 1. Configure a read-write community string on the Brocade device, if one is not already configured. To configure a read-write community string, enter the following command from the global CONFIG level of the CLI. snmp-server community <string> ro | rw where <string> is the community string and can be up to 32 characters long. 2. On the Brocade device, enter the following command from the global CONFIG level of the CLI. no snmp-server pw-check This command disables password checking for SNMP set requests. If a third-party SNMP management application does not add a password to the password field when it sends SNMP set requests to a Brocade device, by default the Brocade device rejects the request. 3. From the command prompt in the UNIX shell, enter the following command. /usr/OV/bin/snmpset -c <rw-community-string> <fdry-ip-addr> 1.3.6.1.4.1.1991.1.1.2.1.5.0 ipaddress <tftp-ip-addr> 1.3.6.1.4.1.1991.1.1.2.1.8.0 octetstringascii <config-file-name> 1.3.6.1.4.1.1991.1.1.2.1.9.0 integer <command-integer> where <rw-community-string> is a read-write community string configured on the Brocade device. <fdry-ip-addr> is the IP address of the Brocade device. <tftp-ip-addr> is the TFTP server IP address. <config-file-name> is the configuration file name. <command-integer> is one of the following: 20 Upload the startup-config file from the flash memory of the Brocade device to the TFTP server. 21 Download a startup-config file from a TFTP server to the flash memory of the Brocade device.
91
22 Upload the running-config from the flash memory of the Brocade device to the TFTP server. 23 Download a configuration file from a TFTP server into the running-config of the Brocade device.
NOTE
Option 23 adds configuration information to the running-config on the device, and does not replace commands. If you want to replace configuration information in the device, use no forms of the configuration commands to remove the configuration information, then use configuration commands to create the configuration information you want. Follow the guidelines in Dynamic configuration loading on page 84.
erase flash primary erases the image stored in primary flash of the system. erase flash secondary erases the image stored in secondary flash of the system. erase startup-config erases the configuration stored in the startup configuration file; however,
the running configuration remains intact until system reboot.
NOTE
Syntax: reload at <hh:mm:ss> <mm-dd-yy> [primary | secondary] <hh:mm:ss> is the hours, minutes, and seconds. <mm-dd-yy> is the month, day, and year. primary | secondary specifies whether the reload is to occur from the primary code flash module or the secondary code flash module. The default is primary.
92
Syntax: reload after <dd:hh:mm> [primary | secondary] <dd:hh:mm> is the number of days, hours, and minutes. primary | secondary specifies whether the reload is to occur from the primary code flash module or the secondary code flash module.
Message
Flash read preparation failed. Flash read failed. Flash write preparation failed. Flash write failed. TFTP session timeout. TFTP out of buffer space.
TFTP failed because of a time out. Check IP connectivity and make sure the TFTP server is running. The file is larger than the amount of room on the device or TFTP server. If you are copying an image file to flash, first copy the other image to your TFTP server, then delete it from flash. (Use the erase flash... CLI command at the Privileged EXEC level to erase the image in the flash.) If you are copying a configuration file to flash, edit the file to remove unnecessary information, then try again.
93
Error code
7
Message
TFTP busy, only one TFTP session can be active. File type check failed.
16 17 18 19 20 21 22 23
TFTP remote - general error. TFTP remote - no such file. TFTP remote - access violation. TFTP remote - disk full. TFTP remote - illegal operation. TFTP remote - unknown transfer ID. TFTP remote - file already exists. TFTP remote - no such user.
This section describes the error messages associated with the TFTP transfer of PoE firmware file to a Brocade device.
Message
Firmware TFTP timeout. Firmware is not valid for this platform. Firmware is not valid for the IEEE 802.3at (PoE-Plus) controller type. Firmware is not valid for the IEEE 802.3af PoE controller type. Firmware type cannot be detected from the firmware content. TFTP File not Valid for PoE Controller Type. Firmware tftp remote file access failed. Each PoE firmware file delivered by Brocade is meant to be used on the specific platform and the specific PoE controller on the specified module. If the file is used for a platform for which it is meant, but the PoE controller is not same then this error message will display. Download the correct file, then retry the transfer. The TFTP server needs read access on the PoE firmware file. Check the permissions on the file, then try again.
94
Syntax: ping <ip addr> | <hostname> [source <ip addr>] [count <num>] [timeout <msec>] [ttl <num>] [size <byte>] [quiet] [numeric] [no-fragment] [verify] [data <1-to-4 byte hex>] [brief [max-print-per-sec <number>] ] If the device is a Brocade Layer 2 Switch or Layer 3 Switch, you can use the host name only if you have already enabled the Domain Name Server (DNS) resolver feature on the device from which you are sending the ping. Refer to IP Configuration on page 939. The required parameter is the IP address or host name of the device. The source <ip addr> specifies an IP address to be used as the origin of the ping packets. The count <num> parameter specifies how many ping packets the device sends. You can specify from 1 4294967296. The default is 1. The timeout <msec> parameter specifies how many milliseconds the Brocade device waits for a reply from the pinged device. You can specify a timeout from 1 4294967296 milliseconds. The default is 5000 (5 seconds). The ttl <num> parameter specifies the maximum number of hops. You can specify a TTL from 1 255. The default is 64. The size <byte> parameter specifies the size of the ICMP data portion of the packet. This is the payload and does not include the header. You can specify from 0 4000. The default is 16. The no-fragment parameter turns on the dont fragment bit in the IP header of the ping packet. This option is disabled by default. The quiet parameter hides informational messages such as a summary of the ping parameters sent to the device and instead only displays messages indicating the success or failure of the ping. This option is disabled by default. The verify parameter verifies that the data in the echo packet (the reply packet) is the same as the data in the echo request (the ping). By default the device does not verify the data.
NOTE
95
The data <1 4 byte hex> parameter lets you specify a specific data pattern for the payload instead of the default data pattern, abcd, in the packet data payload. The pattern repeats itself throughout the ICMP message (payload) portion of the packet. For numeric parameter values, the CLI does not check that the value you enter is within the allowed range. Instead, if you do exceed the range for a numeric value, the software rounds the value to the nearest valid value. The brief parameter causes ping test characters to be displayed. The following ping test characters are supported: ! . U I Indicates that a reply was received. Indicates that the network server timed out while waiting for a reply. Indicates that a destination unreachable error PDU was received. Indicates that the user interrupted ping.
NOTE
NOTE
The number of ! characters displayed may not correspond to the number of successful replies by the ping command. Similarly, the number of . characters displayed may not correspond to the number of server timeouts that occurred while waiting for a reply. The "success" or "timeout" results are shown in the display as Success rate is XX percent (X/Y)". The optional max-print-per-sec <number> parameter specifies the maximum number of target responses the Brocade device can display per second while in brief mode. You can specify from 0 2047. The default is 511. If you address the ping to the IP broadcast address, the device lists the first four responses to the ping.
NOTE
NOTE
On 48GC modules in non-jumbo mode, the maximum size of ping packets is 1486 bytes and the maximum frame size of tagged traffic is no larger than 1581 bytes.
Syntax: traceroute <host-ip-addr> [maxttl <value>] [minttl <value>] [numeric] [timeout <value>] [source-ip <ip-addr>]
96
Possible and default values are as follows. minttl minimum TTL (hops) value: Possible values are 1 255. Default value is 1 second. maxttl maximum TTL (hops) value: Possible values are 1 255. Default value is 30 seconds. timeout Possible values are 1 120. Default value is 2 seconds. numeric Lets you change the display to list the devices by their IP addresses instead of their names. source-ip <ip-addr> Specifies an IP address to be used as the origin for the traceroute.
Management module failure or role change Software failure Addition or removal of modules Operating system upgrade
During such events, the standby management module takes over the active role and the system continues to forward traffic seamlessly, as if no failure or topology change has occurred. In software releases that do not support hitless management, events such as these could cause a system reboot, resulting in an impact to data traffic. The following Hitless management features are supported: Hitless Switchover A manually controlled (CLI-driven) switchover of the active and standby management modules without any packet loss to the services and protocols that are supported by Hitless management. A switchover is activated by the CLI command switch-over-active-role. Hitless Failover An automatic, forced switchover of the active and standby management modules because of a failure or abnormal termination of the active management module. In the event of a failover, the active management module abruptly leaves and the standby management module immediately assumes the active role. Like a switchover, a failover occurs without any packet loss to hitless-supported services and protocols. Unlike a switchover, a failover generally happens without warning. Hitless Operating System (OS) Upgrade An operating system upgrade and controlled switchover without any packet loss to the services and protocols that are supported by Hitless management. The services and protocols supported by Hitless management are listed in Table 17 on page 99. Hitless failover and hitless switchover are disabled by default. To enable these features, refer to Enabling hitless failover on the FSX 800 and FSX 1600 on page 103 and Executing a hitless switchover on the FSX 800 and FSX 1600 on page 104.
97
The standby management module (the module that takes over the active role) and all interface
modules in the chassis are not reset
Existing data traffic flows continue uninterrupted with no traffic loss Port link states remain UP for the duration of the hitless management event System configurations applied through Console/SNMP/HTTP interfaces remain intact Hitless switchover can be used by a system administrator, for example, to perform maintenance on a management module that has been functioning as the active management module. Some advantages of a hitless switchover over a hitless software reload are:
A manual switchover is quicker, since the standby module does not have to reboot. Switched traffic through the Ethernet interfaces on the standby management module is
not interrupted.
NOTE
All traffic going through Ethernet interfaces (if present) on the management modules will be interrupted during a hitless OS upgrade. This is because both management modules must be reloaded with the new image. This applies to hitless OS upgrade only. It does not apply to hitless switchover or failover, which does not interrupt traffic going through Ethernet interfaces on the standby management module (the module that takes over the active role).
NOTE
Services and protocols that are not listed in Table 17 may be disrupted, but will resume normal operation once the new active management module is back up and running.
98
TABLE 17
Traffic type
802.1p and 802.1Q 802.3ad LACP 802.3af PoE 802.3at PoE+ DSCP honoring and Diffserv Dual-mode VLAN IGMP v1, v2, and v3 snooping IPv4 ACLs IPv6 ACLs Layer 2 switching (VLAN and 802.1Q-in-Q) MLD v1 and v2 snooping MRP Multiple spanning tree (MSTP) Physical port/link state PIM SM snooping Port mirroring and monitoring Port trunking Rapid spanning tree (RSTP) Spanning tree (STP) ToS-based QoS Policy Based Routing Traffic policies UDLD VSRP BGP4 IPv4 unicast forwarding OSPF v2 OSPF v2 with ECMP Static routes VRRP VRRP-E GRE IPv6 to IPv4 Tunnels
Layer 3 routed traffic for supported protocols is not impacted during a Hitless management event. All existing Layer 3 IPv4 multicast flows and receivers will be interrupted. Traffic will converge to normalcy after the new active module becomes operational. Other Layer 3 protocols that are not supported will be interrupted during the switchover or failover. If BGP4 graceful restart or OSPF graceful restart is enabled, it will be gracefully restarted and traffic will converge to normalcy after the new active module becomes operational. For details about OSPF graceful restart, refer to OSPF graceful restart on page 1228. For details about BGP4 graceful restart, refer to BGP4 graceful restart on page 1341. Configured ACLs, PBR or GRE & IPv6 to IPv4 Tunnels will operate in a hitless manner.
Management traffic
N/A
All existing management sessions (SNMP, TELNET, HTTP, HTTPS, FTP, TFTP, SSH etc.), are interrupted during the switchover or failover process. All such sessions are terminated and can be re-established after the new Active Controller takes over.
99
TABLE 17
Traffic type
Security
802.1X, including use with dynamic ACLs and VLANs IPv4 ACLs IPv6 ACLs DHCP snooping Dynamic ARP inspection EAP with RADIUS IP source guard Multi-device port authentication, including use with dynamic ACLs and VLANs
AAA DHCP sFlow SNMP v1, v2, and v3 SNMP traps SNTP Traceroute
All traffic going through Ethernet interfaces (if present) on the management modules will be
interrupted during a hitless OS upgrade. This is because both management modules must be reloaded with the new image. This applies to hitless OS upgrade only. It does not apply to hitless switchover or failover, which does not interrupt traffic going through Ethernet interfaces on the standby management module (the module that takes over the active role).
Static and dynamic multi-slot trunks will flap during a hitless switchover if any of the trunk port
members reside on the management module.
0-port management modules One or more first or second generation line cards One or more third generation line cards
For hitless reload or switch-over-active-role to succeed, the following requirements and limitations must be met:
The standby management module must be up and in an "OK {Enabled}" state. A configuration requiring a reload must not be pending.
100
A hitless-reload must not have already been issued on the previous active management
module.
POE firmware must not be in progress. The SXR running configuration must not be classified as too large (greater than 512KB). A TFTP session must not be in progress. An image sync session must not be in progress. The current active management card cannot have a memory utilization of greater than 90% of available memory.
Management traffic Control protocol traffic In some cases, the first packet of a data flow
During a controlled or forced switchover, the data plane is not affected. Traffic in the forwarding plane will continue to run without interruption while the standby management module takes over operation of the system. However, traffic in the control plane will be minimally impacted.
Start-up and run-time configuration (CLI) Layer 2 protocols Layer 2 protocols such as STP, RSTP, MRP, and VSRP run concurrently on
both the active and standby management modules.
Hardware Abstraction Layer (HAL) This includes the prefix-based routing table, next hop
information for outgoing interfaces, and tunnel information.
101
Layer 3 IP forwarding information This includes the routing table, IP cache table, and ARP
table, as well as static and connected routes.
Layer 3 routing protocols are not copied to the standby management module, but remain in init
state on the standby module until a switchover occurs. Peer adjacency will be restored after a switchover. If BGP4 or OSPF graceful restart are enabled during a switchover, the standby management module (new active module) will initiate a graceful restart and a new set of routes will be relearned. The new set of routes will be the same as the old routes, except in the case of a network change. As baseline synchronization is performed, the console of the active management module displays the progress of the synchronization.
ACTIVE: ACTIVE: ACTIVE: ACTIVE: Detected Stdby heart-beat Standby is ready for baseline synchronization. Baseline SYNC is completed. Protocol Sync is in progress. State synchronization is complete.
The first message indicates that the active management module has detected the standby management module. The second message indicates that the standby module has been hot-inserted and is ready for baseline synchronization. The third message is seen when baseline synchronization is completed, and the fourth message is seen when protocol synchronization is completed. The console of the standby management module also displays the progress of the synchronization.
STBY: Baseline SYNC is completed. Protocol Sync is in progress. STBY: State synchronization is complete.
The first message indicates that baseline synchronization is completed, and the second message indicates that protocol sychronization is completed. When control protocols are synchronized and protocol synchronization timers expire, the standby management module will be in hot-standby mode, meaning the standby module is ready to take over as the active management module. In the event of a switchover, the standby module will pick up where the active module left off, without interrupting data traffic. After baseline synchronization, any new events that occur on the active CPU will be dynamically synchronized on the standby CPU. Examples of such events include:
CLI/HTTP/SNMP configurations CPU receive packets Link events Interrupts Layer 2 and Layer 3 forwarding table updates Dynamic user authentication updates such as 802.1X or multi-device port authentication
Dynamic events are synchronized in such a way that if the active CPU fails before fully executing an event, the standby CPU (newly active CPU) will execute the event after the failover. Also, if the active CPU aborts the event, the standby CPU will abort the event as well.
102
Since both the standby and active management modules run the same code, a command that brings down the active management module will most likely bring down the standby management module. Because all configuration commands are synchronized from active to standby management module in real time, both management modules will reload at almost the same time. This in turn will cause the system to reset all interface modules (similar to the behavior when the reboot command is executed) and will cause packet loss associated with a system reboot.
NOTE
If the new active management module becomes out-of-sync with an interface module, information on the interface module can be overwritten in some cases, which can cause an interruption of traffic forwarding.
NOTE
If a failover occurs, the system will reload. The following message will display on the console
prior to a reload.
STBY:- - - - Active Hitless Failover is disabled. Re-setting the system - -
Hitless OS upgrade is not impacted by this option and is supported whether or not hitless failover is enabled.
NOTE
Synchronization between the active management module and standby management module will occur whether or not hitless failover is enabled. To enable hitless failover, enter the following command at the Global CONFIG level of the CLI:
Brocade(config)#hitless-failover enable
NOTE
The command takes effect immediately. Manual switchover is allowed, and in the event of a failover, the standby management module will take over the active role without reloading the system. Syntax: [no] hitless-failover enable Use the no form of the command to disable hitless failover once it has been enabled.
103
Once you enter this command, the system will prompt you as follows.
Are you sure? (enter y or n): y Running Config data has been changed. Do you want to continue the switch-over without saving the running config? (enter y or n): n Please save the running config and try switch-over again
Syntax: switch-over-active role If this command is entered when hitless failover is disabled, the following message will appear on the console:
Switch-over is not allowed. Reason: hitless-failover not configured.
104
The events described above occur internally and do not create or affect the external network topology.
NOTE
105
Hitless OS upgrade allows for upgrading the software in a system between two releases of the
OS that support this functionality and have compatible data structures. A hitless O/S downgrade may also be supported if the current and target code releases have compatible data structures. From time to time it may be necessary, when enhancing the software or adding new features, to change or add data structures that may cause some releases to be incompatible. In such cases, an upgrade or downgrade will not be hitless, and the software will use the regular Brocade upgrade process - relying on fast reboot.
For a description of how this feature impacts major system functions, refer to Table 17 on
page 99.
You must have both active and standby management modules installed to use this feature. Hitless OS upgrade is supported in software release FSX 05.0.00 or higher, with boot image
FSX 05.0.00 or higher. In general, it is supported with patch upgrades, for example, when upgrading from release 07.0.01a to 07.0.01b. It is not supported during major release upgrades, for example when upgrading from release 07.0.00 to 07.1.00.
This feature can be used to upgrade an image to a higher or lower compatible version of the
software. However, if hitless upgrade to a particular software version is not supported, the software upgrade must be performed through a fast reload of the system.
Hitless OS upgrade between different types of software images is not supported. For example,
hitless OS upgrade is supported when upgrading the Layer 2 image to another Layer 2 image. It is not supported when upgrading the Layer 2 image to a Layer 3 image, or the base Layer 3 image to a full Layer 3 image, and so on.
Hitless OS upgrade should be performed locally, since remote connectivity will be lost during
the upgrade. During a reload, HTTP, SSH, Telnet, SNMP, and ping sessions will be dropped.
The active management module switches from the initial active management module to the
standby management module during the hitless upgrade process. Therefore, a connection to the console interface on both management modules is required.
Upon being reset, any traffic going through the ports on the management module will be
interrupted. Once the management module is up and running, it will be able to send and receive packets, even before the hitless upgrade process is complete.
The running configuration is not allowed to be changed any time during the hitless upgrade
process.
Other commands requiring a software reload, such as CAM mode changes, also do not take
effect upon hitless upgrade and require a system reload before being placed in effect.
106
Syntax: hitless-reload primary | secondary The primary parameter specifies that the management module will be reloaded with the primary image. The secondary parameter specifies that the management module will be reloaded with the secondary image.
NOTE
The hitless-reload command is accepted only when the running configuration and startup configuration files match. If the configuration file has changed, you must first save the file (write mem) before executing a hitless reload. Otherwise, the following message will display on the console.
Error: Running config and start-up config differs. Please reload the system or save the configuration before attempting hitless reload.
107
Possible errors: ***recv msg no callback 2, last msg_type=20, from stack0, e1/9
108
Chapter
Security Access
Table 18 lists the individual Brocade FastIron switches and the security access features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 18
Feature
FWS
FCX
ICX 6610
Yes
Yes
Yes
RADIUS TACACS/TACACS+
AAA support for console commands Restricting remote access to management functions Disabling TFTP access Using ACLs to restrict remote access Local user accounts Local user passwords SSL security for the Web Management Interface AAA authentication-method lists Packet filtering on TCP flags
This chapter explains how to secure access to management functions on a Brocade device.
NOTE
For all Brocade devices, RADIUS Challenge is supported for 802.1x authentication but not for login authentication. Also, multiple challenges are supported for TACACS+ login authentication.
109
TABLE 19
Access method
See page
Serial access to the CLI Access to the Privileged EXEC and CONFIG levels of the CLI
page 125
Establish a password for Telnet access to the CLI page 124 Establish passwords for management privilege levels Set up local user accounts Configure TACACS/TACACS+ security Configure RADIUS security page 125 page 129 page 139 page 157 page 113 page 116 page 117 page 119 page 118 page 118 page 118 page 123 page 124 page 125 page 129 page 139 page 157
Telnet access
Not secured
Regulate Telnet access using ACLs Allow Telnet access only from specific IP addresses Restrict Telnet access based on a client MAC address Allow Telnet access only from specific MAC addresses Define the Telnet idle time Change the Telnet login timeout period Specify the maximum number of login attempts for Telnet access Disable Telnet access Establish a password for Telnet access Establish passwords for privilege levels of the CLI Set up local user accounts Configure TACACS/TACACS+ security Configure RADIUS security
110
TABLE 19
Access method
See page
Configure SSH Regulate SSH access using ACLs Allow SSH access only from specific IP addresses Allow SSH access only from specific MAC addresses Establish passwords for privilege levels of the CLI Set up local user accounts Configure TACACS/TACACS+ security Configure RADIUS security
page 1419 page 113 page 116 page 117 page 125 page 129 page 139 page 157 page 114 page 116 page 119 page 123 page 136 page 129 page 421 page 427 page 139 page 157 page 114 page 116 page 124 page 119 page 125 page 129 page 139
Regulate Web management access using ACLs Allow Web management access only from specific IP addresses Allow Web management access only to clients connected to a specific VLAN Disable Web management access Configure SSL security for the Web Management Interface Set up local user accounts Establish SNMP read or read-write community strings for SNMP versions 1 and 2 Establishing user groups for SNMP version 3 Configure TACACS/TACACS+ security Configure RADIUS security
SNMP access
SNMP read or read-write community strings and the password to the Super User privilege level NOTE: SNMP read or read-write community strings are always required for SNMP access to the device.
Regulate SNMP access using ACLs Allow SNMP access only from specific IP addresses Disable SNMP access Allow SNMP access only to clients connected to a specific VLAN Establish passwords to management levels of the CLI Set up local user accounts Establish SNMP read or read-write community strings
111
TABLE 19
Access method
See page
TFTP access
Allow TFTP access only to clients connected to a specific VLAN Disable TFTP access
Using ACLs to restrict Telnet, Web Management Interface, or SNMP access Allowing remote access only from specific IP addresses Allowing Telnet and SSH access only from specific MAC addresses Allowing remote access only to clients connected to a specific VLAN Specifically disabling Telnet, Web Management Interface, or SNMP access to the device
The following sections describe how to restrict remote access to a Brocade device using these methods.
Consider the following to configure access control for these management access methods. 1. Configure an ACL with the IP addresses you want to allow to access the device. 2. Configure a Telnet access group, SSH access group, Web access group, and SNMP community strings. Each of these configuration items accepts an ACL as a parameter. The ACL contains entries that identify the IP addresses that can use the access method. The following sections present examples of how to secure management access using ACLs. Refer to Chapter 40, Rule-Based IP ACLs for more information on configuring ACLs.
112
Syntax: telnet access-group <num> The <num> parameter specifies the number of a standard ACL and must be from 1 99. The commands above configure ACL 10, then apply the ACL as the access list for Telnet access. The device allows Telnet access to all IP addresses except those listed in ACL 10. To configure a more restrictive ACL, create permit entries and omit the permit any entry at the end of the ACL.
Example
Brocade(config)#access-list 10 permit host 209.157.22.32 Brocade(config)#access-list 10 permit 209.157.23.0 0.0.0.255 Brocade(config)#access-list 10 permit 209.157.24.0 0.0.0.255 Brocade(config)#access-list 10 permit 209.157.25.0/24 Brocade(config)#telnet access-group 10 Brocade(config)#write memory
The ACL in this example permits Telnet access only to the IP addresses in the permit entries and denies Telnet access from all other IP addresses.
Syntax: ssh access-group <num> The <num> parameter specifies the number of a standard ACL and must be from 1 99. These commands configure ACL 12, then apply the ACL as the access list for SSH access. The device denies SSH access from the IP addresses listed in ACL 12 and permits SSH access from all other IP addresses. Without the last ACL entry for permitting all packets, this ACL would deny SSH access from all IP addresses. In this example, the command ssh access-group 10 could have been used to apply the ACL configured in the example for Telnet access. You can use the same ACL multiple times.
NOTE
113
Syntax: web access-group <num> The <num> parameter specifies the number of a standard ACL and must be from 1 99. These commands configure ACL 12, then apply the ACL as the access list for Web management access. The device denies Web management access from the IP addresses listed in ACL 12 and permits Web management access from all other IP addresses. Without the last ACL entry for permitting all packets, this ACL would deny Web management access from all IP addresses.
NOTE
The syntax for using ACLs for SNMP access is different from the syntax for controlling Telnet, SSH, and Web management access using ACLs.
Brocade(config)#access-list 25 deny host 209.157.22.98 log Brocade(config)#access-list 25 deny 209.157.23.0 0.0.0.255 log Brocade(config)#access-list 25 deny 209.157.24.0 0.0.0.255 log Brocade(config)#access-list 25 permit any Brocade(config)#access-list 30 deny 209.157.25.0 0.0.0.255 log Brocade(config)#access-list 30 deny 209.157.26.0/24 log Brocade(config)#access-list 30 permit any Brocade(config)#snmp-server community public ro 25 Brocade(config)#snmp-server community private rw 30 Brocade(config)#write memory
Syntax: snmp-server community <string> ro | rw <num> The <string> parameter specifies the SNMP community string the user must enter to gain SNMP access. The ro parameter indicates that the community string is for read-only (get) access. The rw parameter indicates the community string is for read-write (set) access. The <num> parameter specifies the number of a standard ACL and must be from 1 99. These commands configure ACLs 25 and 30, then apply the ACLs to community strings. ACL 25 is used to control read-only access using the public community string. ACL 30 is used to control read-write access using the private community string.
114
When snmp-server community is configured, all incoming SNMP packets are validated first by their community strings and then by their bound ACLs.
NOTE
NOTE
Syntax: [no] console timeout <0 240> Possible values: 0 240 minutes Default value: 0 minutes (no timeout) In RADIUS, the standard attribute Idle-Timeout is used to define the console session timeout value. The attribute Idle-Timeout value is specified in seconds. Within the switch, it is truncated to the nearest minute, because the switch configuration is defined in minutes.
NOTE
In addition, you can restrict all access methods to the same IP address using a single command. The following examples show the CLI commands for restricting remote access. You can specify only one IP address with each command. However, you can enter each command ten times to specify up to ten IP addresses. You cannot restrict remote management access using the Web Management Interface.
NOTE
115
116
NOTE
For FCX devices, this feature applies only to IPv4 clients. The following command allows Telnet access to the Brocade device to a host with any IP address and MAC address 0007.e90f.e9a0.
Brocade(config)#telnet client any 0007.e90f.e9a0
Syntax: [no] ip ssh client <ip-addr> | <ipv6-addr> <mac-addr> To allow SSH access to the Brocade device to a host with any IP address and MAC address 0007.e90f.e9a0, enter the following command.
Brocade(config)#ip ssh client any 0007.e90f.e9a0
Syntax: [no] web client <ip-addr> | <ipv6-addr> <mac-addr> The following command allows HTTP and HTTPS access to the Brocade device to a host with any IP address and MAC address 0007.e90f.10ba.
117
Syntax: [no] telnet timeout <minutes> For <minutes> enter a value from 0 240. The default value is 0 minutes (no timeout).
Syntax: [no] telnet login-timeout <minutes> For <minutes>, enter a value from 1 to 10. The default timeout period is 1 minute.
Syntax: [no] telnet login-retries <number> You can specify from 0 5 attempts. The default is 4 attempts.
Syntax: [no] telnet login-timeout <minutes> For <minutes>, specify a value from 1 10. The default is 2 minutes.
118
By default, access is allowed for all the methods listed above on all ports. Once you configure security for a given access method based on VLAN ID, access to the device using that method is restricted to only the ports within the specified VLAN. VLAN-based access control works in conjunction with other access control methods. For example, suppose you configure an ACL to permit Telnet access only to specific client IP addresses, and you also configure VLAN-based access control for Telnet access. In this case, the only Telnet clients that can access the device are clients that have one of the IP addresses permitted by the ACL and are connected to a port that is in a permitted VLAN. Clients who have a permitted IP address but are connected to a port in a VLAN that is not permitted still cannot access the device through Telnet.
The command in this example configures the device to allow Telnet management access only to clients connected to ports within port-based VLAN 10. Clients connected to ports that are not in VLAN 10 are denied management access. Syntax: [no] telnet server enable vlan <vlan-id>
The command in this example configures the device to allow Web management access only to clients connected to ports within port-based VLAN 10. Clients connected to ports that are not in VLAN 10 are denied management access. Syntax: [no] web-management enable vlan <vlan-id>
119
The command in this example configures the device to allow SNMP access only to clients connected to ports within port-based VLAN 40. Clients connected to ports that are not in VLAN 40 are denied access. Syntax: [no] snmp-server enable vlan <vlan-id>
The command in this example configures the device to allow TFTP access only to clients connected to ports within port-based VLAN 40. Clients connected to ports that are not in VLAN 40 are denied access. Syntax: [no] tftp client enable vlan <vlan-id>
NOTE
If you have already configured a default gateway globally and you do not configure a gateway in the VLAN, the software uses the globally configured gateway and gives the gateway a metric value of 1. To configure a designated management VLAN, enter commands such as the following.
Brocade(config)#vlan 10 by port Brocade(config-vlan-10)#untag ethernet 1/1 to 1/4 Brocade(config-vlan-10)#management-vlan Brocade(config-vlan-10)#default-gateway 10.10.10.1 1 Brocade(config-vlan-10)#default-gateway 20.20.20.1 2
120
These commands configure port-based VLAN 10 to consist of ports 1/1 1/4 and to be the designated management VLAN. The last two commands configure default gateways for the VLAN. Since the 10.10.10.1 gateway has a lower metric, the software uses this gateway. The other gateway remains in the configuration but is not used. You can use the other one by changing the metrics so that the 20.20.20.1 gateway has the lower metric. Syntax: [no] default-gateway <ip-addr> <metric> The <ip-addr> parameters specify the IP address of the gateway router. The <metric> parameter specifies the metric (cost) of the gateway. You can specify a value from 1 5. There is no default. The software uses the gateway with the lowest metric.
SSHv2 SNMP Web management through HTTP Web management through HTTPS
The commands for granting access to each of these management interfaces is described in the following.
Syntax: crypto key [generate | zeroize] The generate parameter generates a dsa key pair. The zeroize parameter deletes the currently operative dsa key pair. In addition, you must use AAA authentication to create a password to allow SSHv2 access. For example the following command configures AAA authentication to use TACACS+ for authentication as the default or local if TACACS+ is not available.
Brocade(config)#aaa authentication login default tacacs+ local
121
Brocade(config)#web-management http
Syntax: [no] web-management http | https When using the web-management command, specify the http or https parameters. The http parameter specifies that web management is enabled for HTTP access. The https parameter specifies that web management is enabled for HTTPS access.
Syntax: crypto-ssl certificate [generate | zeroize] Using the web-management command without the http or https option makes web management available for both. The generate parameter generates an ssl certificate. The zeroize parameter deletes the currently operative ssl certificate. To import a digital certificate issued by a third-party Certificate Authority (CA) and save it in the flash memory, use the following command.
Brocade(config)#ip ssl certificate-data-file tftp 10.10.10.1 cacert.pem
Syntax: ip ssl certificate-data-file tftp <ip-addr> <file-name> The <ip-addr> variable is the IP address of the TFTP server from which the digital certificate file is being downloaded. The <file-name> variable is the file name of the digital certificate that you are importing to the router.
If you disable Telnet access, you will not be able to access the CLI except through a serial connection to the management module. If you disable SNMP access, you will not be able to use an SNMP-based management applications.
NOTE
122
NOTE
As soon as you make this change, the device stops responding to Web management sessions. If you make this change using your Web browser, your browser can contact the device, but the device will not reply once the change takes place. To disable the Web Management Interface, enter the following command.
Brocade(config)#no web-management
Syntax: [no] web-management [http | https] Use the no web-management command with no option specified to disable both web management through http access and web management through https access. Use the command no web-management http to disable only web management through http access. Use the command no web-management https to disable only web management through https access.
Syntax: [no] web-management [allow-no-password | enable [vlan <vlan-id>] | front-panel | hp-top-tools | list-menu] The hp-top-tools parameter disables TCP port 280.
123
Syntax: no snmp-server
When TFTP is disabled, users are prohibited from using the copy tftp command to copy files to the system flash. If users enter this command while TFTP is disabled, the system will reject the command and display an error message. To re-enable TFTP client access once it is disabled, enter the following command.
Brocade(config)#no tftp disable
Telnet access can be secured by setting a Telnet password. Refer to Setting a Telnet
password on page 124.
Access to the Privileged EXEC and CONFIG levels of the CLI can be secured by setting
passwords for management privilege levels. Refer to Setting passwords for management privilege levels on page 125. This section also provides procedures for enhancing management privilege levels, recovering from a lost password, and disabling password encryption. You also can configure up to 16 user accounts consisting of a user name and password, and assign each user account a management privilege level. Refer to Local user accounts on page 129.
NOTE
124
Super User level Allows complete read-and-write access to the system. This is generally for
system administrators and is the only management privilege level that allows you to configure passwords.
Port Configuration level Allows read-and-write access for specific ports but not for global
(system-wide) parameters.
Read Only level Allows access to the Privileged EXEC mode and User EXEC mode of the CLI
but only with read access. You can assign a password to each management privilege level. You also can configure up to 16 user accounts consisting of a user name and password, and assign each user account to one of the three privilege levels. Refer to Local user accounts on page 129. You must use the CLI to assign a password for management privilege levels. You cannot assign a password using the Web Management Interface. If you configure user accounts in addition to privilege level passwords, the device will validate a user access attempt using one or both methods (local user account or privilege level password), depending on the order you specify in the authentication-method lists. Refer to Authentication-method lists on page 174. Follow the steps given below to set passwords for management privilege levels. 1. At the opening CLI prompt, enter the following command to change to the Privileged level of the EXEC mode.
Brocade> enable Brocade#
NOTE
2. Access the CONFIG level of the CLI by entering the following command.
Brocade#configure terminal Brocade(config)#
3. Enter the following command to set the Super User level password.
125
NOTE
You must set the Super User level password before you can set other types of passwords. The Super User level password can be an alphanumeric string, but cannot begin with a number. 4. Enter the following commands to set the Port Configuration level and Read Only level passwords.
Brocade(config)#enable port-config-password <text> Brocade(config)#enable read-only-password <text>
Syntax: enable super-user-password <text> Syntax: enable port-config-password <text> Syntax: enable read-only-password <text>
NOTE
If you forget your Super User level password, refer to Recovering from a lost password on page 127.
Super User level provides access to all commands and displays. Port Configuration level gives access to: The User EXEC and Privileged EXEC levels The port-specific parts of the CONFIG level All interface configuration levels Read Only level gives access to: The User EXEC and Privileged EXEC levels
You can grant additional access to a privilege level on an individual command basis. To grant the additional access, you specify the privilege level you are enhancing, the CLI level that contains the command, and the individual command.
NOTE
This feature applies only to management privilege levels on the CLI. You cannot augment management access levels for the Web Management Interface. Enhance the Port Configuration privilege level so users also can enter IP commands at the global CONFIG level.
Brocade(config)#privilege configure level 4 ip
In this command, configure specifies that the enhanced access is for a command at the global CONFIG level of the CLI. The level 4 parameter indicates that the enhanced access is for management privilege level 4 (Port Configuration). All users with Port Configuration privileges will have the enhanced access. The ip parameter indicates that the enhanced access is for the IP commands. Users who log in with valid Port Configuration level user names and passwords can enter commands that begin with ip at the global CONFIG level.
126
Syntax: [no] privilege <cli-level> level <privilege-level> <command-string> The <cli-level> parameter specifies the CLI level and can be one of the following values:
exec EXEC level; for example, Brocade> or Brocade# configure CONFIG level; for example, Brocade(config)# interface Interface level; for example, Brocade(config-if-6)# loopback-interface loopback interface level virtual-interface Virtual-interface level; for example, Brocade(config-vif-6)# dot1x 802.1X configuration level ipv6-access-list IPv6 access list configuration level rip-router RIP router level; for example, Brocade(config-rip-router)# ospf-router OSPF router level; for example, Brocade(config-ospf-router)# dvmrp-router DVMRP router level; for example, Brocade(config-dvmrp-router)# pim-router PIM router level; for example, Brocade(config-pim-router)# bgp-router BGP4 router level; for example, Brocade(config-bgp-router)# vrrp-router VRRP configuration level gvrp GVRP configuration level trunk trunk configuration level port-vlan Port-based VLAN level; for example, Brocade(config-vlan)# protocol-vlan Protocol-based VLAN level
The <privilege-level> indicates the number of the management privilege level you are augmenting. You can specify one of the following:
0 Super User level (full read-write access) 4 Port Configuration level 5 Read Only level
The <command-string> parameter specifies the command you are allowing users with the specified privilege level to enter. To display a list of the commands at a CLI level, enter ? at that level's command prompt.
NOTE
127
5. Enter boot system flash primary at the prompt. On ICX 6430 and ICX 6450 devices, enter boot_primary. 6. After the console prompt reappears, assign a new password.
The enable password-display command enables display of the community string, but only in the output of the show snmp server command. Display of the string is still encrypted in the startup-config file and running-config. Enter the command at the global CONFIG level of the CLI.
128
A password A management privilege level, which can be one of the following: Super User level (default) Allows complete read-and-write access to the system. This is
generally for system administrators and is the only privilege level that allows you to configure passwords.
Port Configuration level Allows read-and-write access for specific ports but not for global
parameters.
Read Only level Allows access to the Privileged EXEC mode and User EXEC mode with
read access only.
You can set additional username and password rules. Refer to Enhancements to username
and password.
Users are required to accept the message of the day. Users are locked out (disabled) if they fail to login after three attempts. This feature is
automatically enabled. Use the disable-on-login-failure command to change the number of login attempts (up to 10) before users are locked out. The following rules are disabled by default:
129
Quarterly updates of user passwords You can configure the system to store up to 15 previously configured passwords for each user. You can use the disable-on-login-failure command to change the number of login attempts (up
to 10) before users are locked out.
At least two upper case characters At least two lower case characters At least two numeric characters At least two special characters
NOTE
Password minimum and combination requirements are strictly enforced. Use the enable strict-password-enforcement command to enable the password security feature.
Brocade(config)#enable strict-password-enforcement
Syntax: [no] enable strict-password-enforcement This feature is disabled by default. The following security upgrades apply to the enable strict-password-enforcement command:
Passwords must not share four or more concurrent characters with any other password
configured on the router. If the user tries to create a password with four or more concurrent characters, the following error message will be returned.
Error - The substring <str> within the password has been used earlier, please choose a different password.
For example, the previous password was Ma!i4aYa&, the user cannot use any of the following as his or her new password:
Ma!imai$D because Mail were used consecutively in the previous password &3B9aYa& because aYa& were used consecutively in the previous password i4aYEv#8 because i4aY were used consecutively in the previous password If the user tries to configure a password that was previously used, the Local User Account
configuration will not be allowed and the following message will be displayed.
This password was used earlier for same or different user, please choose a different password.
130
The following shows the CLI behavior when configuring a username and password when password-masking is enabled.
Brocade(config)#username kelly password Enter Password: ********
NOTE
When password masking is enabled, press the [Enter] key before entering the password. Syntax: username <name> password [Enter] For [Enter], press the Enter key. Enter the password when prompted. If strict-password-enforcement is enabled, enter a password which contains the required character combination. Refer to Enabling enhanced user password combination requirements on page 130. To enable password masking, enter the following command.
Brocade(config)#enable user password-masking
The password aging feature uses the SNTP server clock to record the set-time. If the network does not have an SNTP server, then set-time will appear as set-time 0 in the output of the show running configuration command. A username set-time configuration is removed when:
131
The username and password is deleted from the configuration The username password expires
When a username set-time configuration is removed, it no longer appears in the show running configuration output. Note that if a username does not have an assigned password, the username will not have a set-time configuration. Password aging is disabled by default. To enable it, enter the following command at the global CONFIG level of the CLI.
Brocade(config)#enable user password-aging
Syntax: enable user disable-on-login-failure <1 10> To re-enable a user that has been locked out, do one of the following:
Reboot the Brocade device to re-enable all disabled users. Enable the user by entering the following command.
Brocade(config)#username sandy enable
132
Example
Brocade(config)#user sandy enable Brocade#show user Username Password Encrypt Priv Status Expire Time ============================================================================ == sandy $1$Gz...uX/$wQ44fVGtsqbKWkQknzAZ6. enabled 0 enabled 90 days
Syntax: username <name> expires <days> Enter 1 365 for number of days. The default is 90 days.
Example
Brocade(config)#username sandy expires 20 Brocade#show user Username Password Encrypt Priv Status Expire Time ================================================================================ == sandy $1$Gz...uX/$wQ44fVGtsqbKWkQknzAZ6. enabled 0 enabled 20 days
NOTE
133
You must grant Super User level privilege to at least one account before you add accounts with other privilege levels. You need the Super User account to make further administrative changes.
NOTE
If password masking is enabled, press the [Enter] key before entering the password.
Brocade(config)#username wonka Enter Password: willy
The above commands add a local user account with the user name wonka and the password willy. This account has the Super User privilege level; this user has full access to all configuration and display features.
Brocade(config)#username waldo privilege 5 password whereis
This command adds a user account for user name waldo, password whereis, with the Read Only privilege level. Waldo can look for information but cannot make configuration changes. Syntax: [no] username <user-string> privilege <privilege-level> password | nopassword <password-string> You can enter up to 48 characters for <user-string>. The privilege <privilege-level> parameter specifies the privilege level for the account. You can specify one of the following:
0 Super User level (full read-write access) 4 Port Configuration level 5 Read Only level
The default privilege level is 0. If you want to assign Super User level access to the account, you can enter the command without privilege 0, as shown in the command example above. The password | nopassword parameter indicates whether the user must enter a password. If you specify password, enter the string for the user's password. You can enter up to 48 characters for <password-string>. If strict password enforcement is enabled on the device, you must enter a minimum of eight characters containing the following combinations:
At least two upper case characters At least two lower case characters
134
Issuing the service password-encryption command after creating the local user account with a
username <user-string> [privilege <privilege-level>] password 0 command
Syntax: [no] username <user-string> [privilege <privilege-level>] create-password <password-string> You can enter up to 48 characters for <user-string>. This string can be alphanumeric or all-numeric. The privilege parameter specifies the privilege level for the account. You can specify one of the following:
135
NOTE
You must be logged on with Super User access (privilege level 0) to change user passwords.
Brocade(config)#username wonka password willy
If password masking is enabled, enter the username, press the [Enter] key, then enter the password.
Brocade(config)#username wonka password Enter Password: willy
The above commands change wonka's user name password to willy. Syntax: [no] username <user-string> password <password-string> Enter up to 48 characters for <user-string>. The <password-string> parameter is the user password. The password can be up to 48 characters and must differ from the current password and two previously configured passwords. When a password is changed, a message such as the following is sent to the Syslog.
SYSLOG: <14>Jan 1 00:00:00 10.44.9.11 Security: Password has been changed for user tester from console session.
The message includes the name of the user whose password was changed and during which session type, such as Console, Telnet, SSH, Web, SNMP, or others, the password was changed.
Importing an RSA certificate and private key file from a client (optional) Generating a certificate
136 FastIron Configuration Guide 53-1002494-01
Syntax: [no] web-management http | https You can enable either the HTTP or HTTPs servers with this command. You can disable both the HTTP and HTTPs servers by entering the following command.
Brocade(config)#no web-management
Syntax: no web-management
Syntax: [no] ip ssl port <port-number> The default port for SSL communication is 443.
NOTE
The SSL server certificate key size applies only to digital certificates issued by Brocade and does not apply to imported certificates.
137
Syntax: [no] ip ssl certificate-data-file tftp <ip-addr> <certificate-filename> The digital certificate can be up to 4096 bits. Refer to Support for SSL digital certificates larger than 2048 bits on page 138. To import an RSA private key from a client using TFTP, enter a command such as the following.
Brocade(config)#ip ssl private-key-file tftp 192.168.9.210 keyfile
NOTE
Syntax: [no] ip ssl private-key-file tftp <ip-addr> <key-filename> The <ip-addr> is the IP address of a TFTP server that contains the digital certificate or private key. The RSA key can be up to 4096 bits.
NOTE
Syntax: [no] crypto-ssl certificate generate If you did not already import a digital certificate from a client, the device can create a default certificate. To do this, enter the following command.
Brocade(config)#crypto-ssl certificate generate default_cert
138
Telnet access SSH access Console access Web management access Access to the Privileged EXEC level and CONFIG levels of the CLI
The TACACS and TACACS+ protocols define how authentication, authorization, and accounting information is sent between a Brocade device and an authentication database on a TACACS/TACACS+ server. TACACS/TACACS+ services are maintained in a database, typically on a UNIX workstation or PC with a TACACS/TACACS+ server running.
NOTE
139
If you are using TACACS+, Brocade recommends that you also configure authorization, in which the Brocade device consults a TACACS+ server to determine which management privilege level (and which associated set of commands) an authenticated user is allowed to use. You can also optionally configure accounting, which causes the Brocade device to log information on the TACACS+ server when specified events occur on the device. By default, a user logging into the device from Telnet or SSH would first enter the User EXEC level. The user can enter the enable command to get to the Privileged EXEC level. A user that is successfully authenticated can be automatically placed at the Privileged EXEC level after login. Refer to Entering privileged EXEC mode after a Telnet or SSH login on page 150.
NOTE
all - logs out all console port on stack units that are not the Active Controller unit - logs out the console port on a specified unit
Once AAA console is enabled, you should log out any open console ports on your IronStack using the kill console command:
Brocade(config)#kill console all
In case a user forgets to log out or a console is left unattended, you can also configure the console timeout (in minutes) on all stack units (including the Active Controller).
Brocade(config)#stack unit 3 Brocade(config-unit-3)#console timeout 5 Brocade(config-unit-3)#exit Brocade(config)#stack unit 4 Brocade(config-unit-4)#console timeout 5
Use the show who and the show telnet commands to confirm the status of console sessions.
140
stack9#show who Console connections (by unit number): 1 established you are connecting to this session 4 seconds in idle 2 established 1 hours 3 minutes 12 seconds in idle 3 established 1 hours 3 minutes 9 seconds in idle 4 established 1 hours 3 minutes 3 seconds in idle Telnet connections (inbound): 1 closed 2 closed 3 closed 4 closed 5 closed Telnet connection (outbound): 6 closed SSH connections: 1 closed 2 closed 3 closed 4 closed 5 closed stack9# stack9#show telnet Console connections (by unit number): 1 established you are connecting to this session 1 minutes 5 seconds in idle 2 established 1 hours 4 minutes 18 seconds in idle 3 established 1 hours 4 minutes 15 seconds in idle 4 established 1 hours 4 minutes 9 seconds in idle Telnet connections (inbound): 1 closed 2 closed 3 closed 4 closed 5 closed Telnet connection (outbound): 6 closed SSH connections: 1 closed 2 closed 3 closed 4 closed 5 closed stack9#
141
TACACS authentication
NOTE
Also, multiple challenges are supported for TACACS+ login authentication. When TACACS authentication takes place, the following events occur. 1. A user attempts to gain access to the Brocade device by doing one of the following:
Logging into the device using Telnet, SSH, or the Web Management Interface Entering the Privileged EXEC level or CONFIG level of the CLI
2. The user is prompted for a username and password. 3. The user enters a username and password. 4. The Brocade device sends a request containing the username and password to the TACACS server. 5. The username and password are validated in the TACACS server database. 6. If the password is valid, the user is authenticated.
TACACS+ authentication
When TACACS+ authentication takes place, the following events occur. 1. A user attempts to gain access to the Brocade device by doing one of the following:
Logging into the device using Telnet, SSH, or the Web Management Interface Entering the Privileged EXEC level or CONFIG level of the CLI
2. The user is prompted for a username. 3. The user enters a username. 4. The Brocade device obtains a password prompt from a TACACS+ server. 5. The user is prompted for a password. 6. The user enters a password. 7. The Brocade device sends the password to the TACACS+ server. 8. The password is validated in the TACACS+ server database. 9. If the password is valid, the user is authenticated.
TACACS+ authorization
Brocade devices support two kinds of TACACS+ authorization:
Exec authorization determines a user privilege level when they are authenticated Command authorization consults a TACACS+ server to get authorization for commands entered
by the user When TACACS+ exec authorization takes place, the following events occur. 1. A user logs into the Brocade device using Telnet, SSH, or the Web Management Interface 2. The user is authenticated.
142
3. The Brocade device consults the TACACS+ server to determine the privilege level of the user. 4. The TACACS+ server sends back a response containing an A-V (Attribute-Value) pair with the privilege level of the user. 5. The user is granted the specified privilege level. When TACACS+ command authorization takes place, the following events occur. 1. A Telnet, SSH, or Web Management Interface user previously authenticated by a TACACS+ server enters a command on the Brocade device. 2. The Brocade device looks at its configuration to see if the command is at a privilege level that requires TACACS+ command authorization. 3. If the command belongs to a privilege level that requires authorization, the Brocade device consults the TACACS+ server to see if the user is authorized to use the command. 4. If the user is authorized to use the command, the command is executed.
TACACS+ accounting
TACACS+ accounting works as follows. 1. One of the following events occur on the Brocade device:
A user logs into the management interface using Telnet or SSH A user enters a command for which accounting has been configured A system event occurs, such as a reboot or reloading of the configuration file
2. The Brocade device checks the configuration to see if the event is one for which TACACS+ accounting is required. 3. If the event requires TACACS+ accounting, the Brocade device sends a TACACS+ Accounting Start packet to the TACACS+ accounting server, containing information about the event. 4. The TACACS+ accounting server acknowledges the Accounting Start packet. 5. The TACACS+ accounting server records information about the event. 6. When the event is concluded, the Brocade device sends an Accounting Stop packet to the TACACS+ accounting server. 7. The TACACS+ accounting server acknowledges the Accounting Stop packet.
143
User action
User attempts to gain access to the Privileged EXEC and CONFIG levels of the CLI
Login authentication: aaa authentication login default <method-list> Exec authorization (TACACS+): aaa authorization exec default tacacs+ Exec accounting start (TACACS+): aaa accounting exec default <method-list> System accounting start (TACACS+): aaa accounting system default start-stop <method-list>
Web authentication: aaa authentication web-server default <method-list> Exec authorization (TACACS+): aaa authorization exec default tacacs+
Command accounting (TACACS+): aaa accounting commands <privilege-level> default start-stop <method-list> EXEC accounting stop (TACACS+): aaa accounting exec default start-stop <method-list> Command authorization (TACACS+): aaa authorization commands <privilege-level> default <method-list> Command accounting (TACACS+): aaa accounting commands <privilege-level> default start-stop <method-list> System accounting stop (TACACS+): aaa accounting system default start-stop <method-list>
User enters the command: [no] aaa accounting system default start-stop <method-list>
Command authorization (TACACS+): aaa authorization commands <privilege-level> default <method-list> Command accounting (TACACS+): aaa accounting commands <privilege-level> default start-stop <method-list> System accounting start (TACACS+): aaa accounting system default start-stop <method-list> Command authorization (TACACS+): aaa authorization commands <privilege-level> default <method-list> Command accounting (TACACS+): aaa accounting commands <privilege-level> default start-stop <method-list>
144
You can select only one primary authentication method for each type of access to a device (CLI
through Telnet, CLI Privileged EXEC and CONFIG levels). For example, you can select TACACS+ as the primary authentication method for Telnet CLI access, but you cannot also select RADIUS authentication as a primary method for the same type of access. However, you can configure backup authentication methods for each access type.
You can configure the Brocade device to authenticate using a TACACS or TACACS+ server, not
both.
Configuring TACACS
Follow the procedure given below for TACACS configurations. 1. Identify TACACS servers. Refer to Identifying the TACACS/TACACS+ servers on page 146. 2. Set optional parameters. Refer to Setting optional TACACS and TACACS+ parameters on page 147. 3. Configure authentication-method lists. Refer to Configuring authentication-method lists for TACACS and TACACS+ on page 149.
Configuring TACACS+
Follow the procedure given below for TACACS+ configurations. 1. Identify TACACS+ servers. Refer to Identifying the TACACS/TACACS+ servers on page 146. 2. Set optional parameters. Refer to Setting optional TACACS and TACACS+ parameters on page 147. 3. Configure authentication-method lists. Refer to Configuring authentication-method lists for TACACS and TACACS+ on page 149. 4. Optionally configure TACACS+ authorization. Refer to Configuring TACACS+ authorization on page 151. 5. Optionally configure TACACS+ accounting. Refer to TACACS+ accounting configuration on page 154.
145
Enabling TACACS
TACACS is disabled by default. To configure TACACS/TACACS+ authentication parameters, you must enable TACACS by entering the following command.
Brocade(config)#enable snmp config-tacacs
Syntax: [no] enable snmp <config-radius | config-tacacs> The <config-radius> parameter specifies the RADIUS configuration mode. RADIUS is disabled by default. The <config-tacacs> parameter specifies the TACACS configuration mode. TACACS is disabled by default.
Syntax: tacacs-server host <ip-addr> | <ipv6-addr> | <hostname> [auth-port <number>] The <ip-addr>|<ipv6-addr>|<hostname> parameter specifies the IP address or host name of the server. You can enter up to eight tacacs-server host commands to specify up to eight different servers. To specify the server's host name instead of its IP address, you must first identify a DNS server using the ip dns server-address <ip-addr> command at the global CONFIG level. If you add multiple TACACS/TACACS+ authentication servers to the Brocade device, the device tries to reach them in the order you add them. For example, if you add three servers in the following order, the software tries the servers in the same order. 1. 207.94.6.161 2. 207.94.6.191 3. 207.94.6.122 You can remove a TACACS/TACACS+ server by entering no followed by the tacacs-server command. For example, to remove 207.94.6.161, enter the following command.
Brocade(config)#no tacacs-server host 207.94.6.161
NOTE
If you erase a tacacs-server command (by entering no followed by the command), make sure you also erase the aaa commands that specify TACACS/TACACS+ as an authentication method. (Refer to Configuring authentication-method lists for TACACS and TACACS+ on page 149.) Otherwise, when you exit from the CONFIG mode or from a Telnet session, the system continues to believe it is TACACS/TACACS+ enabled and you will not be able to access the system.
NOTE
146
The auth-port parameter specifies the UDP (for TACACS) or TCP (for TACACS+) port number of the authentication port on the server. The default port number is 49.
Syntax: tacacs-server host <ip-addr> | <ipv6-addr> | <server-name> [auth-port <num>] [authentication-only | authorization-only | accounting-only | default] [key 0 | 1 <string>] The default parameter causes the server to be used for all AAA functions. After authentication takes place, the server that performed the authentication is used for authorization and accounting. If the authenticating server cannot perform the requested function, then the next server in the configured list of servers is tried; this process repeats until a server that can perform the requested function is found, or every server in the configured list has been tried.
TACACS+ key This parameter specifies the value that the Brocade device sends to the
TACACS+ server when trying to authenticate user access.
Retransmit interval This parameter specifies how many times the Brocade device will resend
an authentication request when the TACACS/TACACS+ server does not respond. The retransmit value can be from 1 5 times. The default is 3 times.
Dead time This parameter specifies how long the Brocade device waits for the primary
authentication server to reply before deciding the server is dead and trying to authenticate using the next server. The dead-time value can be from 1 5 seconds. The default is 3 seconds.
Timeout This parameter specifies how many seconds the Brocade device waits for a
response from a TACACS/TACACS+ server before either retrying the authentication request, or determining that the TACACS/TACACS+ servers are unavailable and moving on to the next authentication method in the authentication-method list. The timeout can be from 1 15 seconds. The default is 3 seconds.
147
NOTE
Syntax: tacacs-server key [0 | 1] <string> When you display the configuration of the Brocade device, the TACACS+ keys are encrypted. For example.
Brocade(config)#tacacs-server key 1 abc Brocade(config)#write terminal ... tacacs-server host 1.2.3.5 auth-port 49 tacacs key 1 $!2d
Encryption of the TACACS+ keys is done by default. The 0 parameter disables encryption. The 1 parameter is not required; it is provided for backwards compatibility.
NOTE
148
The commands above cause TACACS/TACACS+ to be the primary authentication method for securing Telnet/SSH access to the CLI. If TACACS/TACACS+ authentication fails due to an error with the server, authentication is performed using local user accounts instead. To create an authentication-method list that specifies TACACS/TACACS+ as the primary authentication method for securing access to Privileged EXEC level and CONFIG levels of the CLI.
Brocade(config)#aaa authentication enable default tacacs local none
The command above causes TACACS/TACACS+ to be the primary authentication method for securing access to Privileged EXEC level and CONFIG levels of the CLI. If TACACS/TACACS+ authentication fails due to an error with the server, local authentication is used instead. If local authentication fails, no authentication is used; the device automatically permits access. Syntax: [no] aaa authentication enable | login default <method1> [<method2>] [<method3>] [<method4>] [<method5>] [<method6>] [<method7>] The web-server | enable | login parameter specifies the type of access this authentication-method list controls. You can configure one authentication-method list for each type of access. If you configure authentication for Web management access, authentication is performed each time a page is requested from the server. When frames are enabled on the Web Management Interface, the browser sends an HTTP request for each frame. The Brocade device authenticates each HTTP request from the browser. To limit authentications to one per page, disable frames on the Web Management Interface. The <method1> parameter specifies the primary authentication method. The remaining optional <method> parameters specify additional methods to try if an error occurs with the primary method. A method can be one of the values listed in the Method Parameter column in the following table.
NOTE
149
TABLE 20
line
Method parameter
enable
local
NOTE
For examples of how to define authentication-method lists for types of authentication other than TACACS/TACACS+, refer to Authentication-method lists on page 174.
Syntax: aaa authentication login privilege-mode The user privilege level is based on the privilege level granted during login.
150
If the next method in the authentication method list is "enable", the login prompt is skipped,
and the user is prompted for the Enable password (that is, the password configured with the enable super-user-password command).
If the next method in the authentication method list is "line", the login prompt is skipped, and
the user is prompted for the Line password (that is, the password configured with the enable telnet password command).
Exec authorization determines a user privilege level when they are authenticated Command authorization consults a TACACS+ server to get authorization for commands entered
by the user
Syntax: aaa authorization exec default tacacs+ | none If you specify none, or omit the aaa authorization exec command from the device configuration, no exec authorization is performed. A user privilege level is obtained from the TACACS+ server in the foundry-privlvl A-V pair. If the aaa authorization exec default tacacs command exists in the configuration, the device assigns the user the privilege level specified by this A-V pair. If the command does not exist in the configuration, then the value in the foundry-privlvl A-V pair is ignored, and the user is granted Super User access. If the aaa authorization exec default tacacs+ command exists in the configuration, following successful authentication the device assigns the user the privilege level specified by the foundry-privlvl A-V pair received from the TACACS+ server. If the aaa authorization exec default tacacs+ command does not exist in the configuration, then the value in the foundry-privlvl A-V pair is ignored, and the user is granted Super User access. Also note that in order for the aaa authorization exec default tacacs+ command to work, either the aaa authentication enable default tacacs+ command, or the aaa authentication login privilege-mode command must also exist in the configuration.
NOTE
151
Configuring an Attribute-Value pair on the TACACS+ server During TACACS+ exec authorization, the Brocade device expects the TACACS+ server to send a response containing an A-V (Attribute-Value) pair that specifies the privilege level of the user. When the Brocade device receives the response, it extracts an A-V pair configured for the Exec service and uses it to determine the user privilege level. To set a user privilege level, you can configure the foundry-privlvl A-V pair for the Exec service on the TACACS+ server.
Example
user=bob { default service = permit member admin #Global password global = cleartext "cat" service = exec { foundry-privlvl = 0 } }
In this example, the A-V pair foundry-privlvl = 0 grants the user full read-write access. The value in the foundry-privlvl A-V pair is an integer that indicates the privilege level of the user. Possible values are 0 for super-user level, 4 for port-config level, or 5 for read-only level. If a value other than 0, 4, or 5 is specified in the foundry-privlvl A-V pair, the default privilege level of 5 (read-only) is used. The foundry-privlvl A-V pair can also be embedded in the group configuration for the user. See your TACACS+ documentation for the configuration syntax relevant to your server. If the foundry-privlvl A-V pair is not present, the Brocade device extracts the last A-V pair configured for the Exec service that has a numeric value. The Brocade device uses this A-V pair to determine the user privilege level.
Example
user=bob { default service = permit member admin #Global password global = cleartext "cat" service = exec { privlvl = 15 } }
The attribute name in the A-V pair is not significant; the Brocade device uses the last one that has a numeric value. However, the Brocade device interprets the value for a non-foundry-privlvl A-V pair differently than it does for a foundry-privlvl A-V pair. The following table lists how the Brocade device associates a value from a non-foundry-privlvl A-V pair with a Brocade privilege level.
TABLE 21
15 From 14 1
152
In the example above, the A-V pair configured for the Exec service is privlvl = 15. The Brocade device uses the value in this A-V pair to set the user privilege level to 0 (super-user), granting the user full read-write access. In a configuration that has both a foundry-privlvl A-V pair and a non-foundry-privlvl A-V pair for the Exec service, the non-foundry-privlvl A-V pair is ignored.
Example
user=bob { default service = permit member admin #Global password global = cleartext "cat" service = exec { foundry-privlvl = 4 privlvl = 15 } }
In this example, the user would be granted a privilege level of 4 (port-config level). The privlvl = 15 A-V pair is ignored by the Brocade device. If the TACACS+ server has no A-V pair configured for the Exec service, the default privilege level of 5 (read-only) is used.
Syntax: aaa authorization commands <privilege-level> default tacacs+ | radius | none The <privilege-level> parameter can be one of the following:
0 Authorization is performed for commands available at the Super User level (all commands) 4 Authorization is performed for commands available at the Port Configuration level
(port-config and read-only commands)
5 Authorization is performed for commands available at the Read Only level (read-only
commands) TACACS+ command authorization can be performed only for commands entered from Telnet or SSH sessions, or from the console. No authorization is performed for commands entered at the Web Management Interface. TACACS+ command authorization is not performed for the following commands:
NOTE
At all levels: exit, logout, end, and quit. At the Privileged EXEC level: enable or enable <text>, where <text> is the password configured
for the Super User privilege level.
153
If configured, command accounting is performed for these commands. AAA support for console commands This feature is not supported on FastIron WS Series devices. AAA support for commands entered at the console includes the following:
NOTE
Login prompt that uses AAA authentication, using authentication-method Lists Exec Authorization Exec Accounting Command authorization Command accounting System Accounting
To enable AAA support for commands entered at the console, enter the following command.
Brocade(config)#enable aaa console
An Accounting Start packet is sent to the TACACS+ accounting server when a user enters a command, and an Accounting Stop packet is sent when the service provided by the command is completed.
154
If authorization is enabled, and the command requires authorization, then authorization is performed before accounting takes place. If authorization fails for the command, no accounting takes place. Syntax: aaa accounting commands <privilege-level> default start-stop radius | tacacs+ | none The <privilege-level> parameter can be one of the following:
NOTE
0 Records commands available at the Super User level (all commands) 4 Records commands available at the Port Configuration level (port-config and read-only
commands)
Configuring an interface as the source for all TACACS and TACACS+ packets
You can designate the lowest-numbered IP address configured an Ethernet port, loopback interface, or virtual interface as the source IP address for all TACACS/TACACS+ packets from the Layer 3 Switch. For configuration details, see Specifying a single source interface for specified packet types on page 971.
155
The following table describes the TACACS/TACACS+ information displayed by the show aaa command.
TABLE 22
Field
Tacacs+ key
connection
156
RADIUS security
The show web connection command displays the privilege level of Web Management Interface users.
Example
Brocade#show web-connection We management Sessions: User Privilege IP address roy READ-WRITE 10.1.1.3
Connection HTTPS
Syntax: show web connection Use the following command to clear web connections:
Brocade#clear web-connection
Syntax: clear web connection After issuing the clear web connection command, the show web connection command displays the following output:
Brocade#show web-connection No WEB-MANAGEMENT sessions are currently established!
RADIUS security
You can use a Remote Authentication Dial In User Service (RADIUS) server to secure the following types of access to the Brocade Layer 2 Switch or Layer 3 Switch:
Telnet access SSH access Web management access Access to the Privileged EXEC level and CONFIG levels of the CLI
RADIUS authentication
When RADIUS authentication takes place, the following events occur. 1. A user attempts to gain access to the Brocade device by doing one of the following:
Logging into the device using Telnet, SSH, or the Web Management Interface Entering the Privileged EXEC level or CONFIG level of the CLI
2. The user is prompted for a username and password.
157
RADIUS security
3. The user enters a username and password. 4. The Brocade device sends a RADIUS Access-Request packet containing the username and password to the RADIUS server. 5. The RADIUS server validates the Brocade device using a shared secret (the RADIUS key). 6. The RADIUS server looks up the username in its database. 7. If the username is found in the database, the RADIUS server validates the password. 8. If the password is valid, the RADIUS server sends an Access-Accept packet to the Brocade device, authenticating the user. Within the Access-Accept packet are three Brocade vendor-specific attributes that indicate:
The privilege level of the user A list of commands Whether the user is allowed or denied usage of the commands in the list
The last two attributes are used with RADIUS authorization, if configured. 9. The user is authenticated, and the information supplied in the Access-Accept packet for the user is stored on the Brocade device. The user is granted the specified privilege level. If you configure RADIUS authorization, the user is allowed or denied usage of the commands in the list.
RADIUS authorization
When RADIUS authorization takes place, the following events occur. 1. A user previously authenticated by a RADIUS server enters a command on the Brocade device. 2. The Brocade device looks at its configuration to see if the command is at a privilege level that requires RADIUS command authorization. 3. If the command belongs to a privilege level that requires authorization, the Brocade device looks at the list of commands delivered to it in the RADIUS Access-Accept packet when the user was authenticated. (Along with the command list, an attribute was sent that specifies whether the user is permitted or denied usage of the commands in the list.)
NOTE
After RADIUS authentication takes place, the command list resides on the Brocade device. The RADIUS server is not consulted again once the user has been authenticated. This means that any changes made to the user command list on the RADIUS server are not reflected until the next time the user is authenticated by the RADIUS server, and the new command list is sent to the Brocade device. 4. If the command list indicates that the user is authorized to use the command, the command is executed.
RADIUS accounting
RADIUS accounting works as follows. 1. One of the following events occur on the Brocade device:
A user logs into the management interface using Telnet or SSH A user enters a command for which accounting has been configured
158 FastIron Configuration Guide 53-1002494-01
RADIUS security
User logs into the Web Management Interface User logs out of Telnet/SSH session
Web authentication: aaa authentication web-server default <method-list> Command authorization for logout command: aaa authorization commands <privilege-level> default <method-list> Command accounting: aaa accounting commands <privilege-level> default start-stop <method-list> EXEC accounting stop: aaa accounting exec default start-stop <method-list>
Command authorization: aaa authorization commands <privilege-level> default <method-list> Command accounting: aaa accounting commands <privilege-level> default start-stop <method-list> System accounting stop: aaa accounting system default start-stop <method-list>
159
RADIUS security
User action
User enters the command: Command authorization: [no] aaa accounting system default aaa authorization commands <privilege-level> default <method-list> start-stop <method-list> Command accounting: aaa accounting commands <privilege-level> default start-stop <method-list> System accounting start: aaa accounting system default start-stop <method-list> User enters other commands Command authorization: aaa authorization commands <privilege-level> default <method-list> Command accounting: aaa accounting commands <privilege-level> default start-stop <method-list>
NOTE
You can optionally configure a RADIUS server as a port server, indicating that the server will be
used only to authenticate users on ports to which it is mapped, as opposed to globally authenticating users on all ports of the device. In earlier releases, all configured RADIUS servers are global servers and apply to users on all ports of the device. Refer to RADIUS server per port on page 164.
You can map up to eight RADIUS servers to each port on the Brocade device. The port will
authenticate users using only the RADIUS servers to which it is mapped. If there are no RADIUS servers mapped to a port, it will use the global servers for authentication. In earlier releases, all RADIUS servers are global servers and cannot be bound to individual ports. Refer to RADIUS server to individual ports mapping on page 165.
160
RADIUS security
You can select only one primary authentication method for each type of access to a device (CLI
through Telnet, CLI Privileged EXEC and CONFIG levels). For example, you can select RADIUS as the primary authentication method for Telnet CLI access, but you cannot also select TACACS+ authentication as the primary method for the same type of access. However, you can configure backup authentication methods for each access type.
Configuring RADIUS
Follow the procedure given below to configure a Brocade device for RADIUS. 1. Configure Brocade vendor-specific attributes on the RADIUS server. Refer to Brocade-specific attributes on the RADIUS server on page 161. 2. Identify the RADIUS server to the Brocade device. Refer to Identifying the RADIUS server to the Brocade device on page 163. 3. Optionally specify different servers for individual AAA functions. Refer to Specifying different servers for individual AAA functions on page 163. 4. Optionally configure the RADIUS server as a port only server. Refer to RADIUS server per port on page 164. 5. Optionally bind the RADIUS servers to ports on the Brocade device. Refer to RADIUS server to individual ports mapping on page 165. 6. Set RADIUS parameters. Refer to RADIUS parameters on page 166. 7. Configure authentication-method lists. Refer to Setting authentication-method lists for RADIUS on page 167.
8. Optionally configure RADIUS authorization. Refer to RADIUS authorization on page 169. 9. Optionally configure RADIUS accounting. RADIUS accounting on page 171.
The privilege level of the user A list of commands Whether the user is allowed or denied usage of the commands in the list
You must add these three Brocade vendor-specific attributes to your RADIUS server configuration, and configure the attributes in the individual or group profiles of the users that will access the Brocade device. Brocade Vendor-ID is 1991, with Vendor-Type 1. The following table describes the Brocade vendor-specific attributes.
161
RADIUS security
TABLE 23
Attribute name
Data type
integer
Description
Specifies the privilege level for the user. This attribute can be set to one of the following: 0 - Super User level Allows complete read-and-write access to the system. This is generally for system administrators and is the only management privilege level that allows you to configure passwords. 4 - Port Configuration level Allows read-and-write access for specific ports but not for global (system-wide) parameters. 5 - Read Only level Allows access to the Privileged EXEC mode and User EXEC mode of the CLI but only with read access. Specifies a list of CLI commands that are permitted or denied to the user when RADIUS authorization is configured. The commands are delimited by semi-colons (;). You can specify an asterisk (*) as a wildcard at the end of a command string. For example, the following command list specifies all show and debug ip commands, as well as the write terminal command: show *; debug ip *; write term* Specifies whether the commands indicated by the foundry-command-string attribute are permitted or denied to the user. This attribute can be set to one of the following: 0 - Permit execution of the commands indicated by foundry-command-string, deny all other commands. 1 - Deny execution of the commands indicated by foundry-command-string, permit all other commands. Specifies the access control list to be used for RADIUS authorization. Enter the access control list in the following format. type=string, value="ipacl.[e|s].[in|out] = [<acl-name>|<acl-number>] <separator> macfilter.in = [<acl-name>|<acl-number>] Where: separator can be a space, newline, semicolon, comma, or null characater ipacl.e is an extended ACL; ipacl.s is a standard ACL.
foundry-privilege-level
foundry-command-string
string
foundry-command-exception-fl ag
integer
foundry-access-list
string
foundry-MAC-authent-needs-80 2x
integer
Specifies whether or not 802.1x authentication is required and enabled. 0 - Disabled 1 - Enabled
162
RADIUS security
TABLE 23
Attribute name
Data type
integer
Description
Specifies if 802.1x lookup is enabled: 0 - Disabled 1 - Enabled Specifies the priority for MAC-based VLAN QOS: 0 - qos_priority_0 1 - qos_priority_1 2 - qos_priority_2 3 - qos_priority_3 4 - qos_priority_4 5 - qos_priority_5 6 - qos_priority_6 7 - qos_priority_7
foundry-802.1x-valid-lookup
foundry-MAC-based-VLAN-QOS
integer
Syntax: [no] enable snmp <config-radius | config-tacacs> The <config-radius> parameter specifies the RADIUS configuration mode. RADIUS is disabled by default. The <config-tacacs> parameter specifies the TACACS configuration mode. TACACS is disabled by default.
Syntax: radius-server host <ip-addr> | <iipv6-addr> | <server-name> [auth-port <number>] [acct-port <number>] The host <ip-addr> | <ipv6-addr> | <server-name> parameter is either an IP address or an ASCII text string. The <auth-port> parameter is the Authentication port number. The default is 1645. The <acct-port> parameter is the Accounting port number. The default is 1646.
163
RADIUS security
To specify different RADIUS servers for authentication, authorization, and accounting, enter commands such as the following.
Brocade(config)#radius-server host 1.2.3.4 authentication-only key abc Brocade(config)#radius-server host 1.2.3.5 authorization-only key def Brocade(config)#radius-server host 1.2.3.6 accounting-only key ghi
Syntax: radius-server host <ip-addr> | <ipv6-addr> | <server-name> [auth-port <number>] [acct-port <number>] [authentication-only | accounting-only | default] [key 0 | 1 <string>] The default parameter causes the server to be used for all AAA functions. After authentication takes place, the server that performed the authentication is used for authorization and accounting. If the authenticating server cannot perform the requested function, then the next server in the configured list of servers is tried; this process repeats until a server that can perform the requested function is found, or every server in the configured list has been tried.
RADIUS servers 10.10.10.103 and 10.10.10.104 will be used only to authenticate users on
ports to which the servers are mapped. To map a RADIUS server to a port, refer to RADIUS server to individual ports mapping on page 165.
RADIUS servers 10.10.10.105 and 10.10.10.106 will be used to authenticate users on ports to
which no RADIUS servers are mapped. For example, port e 9, to which no RADIUS servers are mapped, will send a RADIUS request to the first configured RADIUS server, 10.10.10.105. If the request fails, it will go to the second configured RADIUS server, 10.10.10.106. It will not send requests to 10.10.10.103 or 10.10.10.104, since these servers are configured as port servers.
164
RADIUS security
Syntax: radius-server host <ip-addr> | <server-name> [auth-port <number>] [acct-port <number>] [default key <string> dot1x] [port-only] The host <ip-addr> is the IPv4 address. The auth-port <number> parameter is the Authentication port number; it is an optional parameter. The default is 1645. The acct-port <number> parameter is the Accounting port number; it is an optional parameter. The default is 1646. The default key <string> dot1x parameter indicates that this RADIUS server supports the 802.1X standard. A RADIUS server that supports the 802.1X standard can also be used to authenticate non-802.1X authentication requests. The port-only parameter is optional and specifies that the server will be used only to authenticate users on ports to which it is mapped.
With the above configuration, port e 3 would send a RADIUS request to 10.10.10.103 first, since it is the first server mapped to the port. If it fails, it will go to 10.10.10.110. Syntax: use-radius-server <ip-addr> The host <ip-addr> is an IPv4 address.
165
RADIUS security
RADIUS parameters
You can set the following parameters in a RADIUS configuration:
RADIUS key This parameter specifies the value that the Brocade device sends to the RADIUS
server when trying to authenticate user access.
Retransmit interval This parameter specifies how many times the Brocade device will resend
an authentication request when the RADIUS server does not respond. The retransmit value can be from 1 5 times. The default is 3 times.
Timeout This parameter specifies how many seconds the Brocade device waits for a
response from a RADIUS server before either retrying the authentication request, or determining that the RADIUS servers are unavailable and moving on to the next authentication method in the authentication-method list. The timeout can be from 1 15 seconds. The default is 3 seconds.
Syntax: radius-server key [0 | 1] <string> When you display the configuration of the Brocade device, the RADIUS key is encrypted.
Example
Brocade(config)#radius-server key 1 abc Brocade(config)#write terminal ... radius-server host 1.2.3.5 radius key 1 $!2d
Encryption of the RADIUS keys is done by default. The 0 parameter disables encryption. The 1 parameter is not required; it is provided for backwards compatibility.
NOTE
166
RADIUS security
Syntax: radius-server host ipv6 <ipv6-host address> The <ipv6-host address> is the IPv6 address of the RADIUS server. When you enter the IPv6 host address, you do not need to specify the prefix length. A prefix length of 128 is implied.
The commands above cause RADIUS to be the primary authentication method for securing Telnet access to the CLI. If RADIUS authentication fails due to an error with the server, local authentication is used instead. To create an authentication-method list that specifies RADIUS as the primary authentication method for securing access to Privileged EXEC level and CONFIG levels of the CLI.
Brocade(config)#aaa authentication enable default radius local none
167
RADIUS security
The command above causes RADIUS to be the primary authentication method for securing access to Privileged EXEC level and CONFIG levels of the CLI. If RADIUS authentication fails due to an error with the server, local authentication is used instead. If local authentication fails, no authentication is used; the device automatically permits access. Syntax: [no] aaa authentication enable | login default <method1> [<method2>] [<method3>] [<method4>] [<method5>] [<method6>] [<method7>] The web-server | enable | login parameter specifies the type of access this authentication-method list controls. You can configure one authentication-method list for each type of access. If you configure authentication for Web management access, authentication is performed each time a page is requested from the server. When frames are enabled on the Web Management Interface, the browser sends an HTTP request for each frame. The Brocade device authenticates each HTTP request from the browser. To limit authentications to one per page, disable frames on the Web Management Interface. The <method1> parameter specifies the primary authentication method. The remaining optional <method> parameters specify additional methods to try if an error occurs with the primary method. A method can be one of the values listed in the Method Parameter column in the following table.
NOTE
TABLE 24
line
Method parameter
enable
local
For examples of how to define authentication-method lists for types of authentication other than RADIUS, refer to Authentication-method lists on page 174.
NOTE
168
RADIUS security
Syntax: aaa authentication login privilege-mode The user privilege level is based on the privilege level granted during login.
RADIUS authorization
Brocade devices support RADIUS authorization for controlling access to management functions in the CLI. Two kinds of RADIUS authorization are supported:
Exec authorization determines a user privilege level when they are authenticated Command authorization consults a RADIUS server to get authorization for commands entered
by the user
Syntax: aaa authorization exec default radius | none If you specify none, or omit the aaa authorization exec command from the device configuration, no exec authorization is performed. If the aaa authorization exec default radius command exists in the configuration, following successful authentication the device assigns the user the privilege level specified by the foundry-privilege-level attribute received from the RADIUS server. If the aaa authorization exec default radius command does not exist in the configuration, then the value in the foundry-privilege-level attribute is ignored, and the user is granted Super User access.
NOTE
169
RADIUS security
Also note that in order for the aaa authorization exec default radius command to work, either the aaa authentication enable default radius command, or the aaa authentication login privilege-mode command must also exist in the configuration.
Syntax: aaa authorization commands <privilege-level> default radius | tacacs+ | none The <privilege-level> parameter can be one of the following:
0 Authorization is performed (that is, the Brocade device looks at the command list) for
commands available at the Super User level (all commands)
5 Authorization is performed for commands available at the Read Only level (read-only
commands)
NOTE
RADIUS command authorization can be performed only for commands entered from Telnet or SSH sessions, or from the console. No authorization is performed for commands entered at the Web Management Interface.
Since RADIUS command authorization relies on the command list supplied by the RADIUS server during authentication, you cannot perform RADIUS authorization without RADIUS authentication.
NOTE
CAUTION If you have previously configured the device to perform command authorization using a RADIUS server, entering the enable aaa console command may prevent the execution of any subsequent commands entered on the console.
170
RADIUS security
This happens because RADIUS command authorization requires a list of allowable commands from the RADIUS server. This list is obtained during RADIUS authentication. For console sessions, RADIUS authentication is performed only if you have configured Enable authentication and specified RADIUS as the authentication method (for example, with the aaa authentication enable default radius command). If RADIUS authentication is never performed, the list of allowable commands is never obtained from the RADIUS server. Consequently, there would be no allowable commands on the console.
RADIUS accounting
Brocade devices support RADIUS accounting for recording information about user activity and system events. When you configure RADIUS accounting on a Brocade device, information is sent to a RADIUS accounting server when specified events occur, such as when a user logs into the device or the system is rebooted.
An Accounting Start packet is sent to the RADIUS accounting server when a user enters a command, and an Accounting Stop packet is sent when the service provided by the command is completed. If authorization is enabled, and the command requires authorization, then authorization is performed before accounting takes place. If authorization fails for the command, no accounting takes place. Syntax: aaa accounting commands <privilege-level> default start-stop radius | tacacs | none The <privilege-level> parameter can be one of the following:
NOTE
0 Records commands available at the Super User level (all commands) 4 Records commands available at the Port Configuration level (port-config and read-only
commands)
171
RADIUS security
The following table describes the RADIUS information displayed by the show aaa command.
172
RADIUS security
TABLE 25
Field
Radius key
connection
The show web connection command displays the privilege level of Web Management Interface users.
Example
Brocade#show web-connection We management Sessions: User Privilege IP address roy READ-WRITE 10.1.1.3
Connection HTTPS
Syntax: show web connection Use the following command to clear web connections:
FastIron#clear web-connection
Syntax: clear web connection After issuing the clear web connection command, the show web connection command displays the following output:
Brocade#show web-connection No WEB-MANAGEMENT sessions are currently established!
173
Authentication-method lists
Authentication-method lists
To implement one or more authentication methods for securing access to the device, you configure authentication-method lists that set the order in which the authentication methods are consulted. In an authentication-method list, you specify the access method (Telnet, Web, SNMP, and so on) and the order in which the device tries one or more of the following authentication methods:
Local Telnet login password Local password for the Super User privilege level Local user accounts configured on the device Database on a TACACS or TACACS+ server Database on a RADIUS server No authentication
NOTE
The TACACS/TACACS+, RADIUS, and Telnet login password authentication methods are not supported for SNMP access.
NOTE
To authenticate Telnet access to the CLI, you also must enable the authentication by entering the enable telnet authentication command at the global CONFIG level of the CLI. You cannot enable Telnet authentication using the Web Management Interface.
You do not need an authentication-method list to secure access based on ACLs or a list of IP addresses. Refer to ACL usage to restrict remote access on page 112 or Remote access restrictions on page 115. In an authentication-method list for a particular access method, you can specify up to seven authentication methods. If the first authentication method is successful, the software grants access and stops the authentication process. If the access is rejected by the first authentication method, the software denies access and stops checking. However, if an error occurs with an authentication method, the software tries the next method on the list, and so on. For example, if the first authentication method is the RADIUS server, but the link to the server is down, the software will try the next authentication method in the list.
NOTE
NOTE
If an authentication method is working properly and the password (and user name, if applicable) is not known to that method, this is not an error. The authentication attempt stops, and the user is denied access. The software will continue this process until either the authentication method is passed or the software reaches the end of the method list. If the Super User level password is not rejected after all the access methods in the list have been tried, access is granted.
174
Authentication-method lists
For read-only access, you can use the user name get and the password public. The
default read-only community string is public.
There is no default read-write community string. Thus, by default, you cannot open a
read-write management session using the Web Management Interface. You first must configure a read-write community string using the CLI. Then you can log on using set as the user name and the read-write community string you configure as the password. Refer to TACACS and TACACS+ security on page 139.
If you configure an authentication-method list for Web management access and specify local
as the primary authentication method, users who attempt to access the device using the Web Management Interface must supply a user name and password configured in one of the local user accounts on the device. The user cannot access the device by entering set or get and the corresponding SNMP community string.
This command configures the device to use the local user accounts to authenticate access to the device through the Web Management Interface. If the device does not have a user account that matches the user name and password entered by the user, the user is not granted access. Example 2 To configure an authentication-method list for SNMP, enter a command such as the following.
Brocade(config)#aaa authentication snmp-server default local
This command allows certain incoming SNMP SET operations to be authenticated using the locally configured usernames and passwords. When this command is enabled, community string validation is not performed for incoming SNMP V1 and V2c packets. This command takes effect as long as the first varbind for SNMP packets is set to one of the following:
175
Authentication-method lists
NOTE
This command configures the device to use the local user accounts to authenticate attempts to access the Privileged EXEC and CONFIG levels of the CLI. Example 4 To configure the device to consult a RADIUS server first to authenticate attempts to access the Privileged EXEC and CONFIG levels of the CLI, then consult the local user accounts if the RADIUS server is unavailable, enter the following command.
Brocade(config)#aaa authentication enable default radius local
Command Syntax The following is the command syntax for the preceding examples. Syntax: [no] aaa authentication snmp-server | web-server | enable | login default <method1> [<method2>] [<method3>] [<method4>] [<method5>] [<method6>] [<method7>] The snmp-server | web-server | enable | login parameter specifies the type of access this authentication-method list controls. You can configure one authentication-method list for each type of access. TACACS/TACACS+ and RADIUS are supported only with the enable and login parameters. The <method1> parameter specifies the primary authentication method. The remaining optional <method> parameters specify additional methods to try if an error occurs with the primary method. A method can be one of the values listed in the Method Parameter column in the following table.
NOTE
176
TABLE 26
line
Method parameter
enable
local
NOTE
+|- urg = Urgent +|- ack = Acknowledge +|- psh = Push +|- rst = Reset +|- syn = Synchronize +|- fin = Finish
TCP flags can be combined with other ACL functions (such as dscp-marking and traffic policies), giving you greater flexibility when designing ACLs. The TCP flags feature offers two options, match-all and match-any:
Match-any - Indicates that incoming TCP traffic must be matched against any of the TCP flags
configured as part of the match-any ACL rule. In CAM hardware, the number of ACL rules will match the number of configured flags.
Match-all - Indicates that incoming TCP traffic must be matched against all of the TCP flags
configured as part of the match-all ACL rule. In CAM hardware, there will be only one ACL rule for all configured flags.
177
Example
Brocade(config-ext-nACL)#permit tcp 1.1.1.1 0.0.0.255 eq 100 2.2.2.2 0.0.0.255 eq 300 match-all +urg +ack +syn -rst
This command configures a single rule in CAM hardware. This rule will contain all of the configured TCP flags (urg, ack, syn, and rst).
This command configures the ACL to match incoming traffic with the TCP Flags urg, ack, and syn and also to apply the traffic policy (rate, limit, etc.) to the matched traffic.
Brocade(config-ext-nACL)#permit tcp any any match-all +urg +ack +syn -rst tos normal
This command configures the ACL to match incoming traffic with the flags urg, ack, and syn, and also sets the tos bit to normal when the traffic exits the device. TCP Flags combines the functionality of older features such as TCP Syn Attack and TCP Establish. Avoid configuring these older features on a port where you have configured TCP Flags. TCP Flags can perform all of the functions of TCP Syn Attack and TCP Establish, and more. However, if TCP Syn Attack is configured on a port along with TCP Flags, TCP Syn Attack will take precedence.
NOTE
NOTE
If an ACL clause with match-any exists, and the system runs out of CAM, if the total number of TCP rules to TCP Flags will not fit within 1021 entries (the maximum rules allowed per device), then none of the TCP Flag rules will be programmed into the CAM hardware.
If a range option and match-any TCP-flags are combined in the same ACL, the total number of rules will be calculated as: Total number of rules in CAM hardware = (number of rules for range)* (number of rules for match-any TCP-flags).
NOTE
178
Chapter
5
Supported SSH2 and Secure Copy features
FESX FSX 800 FSX 1600
Yes Yes Yes Yes Yes Yes Yes
Table 27 lists individual Brocade switches and the SSH2 and Secure Copy features they support.
TABLE 27
Feature
FWS
FCX
ICX 6610
Secure Shell (SSH) version 2 AES encryption for SSH2 Optional parameters for SSH2 Using secure copy (SCP) with SSH2 Filtering SSH access using ACLs Terminating an active SSH connection SSH client
NOTE
The SSH feature includes software that is copyright Allegro Software Development Corporation. SSH2 is supported in the Layer 2 and Layer 3 codes. SSH2 is a substantial revision of Secure Shell, comprising the following hybrid protocols and definitions:
SSH Transport Layer Protocol SSH Authentication Protocol SSH Connection Protocol
FastIron Configuration Guide 53-1002494-01 179
SECSH Public Key File Format SSH Fingerprint Format SSH Protocol Assigned Numbers SSH Transport Layer Encryption Modes SCP/SSH URI Format
SSH Secure Shell 3.2.3 Van Dyke SecureCRT 5.2.2 F-Secure SSH Client 5.3 and 6.0 PuTTY 0.60 OpenSSH 4.3p2 Brocade FastIron SSH Client
Supported SSH client public key sizes are 1024 bits for DSA keys, and 1024 or 2048 bits for RSA keys.
NOTE
Key exchange methods are diffie-hellman-group1-sha1 The supported public key algorithms are ssh-dss and ssh-rsa. Encryption is provided with 3des-cbc, aes128-cbc, aes192-cbc or aes256-cbc. AES encryption
has been adopted by the U.S. Government as an encryption standard.
Data integrity is ensured with hmac-sha1. Supported authentication methods are Password and publickey. Five inbound SSH connection at one time are supported. One outbound SSH is supported.
Compression TCP/IP port forwarding, X11 forwarding, and secure file transfer SSH version 1
180
DSA challenge-response authentication, where a collection of public keys are stored on the
device. Only clients with a private key that corresponds to one of the stored public keys can gain access to the device using SSH.
RSA challenge-response authentication, where a collection of public keys are stored on the
device. Only clients with a private key that corresponds to one of the stored public keys can gain access to the device using SSH.
Password authentication, where users attempting to gain access to the device using an SSH
client are authenticated with passwords stored on the device or on a TACACS or TACACS+ server or a RADIUS server.
Configuring SSH2
You can configure the device to use any combination of these authentication types. The SSH server and client negotiate which type to use. To configure SSH2, follow these steps: 1. Generate a host Digital Signature Algorithm (DSA) or Really Secure Algorithm (RSA) public and private key pair for the device. See the section Enabling and disabling SSH by generating and deleting host keys on page 181. 2. Configure DSA or RSA challenge-response authentication. See the section Configuring DSA or RSA challenge-response authentication on page 183. 3. Set optional parameters. See the section Optional SSH parameters on page 185.
181
If you have generated SSH keys on the switch, you should delete and regenerate it when you upgrade or downgrade the software version before ssh session.
NOTE
Setting the CPU priority for key generation (ICX 6430 and ICX 6450 only)
Generating the key is a resource-intensive operation. You can set the priority for this operation to high so that the device allocates more CPU time for this operation. So you must use this option only when the device is in the maintenance window. This option reduces the time taken for key generation. To set high priority for the key generation operation, enter the following command:
Brocade(config)#crypto-gen priority high
Syntax: crypto key crypto-gen priority default | high The default keyword sets the priority as default. The key generation task is handled with the regular priority. The high keyword sets the high priority for the key generation task. Use this option only when the device is in the maintenance window.
To delete the DSA host key pair, enter the following command.
Brocade(config)#crypto key zeroize dsa
Syntax: crypto key generate | zeroize dsa The generate keyword places a host key pair in the flash memory and enables SSH on the device, if it is not already enabled. The zeroize keyword deletes the host key pair from the flash memory. This disables SSH if no other server host keys exist on the device. The dsa keyword specifies a DSA host key pair. This keyword is optional. If you do not enter it, the command crypto key generate generates a DSA key pair by default, and the command crypto key zeroize works as described in Deleting DSA and RSA key pairs on page 183.
To delete the RSA host key pair, enter the following command.
Brocade(config)#crypto key zeroize rsa
Syntax: crypto key generate | zeroize rsa [modulus modulus-size] The generate keyword places an RSA host key pair in the flash memory and enables SSH on the device, if it is not already enabled.
182
The optional [modulus modulus-size] parameter specifies the modulus size of the RSA key pair, in bits. The valid values for modulus-size are 1024 or 2048. The default value is 1024. The zeroize keyword deletes the RSA host key pair from the flash memory. This disables SSH if no other authentication keys exist on the device. The rsa keyword specifies an RSA host key pair. On ICX 6430 and ICX 6450 devices, the crypto key generate command can take up to 30 minutes to complete.
NOTE
Syntax: crypto key zeroize The zeroize keyword deletes the host key pair from the flash memory. This disables SSH.
183
1. The client sends its public key to the Brocade device. 2. The Brocade device compares the client public key to those stored in memory. 3. If there is a match, the Brocade device uses the public key to encrypt a random sequence of bytes. 4. The Brocade device sends these encrypted bytes to the client. 5. The client uses its private key to decrypt the bytes. 6. The client sends the decrypted bytes back to the Brocade device. 7. The Brocade device compares the decrypted bytes to the original bytes it sent to the client. If the two sets of bytes match, it means that the client private key corresponds to an authorized public key, and the client is authenticated.
Setting up DSA or RSA challenge-response authentication consists of the following steps. 1. Import authorized public keys into the Brocade device. 2. Enable DSA or RSA challenge response authentication.
Each key in the public key file must begin and end with the first and last lines in this example. If your client does not include these lines in the public key, you must manually add them. Import the authorized public keys into the Brocade device active configuration by loading this public key file from a TFTP server. To load a public key file called pkeys.txt from a TFTP server, enter a command such as the following:
Brocade(config)#ip ssh pub-key-file tftp 192.168.1.234 pkeys.txt
NOTE
184
Syntax: ip ssh pub-key-file tftp <tftp-server-ip-addr> <filename> | remove The <tftp-server-ip-addr> variable is the IP address of the tftp server that contains the public key file that you want to import into the Brocade device. The <filename> variable is the name of the public key file that you want to import into the Brocade device. The remove parameter deletes the public keys from the device. To display the currently loaded public keys, enter the following command.
Brocade#show ip client-pub-key ---- BEGIN SSH2 PUBLIC KEY ---Comment: DSA Public Key AAAAB3NzaC1kc3MAAACBAPY8ZOHY2yFSJA6XYC9HRwNHxaehvx5wOJ0rzZdzoSOXxbET W6ToHv8D1UJ/ z+zHo9Fiko5XybZnDIaBDHtblQ+Yp7StxyltHnXF1YLfKD1G4T6JYrdH YI14Om 1eg9e4NnCRleaqoZPF3UGfZia6bXrGTQf3gJq2e7Yisk/gF+1VAAAAFQDb8D5cv wHWTZDPfX0D2s9Rd7NBvQAAAIEAlN92+Bb7D4KLYk3IwRbXblwXdkPggA4pfdtW9v GfJ0/RHd+NjB4eo1D+0dix6tXwYGN7PKS5R/FXPNwxHPapcj9uL1Jn2AWQ2dsknf+i/FAA vioUPkmdMc0zuWoSOEsSNhVDtX3WdvVcGcBq9cetzrtOKWOocJmJ80qadxTRHtUAAACB AN7CY+KKv1gHpRzFwdQm7HK9bb1LAo2KwaoXnadFgeptNBQeSXG1vO+JsvphVMBJc9HS n24VYtYtsMu74qXviYjziVucWKjjKEb11juqnF0GDlB3VVmxHLmxnAz643WK42Z7dLM5 sY29ouezv4Xz2PuMch5VGPP+CDqzCM4loWgV ---- END SSH2 PUBLIC KEY ----
Syntax: show ip client-pub-key [begin <expression> | exclude <expression> | include <expression>] To clear the public keys from the buffers, enter the following command.
Brocade#clear public-key
The number of SSH authentication retries The user authentication method the Brocade device uses for SSH connections Whether the Brocade device allows users to log in without supplying a password
185
The port number for SSH connections The SSH login timeout value A specific interface to be used as the source for all SSH traffic from the device The maximum idle time for SSH sessions
Syntax: ip ssh key-authentication yes | no The default is yes. To deactivate password authentication, enter the following command.
Brocade(config)#ip ssh password-authentication no
186
If you enable empty password logins, users are not prompted for a password when they log in. Any user with an SSH client can log in without being prompted for a password. To enable empty password logins, enter the following command.
Brocade(config)#ip ssh permit-empty-passwd yes
Note that if you change the default SSH port number, you must configure SSH clients to connect to the new port. Also, you should be careful not to assign SSH to a port that is used by another service. If you change the SSH port number, Brocade recommends that you change it to a port number greater than 1024. Syntax: ip ssh port <number>
Syntax: ip ssh idle-time <minutes> If an established SSH session has no activity for the specified number of minutes, the Brocade device closes it. An idle time of 0 minutes (the default value) means that SSH sessions never time out. The maximum idle time for SSH sessions is 240 minutes.
187
Syntax: show ip ssh [begin <expression> | exclude <expression> | include <expression>] This display shows the following information about the active SSH connections.
TABLE 28
Field
Inbound Outbound Connection Version
188
TABLE 28
Field
Encryption Username HMAC
Syntax: show ip ssh config This display shows the following information.
Field
SSH server SSH port Encryption
Description
SSH server is enabled or disabled SSH port number The encryption used for the SSH connection. The following values are displayed when AES only is enabled: AES-256, AES-192, and AES-128 indicate the different AES methods used for encryption. 3-DES indicates 3-DES algorithm is used for encryption. Empty password login is allowed or not allowed.
189
Field
Authentication methods
Description
The authentication methods used for SSH. The authentication can have one or more of the following values: Password - indicates that you are prompted for a password when attempting to log into the device. Public-key - indicates that DSA or RSA challenge-response authentication is enabled. Interactive - indicates the interactive authentication si enabled. The number of authentication retries. This number can be from 1 to 5. SSH login timeout value in seconds. This can be from 0 to 120. SSH idle timeout value in minutes. This can be from 0 to 240. Strict management VRF is enabled or disabled. SCP is enabled or disabled. The list of IPv4 addresses to which SSH access is allowed. The default is All. The list of IPv4 addresses to which SSh access is allowed. Default All. The IPv4 ACL used to permit or deny access using SSH. The IPv6 ACL used to permit or deny access to device using SSH.
Authentication retries Login timeout (seconds) Idle timeout (minutes) Strict management VRF SCP SSH IPv4 clients SSH IPv6 clients SSH IPv4 access-list SSH IPv6 access-list
190
NOTE
If you disable SSH, SCP is also disabled.
Certain SCP client options, including -p and -r, are ignored by the SCP server on the Brocade
device. If an option is ignored, the client is notified.
An SCP AES copy of the running or start configuration file from the Brocade device to Linux WS
4 or 5 may fail if the configuration size is less than 700 bytes. To work around this issue, use PuTTY to copy the file.
If password authentication is enabled for SSH, the user is prompted for user terry password before the file transfer takes place.
191
or
C:\> scp [email protected]:flash:primary FCXR07000.bin
To copy a software image file from an SCP-enabled client to the secondary flash on these devices, enter one of the following commands.
C:\> scp FCXR07000.bin [email protected]:flash:secondary
or
C:\> scp [email protected]:flash:secondary FCXR07000.bin
On ICX 6430 and ICX 6450 devices, you can use the same syntax as FCX devices. However, after the copy operation is completed at the host, you do not get the command prompt back because the switch is synchronizing the image to flash. To ensure that you have successfully copied the file, issue the show flash command. If the copy operation is not complete, the show flash command output will show the partition (primary or secondary) as EMPTY.
NOTE
192
FastIron WS devices To copy a software image file from an SCP-enabled client to the primary flash on these devices, enter the following command.
C:\> scp SXL03200.bin [email protected]:flash:primary.bin
or
C:\> scp [email protected]:flash:primary.bin SXL03200.bin
To copy a software image file from an SCP-enabled client to the secondary flash on these devices, enter the following command.
C:\> scp SXL03200.bin [email protected]:flash:secondary.bin
or
C:\> scp [email protected]:flash:secondary.bin SXL03200.bin
NOTE
The Brocade device supports only one SCP copy session at a time.
To copy a software image file from the secondary flash on these devices to an SCP-enabled client, enter a command such as the following.
C:\> scp [email protected]:flash:secondary FCXR07000.bin
FastIron WS Series devices To copy a software image from the primary flash on these devices to an SCP-enabled client, enter a command such as the following.
C:\ scp [email protected]:flash:primary.bin SXL03200.bin
To copy a software image from the secondary flash on these devices to an SCP-enabled client, enter a command such as the following.
C:\ scp [email protected]:flash:secondary.bin SXL03200.bin
The Brocade device supports only one SCP copy session at a time.
NOTE
193
Syntax: scp <certificate-filename> <user>@<ip-address>:sslCert. The <ip-address> variable is the IP address of the server from which the digital certificate file is downloaded. The <certificate-filename> variable is the file name of the digital certificate that you are importing to the device. The scp command can be used when TFTP access is unavailable or not permitted and the command has an equivalent functionality to the ip ssl certificate-data-file tftp. For more information on the ip ssl certificate-data-file tftp command, refer to Importing digital certificates and RSA private key files on page 138.
Syntax: scp <key-filename> <user>@<ip-address>: sslPrivKey The <ip-address> variable is the IP address of the server that contains the private key file. The <key-filename> variable is the file name of the private key that you want to import into the device. The scp command can be used when TFTP access is unavailable or not permitted and the command has an equivalent functionality to the ip ssl private-key-file tftp command. For more information on the ip ssl private-key-file tftp command, refer to Importing digital certificates and RSA private key files on page 138.
Syntax: scp <key-filename> <user>@<ip-address>:sshPubKey The <ip-address> variable is the IP address of the server that contains the public key file. The <key-filename> variable is the name of the DSA or RSA public key file that you want to import into the device. The scp command can be used when TFTP access is unavailable or not permitted and the command has an equivalent function to the ip ssh pub-key-file tftp command. For more information on the ip ssh pub-key-file tftp command, refer to Importing authorized public keys into the Brocade device on page 184.
194
SSH2 client
SSH2 client
SSH2 client allows you to connect from a Brocade device to an SSH2 server, including another Brocade device that is configured as an SSH2 server. You can start an outbound SSH2 client session while you are connected to the device by any connection method (SSH2, Telnet, console). Brocade devices support one outbound SSH2 client session at a time. The supported SSH2 client features are as follows:
Encryption algorithms, in the order of preference: aes256-cbc aes192-cbc aes128-cbc 3des-cbc SSH2 client session authentication algorithms: Password authentication Public Key authentication Message Authentication Code (MAC) algorithm: hmac-sha1 Key exchange algorithm: diffie-hellman-group1-sha1 No compression algorithms are supported. The client session can be established through either in-band or out-of-band management
ports.
The client session can be established through IPv4 or IPv6 protocol access. The client session can be established to a server listening on a non-default SSH port.
Generating and deleting a client DSA key pair on page 196 Generating and deleting a client RSA key pair on page 196 Exporting client public keys on page 196
195
SSH2 client
To delete the DSA host key pair, enter the following command.
Brocade(config)#crypto key client zeroize dsa
Syntax: crypto key client generate | zeroize dsa The generate keyword places a host key pair in the flash memory. The zeroize keyword deletes the host key pair from the flash memory. The dsa keyword specifies a DSA host key pair.
To delete the RSA host key pair, enter the following command.
Brocade(config)#crypto key client zeroize rsa
Syntax: crypto key client generate | zeroize rsa [modulus modulus-size] The generate keyword places an RSA host key pair in the flash memory. The zeroize keyword deletes the RSA host key pair from the flash memory. The optional [modulus modulus-size] parameter specifies the modulus size of the RSA key pair, in bits. The valid values for modulus-size are 1024 or 2048. It is used only with the generate parameter. The default value is 1024. The rsa keyword specifies an RSA host key pair.
A DSA key is stored in the file $$sshdsapub.key. An RSA key is stored in the file $$sshrsapub.key.
To copy key files to a TFTP server, you can use the copy flash tftp command. You must copy the public key to the SSH server. If the SSH server is a brocade device, see the section Importing authorized public keys into the Brocade device on page 184.
196
SSH2 client
To start an SSH2 client connection to an SSH2 server using public key authentication, enter a command such as the following:
Brocade(config)# ssh 10.10.10.2 public-key dsa
Syntax: ssh ipv4Addr | ipv6Addr | host-name [public-key [dsa | rsa]] [port portnum] The ipv4Addr | ipv6Addr | host-name variable identifies an SSH2 server. You identify the server to connect to by entering its IPv4 or IPv6 address or its hostname. The optional [public-key [dsa | rsa]] parameter specifies the type of public key authentication to use for the connection, either DSA or RSA. If you do not enter this parameter, the default authentication type is password. The optional port portnum parameter specifies that the SSH2 connection will use a non-default SSH2 port, where portnum is the port number. The default port number is 22.
Displaying SSH connection information on page 188 Displaying additional SSH connection information on page 190
197
SSH2 client
198
Chapter
Software-based Licensing
Table 29 lists the individual Brocade FastIron switches and the software licensing features they support.
TABLE 29
Feature
FWS
FCX
ICX 6610
ICX 6450
Yes
Yes
Yes
Yes
License file The file produced by the Brocade software portal when the license is generated.
The file is uploaded to the Brocade device and controls access to a licensed feature or feature set.
License ID (LID) This is a number that uniquely identifies the Brocade device. The LID is used
in conjunction with a transaction key to generate and download a software license from the Brocade software portal. The software license is tied to the LID of the Brocade device for which the license was ordered and generated.
Licensed feature Any hardware or software feature or set of features that require a valid
software license in order to operate on the device.
Transaction key A unique key, along with the LID, used to generate a software license from
the Brocade software portal. The transaction key is issued by Brocade when a license is purchased. The transaction key is delivered according to the method specified when the order is placed:
Paper-pack The transaction key is recorded on an entitlement certificate, which is mailed to the customer. Electronic The transaction key is contained in an e-mail message, which is sent instantly to the customer after the order is placed. The customer receives the e-mail message within a few minutes after the order is placed, though the timing will vary depending on the network, Internet connection, and so on.
199
If a delivery method is not specified at the time of the order, the key will be delivered by the way of paper-pack.
NOTE
For FCX and ICX devices, the license unlocks the licensed feature and it becomes available
immediately. There is no need to reload the software.
For FWS, FESX6, and FSX devices, the license unlocks the ability to upload the software image
(for example, edge Layer 3 or full Layer 3) onto the device. Once the software image is installed and the software is reloaded, the license unlocks the licensed feature.
NOTE
You cannot load the edge Layer 3 software image on a FWS device without first purchasing and installing a license on the device. Likewise, you cannot load the full Layer 3 software image on a FESX6 or FSX device without first purchasing and installing a license on the device.
200
When a trial license expires, the commands and CLI related to the feature are disabled, but the
feature itself cannot be disabled until the system reloads.
NOTE
There are special considerations and instructions for legacy FastIron devices in need of replacement (by way of a Return Merchandise Agreement [RMA]). For details, refer to Special replacement instructions for legacy devices on page 226.
License types
The following license types are supported on FastIron devices:
Port-related Applies to FWS devices only. A port-related licensed feature enables a maximum
number of ports on the device, for example 24 ports or 48 ports.
Application-related Enables premium or advanced features on the device, for example, edge
Layer 3 for the FWS, advanced Layer 3 for the FCX, premium and advanced Layer 3 for ICX 6610, premium Layer 3 for ICX 6450, and full Layer 3 for the FESX6, FSX 800, and FSX 1600.
Trial license Also called a temporary license, this enables a license-controlled feature to run
on the device on a temporary basis. A trial license enables demonstration and evaluation of a licensed feature and can be valid for a period of 45 days. For more information about a trial license, refer to Using a trial license on page 223.
Normal license Also called a permanent license, this enables a license-controlled feature to
run on the device indefinitely.
201
Non-licensed features
Non-licensed features
Table 30 lists the FastIron software images that do not require a license to run on the device.
TABLE 30
=
Product
FESX6 FSX 800 FSX 1600 FWS FCX ICX 6610 ICX 6430 ICX 6450
For a list of features supported with these images, refer to the release notes.
NOTE
TABLE 31
Product FWS
EPREM Layer 3: FWSRxxxxx.bin (edge Layer 3) OSPF V2 (IPv4) Full RIP V1 and V2 Route-only support (Global CONFIG level only) Route redistribution 1020 routes in hardware maximum VRRP-E
FWS648-L3U-SW FWS648G-L3U-SW
N/A1
FWS624-EL3U-SW
Same part numbers (for 24-port devices) as listed above Same part numbers (for 48-port devices) as listed above
48 ports
N/A1
FWS648-EL3U-SW
202
TABLE 31
Product FCX
Premium Layer 3: OSPF v2 OSPF v3 PIM-DM PIM-SM PIM-SSM PIM passive PBR RIP v1, v2 RIPng VRRP VRRP v3 for IPv6 VRRP-E VRRP-E for IPv6 IPv6 unicast routing Advance Layer 3: All features in the Premium license (see the cell above - Premium Layer 3). BGP4 Upgrade from Premium to Advance license
This license is used to upgrade from Premium to Advance license. The license can only be installed on all SKUs that have a Premium license installed.
N/A1
ICX 6610-PREM-LIC-SW
ICX 6610-24-PE ICX 6610-24-PI ICX 6610-24P-PE ICX 6610-24P-PI ICX 6610-24F-PE ICX 6610-24F-PI ICX 6610-48-PE ICX 6610-48-PI ICX 6610-48P-PE ICX 6610-48P-PI
N/A1
ICX 6610-ADV-LIC-SW
Sold separately. To purchase the ICX 6610 Advance license, contact your Brocade representative. Sold separately. To purchase the Upgrade license, contact your Brocade representative. Sold separately. To purchase the Ports on Demand license, contact your Brocade representative.
N/A1
ICX 6610-ADV-UPG-LIC-SW
ICX 6610 - Ports on Demand license To upgrade the ICX 6610 1 Gbps ports to 10 Gbps port speed, use the ICX6610-10G-LIC-POD license. By default, the ICX 6610 device has eight active 1 Gbps uplink ports. To increase the uplink capacity of four ports from 1 Gbps to 10 Gbps port speed, purchase a single ICX6610-10G-LIC-POD license. To increase the uplink capacity of all eight ports from 1 Gbps to 10 Gbps port speed, purchase a second ICX6610-10G-LIC-POD license.
N/A1
ICX 6610-10G-LIC-POD
N/A1
ICX6450-PREM-LIC
N/A
203
TABLE 31
Product
FESX6
IPv4 PREM Layer 3: 6,000 active host routes Anycast RP BGP4 DVMRP V2 IGMP V1, V2, and V3 ICMP redirect messages IGMP V3 fast leave (for routing) MSDP OSPF V2 PIM-DM PIM-SM PIM passive Policy-based routing RIP V1 and V2 Route-only support Route redistribution VRRP-E IPv6 PREM Layer 3: Same features as IPv4 PREM Layer 3:, plus the following: IPv6 Layer 3 forwarding IPv6 over IPv4 tunnels in hardware IPv6 redistribution IPv6 static routes OSPF V3 RIPng
FESX624-L3U-IPV4SW
FESX624-PREM FESX624-PREM--DC FESX624+2XG-PREM FESX624+2XG-PREM-DC FESX624HF-PREM FESX624HF-PREM-DC FESX624HF+2XG-PREM FESX624HF+2XG-PREM-DC FESX648-PREM FESX648-PREM--DC FESX648+2XG-PREM FESX648+2XG-PREM-DC
FESX648-L3U-IPV4SW
FESX624-L3U-IPV6SW
FESX624-PREM6 FESX624-PREM6--DC FESX624+2XG-PREM6 FESX624+2XG-PREM6-DC FESX624HF-PREM6 FESX624HF-PREM6-DC FESX624HF+2XG-PREM6 FESX624HF+2XG-PREM6-DC FESX648-PREM6 FESX648-PREM6--DC FESX648+2XG-PREM6 FESX648+2XG-PREM6-DC
FESX648-L3U-IPV6SW
204
TABLE 31
Product FSX 800 and FSX 1600
Image filename
SXRxxxxx.bin (full Layer 3)
SX-FIL3U-6-IPV4-SW
SX-FIZMR-6-PREM SX-FI2XGMR6-PREM
SX-FIZMR-6-PREM6 SX-FI2XGMR6-PREM6
1.
This licensed feature does not require a separate software image file. Feature capability is disabled on the switch until a license is loaded.
205
Licensing rules
TABLE 32
Product FWS
Software packages
Software package name
BASE_SOFT_PACKAGE FWS_BASE_L3_SOFT_PACKAGE FWS_EDGE_SOFT_PACKAGE
License needed?
No No Yes No No Yes No Yes Yes No Yes No No Yes No Yes Yes
FCX
ICX 6610
ICX 6450
ICX6450_BASE_ROUTER_SOFT_PACKAGE ICX6450_PREM_ROUTER_SOFT_PACKAGE
Licensing rules
This section lists the software licensing rules and caveats related to the Brocade devices that support software-based licensing.
A license is tied to the unique LID of the management module or fixed configuration switch for
which the license was ordered. Therefore, a license can be used on one device only. It cannot be used on any other device.
More than one license can be installed per device. For example, an FSX 800 with IPv6
hardware can have the license SX-FIL3U-6-IPV4 and the license SX-FIL3U-6-IPV6, and both can be in effect.
Only one normal or trial license at a time can be in effect for a licensed feature. More than one trial license can be in effect at the same time, as long as each trial license
applies to a unique licensed feature.
206
Licensing rules
NOTE
For FCX and ICX 6610 devices, the behavior for running software-based licensing with different licenses (Premium, Advance, or Upgrade licenses) is the same. One license allows multiple protocols to run in a stack. All units must have a separate license to run the same licensed feature in a stack. If all units do not have the same license, the Active controller cannot enable the licensed feature on the stack. If a member unit without a license joins a stack, the Active controller must make sure that no protocols are enabled in a stack before putting a member unit into full operational state.
Each stack unit in an FCX IronStack must have a separate software license for the same
licensed feature. For example, if there are eight units in an IronStack, eight separate licenses must be purchased to run the licensed features in the stack. If there is any unit in a stack without the FCX-ADV-LIC-SW license, the Active controller cannot run the licensed features on the stack.
For example, to run BGP on the stack, the router bgp command must enabled through the CLI
on the Active controller. If the Active controller does not have the FCX-ADV-LIC-SW license, the user cannot configure the router bgp command at the CLI level.
If the Active controller has the FCX-ADV-LIC-SW license, and the router bgp command is
enabled at the CLI level, the system checks all operational units to verify that each unit has the FCX-ADV-LIC-SW license. Only if all the operational units have the FCX-ADV-LIC-SW license will the licensed feature run in the stack.
If any unit does not have the FCX-ADV-LIC-SW license, the router bgp command is rejected and
the licensed feature cannot run in the stack. For example, the following error message is displayed on the console.
Brocade(config)#router bgp Error! cannot run BGP because unit 2 has no FCX-ADV license
If the Active controller is running BGP (and all other licensed features if enabled), and a unit
without the FCX-ADV-LIC-SW license joins the stack, the unit is put into a non-operational state. If a user copies the FCX-ADV-LIC-SW license to a non-operational unit, it takes effect immediately and the unit becomes operational. If the operational unit has a higher priority than the current Standby controller, the unit replaces the existing Standby controller and becomes the new Standby controller. This behavior applies to all cases in which a non-operational unit becomes operational.
If a user disables BGP from the stack, the Active controller puts all non-operational units in the
operational state. The Active controller and the Standby controller must have the same non-operational units. When the Standby controller receives the runtime configuration from the Active controller, the Standby controller must update the state of every unit (operational or non-operational state).
If a user deletes the FCX-ADV-LIC-SW license in any stack unit, the Active controller does not
change the unit to the non-operational state regardless of running BGP or not. Even if a new election algorithm change occurs, an operational unit is not changed to a non-operational unit. The stack continues its BGP running state. The stack cannot run BGP again after the user disables BGP, or after a reload.
207
If BGP is not enabled on the Active controller, a stack unit is operational whether or not the
Active controller or the stack units have the FCX-ADV-LIC-SW license. This implies that in a stack where all units (Active controller, Standby controller, and member units) have the FCX-ADV-LIC-SW license, a stack can be formed whether or not BGP is enabled. However, if there is a license mismatch between any of the units in a stack, a stack can still be formed provided that the router bgp command is not enabled on the Active controller.
The FCX-ADV-LIC-SW license is not considered when selecting a unit to be the Standby
controller.
Licensing rules for FESX6, FSX 800, and FSX 1600 devices
SX 800 and SX 1600 devices with redundant management modules must have two separate licenses to run the same licensed feature on both management modules. The license file in the active management module is never copied to or updated on the standby management module. Upon bootup, the active management module compares its license with the standby management module. If the license differs, the active management module immediately shuts down the standby management module. To enable the standby management module, you must install a separate license. For example, if the active management module has the license SX-FIL3U-SW, the standby management module must also have this license.
NOTE
208
1. Download the PoD license to the device. For more information about copying the license file on ICX devices, refer to Using TFTP to copy a license file on FCX and ICX devices on page 221. 2. Insert the 10 Gbps optic transceiver. 3. Enter the speed-duplex 10g-full command on a single, multiple, or interface range as shown in the example below.
Brocade(config)# interface ethernet 1/3/1 Brocade(config-if-e10000-1/3/1)# speed-duplex 10g-full
4. Enter the write memory command to save the configuration. Syntax: [no] speed-duplex [10g-full | 1000-full-master] The 10g-full parameter allows you to enable the port speed to 10 Gbps speed. The 1000-full-master parameter allows you to enable the port speed to 1 Gbps speed. If you enable the port to 10 Gbps port speed, and then issue the no speed-duplex command, the port continues to run at 10 Gbps speed. Upon bootup, the port reverts to 1 Gbps speed. In a stacking environment, if you issue the no speed-duplex 10g-full command on a 10 Gbps port interface, or a range of interfaces, the 10 Gbps port interface defaults back to 1 Gbps port speed in five to ten seconds.
Configuring the upper PoD ports in a stack for ICX 6610 devices only
By default, when a single ICX6610-10G-LIC-POD license is downloaded onto the device, all four lower PoD ports in the stack (1/3/1 to 1/3/4) are eligible for an upgrade to 10 Gbps port speed. If you have a single ICX6610-10G-LIC-POD license, and you want to enable the upper four PoD ports (1/3/5 to 1/3/8) to 10 Gbps port speed, instead of the lower four PoD ports (1/3/1 to 1/3/4), complete the following steps. If the lower four PoD ports are already configured for 10 Gbps speed, you must first issue the no speed-duplex 10g-full command on the lower four PoD ports before configuring the upper four PoD ports to 10 Gbps port speed. The procedure below assumes that you have already downloaded the license. If you purchased a second ICX6610-10G-LIC-POD license, you do not need to perform the steps outlined below. The flexible-10g-ports upper command is used to configure the upper four PoD ports to 10 Gbps port speed using a single ICX6610-10G-LIC-POD license. The command can only be used on the upper four PoD ports. 1. Enter the flexible-10g-ports upper command at the stack unit configuration level.
Brocade(config)# stack unit 2 Brocade(config-unit-2)#flexible-10g-ports upper Brocade(config-unit-2)#exit
NOTE
2. Specify the upper four PoD ports in a group with a single ICX6610-10G-LIC-POD license at the interface configuration level.
Brocade(config)#interface ethernet 2/3/5 to 2/3/8
3. Enable the 10 Gbps port speed for the upper four PoD ports by entering the following command.
209
Brocade(config-mif-2/3/5-2/3/8)#speed-duplex 10g-full Port 2/3/5 mode changed from 1G to 10G Port 2/3/6 mode changed from 1G to 10G Port 2/3/7 mode changed from 1G to 10G Port 2/3/8 mode changed from 1G to 10G Brocade(config-mif-2/3/5-2/3/8)#end
Syntax: [no] flexible-10g-ports upper Use the no form of the flexible-10g-ports upper command when you want to enable the lower four PoD ports, instead of the upper four PoD ports, to 10 Gbps port speed. Before you issue the no flexible-10g-ports upper command, you must first issue the no speed-duplex 10g-full command on the upper four PoD ports. To display the configuration for the flexible-10g-ports upper command on a stack unit, use the show stack <stack-unit> command.
Brocade#show stack 1 stack unit 1 module 1 icx6610-24f-sf-port-management-module module 2 icx6610-qsfp-10-port-160g-module module 3 icx6610-8-port-10g-dual-mode-module stack-trunk 1/2/1 to 1/2/2 stack-trunk 1/2/6 to 1/2/7 stack-port 1/2/1 1/2/6 flexible-10g-ports upper
NOTE
Displaying license configuration for PoD ports for ICX 6610 devices
To display a license configuration for all PoD ports for all units in a stack, enter the following command at the CLI level.
Brocade#show pod Unit-Id: 1 PoD license capacity: 4 PoD license capacity used: PoD-ports 1/3/1 1/3/2 1/3/3 1/3/4 1/3/5 Lic-state default default default default acquired
(UPPER) 4
210
Unit-Id: 2 PoD license capacity: 8 PoD license capacity used: PoD-ports 2/3/1 2/3/2 2/3/3 2/3/4 2/3/5 2/3/6 2/3/7 2/3/8 Lic-state acquired acquired acquired acquired acquired acquired acquired acquired
Unit-Id: 3 PoD license capacity: 4 PoD license capacity used: PoD-ports 3/3/1 3/3/2 3/3/3 3/3/4 3/3/5 3/3/6 3/3/7 3/3/8 Lic-state acquired acquired acquired acquired default default default default
(LOWER) 4
Syntax: show pod [unit <id>] The unit <id> parameter specifies the unit ID number of the PoD you want to display. Table 33 describes the information displayed in the output of the show pod unit command.
TABLE 33
Field
Unit-Id
211
Displaying license configuration for PoD ports for ICX 6450 devices
By default at bootup, the license state for ports 2 and 4 are in the acquired state. The following output from the show pod command displays port 2 and 4 as acquired. Upon installing the ICX6450-2X10G-LIC-POD license, ports 2 and 4 can be enabled to run in 10 Gbps port speed. The license state for ports 2 and 4 remains in the acquired state.
Brocade#show pod Unit-Id: 1 PoD-ports Lic-state 1/2/2 acquired 1/2/4 acquired
If ports 2 and 4 are configured to 1 Gbps port speed, the license state changes to default. The following output from the show pod command displays port 2 and 4 in the default state.
Brocade#show pod Unit-Id: 1 PoD-ports Lic-state 1/2/2 default 1/2/4 default
Syntax: show pod [unit <id>] The unit <id> parameter specifies the unit ID number of the PoD you want to display. For a description of the fields in the show pod and show pod [unit <id>] command outputs, refer to Table 33 on page 211.
When a single ICX6610-10G-LIC-POD license is downloaded onto the device, you can upgrade
the first four or the last four PoD ports to 10 Gbps port speed. However, if you upgrade the fifth port to 10 Gbps port speed, the following syslog message and error message displays.
SYSLOG: <14>Jul 31 00:33:46 10.20.147.22 PoD: No license present for port 1/3/3". POD:No license present for port 3.
The error message is displayed because the port you are attempting to upgrade to 10 Gbps port speed has exceeded the license capacity that is downloaded onto the device. To upgrade all eight ICX 6610 ports to 10 Gbps port speed, purchase a second ICX6610-10G-LIC-POD license.
There is no trial license available for the PoD feature for ICX 6610 and ICX 6450 devices.
212
In an ICX Ironstack, a stack member unit without a PoD license can join a stack even when the
active or master stack unit has a PoD license.
All trunk ports must operate at 1 Gbps or 10 Gbps speed in a stack. You cannot mix and match
trunk ports with different port speeds.
In a trunk formation, if there is no license installed in a stack upon bootup or hot swap of a
stack unit, a port is disabled. This does not affect the trunk formation.
When the speed-duplex 10g-full command is configured for a port or multiple ports on an
interface, and there is no license or an insufficient license in the stack upon bootup or hot swap of a stack unit, the port is configured to 10 Gbps port speed. However, the port is in ERROR_DISABLED state until you install the correct license in the stack. A syslog message is generated every 30 seconds stating that the license is not present on the port. The error disable recovery timer checks every 30 seconds to see if the correct license is installed in the stack. Once the correct license is installed, the port is automatically enabled to operate at 10 Gbps port speed on the next cycle of the timer. You can also enable the port manually to operate at 10 Gbps port speed once the correct license is installed.
In a stack, the speed-duplex 10g-full command is rejected on the primary port if all ports in a
trunk do not have the correct license installed to upgrade to 10 Gbps port speed. The following error message is displayed.
Error:Not enough 10Gig License present for all the ports in trunk
If you delete the license from the stack, the port runs in 10 Gbps mode until the switch is
reloaded. If the speed-duplex 10g-full command is entered, the following syslog message is displayed.
SYSLOG: <14>Jul 31 00:33:46 10.20.147.22 PoD: No license present for port 1/3/3".
213
Brocade#show interface ethernet 3/2/2 10GigabitEthernet3/2/2 is ERR-DISABLED (invalid license), line protocol is down Hardware is 10GigabitEthernet, address is 748e.f883.01fa (bia 748e.f883.01fa) Configured speed 10Gbit, actual unknown, configured duplex fdx, actual unknown Stacking Port, port state is DISABLED BPDU guard is Disabled, ROOT protect is Disabled Link Error Dampening is Disabled STP configured to ON, priority is level0, mac-learning is enabled Flow Control is enabled Mirror disabled, Monitor disabled Not member of any active trunks Not member of any configured trunks No port name
Once the correct license is installed, the port displays the state as up as shown in the example output below.
Brocade#show interface ethernet 3/2/2 10GigabitEthernet6/2/2 is up, line protocol is up Hardware is 10GigabitEthernet, address is 748e.f882.f872 (bia 748e.f882.f872) Configured speed 10Gbit, actual 10Gbit, configured duplex fdx, actual fdx Stacking Port, port state is FORWARDING BPDU guard is Disabled, ROOT protect is Disabled Link Error Dampening is Disabled STP configured to ON, priority is level0, mac-learning is enabled Flow Control is enabled Mirror disabled, Monitor disabled Not member of any active trunks Not member of any configured trunks No port name
Configuration considerations when configuring PoD for ICX 6450 devices only
Consider the following when configuring PoD for ICX 6450 devices only:
By default, without a license at bootup, ports 2 and 4 come up in 10 Gbps port speed in an
error disabled state. The show interface ethernet command displays the port in the ERROR_DISABLED state at bootup. Refer to section, Configuration considerations when configuring PoD on an interface on page 213 for output example from the show interface ethernet command.
From the default state, ports 2 and 4 can be configured to 1 Gbps port speed using the
speed-duplex 1000-full-master command without a license. You do not need to reboot the switch for the links to come up in 1 Gbps port speed.
If you download the ICX6450-2X10G-LIC-POD license to the device, insert the correct 10 Gbps
optic transceiver, and enter the speed-duplex 10g-full command on the interface, you can immediately begin using ports 2 and 4 in 10 Gbps port speed. You do not need to reboot the switch for the links to come up.
214
For any of the four uplink ports on slot 2, if you re-configure any port from 1 Gbps to 10 Gbps
port speed, you must reload the switch to begin using the ports in 10 Gbps port speed. Until you reload the switch, the ports will remain in an error-disabled state. The following example output displays ethernet port 4 in an error-disabled state.
Brocade#show interface ethernet 1/2/4 10GigabitEthernet1/2/4 is ERR-DISABLED (Reload the switch or stack to enable this port in 10G speed), line protocol is down Hardware is 10GigabitEthernet, address is 748e.f882.e39c (bia 748e.f882.e39c) Configured speed 10Gbit, actual unknown, configured duplex fdx, actual unknown Member of L2 VLAN ID 1, port is untagged, port state is DISABLED BPDU guard is Disabled, ROOT protect is Disabled Link Error Dampening is Disabled STP configured to ON, priority is level0, mac-learning is enabled Flow Control is enabled Mirror disabled, Monitor disabled Not member of any active trunks Not member of any configured trunks No port name MTU 1500 bytes 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization
215
TABLE 34
1
Configuration task
Order the desired license.
When you receive the transaction key, retrieve the LID of the Brocade device. If you received the transaction key by way of paper-pack, record the LID on the entitlement certificate in the space provided. Log in to the Brocade software portal to generate and obtain the license file. Upload the license file to the Brocade device. Verify that the license is installed. For FESX6, FSX 800, FSX 1600, FWS, FCX, ICX 6610, and ICX 6450 devices, upload the software image to the device.
3 4 5 6
Obtaining a license on page 216 Installing a license file on page 221 Using a trial license on page 223 Refer to the release notes.
Obtaining a license
The procedures in this section show how to generate and obtain a software license. 1. Order a license for the desired licensed feature. Refer to Licensed features and part numbers on page 202 for a list of valid part numbers and licensed features.
NOTE
To order and obtain a trial license, contact your Brocade representative. 2. When you receive the paper-pack or electronic transaction key, retrieve the LID of your Brocade device by entering the show version command on the device. Example command output is shown in Viewing the License ID on page 227. If you received a paper-pack transaction key, write the LID in the space provided on the entitlement certificate.
NOTE
Do not discard the entitlement certificate or e-mail with electronic key. Keep it in a safe place in case it is needed for technical support or product replacement (RMAs). 3. Log in to the Brocade software portal at http://swportal.brocade.com and complete the software license request. If you do not have a login ID and password, request access by following the instructions on the screen.
216
FIGURE 5
217
From the License Management menu, select Brocade IP/ADP > License Generation with Transaction key. The IP/ADP License Generation dialog box displays.
FIGURE 6
218
Figure 7 shows the IP/ADP License Generation dialog box for generating a license using a transaction key and LID.
FIGURE 7
For a description of the field, move the pointer over the field. An asterisk next to a field indicates that the information is required.
NOTE
You can generate more than one license at a time. For each license request, enter the Unit's Unique ID and Transaction Key, and click Add. When you have finished entering the required information, read the Brocade End User License Agreement, and select the I have read and accept check box.
219
Click the Generate button to generate the license. Figure 8 shows the results window, which displays an order summary and the results of the license request.
If the license request is successful, the Status field shows Success and the License File
field contains a hyperlink to the generated license file. The license file is automatically sent by e-mail to the specified customer e-mail address.
If the license request fails, the Status field indicates the reason it failed and the action to
be taken.
FIGURE 8
4. Download the license file to your PC by either clicking the hyperlink in the License File field or saving the license file from the e-mail attachment. 5. Upload the license file to the Brocade device as instructed in Installing a license file on page 221.
220
Using TFTP to copy a license file on FESX, SX 800 and SX 1600, and FWS devices
To copy a license file from a TFTP server to the license database of the Brocade device, enter a command such as the following at the Privileged EXEC level of the CLI:
Brocade# copy tftp license 10.1.1.1 lic.xml
Syntax: copy tftp license [<IP_address>| <ipv6_address>] <license_filename_on_host> The <IP_address> variable is the address of the IPv4 TFTP server. The <ipv6_address> variable is the address of the IPv6 TFTP server. The <license_filename_on_host> variable is the filename of the license file. If you attempt to download the same license twice on the device, the following error message is displayed on the console.
Can't add the license string - 93 (DUPLICATE_LICENSE)
Syntax: copy tftp license [<IP_address>| <ipv6_address>] <license_filename_on_host> unit <unit_id> The <IP_address> variable is the address of the IPv4 TFTP server. The <ipv6_address> variable is the address of the IPv6 TFTP server. The <license_filename_on_host> variable is the filename of the license file. The unit <unit_id> parameter specifies a unit for which you want to add a software license file. The <unit_id> variable can be from 1 through 8. If you attempt to download the same license twice on the device, the following error message is displayed on the console.
Can't add the license string - 93 (DUPLICATE_LICENSE)
221
The scp <license_file_on_host> <user>@<IP_address>:license command is supported on FESX, SX 800 and SX 1600, and FWS devices. To copy a license file from an SCP-enabled client to the license database of the Brocade device, enter a command such as the following on the SCP-enabled client:
c:\scp c:\license\license101 [email protected]:license
Syntax: scp <license_file_on_host> <user>@<IP_address>:license On FCX and ICX devices, to copy a license file from an SCP-enabled client to the license database of a specific unit, enter a command such as the following on the SCP-enabled client:
scp license.xml [email protected]:license:3
In the example above, the license is copied to unit 3. Syntax: scp <license_file_on_host> <user>@<IP_address>:license:<unit id> The unit <unit_id> parameter specifies a unit for which you want to add a software license file. The <unit_id> variable can be from 1 through 8.
NOTE
This command immediately removes the license from the license database. The CLI commands related to the licensed feature will no longer be available from the CLI. The licensed feature will continue to run as configured until the software is reloaded, at which time the feature will be disabled and removed from the system. Syslog and trap messages are generated when the license is deleted. Syntax: license delete <index_number>
222
The <index_number> variable is a valid license index number. The license index number can be retrieved from the show license command output. For more information, refer to Viewing information about software licenses on page 227.
To delete a specific license file from a unit, enter the following command at the Privileged EXEC level of the CLI:
Brocade# license delete unit 3 index 3
Syntax: license delete unit <unit_id> [all | index <license_index>] The <unit_id> variable specifies the unit ID number. The all option allows you to delete all license files for a specific unit. The index <license_index> parameter specifies the software license file, and is generated by the member unit. The license index number is the license file you want to delete from a unit. The license index number is not unique across stack units, and the user must specify both the unit number and the index number to delete a license from a specific unit. For example, the FCX-ADV-LIC-SW license is installed on both stack unit 3, index 1, and stack unit 5, index 1. Because the index numbers are the same, the user must specify both the unit number and the index number to delete a license from a specific unit.
NOTE
NOTE
223
When the license has expired, the following message will appear on the console. Syslog and trap messages will also be generated.
SYSLOG: <13>Jan 1 00:00:00 624-top License: Package FESX624-L3U-IPV6 with LID NFLLJMI has expired
Hardware part number, serial number, and description Software part number, serial number, and description Date the license was installed Transaction key LID Feature name Product line
From the License Management menu, select Brocade IP/ADP > License Query. The License Query window displays. (Refer to Figure 9).
224
FIGURE 9
To view software license information for a particular unit, enter the LID in the Unit ID field and
click Search.
To view software license information for a particular transaction key, enter the unique number
in the Transaction key field and click Search. Figure 10 shows an example of the license query results.
FIGURE 10
In this example, the line items for Level 1 display hardware-related information and the line items for Level 2 display software-related information. If the query was performed before the transaction key was generated, the first row (Level 1) would not appear as part of the search results. Similarly, if the query was performed before the license was generated, some of the information in the second row would not be displayed.
225
Transferring a license
Transferring a license
A license can be transferred between Brocade devices if both the following conditions are true:
The device is under an active support contract. The license is being transferred between two similar models (for example, from a 24-port
model to another 24-port model or from a 48-port model to another 48-port model).
NOTE
Transferring a license is only available internally for TAC, and externally for designated partners with specific accounts in the Software Portal. Contact your Brocade representative for more information.
If the replacement device will be upgraded to a software release that supports software-based
licensing, registration of the replacement device is required after the software is upgraded.
If the replacement device will be using a software release that does not support
software-based licensing, follow these instructions:
NOTE
This procedure is not supported on FCX and ICX platforms. 1. Prior to shipping the device in need of replacement back to the factory, remove the EEPROM from the device. To remove the EEPROM, follow the instructions in the appropriate hardware installation guide or in the instructions that shipped with the EEPROM. 2. After removing the EEPROM, store it in a safe place. 3. When the replacement device is received from the factory, install the previously removed EEPROM in the device. To do so, follow the instructions that shipped with the EEPROM.
226
TABLE 35
Message level
Informational Informational Warning
Syslog messages
Message
License: Package <package_name> with LID <LID_number> is added License: Package <package_name> with LID <LID_number> is removed License: Package <package_name> with LID <LID_number> expires in <number> days
Explanation
The license package has been added. The license package has been deleted. The trial license is about to expire. This message will begin to display three days before the expiration date, and every two hours on the last day that the license will expire. The trial license has expired.
Notification
NOTE
227
HW: Stackable FCX648S ========================================================================== UNIT 1: SL 1: FCX-48GS POE 48-port Management Module Serial #: BCY2253E0PM License: FCX_ADV_ROUTER_SOFT_PACKAGE (LID: deaHHKIgFro) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 PROM-TYPE: FCX-ADV-U ========================================================================== UNIT 1: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================== =============== UNIT 1: SL 3: FCX-2XG 2-port 10G Module (2-XFP) ========================================================================== UNIT 2: SL 1: FCX-48GS POE 48-port Management Module Serial #: upgrade7072 License: FCX_FULL_ROUTER_SOFT_PACKAGE (LID: ZU0W478MFMH) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ========================================================================== UNIT 2: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== ========================================================================== UNIT 3: SL 1: FCX-48GS POE 48-port Management Module Serial #: BCY2253E0P8 License: FCX_ADV_ROUTER_SOFT_PACKAGE (LID: deaHHKIgFrN) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ========================================================================== UNIT 3: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== ========================================================================== UNIT 4: SL 1: FCX-24GS 24-port Management Module Serial #: BCV2233E00B License: FCX_FULL_ROUTER_SOFT_PACKAGE (LID: dexHHIIgFFd) P-ENGINE 0: type DB90, rev 01 ========================================================================== UNIT 4: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== ========================================================================== UNIT 5: SL 1: FCX-48GS 48-port Management Module Serial #: UPGRADE7072 License: FCX_ADV_ROUTER_SOFT_PACKAGE (LID: writcfgMFMH) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ==========================================================================
Syntax: show version In the show license command output, only unit 3 and unit 5 are shown with the software license, FCX-ADV-LIC-SW. Unit 1 is not displayed in the show license command output because it has a hardware license installed on the device as indicated by the PROM-TYPE: FCX-ADV-U. For more information about the show license command, refer to Viewing the license database on page 229.
228
Brocade#show license Index License Name Capacity Stack unit 3: 1 FCX-ADV-LIC-SW Stack unit 4: 1 FCX-ADV-LIC-SW Stack unit 5: 1 FCX-ADV-LIC-SW
Lid
License Type
Status
License Period
License
1 1 1
Normal Normal
Active Active
Unlimited Unlimited
1 1
To display software license information on an ICX 6610 device (for example, the ICX 6610 premium and advance licenses) enter the following command.
Brocade#show license Index License Name Stack unit 1: 1 ICX6610-PREM-LIC-SW 2 ICX6610-10G-LIC-POD Stack unit 2: 1 ICX6610-ADV-LIC-SW 2 ICX6610-10G-LIC-POD Stack unit 3: 1 ICX6610-ADV-LIC-SW 4 ICX6610-10G-LIC-POD
License Capacity 1 8 1 8 1 8
229
To display software license information on an ICX 6430 device, enter the following command. In the example below, the premium and PoD licenses are installed on stack unit 1, and on stack unit 2 only the premium license is installed.
Brocade#show license Index License Name Stack unit 1: 1 ICX6450-PREM-LIC-SW 2 ICX6450-10G-LIC-POD Stack unit 2: 1 ICX6450-PREM-LIC-SW
License Capacity 2 2 2
Syntax: show license To display software license information on an FWS device, enter the following command.
NOTE
The output from the show license command is the same for an SX 800, SX 1600, FWS, and a FESX device.
Brocade#show license Index Package Name Period 1 FWS624-EL3U
Lid cpFNJHFFGO
Status active
License unlimited
Syntax: show license To display specific software license information installed on a SX 800, SX 1600, FWS, or a FESX device, enter the following command.
Brocade#show license 1 License information for license <1>: +package name: FWS624-EL3U +lid: cpFNJHFFGO +license type: normal +status: active +license period: unlimited
Syntax: show license <index_number> The <index_number> variable specifies the specific license file installed on the device. The unit <unit_id> parameter is not applicable on a SX 800, SX 1600, FWS, or a FESX device. To display software license information for a specific stack unit on an ICX 6610, ICX 6450, or a FCX device, enter the following command. In the output below, the ICX 6610 premium license, and the POD license are installed on unit 3.
Brocade#show license unit 3 Index License Name Stack unit 3: 1 ICX6610-PREM-LIC-SW 2 ICX6610-10G-LIC-POD
License Capacity 1 8
230
Syntax: show license [unit <unit_id>] The unit <unit_id> parameter specifies the unit ID number. The unit ID number is available only on FCX, ICX 6610, and ICX 6450 devices. Table 36 describes the information displayed by the show license unit <unit_id> command
TABLE 36
Field
Index
License Period
If the license type is trial (temporary), this field displays the number of days the license is valid. If the license type is normal (permanent), this field displays Unlimited. The port capacity of the PoD license. For ICX 6610 devices, the PoD license can be a 4 port capacity license, or a 8 port capacity license depending on the number of licenses purchased. For ICX 6450 devices, the field displays license capacity 2 when the PoD license is purchased for two ports (ports two and four). The license capacity field is displayed in the show license command outputs for ICX 6610, ICX 6450, and FCX devices only.
License capacity
To display detailed information about a license for a specific unit, use the show license unit <unit_id> [index <index_number>] command. The following example shows a sample output.
Brocade#show license unit 3 index 1 License information for unit 3 license <1>: +license name: FCX-ADV-LIC-SW +lid: deaHHKIgFrN +license type: Normal +status: Active +license period: Unlimited Trial license information: +days used: 10 +hours used: 21 +days left: 30 +hours left: 18
231
The index <license_index> parameter specifies the software license file that you want to display information for. The index <index_number> option is available only on FCX, ICX 6610, and ICX 6450 devices. Table 37 describes the information displayed by the show license unit <unit_id> [index <index_number>] command.
TABLE 37
Field
+license period
If the license type is trial (temporary), this field displays the number of days the license is valid. If the license type is normal (permanent), this field displays Unlimited. The number of days the trial license has been in effect. The number of hours the trial license has been in effect. The number of days left before the trial license expires. The number of hours left before the trial license expires.
NOTE
The software package name is not the same as the license name.
Brocade#show version Copyright (c) 1996-2011 Brocade Communications Systems, Inc. UNIT 5: compiled on Jun 24 2011 at 14:20:38 labeled as FCXR07203a (6674957 bytes) from Primary FCXR07203a.bin UNIT 1: compiled on Jun 24 2011 at 14:20:38 labeled as FCXR07203a (6674957 bytes) from Primary FCXR07203a.bin UNIT 2: compiled on Jun 24 2011 at 14:20:38 labeled as FCXR07203a (6674957 bytes) from Primary FCXR07203a.bin UNIT 3: compiled on Jun 24 2011 at 14:20:38 labeled as FCXR07203a (6674957 bytes) from Primary FCXR07203a.bin UNIT 4: compiled on Jun 24 2011 at 14:20:38 labeled as FCXR07203a (6674957 bytes) from Primary FCXR07203a.bin
232
Boot-Monitor Image size = 369286, Version:07.0.01T7f5 (grz07001) HW: Stackable FCX648S ========================================================================== UNIT 1: SL 1: FCX-48GS POE 48-port Management Module Serial #: BCY2253E0PM License: FCX_ADV_ROUTER_SOFT_PACKAGE (LID: deaHHKIgFro) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 PROM-TYPE: FCX-ADV-U ========================================================================== UNIT 1: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================== =============== UNIT 1: SL 3: FCX-2XG 2-port 10G Module (2-XFP) ========================================================================== UNIT 2: SL 1: FCX-48GS POE 48-port Management Module Serial #: upgrade7072 License: FCX_FULL_ROUTER_SOFT_PACKAGE (LID: ZU0W478MFMH) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ========================================================================== UNIT 2: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== ========================================================================== UNIT 3: SL 1: FCX-48GS POE 48-port Management Module Serial #: BCY2253E0P8 License: FCX_ADV_ROUTER_SOFT_PACKAGE (LID: deaHHKIgFrN) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ========================================================================== UNIT 3: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== ========================================================================== UNIT 4: SL 1: FCX-24GS 24-port Management Module Serial #: BCV2233E00B License: FCX_FULL_ROUTER_SOFT_PACKAGE (LID: dexHHIIgFFd) P-ENGINE 0: type DB90, rev 01 ========================================================================== UNIT 4: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== ========================================================================== UNIT 5: SL 1: FCX-48GS 48-port Management Module Serial #: UPGRADE7072 License: FCX_ADV_ROUTER_SOFT_PACKAGE (LID: writcfgMFMH) P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ==========================================================================
Syntax: show version For a list of supported software packages installed on the device, refer to Table 32 on page 206.
233
234
Chapter
Table 38 lists the individual Brocade FastIron switches and the IronStack features they support. These features are supported only on FastIron stackable devices, and are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 38
Feature
FWS
FCX1
ICX 66102
Building an IronStack Secure-setup Automatic configuration Manual configuration IronStack management IronStack management MAC address IronStack partitioning Persistent MAC address IronStack software upgrade IronStack and stack mismatch troubleshooting Hitless stacking: Hitless failover Hitless switchover Trunking of stacked ports Auto Image Copy for stack units
No
Yes
Yes
No No No No No No No
No No No No No No No
No No
No No
No Yes
Yes Yes
Yes Yes
1. All FCX models can be ordered from the factory as -ADV models. ADV models include support for Layer 3 BGP. FCX-E and FCX-I models require an optional 10 Gbps SFP+ module to support stacking. 2. All ICX 6610 models can be ordered from the factory as -ADV models. ADV models include support for Layer 3 BGP.
235
Management by a single IP address Support for up to eight units per stack. ICX 6430 supports only up to four units in the stack Flexible stacking ports Linear and ring stack topology support Secure-setup utility to make stack setup easy and secure Active Controller, Standby Controller, and member units in a stack Active Controller management of entire stack Active Controller download of software images to all stack units Standby Controller for stack redundancy Active Controller maintenance of information database for all stack units Packet switching in hardware between ports on stack units All protocols operate on an IronStack in the same way as on a chassis system
ICX devices
All ICX 6610, ICX 6430, and ICX 6450 devices can be active members of a Brocade IronStack. For information about how to install ICX 6610 devices, refer to the Brocade ICX 6610 Series Hardware Installation Guide. For information about how to install ICX 6430 and ICX 6450 devices, refer to the Brocade ICX 6450 and ICX 6430 Hardware Installation Guide. ICX devices also support trunked ports. For ICX 6610 devices, refer toICX 6610 stack topologies on page 242 for details. For ICX 6450 and ICX 6430 devices, refer to Connecting ICX 6450 and ICX 6430 devices in a stack on page 244. All ICX 6610 devices can be ordered from the factory as -ADV models with support for Layer 3 BGP.
236
Future Active Controller - The unit that will take over as Active Controller after the next reload, if its priority has been changed to the highest priority. When a priority for a stack unit is changed to be higher than the existing Active Controller, the takeover does not happen immediately to prevent disruptions in the stack operation.
Standby Controller - The stack member with the highest priority after the Active Controller. The
Standby Controller takes over if the current Active Controller fails.
Stack Member - A unit functioning in the stack in a capacity other than Active or Standby
Controller.
Stack Unit - Any device functioning within the stack, including the Active Controller and Standby
Controller.
Upstream Stack Unit - An upstream unit is connected to the first stacking port on the Active Controller. (The left-hand port as you face the stacking ports.) Refer to Figure 14 and Figure 15. Downstream Stack Unit - A downstream unit is connected to the second stacking port on the Active Controller. (The right-hand port as you face the stacking ports.) Refer to Figure 14 and Figure 15.
Clean Unit - A unit that contains no startup flash configuration or run time configuration. To
erase old configuration information, enter the erase startup-config command and reset the unit. For FCX devices, the run-time configuration on a clean unit may also contain default-port information,
Control Path - A path across stacking links dedicated to carrying control traffic such as
commands to program hardware or software image data for upgrades. A stack unit must join the control path to operate fully in the stack.
Default Port - FCX devices use the default-port command to define stacking port candidates. Interprocessor Communications (IPC) - The process by which proprietary packets are
exchanged between stack unit CPUs.
237
IronStack - A set of Brocade stackable units (maximum of eight) and their connected stacking
links so that: all units can be accessed through their common connections, a single unit can manage the entire stack, and configurable entities, such as VLANs and trunk groups, can have members on multiple stack units.
Non-Functioning Stack Unit - A stack unit that is recognized as a stack member, and is
communicating with the Active Controller over the Control Path, but is in a non-functioning state. Because of this state, traffic from the non-stack ports will not be forwarded into the stack - they will be dropped or discarded. This may be caused by an image or configuration mismatch.
Sequential Connection - Stack unit IDs, beginning with the Active Controller, are sequential. For
example, 1, 3, 4, 6, 7 is sequential if Active Controller is 1. 1, 7, 6, 4, 3 are non-sequential in a linear topology, but become sequential in a ring topology when counted from the other direction as: 1, 3, 4, 6, 7. Gaps in numbering are allowed.
Standalone Unit - A unit that is not enabled for stacking, or an Active Controller without any
Standby Controller or stack members.
Stacking Link - A cable that connects a stacking port on one unit to a stacking port on another
unit.
Secure Setup- A software utility that establishes a secure stack. Unit Replacement- The process of swapping out a unit with a Clean Unit. No configuration
change is required. Refer to Adding, removing, or replacing units in an IronStack on page 311.
Reserved / Provisional Unit- A unit configuration number that has no physical unit associated
with it.
Trunked Stacking Port (Trunk)- A trunk consists of multiple stacking ports and is treated as one
logical link. It provides more bandwidth and better resilience.
Stack Path - A data path formed across the stacking links to determine the set of stack
members that are present in the stack topology, and their locations in the stack.
Stacking Port - A physical interface on a stack unit that connects a stacking link. Stacking ports
are point-to-point links that exchange proprietary packets. Stacking ports must be 10 Gbps Ethernet ports, and cannot be configured for any other purpose while operating as stacking ports. Brocade stacking units contain two ports that can be stacking ports. However, the flexible stacking port feature also allows you to use one port as a stacking port and the other port as a regular data port. Refer to Controlling stack topology on page 283.
Stack Slot - A slot in a stack is synonymous with line model in a chassis. Table 39 shows the
port and slot designations for FastIron stackable devices.
Stack Topology - A contiguously-connected set of stack units in an IronStack that are currently
communicating with each other. All units that are present in the stack topology appear in output from the show stack command.
Static Configuration - A configuration that remains in the database of the Active Controller even
if the unit it refers to is removed from the stack. Static configurations are derived from the startup configuration file during the boot sequence, are manually entered, or are converted from dynamic configurations after a write memory command is issued.
Dynamic Configuration - A unit configuration that is dynamically learned by a new stack unit
from the Active Controller. A dynamic configuration disappears when the unit leaves the stack.
238
NOTE
FCX devices cannot be combined in a stack with non-FCX devices. The procedure for cabling a stack of FCX devices differs depending on whether your stack contains FCX-E and FCX-I devices. Figure 11 shows FCX-S and FCXS-F devices cabled in linear and ring stack topologies. Note that these devices are cabled from the rear panel. Figure 12 shows FCX-E devices in a ring topology stack. Figure 13 shows FCX-E devices in a linear topology stack.
239
Figure 14 shows a mixed linear topology stack of FCX-S, FCXS-F, and FCX-E or FCX-I devices. Because the FCX-E and FCX-I devices are cabled from the front panel, and FCX-S and FCXS-F devices are cabled from the rear panel by default, you need to reconfigure the default stacking ports on FCX-S or FCXS-F devices to the ports on the front panel. For more information about reconfiguring default stacking ports, refer to Configuring default ports on FCX devices on page 261.
FIGURE 11
240
FIGURE 12
Diag
5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
Diag
1 3 5 7 9 11 13 15 17 19 21 23
10
12
14
16
18
20
22
24
Diag
1 3 5 7 9 11 13 15 17 19 21 23
10
12
14
16
18
20
22
24
FIGURE 13
Diag
5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
Diag
1 3 5 7 9 11 13 15 17 19 21 23
10
12
14
16
18
20
22
24
Diag
1 3 5 7 9 11 13 15 17 19 21 23
10
12
14
16
18
20
22
24
FIGURE 14
2
3
Diag
5 7 9 11 13 15 17 19 21 23 25 27 29 31 33 35 37 39 41 43 45 47
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
Diag
1 3 5 7 9 11 13 15 17 19 21 23
10
12
14
16
18
20
22
24
241
FIGURE 15
4
(1) Stack port n/2/1 (40G) (2) Trunk 0 (3) Stack port n/2/2 (4*10G) (4) Stack port n/2/6 (40G) (5) Trunk 1 (6) Stack port n/2/7 (4*10G)
The two stacking trunks can form either linear or ring topologies. Figure 16 and Figure 17 show fully connected linear and ring topologies. Both cables of each trunk are connected.
242
FIGURE 16
FIGURE 17
243
Figure 18 shows a linear and ring topology with missing partial trunk cables. They both still work.
FIGURE 18
ICX 6610 linear and ring stack topologies with partially missing cables
244
can be used for data or uplink ports. By default, ICX 6430 and ICX 6450 devices are not configured for trunked stacking. You can dynamically configure or remove a stacking trunk port configuration using the stack-trunk command or the multi-trunk command. For more information about these commands, refer to Configuring an ICX 6430 and ICX 6450 IronStack on page 266. ICX 6450 and ICX 6430 devices support hitless stacking switchover and failover. The Secure Setup utility is supported for ICX 6450 and ICX 6430 devices.
Trunking configuration considerations for ICX 6430 and ICX 6450 devices
The ICX 6430 and ICX 6450 stacking ports are grouped into two trunks. Follow these guidelines for connecting and configuring the stacking ports: After enabling the ICX 6430 and ICX 6450 trunked stacking ports, it is recommended that you enter the write memory command to save your configuration.
NOTE
You can connect one or both ports in a trunk. Connecting both ports in a trunk increases
stacking bandwidth and provides resiliency.
You must enable stacking and connect cables properly for the stack to work. The active copper
cable lengths for 1-Gbps ports are 1 m (3.2 ft) and 5 m (16.4 ft). The copper cable lengths for 10-Gbps ports are 1 m (3.2 ft), 3 m (9.8 ft), and 5 m (16.4 ft).
The default stacking ports are always ports 1 and 3. You can trunk (or un-trunk) ports 1 to 2
and or ports 3 to 4. One or both of the two sets of stacking ports can be trunked (or un-trunked).
When creating a trunk, the ports in the same column are always trunked. For ICX 6450
devices, all stack ports must be configured to 10-Gbps port speed to enable trunking. For ICX 6430 devices, all stack ports must be at 1-Gbps port speed to enable trunking. For example, you can connect ports 1/2/3 to 1/2/4 to form one trunk on one device, and ports 2/2/1 to 2/2/2 to form a second trunk on another device.
245
If you connect both ports in a trunk, both ports must connect to both ports of one trunk on
another device.
ICX 6430 device supports up to four units in a stack. ICX 6450 device supports up to eight
units in a stack. You can mix and match stacking units between ICX 6450 48-port units and ICX 6450 24-port units. You cannot mix and match stacking units between ICX 6430 and ICX 6450 devices with 1-Gbps ports. You cannot mix and match stacking units between ICX 6430 48-port units and ICX 6430 24-port units.
246
FIGURE 19
ICX 6430 and ICX 6450 stacking with one port per trunk
FIGURE 20
247
FIGURE 21
Software requirements
All units in an IronStack must be running the same software version. Refer to IronStack troubleshooting on page 315 for more information.
248
Consider the number of units and how the stacking ports on the units will be connected. For
more information, refer to the Brocade FCX Hardware Installation Guide.
The stack should be physically cabled in a linear or ring topology. Connect only those units that
will be active in the stack.
Make sure all units intended for the stack are running the same software version. Refer to
Confirming IronStack software versions on page 282.
When you have a full stack of 8 units, you may need to increase the trap hold time from the
default, which is 60 seconds, to five minutes (300 seconds). This will prevent the loss of initial boot traps. To increase the trap hold time, use the following command.
Brocade# snmp-server enable traps hold 300
NOTE
The router image requires more time to boot than the switch image.
249
NOTE
Authentication of secure-setup packets provides verification that these packets are from
genuine Brocade stack unit. MD5-based port verification confirms stacking ports.
The stack disable command. When this command is issued, a unit does not listen for or send
stacking packets, which means that no other device in the network can force the stacking-disabled unit to join an IronStack. Secure-setup can also be used to add units to an existing IronStack (refer to Adding, removing, or replacing units in an IronStack on page 311) and to change the stack IDs of stack members (refer to IronStack unit identification on page 277). When secure-setup is issued on a unit that is not already the Active Controller, this unit becomes the Active Controller, and, if it does not have an assigned priority, secure-setup assigns it a priority of 128. Any unit that then tries to join the stack must have an assigned priority less than 128. If secure-setup discovers a unit with a priority of 128 or higher, it changes the priority to 118. When secure-setup is issued on a unit that is not already the Active Controller, this unit becomes the Active Controller. If this unit does not already have an assigned priority, secure-setup will assign this unit a priority of 128 by default, if no other units in the stack have a priority higher than 128. If another unit in the stack has a priority of 128 or higher, secure-setup will give the Active Controller a priority equal to the highest priority unit in the stack (which is by default the Standby Controller). When the Active Controller and the Standby Controller have identical priorities, during a reset, the old Active Controller cannot reassume its role from the Standby Controller (which has become the Active Controller at the reset). If the previous Active Controller again becomes active, and you want it to resume the role of Active Controller, you should set the priority for the Standby Controller to a priority lower than 128. If you do not want the previous Active Controller to remain Active Controller, you can set the same priority for both Active and Standby Controllers (higher than, or equal to 128). For details, refer to IronStack unit priority on page 277. Secure-setup works for units within a single stack. It does not work across stacks. Figure 12 on page 241 shows an IronStack with three units in a ring topology. Refer to this figure as you follow the procedure steps for this scenario.
NOTE
250
5. Enter the stack secure-setup command. As shown in the following example, this command triggers a Brocade proprietary discovery protocol that begins the discovery process in both upstream and downstream directions. The discovery process produces a list of upstream and downstream devices that are available to join the stack. Secure-setup can detect up to 7 units in each direction (14 total), but since the maximum number of units in a stack is 8, you must select a maximum of 7 units from both directions.
NOTE
To exit the secure-setup, enter ^C at any time. You should see output similar to the following.
Brocade# stack secure-setup Brocade# Discovering the stack topology... Current Discovered Topology - RING Available UPSTREAM Hop(s) Type 1 FCX624 2 FCX624 units Mac Address 0012.f239.2d40 0012.f2d5.2100
Available DOWNSTREAM units Hop(s) Type Mac Address 1 FCX624 0012.f2d5.2100 2 FCX624 0012.f239.2d40 Do you accept the topology (RING) (y/n)?: y
If you accept the topology, you will see output similar to the following.
Selected Topology: Active Id Type 1 FCX648
Selected UPSTREAM units Hop(s) Id Type Mac Address 1 3 FCX624 0012.f239.2d40 2 2 FCX624 0012.f2d5.2100
251
Selected DOWNSTREAM units Hop(s) Id Type Mac Address 1 2 FCX624 0012.f2d5.2100 2 3 FCX624 0012.f239.2d40 Do you accept the unit ids (y/n)?: y
To accept the unit ID assignments, type y. If you do not want to accept the ID assignments, type n. You can use secure-setup to renumber the units in your stack. Refer to Renumbering stack units on page 313. If you accept the unit IDs, the stack is formed, and you can see the stack topology using the show stack command.
Brocade# show stack alone: standalone, D: dynamic config, S: static ID Type Role Mac Address Pri State 1 S FCX648 active 00e0.52ab.cd00 128 local 2 D FCX624 standby 0012.f2d5.2100 60 remote 3 D FCX624 member 0012.f239.2d40 0 remote active standby +---+ +---+ +---+ -2/1| 1 |3/1--2/1| 2 |3/1--2/2| 3 |2/1+---+ +---+ +---+ Current stack management MAC is 00e0.52ab.cd00 config Comment Ready Ready Ready
For ICX devices, it displays an equals sign (=) to show connections between trunk ports, for example:
ICX6610-24P POE Router#show stack stack-port active standby +---+ +---+ +---+ =2/1| 1 |2/6==2/6| 5 |2/1==2/1| 4 |2/6= | +---+ +---+ +---+ | | | |-------------------------------------|
For field descriptions for the show stack command, refer to Displaying stack information on page 293.
NOTE
NOTE
In this output, D indicates a dynamic configuration. After you perform a write memory, this display will change to S, for static configuration. 6. The Active Controller automatically checks all prospective stack members to see if they are password protected. If a unit is password protected, you will be asked to enter the password before you can add the unit. If you do not know the password, take one of the following actions:
Discontinue secure-setup by entering ^C. Obtain the device password from the administrator. Continue secure-setup for your stack. The password-protected device and all devices
connected behind it will not be included in the setup process. In the following example, the second unit is password protected, so you are asked for the password.
252
Brocade# stack secure-setup Brocade# Discovering the stack topology... Verifying password for the password protected units... Found UPSTREAM units Hop(s) Type Mac Address 1 2 FCX648 001b.ed5e.c480 2 3 FCX648 00e0.5205.0000 Enter password for FCX648 located at 2 hop(s): **** Enter the number of the desired UPSTREAM units (1-2)[1]: 2 Selected Topology: Active Id Type 1 FCX624
Selected UPSTREAM units Hop(s) Id Type Mac Address 1 2 FCX648 001b.ed5e.c480 2 3 FCX648 00e0.5205.0000 Do you accept the unit id's (y/n)?: y
7.
When the Active Controller has finished the authentication process, you will see output that shows the suggested assigned stack IDs for each member. You can accept these recommendations, or you can manually configure stack IDs. Enter the show stack command to verify that all units are in the ready state.
Brocade# show stack alone: standalone, D: dynamic config, S: static ID Type Role Mac Address Pri State 1 S FCX624 active 00e0.5201.4000 128 local 2 S FCX648 standby 001b.ed5e.c480 0 remote 3 S FCX648 member 00e0.5205.0000 0 remote active standby +---+ +---+ +---+ -2/1| 1 |3/1--2/1| 2 |3/1--2/2| 3 |2/1| +---+ +---+ +---+ | | | |-------------------------------------| Current stack management MAC is 00e0.5201.4000 Brocade# config Comment Ready Ready Ready
For ICX devices, it displays the port up state of all ports of the trunk, for example:
ICX6610-24P POE Router#show stack stack-port active standby +---+ +---+ +---+ =2/1| 1 |2/6==2/6| 5 |2/1==2/1| 4 |2/6= | +---+ +---+ +---+ | | | |-------------------------------------| U# 1 Stack-port1 up (1/2/1-1/2/5) Stack-port2 up (1/2/6-1/2/10)
253
up ports: 1/2/1, 1/2/2, 1/2/3, 1/2/4, 1/2/5 up ports: 1/2/6, 1/2/7, 1/2/8, 1/2/9, 1/2/10 4 up (4/2/1-4/2/5) up (4/2/6-4/2/10) up ports: 4/2/1, 4/2/2, 4/2/3, 4/2/4, 4/2/5 up ports: 4/2/6, 4/2/7, 4/2/8, 4/2/9, 4/2/10 up (5/2/1-5/2/5) up (5/2/6-5/2/10) up ports: 5/2/1, 5/2/2, 5/2/3, 5/2/4, 5/2/5 up ports: 5/2/6, 5/2/7, 5/2/8, 5/2/9, 5/2/10
A 4x10G port consists of four sub-ports and the show stack-port command displays all sub-ports. So ports 1/2/2-1/2/5 in the previous code example are sub-ports of port 1/2/2 and 1/2/7-1/2/10 are sub-ports of 1/2/7.
NOTE
NOTE
For field descriptions for the show stack command, refer to Displaying stack information on page 293. 8. Enter the write memory command on the Active Controller once all of the stack units are active. This command initiates configuration synchronization, which copies the configuration file of the Active Controller to the rest of the stack units.
NOTE
The secure-setup process may modify your configuration with information about new units, stacking ports, and so on. For this reason, it is very important to save this information by issuing the write memory command. If you do not do this, you may lose your configuration information the next time the stack reboots. The secure-setup process for your stack is now complete. During the secure-setup process, after one minute of inactivity, authentication for stack members will expire and you will need to restart the process.
NOTE
Scenario 2 - Three-member IronStack in a ring topology using the automatic setup process
FCX devices determine stacking port candidates through the default-port setting. An FCX stackable device with the default port configuration is still considered a clean unit. To ensure that the device remains a clean unit, do not do a write memory on the device. For more detailed information about configuring an FCX IronStack, refer to FCX IronStack configuration on page 258.
254
Configuring a three-member IronStack in a ring topology using the automatic setup process
Complete the following steps to configure a three-member IronStack in a ring topology using automatic setup process. 1. Power on the devices. 2. This process requires clean devices (except for the Active Controller) that do not contain any configuration information. To change a device to a clean device, enter the erase startup-config command and reset the device. When all of the devices are clean, continue with the next step.
NOTE
The physical connections must be sequential, and must match the stack configuration. 3. Log in to the device that you want to be the Active Controller. 4. Configure the rest of the units by assigning ID numbers and module information on each unit.The stack ID can be any number from 1 through 8.
Brocade# config t Brocade(config)# stack unit 2 Brocade(config-unit-2)# module 1 fcx-24-port-copper-base-module Brocade(config-unit-2)# module 2 fcx-xfp-1-port-10g-module Brocadeconfig-unit-2)# module 3 fcx-xfp-1-port-10g-module Brocade(config-unit-2)# stack unit 3 Brocade(config-unit-3)# module 1 fcx-24-port-copper-base-module Brocade(config-unit-3)# module 2 fcx-xfp-1-port-10g-module Brocade(config-unit-3)# module 3 fcx-xfp-1-port-10g-module
NOTE
Each stack unit must have a unique ID number. 5. Assign a priority to the Active Controller using the priority command, as shown.
Brocade(config)# stack unit 1 Brocade(config-stack-1)# priority 255
The <num> variable is a value from 0 through 255. 255 is the highest priority.
6. Assign a priority to the unit that will act as Standby Controller.
Brocade# config t Brocade(config)# stack unit 2 Brocade(config-unit-2)# priority 240
7.
8. Enter the stack enable command. 9. Physically connect the devices in a stack topology, which triggers an election during which the stack is automatically configured. For more information about cabling the devices, refer to the appropriate hardware installation guides.
255
When you are configuring individual stack units, you can skip ID numbers. However, the sequence in which the units are connected must match the order in which you configure them. For example, you could configure unit 1 as FCX624, unit 3 as FCX648, unit 4 as FCX624, unit 6 as FCX624 and unit 7 as FCX648. The physical connection order must be: Active (FCX624), FCX648 (3), FCX624 (4), FCX624 (6) and FCX648 (7). The Active Controller is stack unit 1. 10. Verify your stack configuration by entering the show running config command.
Brocade# show running config Current configuration: ! ver 05.0.02 ! stack unit 1 module 1 fcx-24-port-copper-base-module module 2 fcx-xfp-1-port-10g-module module 3 fcx-xfp-1-port-10g-module priority 255 stack unit 2 module 1 fcx-24-port-copper-base-module module 2 fcx-xfp-1-port-10g-module module 3 fcx-xfp-1-port-10g-module priority 240 stack unit 3 module 1 fcx-24-port-copper-base-module module 2 fcx-xfp-1-port-10g-module module 3 fcx-xfp-1-port-10g-module stack enable !
NOTE
NOTE
For field descriptions for the show running config command, refer to Displaying running configuration information on page 305. 11. To see information about your stack, enter the show stack command.
Brocade# show stack alone: standalone, D: dynamic config, S: static ID Type Role Mac Address Pri State 1 S FCX624 active 00e0.5200.0100 255 local 2 S FCX624 standby 0012.f2eb.afc0 240 remote 3 S FCX624 member 001b.ed5d.a1c0 0 remote active standby +---+ +---+ +---+ -2/1| 1 |3/1--2/1| 2 |3/1--2/2| 3 |2/1| +---+ +---+ +---+ | | | |-------------------------------------| Current stack management MAC is 00e0.5200.0100 Brocade# config Comment Ready Ready Ready
Results for ICX devices are similar, with an equals signe (=) to show connections between trunk ports, rather than the hyphen symbol (-) symbol showing connection.
256
For field descriptions for the show stack command, refer to Displaying stack information on page 293.
NOTE
Configuration notes for building a stack using the automatic setup process
If a new unit configuration matches other unit configurations, the Active Controller gives this
unit the lowest sequential ID. For example, in a stack configuration that contains eight FCX624 configurations, but only units 1, 4 and 8 are currently active, if you place a new FCX624 unit between units 4 and 8, the new unit will be assigned ID 5, even though it might match unused IDs 2, 3, 5, 6, and 7, because 5 is the lowest sequential ID.
In a ring topology, the same new unit might assume either ID if either direction produces
sequential IDs. For example, in a four-member stack where IDs 2 and 4 are reserved, a new unit could assume either I2 or ID 4 because either ID 1,2,3 or 1, 3, 4 is sequential.
Scenario 3 - Three member IronStack in a ring topology using the manual configuration process
NOTE
For more detailed information about configuring an FCX IronStack, refer to FCX IronStack configuration on page 258 Complete the following steps to configure a three-member IronStack in a ring topology using the manual configuration process. 1. Power on the devices. Do not connect the stacking cables at this point. 2. Assign a priority of 255 to unit 1, and a priority of 240 to unit 3 using the priority command. You do not have to assign a priority to the third device. Enter the stack enable command on each device. In this example, device 1 will be the Active Controller and device 2 will be the Standby Controller. Unit 1
Brocade# config t Brocadeconfig)# stack unit 1 Brocade(config-unit-1)# priority 255 Brocade(config-unit-1)# stack enable Enable stacking. This unit actively participates in stacking Brocade(config-unit-1)# write memory Write startup-config done. Brocade(config-unit-1)# Flash Memory Write (8192 bytes per dot) .Flash to Flash Done. Brocade(config-unit-1)# end
Unit 2
Brocade# config t Brocade(config)# stack enable Enable stacking. This unit actively participates in stacking Brocade(config)# Handle election, was standalone --> member, assigned-ID=2, T=261285 ms. Write startup-config done.
257
Brocade(config-unit-1)# Flash Memory Write (8192 bytes per dot) .Flash to Flash Done. Brocade(config-unit-1)# end Brocade# config t
Unit 3
Brocade# config t Brocade(config)# stack unit 1 Brocade(config-unit-1)# priority 240 Brocade(config-unit-1)# stack enable Enable stacking. This unit actively participates in stacking Brocade(config-unit-1)# end
3. Connect the devices in a stack topology. The Active Controller will retain its ID. The rest of the units are assigned unique ID numbers depending on the sequence in which you connected them. For more information about cabling the devices, refer to the appropriate hardware installation guides. This method does not guarantee sequential stack IDs. If you want to change stack IDs to make them sequential, you can use secure-setup. Refer to Renumbering stack units on page 313.
NOTE
NOTE
NOTE
The automatic setup process will not work for FCX devices that do not contain the default port information in their clean unit configurations.
258
NOTE
If you are adding FCX-E or FCX-I devices to a stack containing FCX-S or FCXS-F devices, you must reconfigure the stacking ports on the FCX-S or FCXS-F devices to be the 10 Gbps ports on the front panel. You can then connect all of the devices in a stack using front panel ports.
10-full - 10M, full duplex 10-half - 10M, half duplex 100-full - 100M, full duplex 100-half - 100M, half duplex 1000-full-master - 1G, full duplex, master 1000-full-slave - 1G, full duplex, slave 10g-full - 10G, full duplex auto - Autonegotiation
Both ends of a link must be configured for 10 Gbps for the link to operate as 10 Gbps. If you want the link to operate as a 16 Gbps link, both ends of the link must be configured for 16 Gbps.
Brocade(config-if-e10000-cx4-1/2/1)# speed-duplex 10g-full Brocade(config-if-e10000-cx4-1/2/1)# end Brocade# show int br | in Up 1/1/4 Up Forward Full 1G None No 1 0 001b.f288.0003 1/2/1 Up Forward Full 10G None No 1 0 001b.f288.0019 1/3/1 Up Forward Full 10G None No N/A 0 001b.f288.001b 3/3/1 Up Forward Full 10G None No N/A 0 0024.3814.9df3 mgmt1 Up None Full 1G None No 1 0 001b.f288.0018 Brocade# show interface e 1/2/1 16GigabitEthernet1/2/1 is up, line protocol is up Hardware is 16GigabitEthernet, address is 001b.f288.0019 (bia 001b.f288.0019) Interface type is 16Gig CX4 Configured speed 10Gbit, actual 10Gbit, configured duplex fdx, actual fdx Member of L2 VLAN ID 1, port is untagged, port state is FORWARDING BPDU guard is Disabled, ROOT protect is Disabled
NOTE
259
Link Error Dampening is Disabled STP configured to ON, priority is level0, mac-learning is enabled Flow Control is enabled mirror disabled, monitor disabled Not member of any active trunks Not member of any configured trunks No port name IP MTU 1500 bytes, encapsulation ethernet 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 0 packets output, 0 bytes, 0 underruns Transmitted 0 broadcasts, 0 multicasts, 0 unicasts 0 output errors, 0 collisions Relay Agent Information option: Disabled
260
NOTE
Table 39 identifies the slot and port designations for each model. FCX-I and FCX-E models cannot be used in an IronStack without the addition of an optional 10 Gbps SFP+ module.
NOTE
261
TABLE 39
Device
FCX624S-F FCX648S-F
Slot 2
Two 16 Gbps ports on rear panel Two 16 Gbps ports on rear panel N/A
Slot 3
Two 10 Gbps ports on front panel Two 10 Gbps ports on front panel N/A
Slot 4
N/A N/A N/A
N/A
N/A
N/A
FCX-E devices with four-port 10 Gbps SFP+ module FCX-I devices with four-port 10 Gbps SFP+ module
Four-port 10 Gbps SFP+ module (supports stacking) Four-port 10 Gbps SFP+ module (supports stacking)
N/A
N/A
N/A
N/A
NOTE
Do not connect stacking ports to non-stacking ports. Stacking ports have a proprietary packet format that renders them incompatible with regular ports even when they are forwarding regular packets. In linear topologies, make sure that end units have only one stacking port configured (secure-setup automatically configures only one stacking port for an end unit). Configuring a single stack port To configure a single stack port, enter a command similar to the following.
Brocade(config)# stack unit 3 Brocade(config-unit-3)# stack-port 3/2/1
Syntax: [no] stack-port <stack-unit/slotnum/portnum> If you enter an incorrect stack port number, you will get an error similar to the following.
Brocade(config-unit-3)# stack-port 3/4/1 Error! port 3/4/1 is invalid Brocade(config-unit-3)# stack-port 3/2/1
To return both ports to stacking status, enter the no stack-port command on the single stacking port. This converts both ports to stacking ports. By default, if both ports are stacking ports, they are displayed by the system only when stacking is enabled. If only one port is configured as a stacking port, the system always displays this port.
262
Selected UPSTREAM units Hop(s) Id Type Mac Address 1 2 FCX648POE 0012.f2d6.0511 2 3 FCX624 0200.9999.0000 Do you accept the unit ids (y/n)?: y Brocade# Election, was alone --> active, assigned-ID=1, total 3 units, my priority=128 Election, was active, no role change, assigned-ID=1, total 3 units, my priority=128 reset unit 2: diff bootup id=1 reset unit 3: diff bootup id=1 Election, was alone --> active, assigned-ID=1, total 3 units, my priority=128 Detect stack member 2 POE capable Detect stack unit 2 has different startup config flash, will synchronize it Detect stack unit 3 has different startup config flash, will synchronize it Done hot swap: Set stack unit 3 to Ready Done hot swap: Set stack unit 2 to Ready Synchronize startup config to stack unit 2 Flash Memory Write (8192 bytes per dot).Synchronize startup config to stack unit 3 Flash Memory Write (8192 bytes per dot).POE: Stack unit 2 Power supply 1 with 4 10000 mwatts capacity is up Stack unit 2 Power supply 2 is down Stack unit 3 Power supply 1 is up Stack unit 3 Power supply 2 is down Config changed due to add/del units. Do write mem if you want to keep it Election, was active, no role change, assigned-ID=1, total 3 units, my priority=128 Brocade# Config changed due to add/del units. Do write mem if you want to keep it Brocade# PoE Info: PoE module 1 of Unit 2 on ports 2/1/1 to 2/1/48 detected. Initializing.... PoE Info: PoE module 1 of Unit 2 initialization is done.
263
Brocade# show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Pri State Comment 1 S FCX624POE active 001b.f2e5.0100 128 local Ready 2 D FCX648POE standby 0012.f2d6.0511 0 remote Ready 3 D FCX624 member 0200.9999.0000 0 remote Ready standby active +---+ +---+ +---+ | 3 |3/1--3/1| 2 |2/1--2/1| 1 | +---+ +---+ +---+ Current stack management MAC is 001b.f2e5.0100 Brocade# write mem Write startup-config done. Brocade# Flash Memory Write (8192 bytes per dot) .Flash to Flash Done. Brocade#show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Pri State Comment 1 S FCX624POE active 001b.f2e5.0100 128 local Ready 2 S FCX648POE standby 0012.f2d6.0511 0 remote Ready 3 S FCX624 member 0200.9999.0000 0 remote Ready standby active +---+ +---+ +---+ | 3 |3/1--3/1| 2 |2/1--2/1| 1 | +---+ +---+ +---+ Current stack management MAC is 001b.f2e5.0100 Brocade#
Syntax: [no] longpreamble Use the no form of the command to revert to the 4-byte Ethernet preamble.
264
NOTE
265
266
The following warning is displayed on the CLI if the stack-trunk command results in a trunk-to-port connection.
Error- this command will result in a port-to-trunk connection between stack 1 and 2. Please use "multi-trunk" command instead.
Use the multi-trunk command to configure a stack trunk on two directly connected stack units to ensure that a trunk-to-trunk connection is formed on both units at the same time. Syntax: [no] stack-trunk Use the no form of the command to disable the stack trunk configuration. To save the configuration, enter the write memory command.
267
Error- Primary trunk port 1/2/3 is not UP; removing the trunk might break the stack
To upgrade to a double port trunk configuration, enter the multi-trunk command under the stack unit configuration level. Enter the following command.
Brocade(config)#stack unit 1 Brocade(config-unit-1)# multi-trunk 1/2/3 to 1/2/4 and 2/2/1 to 2/2/2 Brocade(config-unit-1)#stack unit 2 Brocade(config-unit-2)# multi-trunk 2/2/3 to 2/2/4 and 3/2/1 to 3/2/2
Syntax: [no] multi-trunk Use the no form of the command to disable the configuration of the two connected stack trunk ports, and convert the secondary stack ports to data ports.
The running or start-up configuration displays the following configuration for the show stack command.
Brocade#show stack stack unit 1 module 1 icx6450-48p-poe-port-management-module module 2 icx6450-sfp-plus-4port-40g-module default-ports 1/2/1 1/2/3 stack-trunk 1/2/3 to 1/2/4 stack-port 1/2/1 1/2/3 stack unit 2 module 1 icx6450-24-port-management-module module 2 icx6450-sfp-plus-4port-40g-module default-ports 2/2/1 2/2/3 stack-trunk 2/2/1 to 2/2/2 stack-port 2/2/1 2/2/3
268
Periodic background stack diagnosis for ICX 6430 and ICX 6450 devices
After a stack forms, the system periodically probes the topology to check the connections between units of this stack. It can detect the following errors. The purposes are to detect user's connection problem and hardware failures. Error messages are printed about every 10 minutes. If there is no printout, there is no problem. This diagnosis runs in the background.
Error messages encountered during the configuration of an ICX 6430 or ICX 6450 IronStack
The following error messages may occur when configuring an ICX 6430 or ICX 6450 IronStack:
In you form a multi-trunk connection on two sets of stack ports that are not directly connected
on neighboring units, the multi-trunk command is rejected and an error message is displayed. The following is an example of an error message.
Error- 1/2/3 and 1/2/4 are not connected; please use directly connected stack-ports to form stack-trunks.
When an unit joins or leaves a stack, or a stack trunk is configured using the stack-trunk
command, a stack election is triggered. The multi-trunk command triggers a stack election among the stack units and reprograms (or removes) the stack trunk port in the hardware. A timer is set on all units to coordinate a stack election. The traffic interruption time generally takes less than 5 seconds for the system to detect the port down event and reprogram HW. You must wait for the stack election to be completed before entering another command. If you do not wait for the stack election to finish, the following warning message is displayed.
Stack port or trunk change is in progress, please try later.
You cannot enter the stack-switchover command until the stack election is completed. You can enter the stack-switchover command following the multi-trunk command configuration. If you enter the stack-switchover command before the stack election is completed, the following warning message is displayed.
Please try later, reason: during stack port or trunk deployment.
269
If ports 2 and 4 of the ICX 6450-24 device are not configured to 10 Gbps port speed, then the
multi-trunk command and the stack-trunk command are rejected with the following error message.
Error! port 1/2/2 is not configured as 10G
You must first enable the port to 10 Gbps port speed using the speed-duplex 10g-full command. For more information about configuring ports to 10 Gbps port speed, refer to Licensing for Ports on Demand on page 208.
You cannot use the stack-port command to remove a stacking port if the port is part of a stack
trunk. You must first remove the stack trunk and then remove the stack port. Use the stack-trunk command or the multi-trunk command to remove the stack trunk. If you attempt to remove the stack port before removing the stack trunk, an error message is displayed. The following is an example of an error message.
Please remove stack-trunk 1/2/3 - 1/2/4 using "stack-trunk" or "multi-trunk" command before removing stack port 1/2/3.
One Active Controller, one Standby Controller, and stack members. All stack members show a status of Ready
The following output shows an example configuration of an FCX IronStack.
Brocade# show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Pri State Comment 2 S FCX648POE standby 00e0.5202.0000 0 remote Ready 3 S FCX624POE member 00e0.5203.0000 0 remote Ready 4 S FCX648 member 00e0.5204.0000 0 remote Ready 5 S FCX648POE member 0000.0000.0000 0 remoteReady 8 S FCX648POE active 00e0.5201.0000 128 local Ready active standby +---+ +---+ +---+ +---+ -2/1| 8 |2/2--2/1| 4 |2/2--2/1| 3 |2/2--2/1| 2 |2/2| +---+ +---+ +---+ +---+ | |--------------------------------------------------| Current stack management MAC is 00e0.5201.0000
Results for ICX devices are similar, with an equals sign (=) to show connections between trunk ports, rather than the hyphen symbol (-) showing connections. The next example shows output from the show version command for the same FCX stack.
Brocade# show version Copyright (c) 1996-2009 Brocade Communications Systems, Inc. UNIT 8: compiled on Jun 17 2009 at 06:23:29 labeled as FCX06000a359 (3578117 bytes) from Primary FCX06000a359.bin
270
SW: Version 06.0.00a359T7f1 UNIT 2: compiled on Jun 17 2009 at 06:23:29 labeled as FCX06000a359 (3578117 bytes) from Primary FCX06000a359.bin SW: Version 06.0.00a359T7f1 UNIT 3: compiled on Jun 17 2009 at 06:23:29 labeled as FCX06000a359 (3578117 bytes) from Primary FCX06000a359.bin SW: Version 06.0.00a359T7f1 UNIT 4: compiled on Jun 17 2009 at 06:23:29 labeled as FCX06000a359 (3578117 bytes) from Primary FCX06000a359.bin SW: Version 06.0.00a359T7f1 Boot-Monitor Image size = 365257, Version:06.0.00T7f5 (grz06000) HW: Stackable FCX648P-POE ========================================================================== UNIT 2: SL 1: FCX-48G POE 48-port Management Module P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ========================================================================== UNIT 2: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== UNIT 3: SL 1: FCX-24G POE 24-port Management Module P-ENGINE 0: type DB90, rev 01 ========================================================================== UNIT 3: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== UNIT 3: SL 3: FCX-2XG 2-port 10G Module (2-XFP) ========================================================================== UNIT 4: SL 1: FCX-48G 48-port Management Module P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ========================================================================== UNIT 4: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== UNIT 4: SL 3: FCX-2XG 2-port 10G Module (2-XFP) ========================================================================== UNIT 8: SL 1: FCX-48G POE 48-port Management Module P-ENGINE 0: type DB90, rev 01 P-ENGINE 1: type DB90, rev 01 ========================================================================== UNIT 8: SL 2: FCX-2XGC 2-port 16G Module (2-CX4) ========================================================================== 800 MHz Power PC processor (version 33/0022) 144 MHz bus 65536 KB flash memory 256 MB DRAM Monitor Option is on STACKID 8 system uptime is 21 hours 2 minutes 23 seconds STACKID 2 system uptime is 21 hours 2 minutes 22 seconds STACKID 3 system uptime is 21 hours 2 minutes 23 seconds STACKID 4 system uptime is 21 hours 2 minutes 22 seconds The system : started=warm start reloaded=by "reload" My stack unit ID = 8, bootup role = active *** NOT FOR PRODUCTION ***
NOTE
For field descriptions for the show running config command, refer to Displaying running configuration information on page 305.
271
NOTE
For field descriptions for the show stack and show stack detail commands, refer to Displaying stack information on page 293. The output from the show stack command contains a visual diagram of the stack. The dashed line between ports 1/2/1 and 3/2/1 indicates that this stack is configured in a ring topology. If the link between ports 1/2/1 and 3/2/1 is lost, the stack topology changes to linear, and the diagram changes to resemble the following.
active standby +---+ +---+ +---+ -2/1| 1 |3/1--2/1| 2 |3/1--2/2| 3 |2/1+---+ +---+ +---+
The interfaces at either of a stack member are stacking ports. If no interface is displayed, it indicates that there is no stacking port configured. For example, the following diagram shows that stack units 1 and 3 each have only one stacking port configured.
active standby +---+ +---+ +---+ | 1 |3/1--2/1| 2 |3/1--2/2| 3 | +---+ +---+ +---+
For more detailed information, you can enter the show stack detail command.
272
Through a direct serial connection to the console port Through a local or remote Telnet session using the stack IP address
You can initiate a local Telnet or SNMP connection by attaching a cable to a port and specifying the assigned management station IP address. The stacking commands in the CLI are organized into the following levels:
Global Commands issued in the global mode are applied to the entire stack. Stack Member Configuration Mode Commands issued in this mode apply to the specified
stack member. Configuration information resides in the Active Controller.
Configuration Mode This is where you make configuration changes to the unit. To save
changes across reloads, you need to save them to the Active Controller startup-config file. The configuration mode contains sub-levels for individual ports, for VLANs, for routing protocols, and other configuration areas. By default, any user who can open a serial or Telnet connection to the IronStack can access all of these CLI levels. To secure access, you can configure Enable passwords or local user accounts, or you can configure the Active Controller to use a RADIUS or TACACS/TACACS+ server for authentication. Refer to Chapter 4, Security Access.
NOTE
273
When a stack unit establishes communication with the Active Controller, it also establishes a remote console session to the Active Controller. In a normally functioning IronStack, a console cable may be connected to any of the stack units and provide access to the same commands on the Active Controller. You can terminate a session by entering Ctrl+O followed by x or X, or by entering the exit command from the User EXEC level, or by entering the logout command at any level. For the rconsole connections from the stack units to the Active Controller, the escape sequence and other methods of terminating the session are not available.
NOTE
Error messages that are generated during a reload of the Active Controller will not appear on rconsole connections from the stack units to the Active Controller. To see these error messages, you must connect a console cable to the Active Controller itself. To establish an rconsole session, enter the rconsole command as shown:
Brocade# rconsole 1
NOTE
Syntax: rconsole <stack-unit> The following example shows how to establish rconsole sessions to stack members. Notice that the show stack command on the stack members displays different information than what is shown when the show stack command is entered on the Active Controller. To see the status of your stack units, enter the show stack command on the Active Controller.
Brocade# show stack alone: standalone, D: dynamic config, S: ID Type Role Mac Address 1 S FCX648P active 0012.f2de.8100 2 S FCX624P standby 0012.f2e2.ba40 3 S FCX624P member 001b.ed7a.22c0 active standby +---+ +---+ +---+ -2/1| 1 |3/1--2/1| 2 |3/1--2/2| 3 |2/1| +---+ +---+ +---+ | | | |-------------------------------------| Current stack management MAC is 0012.f2de.8100 Brocade# static config Pri State 128 local 0 remote 0 remote
NOTE
For field descriptions for the show stack command, refer to Displaying stack information on page 293. Establish a remote console session with stack unit 2.
Brocade# rconsole 2 Connecting to unit 2... (Press Ctrl-O X to exit) rconsole-2@Brocade#show stack ID Type Role Mac Address Prio State 2 S FCX624P standby 0012.f2e2.ba40 0 local
Comment Ready
274
Comment Ready
NOTE
For hitless stacking failover, Brocade recommends that you configure the IronStack MAC address using the stack mac command. Without this configuration, the MAC address of the stack will change to the new base MAC address of the Active Controller. This could cause a spanning tree root change. Even without a spanning tree change, a client (for example, a personal computer) pinging the stack might encounter a long delay depending on the client MAC aging time. The client wont work until it ages out the old MAC address and sends ARP requests to relearn the new stack MAC address.
NOTE
275
Syntax: [no] stack mac <mac-address> The <mac-address> variable is a hexadecimal MAC address in the xxxx.xxxx.xxxx format. Enter the no form of this command to return the MAC address to that of the Active Controller. Output for this command resembles the following.
Brocade(config)# stack mac 0000.0000.0011 Brocade(config)# show running-config Current configuration: ! ver 05.0.01 100T7e1 ! stack 1 module 1 fcx-48-port-copper-base-module module 2 fcx-cx4-1-port-10g-module priority 80 stack 2 module 1 fcx-24-port-copper-base-module module 2 fcx-cx4-1-port-10g-module module 3 fcx-cx4-1-port-10g-module stack enable stack mac 0000.0000.0011
To display the stack MAC address, enter the show chassis command.
Brocade# show chassis The stack unit 1 chassis info: Power supply 1 (NA - AC - Regular) present, status ok Power supply 2 not present Fan 1 ok Fan 2 ok Exhaust Side Temperature Readings: Current temperature : 35.5 Warning level.......: 80.0 Shutdown level......: 90.0 Intake Side Temperature Readings: Current temperature : 33.5 Boot Prom MAC: 0012.f2de.9440 Management MAC: 0000.0000.0011 The stack unit 2 chassis info: Power supply 1 (NA - AC - Regular) present, status ok Power supply 2 not present Fan 1 ok Fan 2 ok --More--, next page: Space, next line: Return key, quit: Control-c
276
For field descriptions for the show chassis command, refer to Displaying IronStack chassis information on page 291.
NOTE
All MAC address entries All MAC address entries for a specified Ethernet port All MAC address entries for a specified VLAN A specified MAC address entry in all VLANs
For example, to remove entries for the MAC address 000d.cb80.00d in all VLANs, enter the following command at the Privileged EXEC level of the CLI.
Brocade# clear mac-address 000d.cb80.00d0
If you enter the clear mac-address command without any parameters, the software removes all
MAC entries.
Use the <mac-address> variable to remove a specified MAC address from all VLANs. Specify
the MAC address in the following format: HHHH.HHHH.HHHH.
Use the ethernet <port> parameter to remove all MAC addresses for a specified Ethernet port.
Specify the <port> variable in the format <stack-unit/slotnum/portnum>.
Use the vlan <number> parameter to remove all MAC addresses for a specified VLAN.
277
You can assign the highest priority value to the stack unit you want to function as the Active Controller. When you enter a new priority value for a stack unit, that value takes effect immediately, but does not affect the current Active Controller until the next reset. However, if you enable hitless stacking failover, the stack unit with the highest priority will become the active controller in about five minutes. For details, refer to Changing the priority of a stack unit on page 278. You can give your Active and Standby Controllers the same priority, or different priorities (Active highest, Standby second-highest). When Active and Standby Controllers have the same priority, if the Active fails and the Standby takes over, then the original Active becomes operational again, it will not be able to resume its original role if the new Active Controller has more members. In the same situation, when the priorities of the Active and Standby Controllers are different, the old Active Controller will regain its role and will reset the other units. For example, suppose both Active and Standby Controllers have the same priority. If there are more than two units in a stack and the Active Controller leaves and comes back, it cannot win back the Active role because the new Active Controller has more members than the old Active Controller, which has no members. In this case, both the old Active Controller and new Active Controller have no members, so the unit with the longer up time wins the Active role. If the old Active Controller is reset, it cannot win. If the old Active Controller is not reset, it could win due to longer up time on up time or lower unit ID. If you want to assign the same priority to the Active and Standby Controllers, you must do so after the stack is formed. This prevents the intended Standby Controller from becoming the Active Controller during stack construction. Changing the priority of a stack member will trigger an election that takes effect immediately unless the Active Controller role changes. If this is the case, the changes will not take effect until after the next stack reload. However, if you enable hitless stacking failover, the stack unit with the highest priority will become the active controller without reload. To display stack member priority values, enter the show stack command.
Brocade(config-unit-3)# show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Pri State Comment 1 S FCX624 active 0012.f2eb.a900 128 local Ready 2 S FCX624 standby 00f0.424f.4243 0 remote Ready, member after reload 3 S FCX624 member 001b.ed5d.a100 200 remote Ready, active after reload Brocade(config-unit-3)#
Changing the priority of a stack unit To change the priority value for a stack unit, enter the priority command.
Brocade(Config)# stack unit 1 Brocade(Config-unit-1)# priority 128
Once a change in priority value has taken effect, if you have enabled hitless stacking failover, the stack unit with the highest priority will become the active controller without reload. Syntax: priority <num> The <num> variable is a value from 0 through 255. 255 is the highest priority.
278
<stack-unit> - If the device is operating as a standalone, the stack-unit will be 1. Stack IDs can
be any number from 1 through 8.
<slotnum> - Refers to a specific group of ports on each device. <portnum> - A valid port number.
TABLE 40
Command
copy flash flash clear stack ipc cx4-10g kill console priority rconsole reload stack unit show chassis show flash show memory show module show running-config show stack show stack detail show stack flash show stack ipc show stack neighbors show stack resource show stack rel-ipc stats show stack rel-ipc stats unit # show stack stack-port show statistics stack-port
279
TABLE 40
Command
show interfaces stack-ports show version stack enable stack disable stack mac [mac-address] stack persistent-mac-timer stack-port default-ports stack secure-setup stack unconfigure stack unconfigure rollback hitless-failover enable stack switch-over debug stacking sync_rel_msg show stack failover show stack link-sync
NOTE
Syntax: [no] stack enable To see the configuration of the stack at any time, enter the show stacking configuration command. To remove stacking capability, enter the no stack enable command. This prevents the unit from actively sending out probe messages, however the unit could still be called to join a stack by an Active Controller. To prevent this, enter the stack disable command. The stack disable command prevents a unit from sending or listening for any stacking probe messages. In this mode, the unit cannot be forced to join a stack.
Brocade(config)# stack disable
280
Syntax: [no] stack disable To remove this restriction, enter the no stack disable command.
NOTE
If you enter the erase startup-config command or stack unconfigure clean command, all startup-config txt-related files, such as startup-config.v4 and startup-config.old are erased. You will no longer be able to recover pre-stacking startup-config.txt files.
281
BOOT INFO: bootparam at 000543e8, mp_flash_size=002ee6c5 BOOT INFO: code decompression completed BOOT INFO: branch to 00400100 Starting Main Task....... ***************************************************************************** ERR: This software needs License PROM to be installed in the system ***************************************************************************** System Reset!
If your memory DIMM is not installed correctly, you will see output similar to the following.
FCX Mem size: 0x8000000 Flash Config... FCX Boot Code Version 05.0.01 Enter b to stop at boot..... BOOT INFO: load monitor from primary, size = 103380 BOOT INFO: debug enabled!! BOOT INFO: load image from primary... BOOT INFO: bootparam at 00054338 mp_flash_size = 002f1aeb BOOT INFO: code decompression completed BOOT INFO: branch to 00400100 Starting Main Task... ***************************************************************************** ERR: This software requires 256M memory to be installed in the system. ***************************************************************************** System Reset!
When you have confirmed that your hardware upgrade is installed correctly, restart the system and check the software version using the show version command. Refer to Confirming IronStack software versions in the next section.
282
If any unit in the IronStack is running an incorrect version of the software, it will appear as non-operational. You must install the correct software version on that unit for it to operate properly in the stack. For more information, refer to Copying the flash image to a stack unit from the Active Controller in the next section.
NOTE
Copying the flash image to a stack unit from the Active Controller
To copy the flash image to a stack unit from the Active Controller primary or secondary flash, enter the following command.
Brocade# copy flash flash unit-id-pri 2
Syntax: copy flash flash [primary | secondary | unit-id-pri <unit-num>| unit-id-sec <unit-num>]
primary - Copy secondary to primary secondary - Copy primary to secondary unit-id-pri - Copy active primary image to unit ID unit-id-sec - Copy active secondary image to unit ID
The unit-id-pri and unit-id-sec keywords are used to copy images to a stack member from the Active Controller primary and secondary flash, respectively. For <unit-num>, enter a value from 1 through 8.
NOTE
You do not have to manually copy the flash image to a mismatched stack unit. For more information, refer to Auto Image Copy for stack units on page 321.
after - Schedule reloading after certain time period at - Schedule reloading at an exact later time cancel - Cancel scheduled reload unit-id - Stack members to reload. The <unit-list> variable can be a combination, such as 2,4-6,8. Tokens must be separated by a comma and there is no space.
283
Brocade# stack secure-setup Brocade# Discovering the stack topology... Current Discovered Topology - RING Available UPSTREAM units Hop(s) Type Mac Address 1 FCX624 0012.f2d5.2100 2 FCX624 001b.ed5d.9940 Available DOWNSTREAM units Hop(s) Type Mac Address 1 FCX624 001b.ed5d.9940 2 FCX624 0012.f2d5.2100 Do you accept the topology (RING) (y/n)?: n Available UPSTREAM units Hop(s) Type Mac Address 1 FCX624 0012.f2d5.2100 2 FCX624 001b.ed5d.9940 Available DOWNSTREAM units Hop(s) Type Mac Address 1 FCX624 001b.ed5d.9940 2 FCX624 0012.f2d5.2100 Enter the number of the desired UPSTREAM units (0-2)[0]: 1 Enter the number of the desired DOWNSTREAM units (0-1)[0]: Selected Topology: Active Id Type 1 FCX624
Selected UPSTREAM units Hop(s) Id Type Mac Address 1 2 FCX624 0012.f2d5.2100 Do you accept the unit ids (y/n)?: y Brocade#Election, was alone --> active, assigned-ID=1 reset unit 2: diff bootup id=1 Brocade# show stack alone: standalone, D: dynamic config, S: static ID Type Role Mac Address Pri State 1 S FCX624 active 0012.f239.2d40 128 local 2 S FCX624 standby 0012.f2d5.2100 0 remote
284
When a stack breaks into partitions, the partition with the Active Controller remains operational. If a partition contains the Standby Controller, this partition will become operational because the Standby Controller will assume the Active role and will reload the partition units. A partition without an Active or Standby Controller will not function. To reconfigure these units to act in standalone mode, you must first do a stack unconfigure me command on each unit. Refer to Unconfiguring an IronStack on page 287. To reverse the partitioning, reconnect all of the units into the original stack topology using the stacking ports. This is the same as merging stacks. If the original Active Controller again has the highest priority, it will regain its role. If two partition Active Controllers have the same priority, the Active Controller with the most stack members will win the election. This process helps minimize traffic interruption. Ring topology stacks do not partition in the event of a member failure. Operation is interrupted briefly while the stack recalculates a new path. Ring topologies are more stable than linear topologies because they provide redundant pathways in case of accidental failure.
Merging IronStacks
IronStacks may be merged, but the total number of stack units must not exceed eight. For example, you could combine two stacks with four units each into a single stack of eight units. You can merge stacks by connecting them together using the stacking ports. Before doing this, make sure that none of the stacking ports have been reconfigured as data ports (for example, ports on an end unit in a linear stack topology). You cannot use secure-setup to merge stacks because secure-setup does not work across stack boundaries. When stacks are merged, an election is held among the Active Controllers. The winner retains its configuration and the IDs of all of its original stack members. The remaining stack units lose their configuration and are reset. If the IDs of the losing stack units conflict with the IDs of the winning units they may change, and the IDs will no longer be sequential. You can use secure-setup to renumber the members in the newly merged stack. The following examples show how stack merging works:
If a stack partitions into multiple stacks because of a connection failure, and you fix the
connection, the stack partitions will merge back into the original stack with no change to stack IDs, because in this case all stack IDs are distinct.
In a linear stack topology, the end units of the stack will have only one stacking port
configured. Before you can merge two linear stacks, you must reconfigure the end units so that both ports are stacking ports.
NOTE
285
Syntax: [no] stack persistent-mac-timer <number> The <number> variable is the number of minutes during which the IronStack will retain the original MAC Address if the Active Controller fails or is removed for service. The valid value range is from 5 through 6000 minutes. If you enter a 0, it means keep this address forever. The default is 60 minutes. To disable Persistent MAC Address, enter the following command.
Brocade(config)# no stack persistent-mac-timer
NOTE
If you enter the no form of this command while the persistent MAC address timer is active, the stack will disregard the persistent MAC address and will assume the MAC address of the new Active Controller.
Persistent MAC and stack MAC cannot be used together. In the following example, the persistent MAC timer has been set to the default of 60 minutes.
Brocade(config)# stack persistent-mac 60 Brocade(config)# show running-config Current configuration: ! ver 05.0.011T7e1 ! stack 1 module 1 fcx-48-port-copper-base-module module 2 fcx-cx4-1-port-10g-module priority 80 stack 2
NOTE
286
module 1 fcx-24-port-copper-base-module module 2 fcx-cx4-1-port-10g-module module 3 fcx-cx4-1-port-10g-module stack 3 module 1 fcx-48-port-management-module module 2 fcx-cx4-2-port-10g-module priority 40 stack enable stack persistent-mac 60
To display the stack MAC addresses, enter the show stack command.
Brocade(config)# show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Prio State Comment 1 S FCX648p active 0012.f2d5.9380 80 local Ready 2 S FCX648 member 00e0.6666.8880 0 remote Ready 3 S FCX624 standby 0012.f2dc.0ec0 40 remote Ready Current persistent MAC is 0012.f2d5.9380 Brocade(config)# stack mac 111.111.111 Error: persistent stacking MAC address timer is configured Brocade(config)#
The following example shows what the Persistent MAC information looks like in the output of the show stack command when the Standby Controller becomes the Active Controller.
Brocade# show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Prio State Comment 1 S FCX648P active 0000.0000.0000 80 reserved 2 S FCX648 standby 00e0.6666.8880 0 remote Ready 3 S FCX624 master 0012.f2dc.0ec0 40 local Ready Brocade#Persistent MAC timer expires in 59 minutes 52 seconds. Current persistent MAC is 0012.f2d5.9380
Unconfiguring an IronStack
The stack unconfigure command is a run time command that returns stack units to their pre-stacking state. When a stack unit is unconfigured, its stacking flash is removed, and its startup-config.txt flash file is recovered. These actions apply to all units to which this command is applied, regardless of the role of the unit in the stack. When the stack unconfigure command is applied to the Active Controller, it removes stack enable from the run time configuration but not from the startup configuration. If you want to remove stack enable from the Active Controller permanently, you must enter the write memory command. When the stack unconfigure command is applied to the Standby Controller or a stack member (besides the Active Controller) it removes stack enable from the recovered startup-config.txt and resets the unit. When a stack unit that did not have an original startup-config file is unconfigured, it becomes a clean unit. It is possible that this unit could automatically rejoin the stack if its module configuration matches that of the Active Controller. To prevent this from happening accidentally, it is best to first disconnect the unit, and then issue the stack unconfigure me command on it.
287
To remove the configuration from a specific IronStack unit, or from the entire stack, enter a command similar to the following.
Brocade# stack unconfigure 3
<stack-unit> - Unconfigure the stack member with this ID all - Unconfigure every unit including this unit me - Unconfigure this unit only clean - Removes all startup configuration files including v4 and v5 and makes this a clean unit rollback - Recovers the earlier version (4 or 3) of a startup configuration (refer to Recovering an earlier version of a stack configuration on page 288)
NOTE
The stack unconfigure me command is available to all units, while stack unconfigure all and stack unconfigure <stack-unit> are available on the Active Controller only. The following example shows a session where stack unit 2 is unconfigured.
Brocade# show stack alone: standalone, D: dynamic config, S: static ID Type Role Mac Address Pri State 1 S FCX624 active 0012.f2eb.a900 128 local 2 S FCX648 standby 00f0.424f.4243 0 remote 3 S FCX624 member 00e0.5201.0100 0 remote config Comment Ready Ready Ready
Brocade# stack unconfigure 2 Will recover pre-stacking startup config of this unit, and reset it. Are you sure? (enter 'y' or 'n'): y Stack 2 deletes stack bootup flash and recover startup-config.txt from .old Brocade# show stack alone: standalone, D: dynamic config, S: static ID Type Role Mac Address Pri State 1 S FCX624 active 0012.f2eb.a900 128 local 2 S FCX648 member 0000.0000.0000 0 reserved 3 S FCX624 standby 00e0.5201.0100 0 remote
When the stack unconfigure 2 command is issued, stack unit 2 recovers the startup-config.txt from the startup-config.old configuration file that was saved when this unit downloaded its configuration from the Active Controller. As the output shows, stack member 2 has been removed from the stack, and ID 2 is now is reserved for a replacement unit. Stack member 3 is now the Standby Controller.
288
The stack unconfigure and stack unconfigure rollback commands are unrelated and recover different startup-config.txt files. Both commands permanently delete the current startup-config.txt and replace it with a pre-stacking (pre-05.X) startup-config.txt file. When you issue the stack unconfigure rollback command to recover the previous startup-config.v4 file, DO NOT issue a write memory command, as write memory will overwrite the recovered file. You should reboot from a pre-5.X image without doing a write memory. If you enter the erase startup-config or stack unconfigure clean commands, all startup-config text-related files, such as startup-config.v4 and startup-config.old are erased. You will no longer be able to recover pre 5.X startup-config.txt files. Syntax: stack unconfigure rollback [<stack-unit> | all | me]
NOTE
<stack-unit>- Recover the version 4 startup-config file for the stack member with this ID all - Recover the version 4 startup-config file for every unit including this unit me - Recover the version 4 startup-config file for this unit only
289
TABLE 41
Field
Compressed Pri Code size Compressed Sec Code size Compressed BootROM Code size Code Flash Free Space
Syntax: show memory Table 42 describes the fields displayed in this output example.
290
TABLE 42
Field
Total DRAM
Dynamic memory
291
Intake Side Temperature Readings: Current temperature : 32.0 deg-C Boot Prom MAC: 0012.f2db.e500
Syntax: show chassis Table 43 describes the fields displayed in this output example.
TABLE 43
Field
Power Supply 1 Power Supply 2 Fan 1 and Fan 2 Exhaust Side Temperature Readings
Intake Side Temperature Reading The current temperature reading from the air intake side of the chassis. Boot Prom MAC Management MAC The MAC address of the boot prom For the Active Controller only, the management MAC address
292
Syntax: show module Table 44 describes the fields displayed in this output example.
TABLE 44
Field
Module Status Ports Starting MAC
4810 12 3026 4 0 0
334 12 18 8 16 16
Syntax: show stack resource Table 45 describes the output fields for this command. This command displays the following information for register attributes, general 12B data, and RB-tree node.
TABLE 45
Field
alloc in-use avail get-fail limit get-mem size init
293
The following output covers the entire stack, as shown in this example output from a Brocade ICX 6610 switch.
Brocade#show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Pri State Comment 1 S ICX6610-24P member 748e.f834.5238 0 remote Ready 2 S ICX6610-48P member 748e.f834.4800 0 remote Ready 3 S ICX6610-24F member 001b.f385.0124 0 remote Ready 4 S ICX6610-48P active 748e.f834.4930 200 local Ready 5 S ICX6610-48P standby 748e.f834.4d14 200 remote Ready 6 S ICX6610-24P member 748e.f834.50b4 0 remote Ready 7 S ICX6610-24P member 748e.f834.504c 0 remote Ready 8 S ICX6610-24F member 0000.0000.0000 200 reserve active +---+ +---+ +---+ +---+ +---+ +---+ =2/1| 4 |2/6==2/6| 3 |2/1==2/1| 2 |2/6==2/6| 1 |2/1==2/1| 7 |2/6==2/6| 6 |2/1= | +---+ +---+ +---+ +---+ +---+ +---+ | | | | standby | | +---+ | ------------------------------------------------------------------2/1| 5 |2/6= +---+ Standby u5 - protocols ready, can failover or manually switch over Current stack management MAC is 001b.1234.1234
If you add a stack member ID, output is displayed for that member only.
Brocade# show stack 1 ID Type Role 1 S FCX648 active Brocade# show stack 2 ID Type Role 2 S FCX648 standby Brocade#show stack 3 ID Type Role 3 S FCX624 member Mac Address 0012.f2eb.a900 Prio State 130 local Comment Ready
Comment Ready
If you add detail to the show stack command, output resembles the following on a Brocade ICX 6610 switch.
Brocade(config)# show stack detail alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Pri State Comment 1 S ICX6610-24P member 748e.f834.5238 0 remote Ready 2 S ICX6610-48P member 748e.f834.4800 0 remote Ready 3 S ICX6610-24F member 001b.f385.0124 0 remote Ready 4 S ICX6610-48P active 748e.f834.4930 200 local Ready 5 S ICX6610-48P standby 748e.f834.4d14 200 remote Ready 6 S ICX6610-24P member 748e.f834.50b4 0 remote Ready 7 S ICX6610-24P member 748e.f834.504c 0 remote Ready 8 S ICX6610-24F member 0000.0000.0000 200 reserve active +---+ +---+ +---+ +---+ +---+ +---+ =2/1| 4 |2/6==2/6| 3 |2/1==2/1| 2 |2/6==2/6| 1 |2/1==2/1| 7 |2/6==2/6| 6 |2/1=
294
| +---+ +---+ +---+ +---+ +---+ +---+ | | | | standby | | +---+ | ------------------------------------------------------------------2/1| 5 |2/6= +---+ Standby u5 - protocols ready, can failover or manually switch over Current stack management MAC is 001b.1234.1234 Stack Port Status Unit# Stack-port1 Stack-port2 1 up (1/2/1-1/2/5) unit2 (2/2/6-2/2/10) 2 up (2/2/1-2/2/5) unit1 (1/2/6-1/2/10) 3 up (3/2/1-3/2/5) unit4 (4/2/6-4/2/10) 4 up (4/2/1-4/2/5) unit3 (3/2/6-3/2/10) 5 up (5/2/1-5/2/5) unit6 (6/2/1-6/2/5) 6 up (6/2/1-6/2/5) unit7 (7/2/6-7/2/10) 7 up (7/2/1-7/2/5) unit6 (6/2/6-6/2/10) Neighbors Stack-port2 up (1/2/6-1/2/10) up (2/2/6-2/2/10) up (3/2/6-3/2/10) up (4/2/6-4/2/10) up (5/2/6-5/2/10) up (6/2/6-6/2/10) up (7/2/6-7/2/10)
Stack-port1 unit7 (7/2/1-7/2/5) unit3 (3/2/1-3/2/5) unit2 (2/2/1-2/2/5) unit5 (5/2/1-5/2/5) unit4 (4/2/1-4/2/5) unit5 (5/2/6-5/2/10) unit1 (1/2/1-1/2/5)
Unit# System uptime 1 5 days 6 hours 58 minutes 20 seconds 2 5 days 6 hours 58 minutes 20 seconds 3 5 days 6 hours 58 minutes 20 seconds 4 5 days 6 hours 58 minutes 21 seconds 5 1 days 11 hours 45 minutes 37 seconds 6 5 days 6 hours 58 minutes 21 seconds 7 5 days 6 hours 58 minutes 21 seconds The system started at 23:43:14 GMT+00 Thu Oct 20 2011
Syntax: show stack <stack-unit> | detail Table 46 describes the fields displayed by the show stack command.
TABLE 46
Field
295
TABLE 46
Field
State Comments
NOTE
The Active Controller removes the dynamic configuration of a unit when the unit leaves. However, if there is a static trunk configuration associated with the unit, the Active Controller cannot remove the dynamic configuration. In this case, you must remove the static trunk and use the no stack unit x to manually remove the configuration. Table 47 describes the output from the show stack detail command (in addition to the show stack command fields shown in the previous table).
TABLE 47
Field
296
Syntax: show stack flash Table 48 describes the output from the show stack flash command.
TABLE 48
Field
ID role priority config
[10]=19703,
[11]=2,
[13]=5,
[11]=28,
[13]=6,
Session statistics: base-channel, unit 2, channel 0: Session state: established (last established 15 hours 33 minutes 31 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 14636, Msgs received: 14039 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 30892, Pkts received: 30842 Msg bytes sent: 1828190, Msg bytes received: 1232988 Pkt bytes sent: 2659848, Pkt bytes received: 1763028 Flushes requested: 30, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 888, ACK: 14010, WND: 437, ACK+WND: 0 DAT: 15556, DAT+ACK: 1, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 1069, Zero-window probes sent: 0 Dup ACK pkts rcvd: 1224, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: image-transfer, unit 2, channel 1:
297
Session state: established (last established 15 hours 11 minutes 2 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 9850, Msgs received: 1 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 9899, Pkts received: 10606 Msg bytes sent: 10124076, Msg bytes received: 8 Pkt bytes sent: 10341308, Pkt bytes received: 127284 Flushes requested: 1, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1, ACK: 1, WND: 0, ACK+WND: 0 DAT: 9897, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 49, Zero-window probes sent: 0 Dup ACK pkts rcvd: 757, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: ACL, unit 2, channel 3: Session state: established (last established 15 hours 33 minutes 31 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 7011, Msgs received: 4 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 7588, Pkts received: 7617 Msg bytes sent: 629316, Msg bytes received: 5840 Pkt bytes sent: 802504, Pkt bytes received: 107508 Flushes requested: 0, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1, ACK: 1, WND: 0, ACK+WND: 2 DAT: 7584, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 573, Zero-window probes sent: 0 Dup ACK pkts rcvd: 596, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: sync-reliable, unit 2, channel 4: Session state: established (last established 15 hours 32 minutes 27 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 27, Msgs received: 1 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 53, Pkts received: 40 Msg bytes sent: 39420, Msg bytes received: 1460 Pkt bytes sent: 73836, Pkt bytes received: 1944 Flushes requested: 0, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 2, ACK: 1, WND: 0, ACK+WND: 0 DAT: 50, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 22, Zero-window probes sent: 0 Dup ACK pkts rcvd: 6, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: rconsole-server-to-2, unit 2, channel 6: Session state: established (last established 15 hours 33 minutes 30 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 5, Msgs received: 6 Atomic batches sent: 0, Atomic batches received: 0
298
Pkts sent: 14, Pkts received: 40 Msg bytes sent: 183, Msg bytes received: 56 Pkt bytes sent: 384, Pkt bytes received: 1052 Flushes requested: 5, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 4, ACK: 5, WND: 0, ACK+WND: 0 DAT: 5, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 0, Zero-window probes sent: 0 Dup ACK pkts rcvd: 0, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Unit 3 statistics: Msgs sent: 41356 Msgs received: 14007, Pkt sends failed: 0 Message types sent: [9]=21623,
[10]=19703,
[11]=29,
[13]=1,
[13]=2,
Session statistics: base-channel, unit 3, channel 0: Session state: established (last established 15 hours 33 minutes 49 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 14647, Msgs received: 14003 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 31055, Pkts received: 31403 Msg bytes sent: 1801742, Msg bytes received: 1232204 Pkt bytes sent: 2402644, Pkt bytes received: 1877788 Flushes requested: 32, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1269, ACK: 13911, WND: 437, ACK+WND: 0 DAT: 15346, DAT+ACK: 92, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 966, Zero-window probes sent: 0 Dup ACK pkts rcvd: 661, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: image-transfer, unit 3, channel 1: Session state: established (last established 15 hours 11 minutes 2 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 9850, Msgs received: 1 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 9930, Pkts received: 10599 Msg bytes sent: 10124076, Msg bytes received: 8 Pkt bytes sent: 10457352, Pkt bytes received: 127200 Flushes requested: 1, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1, ACK: 1, WND: 0, ACK+WND: 0 DAT: 9928, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 140, Zero-window probes sent: 0 Dup ACK pkts rcvd: 798, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: ACL, unit 3, channel 3: Session state: established (last established 15 hours 33 minutes 49 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0
299
Connection statistics (for current connection, if established): Msgs sent: 7004, Msgs received: 0 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 7447, Pkts received: 7300 Msg bytes sent: 616352, Msg bytes received: 0 Pkt bytes sent: 774304, Pkt bytes received: 87600 Flushes requested: 0, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 2, ACK: 0, WND: 0, ACK+WND: 0 DAT: 7445, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 441, Zero-window probes sent: 0 Dup ACK pkts rcvd: 295, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: rconsole-server-to-3, unit 3, channel 7: Session state: established (last established 15 hours 33 minutes 48 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 1, Msgs received: 2 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 3, Pkts received: 2 Msg bytes sent: 35, Msg bytes received: 20 Pkt bytes sent: 76, Pkt bytes received: 52 Flushes requested: 1, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1, ACK: 1, WND: 0, ACK+WND: 0 DAT: 1, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 0, Zero-window probes sent: 0 Dup ACK pkts rcvd: 0, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Unit 4 statistics: Msgs sent: 41337 Msgs received: 14035, Pkt sends failed: 0 Message types sent: [9]=21632,
[10]=19702,
[11]=2,
[13]=1,
[13]=2,
Session statistics: base-channel, unit 4, channel 0: Session state: established (last established 15 hours 33 minutes 49 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 14630, Msgs received: 14031 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 30186, Pkts received: 31052 Msg bytes sent: 1801548, Msg bytes received: 1234680 Pkt bytes sent: 2325044, Pkt bytes received: 1857824 Flushes requested: 30, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1199, ACK: 13879, WND: 434, ACK+WND: 4 DAT: 14522, DAT+ACK: 148, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 197, Zero-window probes sent: 0 Dup ACK pkts rcvd: 560, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: image-transfer, unit 4, channel 1:
300
Session state: established (last established 15 hours 11 minutes 2 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 9850, Msgs received: 1 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 9852, Pkts received: 10675 Msg bytes sent: 10124076, Msg bytes received: 8 Pkt bytes sent: 10284896, Pkt bytes received: 128112 Flushes requested: 1, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1, ACK: 1, WND: 0, ACK+WND: 0 DAT: 9850, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 2, Zero-window probes sent: 0 Dup ACK pkts rcvd: 826, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: ACL, unit 4, channel 3: Session state: established (last established 15 hours 33 minutes 49 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 7004, Msgs received: 0 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 7051, Pkts received: 7240 Msg bytes sent: 616352, Msg bytes received: 0 Pkt bytes sent: 733028, Pkt bytes received: 86880 Flushes requested: 0, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 3, ACK: 0, WND: 0, ACK+WND: 0 DAT: 7048, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 44, Zero-window probes sent: 0 Dup ACK pkts rcvd: 234, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics: rconsole-server-to-4, unit 4, channel 8: Session state: established (last established 15 hours 33 minutes 48 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 1, Msgs received: 2 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 5, Pkts received: 8 Msg bytes sent: 35, Msg bytes received: 20 Pkt bytes sent: 140, Pkt bytes received: 264 Flushes requested: 1, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 2, ACK: 1, WND: 0, ACK+WND: 0 DAT: 2, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 1, Zero-window probes sent: 0 Dup ACK pkts rcvd: 1, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0
301
Brocade# show stack rel-ipc stats unit 3 Unit 3 statistics: Msgs sent: 1217 Msgs received: 509, Pkt sends failed: 0 Message types sent: [9]=1182, [10]=2, [19]=29, Message types received: [9]=506, [10]=1,
[11]=2,
[13]=2,
[13]=2,
Session statistics, unit 3, channel 0: Session state: established (last established 32 minutes 19 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 971, Msgs received: 506 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 1205, Pkts received: 1088 Msg bytes sent: 44281, Msg bytes received: 19308 Pkt bytes sent: 238004, Pkt bytes received: 34652 Flushes requested: 59, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 2, ACK: 504, WND: 7, ACK+WND: 0 DAT: 691, DAT+ACK: 1, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 129, Zero-window probes sent: 0 Dup ACK pkts rcvd: 18, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics, unit 3, channel 2: Session state: established (last established 32 minutes 17 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 0, Msgs received: 0 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 1, Pkts received: 7 Msg bytes sent: 0, Msg bytes received: 0 Pkt bytes sent: 12, Pkt bytes received: 84 Flushes requested: 0, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 1, ACK: 0, WND: 0, ACK+WND: 0 DAT: 0, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 0, Zero-window probes sent: 0 Dup ACK pkts rcvd: 7, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics, unit 3, channel 3: Session state: established (last established 32 minutes 19 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 242, Msgs received: 0 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 243, Pkts received: 246 Msg bytes sent: 8712, Msg bytes received: 0 Pkt bytes sent: 12596, Pkt bytes received: 2952 Flushes requested: 0, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND):
302
Other: 1, ACK: 0, WND: 0, ACK+WND: 0 DAT: 242, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 0, Zero-window probes sent: 0 Dup ACK pkts rcvd: 4, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Session statistics, unit 3, channel 6: Session state: established (last established 32 minutes 17 seconds ago) Connections established: 1 Remote resets: 0, Reset packets sent: 0 Connection statistics (for current connection, if established): Msgs sent: 2, Msgs received: 2 Atomic batches sent: 0, Atomic batches received: 0 Pkts sent: 8, Pkts received: 13 Msg bytes sent: 123, Msg bytes received: 20 Pkt bytes sent: 232, Pkt bytes received: 296 Flushes requested: 2, Suspends: 0, Resumes: 0 Packets sent with data (DAT), ACKs, and window updates (WND): Other: 5, ACK: 1, WND: 0, ACK+WND: 0 DAT: 2, DAT+ACK: 0, DAT+WND: 0, DAT+ACK+WND: 0 Data retransmits done: 0, Zero-window probes sent: 0 Dup ACK pkts rcvd: 6, Pkts rcvd w/dup data: 0 Pkts rcvd w/data past window: 0 Brocade#
=2/1| 4 |2/6==2/6| 3 |2/1==2/1| 2 |2/6==2/6| 1 |2/1==2/1| 7 |2/6==2/6| 6 |2/1= | | | standby +---+ +---+ +---+ +---+ +---+ +---+ | | |
303
+---+
Syntax: show stack neighbors Table 49 describes the output from the show stack neighbors command.
TABLE 49
Field
U Stack-port1 Stack-port2
For ICX devices, it displays an equals sign (=) to show connections between trunk ports and is enhanced to display the port up state of all trunked ports. The following example is observed on a Brocade ICX 6610 switch.
Brocade#show stack stack-ports active +---+ +---+ +---+ +---+ +---+ +---+ =2/1| 4 |2/6==2/6| 3 |2/1==2/1| 2 |2/6==2/6| 1 |2/1==2/1| 7 |2/6==2/6| 6 |2/1= | +---+ +---+ +---+ +---+ +---+ +---+ | | | | standby | | +---+ | ------------------------------------------------------------------2/1| 5 |2/6= +---+ U# Stack-port1 Stack-port2 1 up (1/2/1-1/2/5) up (1/2/6-1/2/10) up ports: 1/2/1, 1/2/2, 1/2/3, 1/2/4, 1/2/5 up ports: 1/2/6, 1/2/7, 1/2/8, 1/2/9, 1/2/10 2 up (2/2/1-2/2/5) up (2/2/6-2/2/10) up ports: 2/2/1, 2/2/2, 2/2/3, 2/2/4, 2/2/5 up ports: 2/2/6, 2/2/7, 2/2/8, 2/2/9, 2/2/10 up (3/2/1-3/2/5) up (3/2/6-3/2/10) up ports: 3/2/1, 3/2/2, 3/2/3, 3/2/4, 3/2/5 up ports: 3/2/6, 3/2/7, 3/2/8, 3/2/9, 3/2/10 up (4/2/1-4/2/5) up ports: 4/2/1, 4/2/2, 4/2/3, 4/2/4, 4/2/5 up (4/2/6-4/2/10)
304
up ports: 4/2/6, 4/2/7, 4/2/8, 4/2/9, 4/2/10 5 up (5/2/1-5/2/5) up (5/2/6-5/2/10) up ports: 5/2/1, 5/2/2, 5/2/3, 5/2/4, 5/2/5 up ports: 5/2/6, 5/2/7, 5/2/8, 5/2/9, 5/2/10 up (6/2/1-6/2/5) up (6/2/6-6/2/10) up ports: 6/2/1, 6/2/2, 6/2/3, 6/2/4, 6/2/5 up ports: 6/2/6, 6/2/7, 6/2/8, 6/2/9, 6/2/10 up (7/2/1-7/2/5) up (7/2/6-7/2/10) up ports: 7/2/1, 7/2/2, 7/2/3, 7/2/4, 7/2/5 up ports: 7/2/6, 7/2/7, 7/2/8, 7/2/9, 7/2/10
Syntax: show stack stack-ports Table 50 describes the output from the show stack stack-ports command.
TABLE 50
Field
ID Stack-port1 Stack-port 2
305
module 3 icx6610-8-port-10g-dual-mode-module priority 128 stack-trunk 1/2/1 to 1/2/2 stack-trunk 1/2/6 to 1/2/7 stack-port 1/2/1 1/2/6 stack unit 4 module 1 icx6610-48p-poe-port-management-module module 2 icx6610-qsfp-10-port-160g-module module 3 icx6610-8-port-10g-dual-mode-module priority 100 stack-trunk 4/2/1 to 4/2/2 stack-trunk 4/2/6 to 4/2/7 stack-port 4/2/1 4/2/6 stack unit 5 module 1 icx6610-48-port-management-module module 2 icx6610-qsfp-10-port-160g-module module 3 icx6610-8-port-10g-dual-mode-module priority 128 stack-trunk 5/2/1 to 5/2/2 stack-trunk 5/2/6 to 5/2/7 stack-port 5/2/1 5/2/6 stack enable
Syntax: show running-config Table 51 describes the output from the show running-config command.
TABLE 51
Field
1. For ICX devices, software version 7.3 always shows two primary ports of two stacking trunks. The user cannot define just one stacking port as for FCX devices.
306
3. If one stacking port is configured, that port will be displayed whether or not stacking is enabled.
stack unit 1 module 1 fcx-24-port-management-module module 2 fcx-cx4-2-port-10g-module module 3 fcx-xfp-1-port-10g-module stack-port 1/3/1
307
STACKID 2 system uptime 18 minutes 3 seconds STACKID 3 system uptime 18 minutes 3 seconds The system started at 21:08:51 GMT+00 Fri Jul 25 2008 The system : started=warm start reloaded=by "reload" My stack unit ID = 1, bootup role = active
Syntax: show interfaces stack-ports Table 52 describes the fields displayed by the show interfaces stack-ports command.
TABLE 52
Field
Port Link State Dupl Speed Trunk Tag P MAC Name
308
If a unit is provisional (reserved; and does not have a physical unit associated with the unit ID), its interface MAC address shows as 0000.0000.0000
NOTE
Syntax: show statistics stack-ports Table 53 describes the fields displayed by the show statistics stack-ports command.
TABLE 53
Field
Port In Packets Out Packets In Errors Out Errors
309
| standby | | +---+ | ------------------------------------------------------------------2/1| 5 |2/6= +---+ trunk probe results: 7 links Link 1: u7 -- u1, num=5 1: 1/2/1 (T0) <---> 7/2/1 (T0) 2: 1/2/2 (T0) <---> 7/2/2 (T0) 3: 1/2/3 (T0) <---> 7/2/3 (T0) 4: 1/2/4 (T0) <---> 7/2/4 (T0) 5: 1/2/5 (T0) <---> 7/2/5 (T0) Link 2: u2 -- u1, num=5 1: 1/2/6 (T1) <---> 2/2/6 (T1) 2: 1/2/7 (T1) <---> 2/2/7 (T1) 3: 1/2/8 (T1) <---> 2/2/8 (T1) 4: 1/2/9 (T1) <---> 2/2/9 (T1) 5: 1/2/10(T1) <---> 2/2/10(T1) Link 3: u3 -- u2, num=5 1: 2/2/1 (T0) <---> 3/2/1 (T0) 2: 2/2/2 (T0) <---> 3/2/2 (T0) 3: 2/2/3 (T0) <---> 3/2/3 (T0) 4: 2/2/4 (T0) <---> 3/2/4 (T0) 5: 2/2/5 (T0) <---> 3/2/5 (T0) Link 4: u4 -- u3, num=5 1: 3/2/6 (T1) <---> 4/2/6 (T1) 2: 3/2/7 (T1) <---> 4/2/7 (T1) 3: 3/2/8 (T1) <---> 4/2/8 (T1) 4: 3/2/9 (T1) <---> 4/2/9 (T1) 5: 3/2/10(T1) <---> 4/2/10(T1) Link 5: u5 -- u4, num=5 1: 4/2/1 (T0) <---> 5/2/1 (T0) 2: 4/2/2 (T0) <---> 5/2/2 (T0) 3: 4/2/3 (T0) <---> 5/2/3 (T0) 4: 4/2/4 (T0) <---> 5/2/4 (T0) 5: 4/2/5 (T0) <---> 5/2/5 (T0) Link 6: u6 -- u5, num=5 1: 5/2/6 (T1) <---> 6/2/1 (T0) 2: 5/2/7 (T1) <---> 6/2/2 (T0) 3: 5/2/8 (T1) <---> 6/2/3 (T0) 4: 5/2/9 (T1) <---> 6/2/4 (T0) 5: 5/2/10(T1) <---> 6/2/5 (T0) Link 7: u7 -- u6, num=5 1: 6/2/6 (T1) <---> 7/2/6 (T1) 2: 6/2/7 (T1) <---> 7/2/7 (T1) 3: 6/2/8 (T1) <---> 7/2/8 (T1) 4: 6/2/9 (T1) <---> 7/2/9 (T1) 5: 6/2/10(T1) <---> 7/2/10(T1) CPU to CPU packets are fine between 7 units.
Table 54 describes the fields displayed by the show stack connection command.
TABLE 54
Field
T0 T1
310
If the Active Controller has no configuration information for the new unit, it learns the new
unit's configuration. This is a dynamic configuration and will disappear if the new unit leaves the stack. In order for the configuration to stay on the Active Controller (to make it a static configuration), you must do a write memory on the Active Controller.
If the Active Controller has configuration information for a new unit, and it matches the base
module (module 1) of the new unit, no action is necessary. If configuration information for non-base modules on the new unit does not match the information on the Active Controller, the Active Controller learns the configuration for the new unit module types and merges it with the information it has for the base module. This merged configuration remains static and will stay on the Active Controller even if the new unit leaves the stack.
If the Active Controller has configuration information for the new unit, but it does not match the
base module of the new unit, a configuration mismatch can occur where the configuration related to this unit is removed even after the mismatch is resolved. Refer to Recovering from a stack unit mismatch on page 323 for more information.
311
NOTE
312
NOTE
313
reset unit 3: diff bootup id=6 Election, was active, no role change, assigned-ID=1
Brocade# show stack ID Type Role Mac Address Pri 1 S FCX624 active 0012.f239.2d40 128 2 S FCX624 standby 0012.f2d5.2100 0 3 S FCX624 member 001b.ed5d.9940 0
If the configuration for the ID you select for a specific unit does not match the configuration on
that unit, secure-setup will change the static configuration into a dynamic configuration so it can be overwritten by the learned configuration.
When swapping IDs for two or more identical units - for example, if units 2, 3, and 4 are
identical, changing 2 to 3, 3 to 4, and 4 to 2 will not affect the configurations of the units except that the units will reset and assume the new IDs.
If you swap IDs for two units that are not identical - for example, unit 2 is an FCX648 and unit 3
is an FCX624, you may cause a configuration mismatch. If this happens, the Active Controller removes the configurations and resets both units. When both units boot with new IDs, the Active Controller learns their module types and creates new unit configurations for both. However, all interface configuration information related to units 2 and 3 is gone.
When you renumber identical units using secure-setup, the configurations are not mapped to
the new units (since the configurations match exactly). However, if you switch the IDs of units that are not identical, a configuration mismatch occurs. Refer to Recovering from a stack unit mismatch on page 323
When you assign an unused ID to a stack unit, the unit is reset with the new ID. All unit and
interface configuration information related to the old stack ID is deleted. The Active Controller learns the configuration for the new unit (instead of creating interface configuration for the new unit.
Release 5.0 does not support user changes to the Active Controller ID. Secure-setup does not swap configuration information for units that have had their IDs
changed. For example, it does not change the 2/1/3 interface configuration or VLAN membership information into 3/1/3 information if the unit ID changes from 2 to 3.
If the configuration for a unit being replaced does not match the new unit type, the Active
Controller removes the unit configuration and associated interface configuration.
All learned configurations due to mismatches or the addition of new units are dynamic
configurations. To convert them into static configurations, do a write memory to preserve the configurations if a unit is removed from the stack.
314
IronStack troubleshooting
All stack units support SNMP gets, sets, and traps, which are managed by the Active Controller. An SNMP trap is sent from a stack unit to the stack Active Controller, and forwarded from the Active Controller to an SNMP-configured server. An external network management station can execute SNMP gets and sets for MIBs and collect information about any port on the stack. SNMP traps can be configured for the insertion or removal of a stack unit or uplink module, and for optic identification. For more information about Syslog messages, refer to Appendix A, Syslog messages.
If you have configured the engine ID saved it to the startup configuration file, the new stack
configuration will use the saved engine ID.
If you have not configured an engine ID, but a stack MAC address is configured, the new stack
configuration will retain the original engine ID since it is based on the stack MAC address.
If you have not configured an engine ID, and no stack MAC address is configured, the new
stack configuration will use the default engine ID, which is based on its own management MAC address of the new Active Controller. Since the engine ID will have changed, any SNMPv3 Clients will need to be reconfigured with the new engine ID.
IronStack troubleshooting
The most common reason for an unsuccessful stack build is either a software configuration mismatch, a hardware configuration mismatch, or a combination of both. The following sections describe common troubleshooting procedures for an IronStack.
315
IronStack troubleshooting
1. Enter the show run command on each unit to make sure the configuration contains stack enable. If it does not, enter the stack enable command on the unit. Before a stack is formed, you can still access the console port on each device. Once a stack is successfully formed, you are redirected to the Active Controller.
NOTE
If you are building a stack using secure-setup, you do not have to enter stack enable on each unit. 2. Check that all of your stacking port connections are secure and working properly. Enter the show interface stack on each device to confirm that the stacking port links are up and the ports are in the forward state.
Brocade# show interfaces stack Port Link State Dupl Speed 1/2/1 Up Forward Full 10G 1/2/2 Up Forward Full 10G Trunk None None Tag No No P MAC Name 1 0012.f2eb.a902 1 0012.f2eb.a904
3. Confirm that all of the devices are running the same software image 4. Use the show log command to display any IPC version mismatch messages. These messages appear in one minute when receiving mismatched probe packets, and then once every 10 minutes. 5. Use the show stack ipc command to see if any traffic has been sent or received. Enter clear stack ipc to clear the traffic statistics and then enter show stack ipc again so you can easily see differences in traffic flow. The following output is from a Brocade ICX 6610 switch.
Brocade# show stack ipc V15, G1, Recv: SkP0: 3749372, P1: 3756064, MAIL: 184291175, sum: 191796611, t=457152.2 Message types have callbacks: 1 : Reliable IPC message 2 : Reliable IPC atomic 4 : fragmentation, jumbo 5 : probe by mailbox 6 : rel-mailbox 7 : test ipc 8 : disable keep-alive 9 : register cache 10: ipc dnld stk 11: chassis operation 12: ipc stk boot 13: Rconsole IPC message 14: auth msg 15: ipc erase flash 16: unconfigure 17: ipc stk boot 18: ss set 19: sFlow IPC message 21: SYNC download reques 23: SYNC download 1 spec 28: SYNC client hello 30: SYNC dy chg error 32: active-uprintf 33: test auth msg 34: probe KA 39: unrel-mailbox 40: trunk-probe Send message types: [1]=2342639, [4]=44528, [5]=961830, [6]=37146, [9]=73104634, [11]=137082, [14]=487007, [20]=2304, [22]=1395, [25]=23, [26]=1901701, [29]=415888, [34]=1827543, [39]=30451, [40]=289420, Recv message types: [1]=2016251, [4]=1352759, [5]=470884, 475144, [6]=114459, 114572, [9]=367644144, [11]=1785229, [14]=973285, 974177, [21]=1395, [30]=25, [34]=912972, 914086, [39]=973492, 973440, [40]=700313, Statistics: send pkt num send msg num send frag pkt num pkt buf alloc Reliable-mail
recv pkt num recv msg num recv frag pkt num
success recveive
duplic
316
IronStack troubleshooting
target ID 1 1 target MAC 15230 15230 unrel target ID 7615 There is 1 current jumbo IPC session Possible errors: *** recv from non-exist unit 2 times: unit 5
0 0 0
0 0
If the send message types: field is empty, it means that stack enable has not been configured. If the number of Recv IPC packets increases, but there are no Recv message types, then the packets are being dropped for various reasons, including the wrong IPC version, or a checksum error. The Possible errors field will list reasons for packet loss.
NOTE
A small ***state not ready count is normal, but if it continues to increase a problem is indicated. 6. If the results of a show stack command show other stack members, but lists them as non-operational, this could be due to an image mismatch, or a configuration mismatch. In the event of an image mismatch, you can download the correct images to the entire stack from the Active Controller. Refer to Configuration mismatch for stack units on page 320 for more information about configuration mismatches.
NOTE
If your intended stacking ports are connected in a ring topology, they will not all appear to be in the forwarding state because of spanning tree, but secure-setup can still build the stack. 7. If you run out of flash memory while doing a write memory, your stack devices may contain very large startup-config.v4 or startup-config.old files, which are preserved for recovery purposes (refer to Unconfiguring an IronStack on page 287 for more information). If you do not need these files, you can delete them using the flash delete command. Enter the show dir command to see all flash files.
8. Check to be sure you do not have any stacking to non-stacking connections. If you see the following message.
Warning! Proc ???? packet in 2m from 0012.f2222.8300, Wrong dev/port: dev=4, port=18, DSA=4971100 497--E You might have stacking to non-stacking port connections
This indicates that you may have a connection between a stacking port and a non-stacking port. This message will appear every 10 minutes after the first display. If you see this message once only, and your connections are correct, your stack should be operating properly. Only repeat displays of this message indicate a problem.
317
Stack mismatches
BOOT INFO: load monitor from primary, size=103408 BOOT INFO: load image from primary.......... BOOT INFO: bootparam at 000543e8, mp_flash_size=002ee6c5 BOOT INFO: code decompression completed BOOT INFO: branch to 00400100 Starting Main Task....... ***************************************************************************** ERR: This software needs License PROM to be installed in the system ***************************************************************************** System Reset!
If your memory DIMM is not installed correctly, you will see output similar to the following.
FCX Mem size: 0x8000000 Flash Config... FCX Boot Code Version 05.0.00 Enter b to stop at boot..... BOOT INFO: load monitor from primary, size = 103380 BOOT INFO: debug enabled!! BOOT INFO: load image from primary... BOOT INFO: bootparam at 00054338 mp_flash_size = 002f1aeb BOOT INFO: code decompression completed BOOT INFO: branch to 00400100 Starting Main Task ... ***************************************************************************** ERR: This software requires 256M memory to be installed in the system. ***************************************************************************** System Reset!
EEPROM is installed incorrectly in the socket. Make sure Pin 1 on the EEPROM matches the
Pin 1 hole in the socket.
Make sure your memory DIMM is securely installed in the memory DIMM socket. Refer to the
hardware installation guide or the instructions that came with your upgrade kit for more information.
Make sure the unit is actually part of the stack. Use the show stack command. If a unit joins a stack after the image copy command was issued, you will need to copy the
image to this unit separately.
Stack mismatches
When a stack mismatch occurs, the Active Controller can put any stack member into a non-operational state, which disables all of the ports except the stacking ports. Stack mismatches can occur for a variety of reasons, which are discussed in this section.
318
Image mismatches
The Active Controller can still download an image to the non-operational unit. The Active Controller generates a log message whenever it puts a stack unit into a non-operational state. The following examples describe the types of mismatches and the related log message:
NOTE
Advanced feature mismatch - The Active Controller is enabled for advanced features (such as
BGP) and the stack unit is not enabled.
Stack: Unit 2 00e0.1020.0100 doesnt have the matching advanced feature privileges
Image mismatch - A stack unit is running a different software image than that of the Active
Controller.
Stack: Unit 2 00c0.1020.0100 image mismatch
Configuration mismatch - The module configuration for a stack unit does not match the
reserved configuration on the Active Controller.
Stack: Unit 2 00e0.1020.0100 config mismatch
Memory allocation mismatch - The Active Controller does not have enough memory to
accommodate the stack unit.
Stack: Malloc failure for unit 2.00e0.1020.0100
Image mismatches
Advanced feature privileges (FCX devices only)
Advanced feature privileges must be enabled to run advanced features such as BGP. Both Active and Standby units must be enabled for advanced features for these features to operate across the stack. A unit that is not enabled for these features is put into a non-operational state. If the Active Controller is not enabled for advanced features, these features will not operate on the stack. IronStack technology requires that all stack units run the same version of the software image. In cases where the software version differs, there are two levels of mismatch, major and minor.
319
Image mismatches
In a major mismatch, the stack cannot be built and will not operate. You must download the correct version of the software to the mismatched units individually.
If the configuration of a stack unit does not match the configuration of the Active Controller, the stack unit will not function. In this example, unit 2 is non-operational due to an image mismatch. To correct this situation, use the copy flash flash command (refer to Copying the flash image to a stack unit from the Active Controller on page 283).
320
Image mismatches
Brocade FCX Series (FCX) Stackable Switch Brocade ICX 6610 Series (ICX 6610) Stackable Switch Brocade ICX 6430 Series (ICX 6430) Stackable Switch Brocade ICX 6450 Series (ICX 6450) Stackable Switch
NOTE
To manually copy the master image to the stack units, refer to Copying the flash image to a stack unit from the Active Controller on page 283 and Reloading a stack unit on page 283 for more information.
321
Image mismatches
This feature is applicable to those stack units that are in a non-operational image mismatch
state only.
Auto Image Copy does not work if the image version of the IPC is different from the stack unit
version in the case of a major image mismatch.
If a stack unit with a newer image is merged with a stack running an older version of the
software, the newly formed stack will still be running the older version of the software.
Auto Image Copy does not work if the user has copied a different image into the flash, creating
a mismatch in versions between the flash and the running image on the active unit of the stack.
Syntax: no image-auto-copy disable Run the no image-auto-copy disable command to enable Auto Image Copy. This restarts the Auto Image Copy immediately and ensures that all stack units have the same image.
NOTE
You can run the show running-config or the show stack detail command to see if Auto Image Copy is disabled.
NOTE
322
Image mismatches
Complete the following steps to recover from a configuration or image mismatch. 1. Enter the show stack command to see the status of the stack, and a show running-config command to see the configurations of the stack units.
Brocade# show stack alone: standalone, D: dynamic config, ID Type Role Mac Address Pri 1 FCX624 active 0012.f2eb.a900 128 2 FCX648 member 00f0.424f.4243 0 3 FCX624 standby 00e0.5201.0100 0 S: static config State Comment local Ready remote Ready remote NON-OP: config mismatch
Brocade# show running config stack unit 1 module 1 fcx-24-port-copper-base-module module 3 fcx-cx4-1-port-10g-module module 4 fcx-xfp-1-port-10g-module priority 128 stack unit 2 module 1 fcx-24-port-management-module module 3 fcx-xfp-1-port-10g-module stack unit 3 module 1 fcx-48-port-copper-base-module module 2 fcx-cx4-1-port-10g-module module 3 fcx-cx4-1-port-10g-module stack enable
2. To resolve the mismatch, you must remove the configuration for stack unit 3. Use the following command in configuration mode:
Brocade(config)# no stack unit 3
This removes all configuration related to Unit 3. If you are unable to remove the configuration because of a multi-slot trunk configuration, you must first manually remove the multi-slot trunk configuration. 3. When you have successfully deleted the mismatched stack unit, a re-election is triggered, and the Active Controller learns the correct module configuration from the Standby Controller or from other stack members. No reload is required. Complete the following steps to recover from an image mismatch. 1. Use the copy flash flash command to replace a mis-matched image with the correct image. Refer to Copying the flash image to a stack unit from the Active Controller on page 283. 2. Reset the unit. After the reset, the unit will contain the new image and the mis-match condition will not exist. To verify, use the show stack command.
323
Image mismatches
Troubleshooting secure-setup
Secure-setup can be used to form linear and ring stack topologies. For information about the procedure, refer to Scenario 1 - Three-member IronStack in a ring topology using secure-setup on page 250. During this procedure, if secure-setup does not detect all the units that should be detected, perform the following checks:
Make sure that all the cables are properly connected Make sure that all the relevant ports are in UP state Make sure that all the units are running the same image Make sure that you issue the stack enable command only on the unit that will serve as the Active Controller
Make sure that stack disable is not configured on any prospective members Make sure that the connection is sequential (refer to Brocade IronStack terminology on
page 237, Sequential Connection) If secure-setup times out (this may happen due to inactivity), you will not be able to make any changes in your configuration or stack topology until you restart the session by entering the stack secure-setup command. The unit discovery process is triggered when secure-setup is initiated. However, if the stack unit is placed in a topology where another unit in the stack is already running the discovery process, the current discovery process is terminated. If this is the case, you will see a message similar to the following.
"Topology discovery is already in progress originated from <mac-address>. Please try later."
This means a discovery process is already active and was initiated from the unit with the <mac-address> mentioned in the message. You will need to re-issue secure-setup. If there is already an active discovery process, secure-setup may not discover all the intended units. If this is the case, you will need to restart the secure-setup process.
Make sure that the number of units in your stack does not exceed the maximum of 8 Make sure that the replacement unit is a clean unit (does not contain a startup-config.txt file) Make sure that the replacement unit running configuration does not contain stack enable Make sure the replacement unit running configuration does not contain stack disable Make sure that the configurations of the stack ports on the Active Controller match the physical connections to the unit
324
NOTE
You should always do a write memory after making stacking-related configuration changes such as priority and stacking ports. If you do not want to keep the changes, change the configuration back to the previous version, and do a write memory. Do not discard configuration changes by using the reset without a write memory.
325
IronStack topologies
Brocade IronStack technology supports both linear and ring stack topologies. Because the unicast switching follows the shortest path in a ring topology, this topology offers the strongest redundancy. When the ring is broken, the stack recalculates the forwarding path the resumes the flow of traffic within a few seconds. In a ring topology, all stack members must have two stacking ports, however, In a linear topology, both end units use only one stacking port, leaving the other port available as a data port. To see an illustrated example of each topology, refer to Brocade IronStack topologies on page 239.
Active Controller
The Active Controller contains the saved and running configuration files for each stack member. The configuration files include the system-level settings for the stack, and the interface-level settings for each stack member, as well as MIB counters and port status. The Standby Controller also has a synchronized copy of the Active Controller startup config file for use in the event the Active Controller fails. When a stack is formed, the console function for each stack member is automatically redirected to the Active Controller console. The Active Controller console port handles all stack management functions, as well as ping, Telnet sessions, and tftp image downloads for every stack member. If you connect to the console port on a stack member that is not the Active Controller, you are automatically directed through the console of the Active Controller. The Active Controller synchronizes its start-up configuration with the Standby Controller and the rest of the stack members. You can recover the previous flash configuration of the Standby Controller and the stack members by issuing the stack unconfigure command. For an example of this command and the output generated, refer to Unconfiguring an IronStack on page 287. The Active Controller may reset the rest of the stack members, if necessary. However, if the Active Controller itself must be reset because of a role or ID change, you must issue the reset command.
326
If the Active Controller fails, the Standby Controller waits 30 seconds, and then takes over as Active Controller, resetting itself and all other stack members. If the old Active Controller becomes operational, it may or may not resume its role as Active, depending on the configured priorities. If hitless stacking failover is enabled, the standby unit can take over immediately without reloading any unit.
Standby Controller
In addition to the Active Controller, another stack member is elected as the Standby Controller. After a default interval of 30 seconds, the Standby Controller takes over if the Active Controller fails. If hitless stacking failover is enabled, the standby unit can take over immediately without reloading any unit.
NOTE
Because it can take as long as 20 seconds to age out a neighbor, the Standby takeover period may last up to 50 seconds. Refer to Port down and aging on page 326. The Standby Controller synchronizes its configuration with the Active Controller at each reset.
Bootup role
When a stack unit boots, it boots in a particular role, such as standalone, Active Controller, Standby Controller, or stack member. When the bootup role is Standby Controller or stack member, the CLI available to the unit is limited to show and stack commands. A unit in the role of Standby or stack member will not act without instructions from the Active Controller. To convert a Standby Controller or stack member into a standalone device, use the stack unconfigure me command (refer to Unconfiguring an IronStack on page 287). The last line of the show version output identifies the unit role unless the unit is in standalone mode.
Example
My stack unit ID = 1, bootup role = active My stack unit ID = 3, bootup role = standby
Boot as Active Controller - Indicates that a unit was previously Active Controller before the
current boot sequence and will again assume the role of Active Controller when two standalone units are combined into a stack. When a third standalone unit joins the stack, a current Active Controller becomes subject to the other factors in this list. The reason for this hierarchy of factors is to achieve a predictable winner regardless of the boot up sequence for a unit. You can upgrade your current Active Controller to boot as active controller status by performing a write memory. The system interprets the write memory action as a directive to maintain the current Active Controller role regardless of resets or a new unit joining the stack.
327
Greater number of members - The unit that has control over the greater number of stack
members.
Longer up time - An up time that is more than 30 seconds longer that the next one in size is
considered. Where up times are compared, there is no effect if the difference is less than 30 seconds.
Lowest boot stack ID - The unit that has the lowest boot stack ID (1-8, 1 is the lowest). MAC address - The member with the lowest MAC address.
NOTE
The details in the preceding paragraph apply to the default setup, with hitless stacking failover not enabled. If both Active and Standby Controllers are removed the rest of the stack will continue to function because they are operating on whatever is programmed in the hardware. The stack members will not be able to learn any new addresses. You will see the following message every few minutes.
Stack member is non-operational because of no Active or Standby Controller You can recover to standalone mode by stack unconfigure me
Use stack unconfigure me to restore the units into standalone devices with a pre-stacking configuration.
The highest priority Bootup as Active Controller Bootup as Standby Controller The lowest boot ID The lowest MAC address
328
Hitless stacking
Since Standby election candidates must have startup configurations that have been synchronized with the Active Controller, if the Active Controller does not have a startup-config.txt file, there will not be a Standby Controller. Once a write memory is performed on the Active Controller, the startup-config.txt file is written and synchronized to all stack members, and a Standby Controller can be elected.
Hitless stacking
Hitless stacking is supported on FCX and ICX units in an IronStack. It is a high-availability feature set that ensures sub-second or no loss of data traffic during the following events:
Active Controller failure or role change Software failure Addition or removal of units in a stack Removal or disconnection of the stacking cable between the Active and Standby Controllers
During such events, the Standby Controller takes over the active role and the system continues to forward traffic seamlessly, as if no failure or topology change has occurred. In software releases that do not support hitless stacking, events such as these could cause most of the units in a stack to reset, resulting in an impact to data traffic. The following hitless stacking features are supported: Hitless stacking switchover A manually-controlled (CLI-driven) or automatic switchover of the Active and Standby Controllers without reloading the stack and without any packet loss to the services and protocols that are supported by hitless stacking. A switchover is activated by the CLI command stack switch-over. A switchover might also be activated by the CLI command priority, depending on the configured priority value. Hitless stacking failover An automatic, forced switchover of the Active and Standby Controllers because of a failure or abnormal termination of the Active Controller. In the event of a failover, the Active Controller abruptly leaves the stack and the Standby Controller immediately assumes the active role. Like a switchover, a failover occurs without reloading the stack. Unlike a switchover, a failover generally happens without warning and will likely have sub-second packet loss (packets traversing the stacking link may be lost) for a brief period of time. The services and protocols supported by hitless stacking are listed in Table 55 on page 330. Hitless stacking is disabled by default. To enable it, refer to Enabling hitless stacking on page 341.
329
Hitless stacking
Unit ID change When a stack is formed or when a unit is renumbered using secure-setup. Stack merge When the old Active Controller comes back up, it reboots. If it has fewer number
of members than the Active Controller, it loses the election, regardless of its priority. If it has a higher priority, it becomes the Standby Controller after the reboot and is synchronized with the Active Controller. Next, a switchover occurs and it becomes the new Active Controller.
NOTE
TABLE 55
Traffic type
802.1p and 802.1Q 802.3ad LACP 802.3af PoE 802.3at PoE+ DSCP honoring and Diffserv Dual-mode VLAN IGMP v1, v2, and v3 snooping IPv4 ACLs Layer 2 switching (VLAN and 802.1Q-in-Q) MAC-based VLANs MLD v1 and v2 snooping MRP Multiple spanning tree (MSTP) Physical port/link state PIM SM snooping Port mirroring and monitoring Port trunking Rapid spanning tree (RSTP) Spanning tree (STP) ToS-based QoS Policy Based Routing Traffic policies UDLD VSRP
330
Hitless stacking
TABLE 55
Traffic type
IPv4 unicast forwarding Static routes OSPF v2 OSPF v2 with ECMP VRRP VRRP-E
Management traffic
N/A
All existing management sessions (SNMP, TELNET, HTTP, HTTPS, FTP, TFTP, SSH etc.), are interrupted during the switchover process. All such sessions are terminated and can be re-established after the new Active Controller takes over.
331
Hitless stacking
TABLE 55
Traffic type
Security
802.1X, including use with VLANs EAP with RADIUS IPv4 ACLs DHCP snooping Dynamic ARP inspection IP source guard Multi-device port authentication (MDPA), including use with dynamic VLANs MAC port security
AAA DHCP sFlow SNMP v1, v2, and v3 SNMP traps SNTP Traceroute
Supported protocols and services are not impacted during a switchover or failover. DNS lookups will continue after a switchover or failover. This information is not synchronized. Ping traffic will be minimally impacted. NOTE: If the FCX stack is rebooted, sFlow is disabled on standby and member units until the configuration is synchronized between the Active and Standby Controllers.
332
Hitless stacking
Layer 3 multicast traffic is not supported by hitless stacking. After a switchover or failover, the Syslog may contain invalid (non-existent) port numbers in
messages such as Interface<portnum> state up". This is because some messages from the old Active Controller will remain in the Syslog after a switchover or failover.
Failover for devices connected to the management port is not supported. For example, if during
a failover, an end station is connected to the stack through the management port of the Active Controller, the connection will be shut down. After the failover, the management port on the new Active Controller will work.
The following describes hitless stacking limitations with software-based licensing for BGP: - To enable BGP on a stack unit, you should have an appropriate BGP license installed on all
the stack units.
If the Active Controller has a BGP license but any other unit in the stack does not have, you cannot enable BGP on the stack unit. If the Active Controller is not running BGP, a stack unit is operational regardless of whether the Active Controller or stack units have a BGP license or not. If the Active Controller is running BGP, and a unit without a BGP license joins the stack, the unit is put into a non-operational state. But, If a user copies the BGP license to a non-operational unit, it must take effect immediately and becomes operational. Or, if the user disable BGP, Active Controller will again put all the non-operational units in operational mode.
333
Hitless stacking
Start-up and run-time configuration (CLI) These files are copied to the Standby Controller
only.
Layer 2 protocols Layer 2 protocols such as STP, RSTP, MRP, and VSRP run concurrently on
both the Active and Standby Controller.
Hardware Abstraction Layer (HAL) This includes the prefix-based routing table, next hop
information for outgoing interfaces, and tunnel information.
Layer 3 IP forwarding information This includes the routing table, IP cache table, and ARP
table, as well as static and connected routes.
Layer 3 routing protocols are not copied to any of the units in the stack, but remain in init state
on the Standby Controller until a switchover occurs. Peer adjacency will be restored after a switchover. If BGP4 or OSPF graceful restart are enabled during a switchover, the Standby Controller (new Active Controller) will initiate a graceful restart and a new set of routes will be relearned. The new set of routes will be the same as the old routes, except in the case of a network change. When control protocols are synchronized and protocol synchronization timers have expired, the Standby Controller will be in hot-standby mode, meaning the Standby Controller will be ready to take over as the Active Controller. In the event of a switchover, the Standby Controller will pick up where the active module left off, without interrupting data traffic. After baseline synchronization, any new events that occur on the Active Controller will be dynamically synchronized on the Standby Controller. Examples of such events include:
CLI/HTTP/SNMP configurations CPU receive packets Link events Interrupts Layer 2 and Layer 3 forwarding table updates Dynamic user authentication updates such as 802.1X or multi-device port authentication
After a switchover, the new Active Controller receives updates from the stack members and sends verification information to the stack members to ensure that they are synchronized. The events described previously occur internally and do not create or affect the external network topology.
NOTE
NOTE
If there is no Active Controller after a reload, the bootup standby assumes the active role in approximately 60 seconds without a reload. A bootup standby is the device that was the Standby Controller before the reload. It may not be the current Standby Controller.
334
Hitless stacking
The local console on the Standby Controller still accepts only show, stack, and a few debug
commands.
The runtime configuration on the Standby Controller is synchronized with the Active Controller
whenever there is a configuration change.
Protocols are configured in the runtime configuration, but no protocol packets are sent out on
the Standby.
The state of every unit is known, including the state of the Active Controller. The show
commands will display current information, such as STP or port states.
When a failover occurs, the Standby Controller will use its current runtime configuration. The
configuration could be different from the Active Controller if the last configuration transmission was lost.
After a failover, the new Active Controller (old standby) programs all other units in hardware,
based on its runtime configuration.
The unit is operational and the image and module configuration match that of the Active
Controller.
Priority The unit with the highest priority value. Current standby The unit that is currently the Standby Controller. Bootup master The unit that was the Active Controller before the stack was reloaded. Bootup standby The unit that was the Standby Controller before the stack was reloaded.
Once the Standby Controller is identified, the following internal events take place. 1. The Standby Controller is assigned by the Active Controller 30 to 60 seconds after election (60 seconds if the Active Controller boots up in less than 120 seconds). 2. The Standby Controller receives and processes the runtime configuration sent by the Active Controller. 3. The Standby Controller learns the protocols within 70 seconds. When the Standby Controller is fully synchronized, the system will be ready for a switchover or failover.
335
Hitless stacking
336
Hitless stacking
FIGURE 22
The stack is formed and fully operational after all units except the Active controller is rebooted
Fa
il
r ove
Not allowed
Switchover
Wait for 30 sec. (if the Active is up > 2 min.) Wait for 60 sec. (if the Active is up < 2 min.)
Fa
il
r ove
Not allowed Standby becomes Active immediately (no delay), no reboot occurs, configuration parsing and hot swap take place. The Standby is assigned after 30 seconds. Traffic loss is expected. Not allowed Standby becomes Active immediately, no reboot occurs, hot swap take place. The Standby is assigned after 30 seconds. Traffic loss is expected.
Switchover
Fa
ilov
er
Switchover
Fa
ilo
ver
Not allowed
End of Stage 1
Fa
ilov
er
Standby becomes Active immediately, no reboot occurs. The Standby is assigned after 30 seconds. Traffic loss is expected.
Not allowed
End of Stage 2
Standby becomes Active (no delay), no reboot. Standby is assigned after 30 seconds. No traffic loss is expected.
The stack is fully operational and ready for rapid failover and switchover
Fa
ilov
er
Switchover
After the stack boots up, Member 2 is a boot up Standby. There is no Standby assigned yet.
Fa
il
r ove
The boot up Standby waits for 40 seconds then reboots all units including itself.
Switchover
Not allowed
337
Hitless stacking
FIGURE 23
Stack 1
Active 1 (pri=30) Standby 2 (pri=20) Member 3 (pri=10) Member 4 (pri=0)
Stack 2
Active 1 (pri=100) Standby 2 (pri=50) Member 1 (pri=30) Member 2 (pri=20) Member 3 (pri=10) Member 4 (pri=0) Active 5 (pri=100) Standby 6 (pri=50)
When hitless failover is enabled, the stack with more units will win. Stack 2 will reload and merge with Stack 1. Stack 2 will retain its IDs.
Stack 1
Active 1 (pri=30) Standby 2 (pri=20) Member 3 (pri=10) Member 4 (pri=0) Active 1 (pri=100) Standby 2 (pri=50) Member 3 (pri=0) Member 4 (pri=0)
Stack 2
Active 1 (pri=100) Standby 2 (pri=50) Member 3 (pri=0) Member 4 (pri=0) Member 5 (pri=30) Member 6 (pri=20) Member 7 (pri=10) Member 8 (pri=0)
If the number of units in both stacks are the same, the stack with the highest active priority will win. Stack 1 will reload and merge with Stack 2.
Stack 1/MAC A
Active 1 (pri=100) Standby 2 (pri=20) Member 3 (pri=10) Member 4 (pri=0) Active 1 (pri=100) Standby 2 (pri=50) Member 3 (pri=0) Member 4 (pri=0)
Stack 2/MAC B
Active 1 (pri=100) Member 2 (pri=20) Member 3 (pri=10) Member 4 (pri=0) Standby 5 (pri=100) Member 6 (pri=50) Member 7 (pri=0) Member 8 (pri=0)
If the number of units in both stacks is the same and both Active controllers have the same priority, the stack with the longer system up time (by 30 seconds or more) will win. Otherwise, the lowest MAC address will win. Stack 2 will reload and merge with Stack 1.
FCX stack merge when the old Active controller comes back up
Active 1 (pri=100)
Active 1 (pri=100) Standby 2 (pri=50) Member 3 (pri=10) Member 4 (pri=0) Member 5 (pri=0) Member 6 (pri=0)
When hitless failover is enabled, the stack with more units will win. Active 1 will reboot and merge with the stack.
338
Hitless stacking
FIGURE 24
The stack splits into one operational stack and two orphan units.
339
Hitless stacking
If a failover occurs, every unit in the stack will reload Manual switchover is not allowed. If the CLI command stack switch-over is entered, the
following message will appear on the console:
Switch-over is not allowed. Reason: hitless-failover not configured.
Internal switchover resulting from a priority change is blocked until the entire stack is reloaded
or hitless stacking is enabled. A priority change will trigger an election, but the newly elected winner will not immediately assume its role. For more information, refer to Displaying pending device roles on page 341.
If there is no Active Controller after a reload, the bootup standby will assume the active role
after reloading every unit in the stack, including itself.
During a stack merge, the Active Controller with the highest priority will win the election and
reload every unit of the losing stack. Synchronization between the Active Controller, Standby Controller, and stack members will occur whether or not hitless stacking is enabled. When hitless stacking is enabled, the following behavior takes effect immediately:
NOTE
If a failover occurs, the stack will not reload. Manual switchover (CLI command stack switch-over) is allowed. If a priority change occurred while hitless stacking was disabled, and the configured priority
value requires a switchover, the system will start a 60-second timer before performing a switchover. After the switchover, the highest priority standby will become the Active Controller.
If there is no Active Controller after a reload, the bootup standby will assume the active role in
approximately 90 seconds without a reload.
During a stack merge, the Active Controller with the larger number of units will win the election
and reload every unit of the losing stack. If two stacks have the same number of units, then the priority, system up time, ID, then MAC address is compared. If two stacks have the same number of units and the same priority, then the stack with the longest system up-time (by 30 seconds or more) will win the election. Otherwise, the smallest ID is compared next, followed by MAC address. If the losing Active Controller has the highest priority, it will become a standby after reloading and relearning the protocols. Finally, it will become the Active Controller after an internal switchover.
NOTE
If the Active Controllers of two merging stacks have different hitless stacking settings (i.e., hitless stacking is enabled in one stack and disabled in the other), the default behavior (hitless stacking disabled) will be used in the stack merge. After the merge, the winner will retain its hitless stacking setting and runtime configuration for the merged stack. You can use the show stack command to view whether or not hitless stacking is enabled. Refer to Displaying hitless stacking status on page 341.
340
Hitless stacking
341
Hitless stacking
Brocade#show stack alone: standalone, D: dynamic config, S: static config ID Type Role Mac Address Pri State Comment 2 S FCX648S member 0000.0000.0000 0 reserve 3 S FCX624 standby 0024.3876.2640 200 remote Ready, active if reloaded 5 S FCX624 member 00e0.5200.0400 128 remote Ready, standby if reloaded 8 S FCX648 active 0024.3877.7980 128 local Ready, member if reloaded active standby +---+ +---+ +---+ -2/1| 8 |2/2--2/2| 3 |2/1--2/1| 5 |2/2| +---+ +---+ +---+ | | | |-------------------------------------| Standby u3 - No hitless failover. Reason: hitless-failover not configured
The command takes effect immediately. Hitless switchover is allowed, and in the event of a failover, the standby controller will take over the active role without reloading the stack. Syntax: [no] hitless-failover enable Use the no form of the command to disable hitless stacking once it has been enabled.
342
Hitless stacking
FIGURE 25
The bootup Standby will become the Active controller in 90 seconds. The stack will not reload. 50
90 sec. 50
30-60 sec.
343
Hitless stacking
For a description of this features impact on major system functions, refer to Table 55 on page 330. For examples of hitless stacking switchover operation, refer to Hitless stacking switchover examples on page 345.
Hitless stacking is enabled The stack has a Standby Controller The Standby Controller has learned the protocols The Standby Controller has the same priority as the Active Controller More than 120 seconds have passed since the previous switchover or failover
You can use the show stack command to view whether or not these properties are in effect. For more information, refer to Displaying information about hitless stacking on page 350. To perform a switchover, enter the following command:
Brocade# stack switch-over Standby unit 8 will become Active Controller, and unit 1 will become standby Are you sure? (enter 'y' or 'n'): y Unit 1 is no longer the Active Controller
344
Hitless stacking
FIGURE 26
Manual switchover
1
Execute stack switch-over
No waiting period
The Active and Standby priorities must match or the command is rejected The Active and Standby controllers switch roles immediately (no waiting period). No traffic loss is expected.
345
Hitless stacking
Figure 27 illustrates a hitless stacking switchover when the Active Controller goes down then comes back up. The stack in this example has user-configured priorities.
FIGURE 27
Unit 1 (priority 200) reloads because it loses the election. After the reload, It joins the stack as a member.
30 sec.
The Active controller assigns Unit 1 (priority 200) as the Standby controller. Stages 1 and 2 are complete.
70 sec.
346
Hitless stacking
Figure 28 illustrates a hitless stacking switchover after the network administrator increases the priority value of the Standby Controller.
FIGURE 28
1
Standby 2 becomes the Active controller without a reload.
Fa ilo ver
120 sec.
Switchover
1
Standby 2 becomes the Active controller without a reload.
Fa
60 sec.
ilov
er
Switchover
The Standby controller is re-assigned and a switchover occurs. Stages 1 and 2 are bypassed.
347
Hitless stacking
Figure 29 illustrates a hitless stacking switchover after the network administrator increases the priority value of one of the stack members.
FIGURE 29
1
120 sec.
1
60 sec.
348
Hitless stacking
Figure 30 illustrates a hitless stacking switchover after the network administrator increases the priority value for two of the stack members.
FIGURE 30
Priority 150 assigned to Unit 3 (Member 3) Priority 200 assigned to Unit 4 (Member 4)
1
Fa ilov er
120 sec.
Switchover
1
Standby 2 becomes the Active controller without a reload
Fa
30 sec.
ilo
ver
Switchover
Standby re-assigned
1
Standby 4 becomes the Active controller without a reload
Fa ilov er
Switchover
Switchover occurs
1
Standby 1 becomes the Active controller without a reload
Fa
30 sec.
ilov
er
Switchover
Standby re-assigned
1
Fa ilov er
Switchover
349
Hitless stacking
The text in bold highlights the information added for hitless stacking failover and switchover. For a description of the fields in this output, refer to Field descriptions for the show stack command on page 295.
NOTE
Broc ade#show s tack failo ver Curr ent standb y is unit 5. state=r eady Stan dby u5 - p rotocols r eady, can failover o r manually switch ove r
350
Hitless stacking
TABLE 56
Message level
Informational
Syslog messages
Message
Stack: Stack unit <unit_number> has been assigned as STANDBY unit of the stack system Stack: Stack is operational due to SWITCH-OVER Stack: Stack is operational due to FAIL-OVER
Explanation
Indicates that the unit has been assigned as the Standby Controller. Indicates that a switchover has occurred. Indicates that a failover has occurred.
Informational Informational
To view the System log or the traps logged on an SNMP trap receiver, enter the show log command at any level of the CLI. The following example output shows what the log might look like after a switchover or assignment of the Standby Controller.
Brocade# show log Syslog logging: enabled (0 messages dropped, 1 flushes, 0 overruns) Buffer logging: level ACDMEINW, 8 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warningDynamic Log Buffer (50 lines): 0d00h05m34s:I:System: Interface ethernet mgmt1, state up 0d00h05m33s:I:Stack: Stack unit 8 has been assigned as STANDBY unit of the stack system 0d00h05m33s:I:Stack: Stack is operational due to SWITCH-OVER 0d00h05m32s:I:Stack: Stack unit 1 has been elected as ACTIVE unit of the stack system 0d00h05m29s:W:System:Stack unit 2 Fan speed changed automatically to 2 0d00h05m25s:W:System:Stack unit 5 Fan speed changed automatically to 2 0d00h05m00s:I:System: Interface ethernet mgmt1, state down 0d00h05m00s:I:Security: Telnet server enabled by from session
The following example output shows what the log might look like after a failover of the Active Controller.
351
Hitless stacking
Brocade# show log Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Buffer logging: level ACDMEINW, 12 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warning Dynamic Log Buffer (50 lines): 0d00h04m41s:I:Stack: Stack unit 3 has been assigned as STANDBY unit of the stack system 0d00h04m12s:I:System: Interface ethernet mgmt1, state up 0d00h04m10s:I:System: Interface ethernet mgmt1, state down 0d00h04m10s:I:System: Interface ethernet mgmt1, state up 0d00h04m09s:I:STP: VLAN 1 Bridge is RootBridge: 800000e052010000 (MgmtPriChg) 0d00h04m09s:I:System: Management MAC address changed to 00e0.5201.0000 0d00h04m09s:I:Stack: Stack is operational due to FAIL-OVER 0d00h04m08s:I:Stack: Stack unit 1 has been elected as ACTIVE unit of the stack system 0d00h04m08s:I:STP: VLAN 1 Port 8/1/1 STP State -> DISABLED (PortDown) 0d00h04m08s:I:STP: VLAN 1 Port 8/1/1 STP State -> FORWARDING (PortDown) 0d00h04m08s:I:System: Interface ethernet 1/2/2, state down 0d00h04m06s:I:System: Interface ethernet 8/2/2, state down
352
Chapter
Table 57 lists the individual Brocade FastIron switches and the IPv6 features they support. These features are supported in the Layer 2, base Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 57
Feature
FWS
FCX
ICX 6610
This chapter describes IPv6 features on the FCX, FESX, ICX 6610, FSX 800 and FSX 1600. For information about IPv6 management features on other FastIron WS devices, refer to Chapter 9, FWS Series Switch IPv6 management.
Yes
Yes
IPv6 access list1 IPv6 access-list (management ACLs) Site-local IPv6 address Link-local IPv6 address IPv4 and IPv6 host stacks IPv6 copy
1 1
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
ICX 6450 only ICX 6450 only Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
IPv6 ncopy
IPv6 debug IPv6 ping IPv6 traceroute DNS server name resolution HTTP/HTTPS Logging (Syslog) RADIUS SCP SSH SNMP
1
353
TABLE 57
Feature
Supported IPv6 features on FastIron X Series, FCX, and ICX devices (Continued)
FESX FSX 800 FSX 1600
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No
FWS
FCX
ICX 6610
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Router advertisement and solicitation IPv6 static routes IPv6 over IPv4 tunnels ECMP load sharing IPv6 ICMP IPv6 routing protocols1 ICMP redirect messages IPv6 neighbor discovery IPv6 Layer 3 forwarding IPv6 redistribution IPv6 MTU Static neighbor entries Hop limit for IPv6 packets Clear IPv6 global information IPv6 source routing security enhancements
1
The following IPv6 features, listed in Table 57, are documented in other chapters of this guide: IPv6 access list IPv6 ACLs on page 1749 IPv6 copy Using the IPv6 copy command on page 87 IPv6 ncopy IPv6 ncopy command on page 89 RADIUS Setting RADIUS over IPv6 on page 167 TFTP Loading and saving configuration files with IPv6 on page 87 IPV6 routing protocols Various chapters
354
IPv6 unicast routing (multicast routing is not supported) OSPF V3 RIPng IPv6 ICMP redirect messages IPv6 route redistribution IPv6 static routes IPv6 over IPv4 tunnels in hardware IPv6 Layer 3 forwarding
FIGURE 31
As shown in Figure 31, HHHH is a 16-bit hexadecimal value, while H is a 4-bit hexadecimal value. The following is an example of an IPv6 address. 2001:0000:0000:0200:002D:D0FF:FE48:4672 Note that this IPv6 address includes hexadecimal fields of zeros. To make the address less cumbersome, you can do the following:
Omit the leading zeros; for example, 2001:0:0:200:2D:D0FF:FE48:4672. Compress the successive groups of zeros at the beginning, middle, or end of an IPv6 address
to two colons (::) once per address; for example, 2001::200:2D:D0FF:FE48:4672. When specifying an IPv6 address in a command syntax, keep the following in mind:
You can use the two colons (::) only once in the address to represent the longest successive
hexadecimal fields of zeros
355
As shown in Figure 31, the IPv6 network prefix is composed of the left-most bits of the address. As with an IPv4 address, you can specify the IPv6 prefix using the <prefix>/<prefix-length> format, where the following applies. The <prefix> parameter is specified as 16-bit hexadecimal values separated by a colon. The <prefix-length> parameter is specified as a decimal value that indicates the left-most bits of the IPv6 address. The following is an example of an IPv6 prefix. 2001:FF08:49EA:D088::/64
Unicast addresses support two types of scope: global scope and local scope. In turn, local
scope supports site-local addresses and link-local addresses. Table 58 describes global, site-local, and link-local addresses and the topologies in which they are used.
356
TABLE 58
.
Address type
Unicast
Address structure
Depends on the type of the unicast address: Aggregatable global addressAn address equivalent to a global or public IPv4 address. The address structure is as follows: a fixed prefix of 2000::/3 (001), a 45-bit global routing prefix, a 16-bit subnet ID, and a 64-bit interface ID. Site-local addressAn address used within a site or intranet. (This address is similar to a private IPv4 address.) A site consists of multiple network links. The address structure is as follows: a fixed prefix of FEC0::/10 (1111 1110 11), a 16-bit subnet ID, and a 64-bit interface ID. Link-local addressAn address used between directly connected nodes on a single network link. The address structure is as follows: a fixed prefix of FE80::/10 (1111 1110 10) and a 64-bit interface ID. IPv4-compatible addressAn address used in IPv6 transition mechanisms that tunnel IPv6 packets dynamically over IPv4 infrastructures. The address embeds an IPv4 address in the low-order 32 bits and the high-order 96 bits are zeros. The address structure is as follows: 0:0:0:0:0:0:A.B.C.D. Loopback addressAn address (0:0:0:0:0:0:0:1 or ::1) that a switch can use to send an IPv6 packet to itself. You cannot assign a loopback address to a physical interface. Unspecified addressAn address (0:0:0:0:0:0:0:0 or ::) that a node can use until you configure an IPv6 address for it. A multicast address has a fixed prefix of FF00::/8 (1111 1111). The next 4 bits define the address as a permanent or temporary address. The next 4 bits define the scope of the address (node, link, site, organization, global).
Multicast
An address for a set of interfaces belonging to different nodes. Sending a packet to a multicast address results in the delivery of the packet to all interfaces in the set. An address for a set of interfaces belonging to different nodes. Sending a packet to an anycast address results in the delivery of the packet to the closest interface identified by the address.
Anycast
An anycast address looks similar to a unicast address, because it is allocated from the unicast address space. If you assign a unicast address to multiple interfaces, it is an anycast address. An interface assigned an anycast address must be configured to recognize the address as an anycast address. An anycast address can be assigned to a switch only. An anycast address must not be used as the source address of an IPv6 packet.
A switch automatically configures a link-local unicast address for an interface by using the prefix of FE80::/10 (1111 1110 10) and a 64-bit interface ID. The 128-bit IPv6 address is then subjected to duplicate address detection to ensure that the address is unique on the link. If desired, you can override this automatically configured address by explicitly configuring an address. Brocade FastIron devices support RFC 2526, which requires that within each subnet, the highest 128 interface identifier values reserved for assignment as subnet anycast addresses. Thus, if you assign individual IPv6 addresses within a subnet, the second highest IPv6 address in the subnet does not work.
NOTE
357
NOTE
For the stateless auto configuration feature to work properly, the advertised prefix length in switch advertisement messages must always be 64 bits. The IPv6 stateless autoconfiguration feature can also automatically reconfigure a hosts interfaces if you change the ISP for the hosts network. (The hosts interfaces must be renumbered with the IPv6 prefix of the new ISP.) The renumbering occurs in the following way: a switch on a local link periodically sends advertisements updated with the prefix of the new ISP to all nodes on the link. (The advertisements still contain the prefix of the old ISP.) A host can use the addresses created from the new prefix and the existing addresses created from the old prefix on the link. When you are ready for the host to use the new addresses only, you can configure the lifetime parameters appropriately using the ipv6 nd prefix-advertisement command. During this transition, the old prefix is removed from the switch advertisements. At this point, only addresses that contain the new prefix are used on the link.
TABLE 59
IPv6 command
Switch code
Router code
X X X X X X X
clear ipv6 cache clear ipv6 mld-snooping clear ipv6 neighbor clear ipv6 ospf clear ipv6 rip clear ipv6 route clear ipv6 traffic
358
TABLE 59
IPv6 command
Switch code
Router code
X X
debug ipv6 ipv6 access-class ipv6 access-list ipv6 address ipv6 debug ipv6 dns domain-name ipv6 dns server-address ipv6 enable ipv6 hop-limit ipv6 icmp Ipv6 load-sharing Ipv6 mld-snooping ipv6 mtu ipv6 nd ipv6 neighbor ipv6 ospf ipv6 prefix-list ipv6 redirects ipv6 rip ipv6 route ipv6 router ipv6 traffic-filter ipv6 unicast-routing log host ipv6 ping ipv6 show ipv6 show ipv6 access-list show ipv6 cache
X X X X X X X X
X X X X X X X X X X X X X X X X X X X X X X X X X X X X
359
TABLE 59
IPv6 command
Switch code
Router code
X X X X X X X X X X X X X X X X X X
show ipv6 interface show ipv6 mld-snooping show ipv6 neighbor show ipv6 ospf show ipv6 prefix-lists show ipv6 rip show ipv6 route show ipv6 router show ipv6 tcp show ipv6 traffic show ipv6 tunnel snmp-client ipv6 snmp-server host ipv6 sntp server ipv6 telnet traceroute ipv6 web access-group ipv6 web client ipv6
360
Configuring a link-local IPv6 address as a system-wide address for a switch on page 361
When configuring an Ipv6 host address on a Layer 2 switch that has multiple VLANs, make sure the configuration includes a designated management VLAN that identifies the VLAN to which the global IP address belongs. Refer to Designated VLAN for Telnet management sessions to a Layer 2 Switch on page 120.
NOTE
Syntax: ipv6 address <ipv6-prefix>/<prefix-length> You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter in decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter.
This command enables IPv6 on the switch and specifies that the interface is assigned an automatically computed link-local address. Syntax: [no] ipv6 enable To override a link-local address that is automatically computed for the global interface with a manually configured address, enter a command such as the following.
Brocade(config)#ipv6 address FE80::240:D0FF:FE48:4672 link-local
This command explicitly configures the link-local address FE80::240:D0FF:FE48:4672 for the global interface. Syntax: ipv6 address <ipv6-address> link-local You must specify the <ipv6-address> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. The link-local keyword indicates that the router interface should use the manually configured link-local address instead of the automatically computed link-local address.
361
Enable IPv6 routing globally on the switch Configure an IPv6 address or explicitly enable IPv6 on each router interface over which you
plan to forward IPv6 traffic
Configure IPv4 and IPv6 protocol stacks. (This step is mandatory only if you want a router
interface to send and receive both IPv4 and IPv6 traffic.) All other configuration tasks in this chapter are optional.
Syntax: [no] ipv6 unicast-routing To disable the forwarding of IPv6 traffic globally on the Brocade device, enter the no form of this command.
362
Automatically or manually configuring a link-local address for an interface. Configuring IPv6 anycast addresses
Automatically configures an interface ID (a link-local address), if specified. Enables IPv6 on that interface.
Additionally, the configured interface automatically joins the following required multicast groups for that link:
Solicited-node for subnet anycast address for each unicast assigned address Solicited-node for anycast address FF02:0:0:0:0:1:FF00::0000 All-nodes link-local multicast group FF02::1 All-routers link-local multicast group FF02::2
The neighbor discovery feature sends messages to these multicast groups. For more information, refer to IPv6 neighbor discovery configuration on page 384. Configuring a global or site-local IPv6 address with a manually configured interface ID To configure a global or site-local IPv6 address, including a manually configured interface ID, for an interface, enter commands such as the following.
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e1000-3/1)#ipv6 address 2001:200:12D:1300:240:D0FF: FE48:4672:/64
These commands configure the global prefix 2001:200:12d:1300::/64 and the interface ID ::240:D0FF:FE48:4672, and enable IPv6 on Ethernet interface 3/1. Syntax: ipv6 address <ipv6-prefix>/<prefix-length> You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. To configure a /122 address on a VE enter commands similar to the following.
Brocade(config-vlan-11)#int ve11 Brocade(config-vif-11)#ipv6 add 2020::1/122 Brocade(config-vif-11)#sh ipv6 int Routing Protocols : R - RIP O - OSPF Interface Status Routing Global Unicast Address VE 11 up/up 2020::1/122 Brocade(config-vif-11)#sh ipv6 route
363
IPv6 Routing Table - 1 entries: Type Codes: C - Connected, S - Static, R - RIP, O - OSPF, B - BGP OSPF Sub Type Codes: O - Intra, Oi - Inter, O1 - Type1 external, O2 - Type2 external Type IPv6 Prefix Next Hop Router Interface Dis/Metric C 2020::/122 :: ve 11 0/0
Configuring a global IPv6 address with an automatically computed EUI-64 interface ID To configure a global IPv6 address with an automatically computed EUI-64 interface ID in the low-order 64-bits, enter commands such as the following.
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e1000-3/1)#ipv6 address 2001:200:12D:1300::/64 eui-64
These commands configure the global prefix 2001:200:12d:1300::/64 and an interface ID, and enable IPv6 on Ethernet interface 3/1. Syntax: ipv6 address <ipv6-prefix>/<prefix-length> eui-64 You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The eui-64 keyword configures the global address with an EUI-64 interface ID in the low-order 64 bits. The interface ID is automatically constructed in IEEE EUI-64 format using the interfaces MAC address.
These commands enable IPv6 on Ethernet interface 3/1 and specify that the interface is assigned an automatically computed link-local address. Syntax: [no] ipv6 enable
NOTE
When configuring VLANs that share a common tagged interface with a physical or Virtual Ethernet (VE) interface, Brocade recommends that you override the automatically computed link-local address with a manually configured unique address for the interface. If the interface uses the automatically computed address, which in the case of physical and VE interfaces is derived from a global MAC address, all physical and VE interfaces will have the same MAC address. To override a link-local address that is automatically computed for an interface with a manually configured address, enter commands such as the following.
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e1000-3/1)#ipv6 address FE80::240:D0FF:FE48:4672 link-local
364
These commands explicitly configure the link-local address FE80::240:D0FF:FE48:4672 for Ethernet interface 3/1. Syntax: ipv6 address <ipv6-address> link-local You must specify the <ipv6-address> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. The link-local keyword indicates that the router interface should use the manually configured link-local address instead of the automatically computed link-local address.
Syntax: ipv6 address <ipv6-prefix>/<prefix-length> [anycast] IPv6 anycast addresses are described in detail in RFC 1884. See RFC 2461 for a description of how the IPv6 Neighbor Discovery mechanism handles anycast addresses.
These commands globally enable IPv6 routing and configure an IPv4 address and an IPv6 address for Ethernet interface 3/1. Syntax: [no] ipv6 unicast-routing To disable IPv6 traffic globally on the router, enter the no form of this command. Syntax: ip address <ip-address> <sub-net-mask> [secondary] You must specify the <ip-address> parameter using 8-bit values in dotted decimal notation.
365
You can specify the <sub-net-mask> parameter in either dotted decimal notation or as a decimal value preceded by a slash mark (/). The secondary keyword specifies that the configured address is a secondary IPv4 address. To remove the IPv4 address from the interface, enter the no form of this command. Syntax: ipv6 address <ipv6-prefix>/<prefix-length> [eui-64] This syntax specifies a global or site-local IPv6 address. For information about configuring a link-local IPv6 address, refer to Configuring a link-local IPv6 address on an interface on page 364. You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The eui-64 keyword configures the global address with an EUI-64 interface ID in the low-order 64 bits. The interface ID is automatically constructed in IEEE EUI-64 format using the interfaces MAC address. If you do not specify the eui-64 keyword, you must manually configure the 64-bit interface ID as well as the 64-bit network prefix. For more information about manually configuring an interface ID, refer to Configuring a global or site-local IPv6 address on an interface on page 363.
NOTE
Syntax: [no] ipv6 access-list <ACL name> The <ACL name> variable specifies a name for the IPv6 ACL. An IPv6 ACL name cannot start with a numeral, for example, 1access. Also, an IPv4 ACL and an IPv6 ACL cannot share the same name.
366
Syntax: snmp-client ipv6 <ipv6-address> The <ipv6-address> you specify must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
Syntax: snmp-server host ipv6 <ipv6-address> The <ipv6-address> you specify must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
Syntax: sntp server ipv6 <ipv6-address> The <ipv6-address> is the IPv6 address of the SNTP server. When you enter the IPv6 address, you do not need to specify the prefix length. A prefix length of 128 is implied.
367
IPv6 Telnet
Telnet sessions can be established between a Brocade device to a remote IPv6 host, and from a remote IPv6 host to the Brocade device using IPv6 addresses. The telnet command establishes a Telnet connection from a Brocade device to a remote IPv6 host using the console. Up to five read-access Telnet sessions are supported on the router at one time. Write-access through Telnet is limited to one session, and only one outgoing Telnet session is supported on the router at one time. To see the number of open Telnet sessions at any time, enter the show telnet command.
Example
To establish a Telnet connection to a remote host with the IPv6 address of 3001:2837:3de2:c37::6, enter the following command.
Brocade#telnet 3001:2837:3de2:c37::6
Syntax: telnet <ipv6-address> [<port-number> | outgoing-interface ethernet <port> | ve <number>] The <ipv6-address> parameter specifies the address of a remote host. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <port-number> parameter specifies the port number on which the Brocade device establishes the Telnet connection. You can specify a value between 1 - 65535. If you do not specify a port number, the Brocade device establishes the Telnet connection on port 23. If the IPv6 address you specify is a link-local address, you must specify the outgoing-interface ethernet <port> | ve <number> parameter. This parameter identifies the interface that must be used to reach the remote host. If you specify an Ethernet interface, you must also specify the port number associated with the interface. If you specify a VE interface, also specify the VE number.
IPv6 traceroute
This section describes the IPv6 traceroute command. For details about IPv4 traceroute, refer to Tracing an IPv4 route on page 96. The traceroute command allows you to trace a path from the Brocade device to an IPv6 host. The CLI displays trace route information for each hop as soon as the information is received. Traceroute requests display all responses to a minimum TTL of 1 second and a maximum TTL of 30 seconds. In addition, if there are multiple equal-cost routes to the destination, the Brocade device displays up to three responses. For example, to trace the path from the Brocade device to a host with an IPv6 address of 3301:23dd:349e:a384::34, enter the following command:
Brocade#traceroute ipv6 3301:23dd:349e:a384::34
NOTE
368
The <ipv6-address> parameter specifies the address of a host. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373.
NOTE
You must enclose the IPv6 address with square brackets [ ] in order for the Web browser to work.
Syntax: web access-group ipv6 <ipv6 ACL name> where <ipv6 ACL name> is a valid IPv6 ACL.
Syntax: web client ipv6 <ipv6-address> The <ipv6-address> you specify must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
369
Syntax: [no] ipv6 dns domain-name <domain name> To define an IPv6 DNS server address, enter the following command.
Brocade(config)#ipv6 dns server-address 200::1
Syntax: [no] ipv6 dns server-address <ipv6-addr> [<ipv6-addr>] [<ipv6-addr>] [<ipv6-addr>] As an example, in a configuration where ftp6.companynet.com is a server with an IPv6 protocol stack, when a user pings ftp6.companynet.com, the Brocade device attempts to resolve the AAAA DNS record. In addition, if the DNS server does not have an IPv6 address, as long as it is able to resolve AAAA records, it can still respond to DNS queries.
NOTE
370
Syntax: ping ipv6 <ipv6-address> [outgoing-interface [<port> | ve <number>]] [source <ipv6-address>] [count <number>] [timeout <milliseconds>] [ttl <number>] [size <bytes>] [quiet] [numeric] [no-fragment] [verify] [data <1-to-4 byte hex>] [brief]
The <ipv6-address> parameter specifies the address of the router. You must specify this
address in hexadecimal using 16-bit values between colons as documented in RFC 2373.
The outgoing-interface keyword specifies a physical interface over which you can verify
connectivity. If you specify a physical interface, such as an Ethernet interface, you must also specify the port number of the interface. If you specify a virtual interface, such as a VE, you must specify the number associated with the VE.
The source <ipv6-address> parameter specifies an IPv6 address to be used as the origin of
the ping packets.
The count <number> parameter specifies how many ping packets the router sends. You can
specify from 1 - 4294967296. The default is 1.
The timeout <milliseconds> parameter specifies how many milliseconds the router waits for a
reply from the pinged device. You can specify a timeout from 1 - 4294967296 milliseconds. The default is 5000 (5 seconds).
The ttl <number> parameter specifies the maximum number of hops. You can specify a TTL
from 1 - 255. The default is 64.
The size <bytes> parameter specifies the size of the ICMP data portion of the packet. This is
the payload and does not include the header. You can specify from 0 - 4000. The default is 16.
The no-fragment keyword turns on the "do not fragment" bit in the IPv6 header of the ping
packet. This option is disabled by default.
The quiet keyword hides informational messages such as a summary of the ping parameters
sent to the device, and instead only displays messages indicating the success or failure of the ping. This option is disabled by default.
The verify keyword verifies that the data in the echo packet (the reply packet) is the same as
the data in the echo request (the ping). By default the device does not verify the data.
The data <1 - 4 byte hex> parameter lets you specify a specific data pattern for the payload
instead of the default data pattern, "abcd", in the packet's data payload. The pattern repeats itself throughout the ICMP message (payload) portion of the packet.
NOTE
For parameters that require a numeric value, the CLI does not check that the value you enter is within the allowed range. Instead, if you do exceed the range for a numeric value, the software rounds the value to the nearest valid value.
The brief keyword causes ping test characters to be displayed. The following ping test
characters are supported. ! Indicates that a reply was received. . Indicates that the network server timed out while waiting for a reply. U Indicates that a destination unreachable error PDU was received. I Indicates that the user interrupted ping.
371
Syntax: log host ipv6 <ipv6-address> [<udp-port-num>] The <ipv6-address> must be in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <udp-port-num> optional parameter specifies the UDP application port used for the Syslog facility.
Traps Warm/Cold start: Link up: Link down: Authentication: Locked address violation: Power supply failure: Fan failure: Temperature warning: STP new root: STP topology change: vsrp: Total Trap-Receiver Entries: 4 Trap-Receiver IP-Address 1 2 3 4 192.147.201.100 4000::200 192.147.202.100 3000::200 Port-Number Community 162 162 162 162 ..... ..... ..... ..... Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable
372
Syntax: no ipv6 enable To re-enable IPv6 after it has been disabled, enter ipv6 enable. IPv6 is disabled by default in the router code and must be configured on each interface that will support IPv6.
NOTE
NOTE
373
Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <next-hop-ipv6-address> [<metric>] [distance <number>] To configure a static IPv6 route for a destination network with the prefix 8eff::0/32 and a next-hop gateway with the link-local address fe80::1 that the Layer 3 switch can access through Ethernet interface 3/1, enter the following command.
Brocade(config)#ipv6 route 8eff::0/32 ethernet 1 fe80::1
Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> [ ethernet <slot/port> | ve <num> ] <next-hop-ipv6-address> [<metric>] [distance <number>] To configure a static IPv6 route for a destination network with the prefix 8eff::0/32 and a next-hop gateway that the Layer 3 switch can access through tunnel 1, enter the following command.
Brocade(config)#ipv6 route 8eff::0/32 tunnel 1
Syntax: ipv6 route <dest-ipv6-prefix>/<prefix-length> <interface> <port> [<metric>] [distance <number>] Table 60 describes the parameters associated with this command and indicates the status of each parameter.
374
TABLE 60
Parameter
Status
Mandatory for all static IPv6 routes.
The IPv6 prefix and prefix length of the routes destination network.
The routes next-hop gateway, You can specify the next-hop gateway which can be one of the following: as one of the following types of IPv6 addresses: The IPv6 address of a next-hop gateway. A global address. A tunnel interface. A link-local address. If you specify a global address, you do not need to specify any additional parameters for the next-hop gateway. If you specify a link-local address, you must also specify the interface through which to access the address. You can specify one of the following interfaces: An Ethernet interface. A tunnel interface. A virtual interface (VE). If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a VE or tunnel interface, also specify the VE or tunnel number. You can also specify the next-hop gateway as a tunnel interface. If you specify a tunnel interface, also specify the tunnel number. The routes metric. The routes administrative distance. You can specify a value from 1 16. You must specify the distance keyword and any numerical value.
Optional for all static IPv6 routes. (The default metric is 1.) Optional for all static IPv6 routes. (The default administrative distance is 1.)
A metric is a value that the Layer 3 switch uses when comparing this route to other static routes in the IPv6 static route table that have the same destination. The metric applies only to routes that the Layer 3 switch has already placed in the IPv6 static route table. The administrative distance is a value that the Layer 3 switch uses to compare this route with routes from other route sources that have the same destination. (The Layer 3 switch performs this comparison before placing a route in the IPv6 route table.) This parameter does not apply to routes that are already in the IPv6 route table. In general, a low administrative distance indicates a preferred route. By default, static routes take precedence over routes learned by routing protocols. If you want a dynamic route to be chosen over a static route, you can configure the static route with a higher administrative distance than the dynamic route.
375
NOTE
FIGURE 32
IPv6 Network
IPv4 Network
IPv6 Network
IPv6 Host
Dual-Stack L3 Switch
Dual-Stack L3 Switch
IPv6 Host
IPv6 Header
IPv6 Data
IPv4 Header
IPv6 Header
IPv6 Data
IPv6 Header
IPv6 Data
In general, a manually configured tunnel establishes a permanent link between switches in IPv6 domains. A manually configured tunnel has explicitly configured IPv4 addresses for the tunnel source and destination. This tunneling mechanism requires that the Layer 3 switch at each end of the tunnel run both IPv4 and IPv6 protocol stacks. The Layer 3 switches running both protocol stacks, or dual-stack routers, can interoperate directly with both IPv4 and IPv6 end systems and routers. Refer to Configuring IPv4 and IPv6 protocol stacks on page 365.
NOTE
If the 48-port 10/100/1000 Mbps Ethernet POE (SX-FI48GPP) interface module is inadvertently inserted in a system that has IPv4 or IPv6 interface modules, or a management module with user ports, existing tunnels will be taken down immediately. To recover, physically remove the module that caused the mix-and-match condition and then disable and re-enable the tunnel interfaces.
The local tunnel configuration must include both source and destination addresses. The remote side of the tunnel must have the opposite source/destination pair. A tunnel interface supports static and dynamic IPv6 configuration settings and routing
protocols.
Duplicate Address Detection (DAD) is not currently supported with IPv6 tunnels. Make sure
tunnel endpoints do not have duplicate IP addresses.
376
If a tunnel source port is a multi-homed IPv4 source, the tunnel will use the first IPv4 address
only. For proper tunnel operation, use the ip address option.
Except for FSX 800 and FSX 1600, Hitless management is not supported with IPv6-over-IPv4
tunnels or GRE tunnels. When either of these tunnel types are enabled on non supported devices, the behavior is as follows:
The CLI commands that execute a hitless switchover (switch-over-active-role and hitless
reload) are disabled.
In the event of a failover, the following message is displayed on the console and in the
Syslog, and the entire system is rebooted:
WARNING: All the System will now reload since GRE or IPv6 Tunnel was configured
This example creates tunnel interface 1 and assigns a link local IPv6 address with an automatically computed EUI-64 interface ID to it. The IPv4 address assigned to Ethernet interface 3/1 is used as the tunnel source, while the IPv4 address 192.168.100.1 is configured as the tunnel destination. The tunnel mode is specified as a manual IPv6 tunnel. Finally, the tunnel is enabled. Note that instead of entering ipv6 enable, you could specify an IPv6 address, for example, ipv6 address 2001:b78:384d:34::/64 eui-64, which would also enable the tunnel. Syntax: [no] interface tunnel <number> For the <number> parameter, specify a value between 1 8. Syntax: [no] tunnel source <ipv4-address> | ethernet <port> | loopback <number> | ve <number> The tunnel source can be an IP address or an interface. For <ipv4-address>, use 8-bit values in dotted decimal notation. The ethernet | loopback | ve parameter specifies an interface as the tunnel source. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a loopback, VE, or interface, also specify the loopback, VE, or number, respectively. Syntax: [no] tunnel destination <ipv4-address> Specify the <ipv4-address> parameter using 8-bit values in dotted decimal notation. Syntax: [no] tunnel mode ipv6ip ipv6ip indicates that this is an IPv6 manual tunnel. Syntax: ipv6 enable
377
The ipv6 enable command enables the tunnel. Alternatively, you could specify an IPv6 address, which would also enable the tunnel. Syntax: ipv6 address <ipv6-prefix>/<prefix-length> [eui-64] The ipv6 address command enables the tunnel. Alternatively, you could enter ipv6 enable, which would also enable the tunnel. Specify the <ipv6-prefix> parameter in hexadecimal format using 16-bit values between colons as documented in RFC 2373. Specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The eui-64 keyword configures the global address with an EUI-64 interface ID in the low-order 64 bits. The interface ID is automatically constructed in IEEE EUI-64 format using the interfaces MAC address.
To clear statistics for all IPv6 tunnels, enter the following command.
Brocade#clear ipv6 tunnel
Syntax: clear ipv6 tunnel [<number>] The <number> parameter specifies the tunnel number.
Syntax: show ipv6 tunnel This display shows the following information.
378
TABLE 61
Field
Tunnel Mode
The tunnel mode. Possible modes include the following: configured Indicates a manually configured tunnel.
Packet Received
The number of packets received by a tunnel interface. Note that this is the number of packets received by the CPU. It does not include the number of packets processed in hardware. The number of packets sent by a tunnel interface. Note that this is the number of packets sent by the CPU. It does not include the number of packets processed in hardware.
Packet Sent
Syntax: show interfaces tunnel <number> The <number> parameter indicates the tunnel interface number for which you want to display information. This display shows the following information.
TABLE 62
Field
The status of the line protocol can be one of the following: up IPv4 connectivity is established. down The line protocol is not functioning and is down.
The tunnel source can be one of the following: An IPv4 address The IPv4 address associated with an interface/port.
The tunnel destination can be an IPv4 address. The tunnel mode can be the following: ipv6ip indicates a manually configured tunnel
379
TABLE 62
Field
Port name MTU
380
TABLE 63
Field
The status of the line protocol can be one of the following: up IPv6 is enabled through the ipv6 enable or ipv6 address command. down The line protocol is not functioning and is down.
381
If you want to re-enable the feature after disabling it, you must specify the number of load-sharing paths. The maximum number of paths the device supports is a value from 2 6. By entering a command such as the following, iPv6 load-sharing will be re-enabled.
Brocade(config)#ipv6 load-sharing 4
Syntax: [no] ipv6 load-sharing<num> The <num> parameter specifies the number of paths and can be from 2 6. The default is 4.
Syntax: [no] ipv6 load-sharing [<num>] The <num> parameter specifies the number of paths and can be from 2 6. The default is 4.
382
The interval at which tokens are added to the bucket. The default is 100 milliseconds. The maximum number of tokens in the bucket. The default is 10 tokens.
For example, to adjust the interval to 1000 milliseconds and the number of tokens to 100 tokens, enter the following command.
Brocade(config)# ipv6 icmp error-interval 1000 100
Syntax: ipv6 icmp error-interval <interval> [<number-of-tokens>] The interval in milliseconds at which tokens are placed in the bucket can range from 0 2147483647. The maximum number of tokens stored in the bucket can range from 1 200. If you retain the default interval value or explicitly set the value to 100 milliseconds, output from the show run command does not include the setting of the ipv6 icmp error-interval command because the setting is the default. Also, if you configure the interval value to a number that does not evenly divide into 100000 (100 milliseconds), the system rounds up the value to a next higher value that does divide evenly into 100000. For example, if you specify an interval value of 150, the system rounds up the value to 200. ICMP rate limiting is enabled by default. To disable ICMP rate limiting, set the interval to zero.
NOTE
383
NOTE
To disable the sending of IPv6 ICMP redirect messages after it has been enabled on VE 2, enter the following commands.
Brocade(config)#interface ve2 Brocade(config-vif-2)#no ipv6 redirects
Syntax: [no] ipv6 redirects Use the show ipv6 interface command to verify that the sending of IPv6 ICMP redirect messages is enabled on a particular interface.
Determine the link-layer address of a neighbor on the same link. Verify that a neighbor is reachable. Track neighbor routers.
An IPv6 host is required to listen for and recognize the following addresses that identify itself:
Link-local address. Assigned unicast address. Loopback address. All-nodes multicast address. Solicited-node multicast address. Multicast address to all other groups to which it belongs.
Neighbor solicitation messages for duplicate address detection. Router advertisement messages:
384
Interval between router advertisement messages. Value that indicates a router is advertised as a default router (for use by all nodes on a
given link).
Prefixes advertised in router advertisement messages. Flags for host stateful autoconfiguration. Amount of time during which an IPv6 node considers a remote node reachable (for use by all
nodes on a given link).
If you add a port to a port-based VLAN, and the port has IPv6 neighbor discovery configuration,
the system will clean up the neighbor discovery configuration from the port and display the following message on the console.
ND6 port config on the new member ports removed
Source address: IPv6 address of node 1 interface that sends the message. Destination address: solicited-node multicast address (FF02:0:0:0:0:1:FF00::/104) that
corresponds the IPv6 address of node 2.
Source address: IPv6 address of the node 2 interface that sends the message. Destination address: IPv6 address of node 1. Link-layer address of node 2.
After node 1 receives the neighbor advertisement message from node 2, nodes 1 and 2 can now exchange packets on the link.
385
After the link-layer address of node 2 is determined, node 1 can send neighbor solicitation messages to node 2 to verify that it is reachable. Also, nodes 1, 2, or any other node on the same link can send a neighbor advertisement message to the all-nodes multicast address (FF02::1) if there is a change in their link-layer address.
386
NOTE
Duplicate Address Detection (DAD) is not currently supported with IPv6 tunnels. Make sure tunnel endpoints do not have duplicate IP addresses. You can configure the following neighbor solicitation message parameters that affect duplicate address detection while it verifies that a tentative unicast IPv6 address is unique:
The number of consecutive neighbor solicitation messages that duplicate address detection
sends on an interface. By default, duplicate address detection sends three neighbor solicitation messages without any follow-up messages.
The interval in seconds at which duplicate address detection sends a neighbor solicitation
message on an interface. By default, duplicate address detection sends a neighbor solicitation message every 1000 milliseconds. For example, to change the number of neighbor solicitation messages sent on Ethernet interface 3/1 to two and the interval between the transmission of the two messages to 9 seconds, enter the following commands.
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e1000-3/1)#ipv6 nd dad attempt 2 Brocade(config-if-e1000-3/1)#ipv6 nd ns-interval 9000
Syntax: [no] ipv6 nd dad attempt <number> Syntax: [no] ipv6 nd ns-interval <number> For the number of neighbor solicitation messages, specify a number from 0 255. The default is 3. Configuring a value of 0 disables duplicate address detection processing on the specified interface. To restore the number of messages to the default value, use the no form of this command. For the interval between neighbor solicitation messages and the value for the retrans timer in router advertisements, specify a number from 0 4294967295 milliseconds. The default value for the interval between neighbor solicitation messages is 1000 milliseconds. The default value for the retrans timer is 0. Brocade does not recommend very short intervals in normal IPv6 operation. When a non-default value is configured, the configured time is both advertised and used by the router itself. To restore the default interval, use the no form of this command.
387
The interval (in seconds) at which an interface sends router advertisement messages. By
default, an interface sends a router advertisement message every 200 seconds.
The "router lifetime" value, which is included in router advertisements sent from a particular
interface. The value (in seconds) indicates if the router is advertised as a default router on this interface. If you set the value of this parameter to 0, the router is not advertised as a default router on an interface. If you set this parameter to a value that is not 0, the router is advertised as a default router on this interface. By default, the router lifetime value included in router advertisement messages sent from an interface is 1800 seconds.
Syntax: [no] ipv6 nd ra-interval <number> | <min range value> <max range value> Syntax: [no] ipv6 nd ra-lifetime <number> Syntax: ipv6 nd ra-hop-limit <number> <number> is a value from 0 255. The default is 64. The ipv6 nd ra-interval <number> can be a value between 3 1800 seconds. The default is 200 seconds. The actual RA interval will be from .5 to 1.5 times the configured or default value. For example, in the above configuration, for ipv6 nd ra-interval 300, the range would be 150 450. To restore the default interval of 200 seconds, use the no form of the command. The ipv6 nd ra-interval range <min range value> <max range value> command lets you specify a range of values instead of a single value. The <min range value> specifies the minimum number of seconds allowed between sending unsolicited multicast router advertisements from the interface. The default is 0.33 times the <max range value> if the <max range value> is greater than or equal to 9 seconds. Otherwise, the default is the value specified by the <max range value>. The <min range value> can be a number between -3 (.75 x <max range value>). The <max range value> parameter specifies the maximum number of seconds allowed between sending unsolicited multicast router advertisements from the interface. This number can be between 4 1800 seconds and must be greater than the <min range value> x 1.33. The default is 600 seconds. The ipv6 nd ra-lifetime <number> is a value between 0 9000 seconds. To restore the router lifetime value of 1800 seconds, use the no form of the command. The ipv6 nd ra-hop-limit <number> is a value from 0 255. The default is 64.
388
By default, router advertisements will always have the MTU option. To suppress the MTU option, use the following command at the Interface level of the CLI: ipv6 nd suppress-mtu-option.
NOTE
Valid lifetime(Mandatory) The time interval (in seconds) in which the specified prefix is
advertised as valid. The default is 2592000 seconds (30 days). When the timer expires, the prefix is no longer considered to be valid.
Preferred lifetime(Mandatory) The time interval (in seconds) in which the specified prefix is
advertised as preferred. The default is 604800 seconds (7 days). When the timer expires, the prefix is no longer considered to be preferred.
Onlink flag(Optional) If this flag is set, the specified prefix is assigned to the link upon which it
is advertised. Nodes sending traffic to addresses that contain the specified prefix consider the destination to be reachable on the local link.
Autoconfiguration flag(Optional) If this flag is set, the stateless auto configuration feature can
use the specified prefix in the automatic configuration of 128-bit IPv6 addresses for hosts on the local link, provided the specified prefix is aggregatable, as specified in RFC 2374. For example, to advertise the prefix 2001:e077:a487:7365::/64 in router advertisement messages sent out on Ethernet interface 3/1 with a valid lifetime of 1000 seconds, a preferred lifetime of 800 seconds, and the Onlink and Autoconfig flags set, enter the following commands.
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e1000-3/1)#ipv6 nd prefix-advertisement 2001:e077:a487:7365::/64 1000 800 onlink autoconfig
Syntax: [no] ipv6 nd prefix-advertisement <ipv6-prefix>/<prefix-length> <valid-lifetime> <preferred-lifetime> [autoconfig] [onlink] You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The valid lifetime and preferred lifetime is a numerical value between 0 4294967295 seconds. The default valid lifetime is 2592000 seconds (30 days), while the default preferred lifetime is 604800 seconds (7 days). To remove a prefix from the router advertisement messages sent from a particular interface, use the no form of this command.
389
Managed Address ConfigurationThis flag indicates to hosts on a local link if they should use
the stateful autoconfiguration feature to get IPv6 addresses for their interfaces. If the flag is set, the hosts use stateful autoconfiguration to get addresses as well as non-IPv6-address information. If the flag is not set, the hosts do not use stateful autoconfiguration to get addresses and if the hosts can get non-IPv6-address information from stateful autoconfiguration is determined by the setting of the Other Stateful Configuration flag.
Other Stateful ConfigurationThis flag indicates to hosts on a local link if they can get non-IPv6
address autoconfiguration information. If the flag is set, the hosts can use stateful autoconfiguration to get non-IPv6-address information.
NOTE
When determining if hosts can use stateful autoconfiguration to get non-IPv6-address information, a set Managed Address Configuration flag overrides an unset Other Stateful Configuration flag. In this situation, the hosts can obtain nonaddress information. However, if the Managed Address Configuration flag is not set and the Other Stateful Configuration flag is set, then the setting of the Other Stateful Configuration flag is used. By default, the Managed Address Configuration and Other Stateful Configuration flags are not set in router advertisement messages. For example, to set these flags in router advertisement messages sent from Ethernet interface 3/1, enter the following commands.
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e1000-3/1)#ipv6 nd managed-config-flag Brocade(config-if-e1000-3/1)#ipv6 nd other-config-flag
Syntax: [no] ipv6 nd managed-config-flag Syntax: [no] ipv6 nd other-config-flag To remove either flag from router advertisement messages sent on an interface, use the no form of the respective command.
To enable the sending of router advertisement messages on a tunnel interface, enter commands such as the following.
Brocade(config)#interface tunnel 1 Brocade(config-tnif-1)#no ipv6 nd suppress-ra
390
IPv6 MTU
Syntax: [no] ipv6 nd reachable-time <seconds> For the <seconds> parameter, specify a number from 0 3600 seconds. To restore the default time, use the no form of this command.
NOTE
The actual reachable time will be from .5 to 1.5 times the configured or default value.
IPv6 MTU
The IPv6 maximum transmission unit (MTU) is the maximum length of an IPv6 packet that can be transmitted on a particular interface. If an IPv6 packet is longer than an MTU, the host that originated the packet fragments the packet and transmits its contents in multiple packets that are shorter than the configured MTU. By default, in non-jumbo mode, the maximum Ethernet MTU size is 1500 bytes. When jumbo is enabled, the default maximum Ethernet MTU size is 10218.
You cannot use this command to set Layer 2 maximum frame sizes per interface. The global
jumbo command causes all interfaces to accept Layer 2 frames.
For non-jumbo mode, you can configure an IPv6 MTU greater than 1500 bytes, although the
default remains at 1500 bytes. The value of the MTU you can define depends on the following:
For a physical port, the maximum value of the MTU is the equal to the maximum frame
size of the port minus 18 (Layer 2 MAC header + CRC).
If a the size of a jumbo packet received on a port is equal to the maximum frame size 18
(Layer 2 MAC header + CRC) and if this value is greater than the outgoing ports IPv4/IPv6 MTU, then it will be forwarded in the CPU.
391
For a virtual routing interface, the maximum value of the MTU is the maximum frame size
configured for the VLAN to which it is associated, minus 18 (Layer 2 MAC header + CRC). If a maximum frame size for a VLAN is not configured, then configure the MTU based on the smallest maximum frame size of all the ports of the VLAN that corresponds to the virtual routing interface, minus 18 (Layer 2 MAC header + CRC).
You can configure the IPv6 MTU on individual interfaces. For example, to configure the MTU on Ethernet interface 3/1 as 1280 bytes, enter the following commands.
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e1000-3/1)#ipv6 mtu 1280
Syntax: [no] ipv6 mtu <bytes> For <bytes>, specify a value between 1280 1500, or 1280 10218 if jumbo mode is enabled. If a nondefault value is configured for an interface, router advertisements include an MTU option.
NOTE
NOTE
Static neighbor configurations will be cleared on secondary ports when a trunk is formed. For example, to add a static entry for a neighbor with the IPv6 address 3001:ffe0:2678:47b and link-layer address 0004.6a2b.8641 that is reachable through Ethernet interface 3/1, enter the ipv6 neighbor command.
Brocade(config)#ipv6 neighbor 3001:ffe0:2678:47b ethernet 3/1 0004.6a2b.8641
Syntax: [no] ipv6 neighbor <ipv6-address> ethernet <port> | ve <ve-number> [ethernet <port>] <link-layer-address> The <ipv6-address> parameter specifies the address of the neighbor. The ethernet | ve parameter specifies the interface through which to reach a neighbor. If you specify an Ethernet interface, specify the port number of the Ethernet interface. If you specify a VE, specify the VE number and then the Ethernet port numbers associated with the VE. The link-layer address is a 48-bit hardware address of the neighbor. If you attempt to add an entry that already exists in the neighbor discovery cache, the software changes the already existing entry to a static entry.
392
To remove a static IPv6 entry from the IPv6 neighbor discovery cache, use the no form of this command.
Syntax: [no] ipv6 hop-limit <number> Use the no form of the command to restore the default value. hop-limit 0 will transmit packets with default (64) hop limit. <number> can be from 0 255.
Syntax: [no] ipv6 icmp source-route Use the ipv6 icmp source-route form of the command to enable the ICMP error messages.
393
TABLE 64
Minimum
4096 68 16
12000 908 16
Syntax: system-max ip-route <routes> The <routes> parameter specifies how many IPv4 route entries get allocated. The command output shows the new space allocations for IPv4 and IPv6. You must save the running configuration to the startup configuration and reload the device for the changes to take effect. After the device reloads, the space allocated for IPv4 and IPv6 routing information appears in the device running configuration in this format:
system-max ip-route 13512 system-max ip6-route 514
NOTE
If you disable IPv6 routing, the TCAM space allocations do not change. If you want to allocate the maximum possible space for IPv4 routing information, you must configure the TCAM space manually.
Syntax: system-max gre-tunnels <tunnels> The <tunnels> parameter specifies the number of GRE tunnels to allocate.
394
Entries from the IPv6 cache. Entries from the IPv6 neighbor table. IPv6 routes from the IPv6 route table. IPv6 traffic statistics.
Syntax: clear ipv6 cache [<ipv6-prefix>/<prefix-length> | <ipv6-address> | ethernet <port> | tunnel <number> | ve <number>] You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. You must specify the <ipv6-address> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. The ethernet | tunnel | ve parameter specifies the interfaces for which you can remove cache entries. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a VE or tunnel interface, also specify the VE or tunnel number, respectively.
395
You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. You must specify the <ipv6-address> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. The ethernet | ve parameter specifies the interfaces for which you can remove cache entries. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a VE, also specify the VE number.
Syntax: clear ipv6 route [<ipv6-prefix>/<prefix-length>] The <ipv6-prefix>/<prefix-length> parameter clears routes associated with a particular IPv6 prefix. You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter.
IPv6 cache IPv6 interfaces IPv6 neighbors IPv6 route table Local IPv6 routers IPv6 TCP connections and the status of individual connections IPv6 traffic statistics
396
Next Hop LOCAL LOCAL DIRECT LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL LOCAL
Port tunnel 2 ethe 3/2 ethe 3/2 ethe 3/2 ethe 3/2 loopback 2 tunnel 2 tunnel 6 loopback 2 ethe 3/1
Syntax: show ipv6 cache [<index-number> | <ipv6-prefix>/<prefix-length> | <ipv6-address> | ethernet <port> | ve <number> | tunnel <number>] The <index-number> parameter restricts the display to the entry for the specified index number and subsequent entries. The <ipv6-prefix>/<prefix-length> parameter restricts the display to the entries for the specified IPv6 prefix. You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The ethernet | ve | tunnel parameter restricts the display to the entries for the specified interface. The <ipv6-address> parameter restricts the display to the entries for the specified IPv6 address. You must specify this parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a VE interface, also specify the VE number. If you specify a tunnel interface, also specify the tunnel number. This display shows the following information.
TABLE 65
Field
Port
397
Syntax: show ipv6 interface [<interface> [<port-number> |<number>]] The <interface> parameter displays detailed information for a specified interface. For the interface, you can specify the Ethernet, loopback, tunnel, or VE keywords. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a loopback, tunnel, or VE interface, also specify the number associated with the interface. This display shows the following information.
TABLE 66
Field
To display detailed information for a specific interface, enter a command such as the following at any CLI level.
398
Brocade#show ipv6 interface ethernet 3/1 Interface Ethernet 3/1 is up, line protocol is up IPv6 is enabled, link-local address is fe80::2e0:52ff:fe99:97 Global unicast address(es): Joined group address(es): ff02::9 ff02::1:ff99:9700 ff02::2 ff02::1 MTU is 1500 bytes ICMP redirects are enabled ND DAD is enabled, number of DAD attempts: 3 ND reachable time is 30 seconds ND advertised reachable time is 0 seconds ND retransmit interval is 1 seconds ND advertised retransmit interval is 0 seconds ND router advertisements are sent every 200 seconds ND router advertisements live for 1800 seconds No Inbound Access List Set No Outbound Access List Set RIP enabled
TABLE 67
Field
IPv6 status/link-local address Global unicast address(es) Joined group address(es) MTU
399
LinkLayer-Addr State Age Port 0002.0002.0002 *REACH0 e 3/11 00e0.5291.bb37 REACH 20 e 3/1 5 00e0.5291.bb37 DELAY 1 e 3/2 4 00e0.5291.bb40 STALE 5930e 3/3 5
vlan 0 1 1 1
Syntax: show ipv6 neighbor [<ipv6-prefix>/<prefix-length> | <ipv6-address> | <interface> [<port> |<number>]] The <ipv6-prefix>/<prefix-length> parameters restrict the display to the entries for the specified IPv6 prefix. You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The <ipv6-address> parameter restricts the display to the entries for the specified IPv6 address. You must specify this parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <interface> parameter restricts the display to the entries for the specified router interface. For this parameter, you can specify the Ethernet or VE keywords. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a VE interface, also specify the VE number. This display shows the following information.
TABLE 68
I
Field
Total number of neighbor entries IPv6 Address Link-Layer Address State
400
TABLE 68
Field
Age
Static, R - RIP, O - OSPF, B - BGP Oi - Inter, O1 - Type1 external, O2 - Type2 Next Hop Router :: :: :: :: :: fe80::2e0:52ff:fe91:bb37 :: Interface Dis/Metric ethe 3/2 0/0 tunnel 6 1/1 tunnel 6 1/1 ethe 3/2 0/0 loopback 2 0/0 ethe 3/2 110/1 tunnel 2 0/0
Syntax: show ipv6 route [<ipv6-address> | <ipv6-prefix>/<prefix-length> | bgp | connect | ospf | rip | static | summary] The <ipv6-address> parameter restricts the display to the entries for the specified IPv6 address. You must specify the <ipv6-address> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <ipv6-prefix>/<prefix-length> parameters restrict the display to the entries for the specified IPv6 prefix. You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The bgp keyword restricts the display to entries for BGP4 routes. The connect keyword restricts the display to entries for directly connected interface IPv6 routes. The ospf keyword restricts the display to entries for OSPFv3 routes. The rip keyword restricts the display to entries for RIPng routes. The static keyword restricts the display to entries for static IPv6 routes. The summary keyword displays a summary of the prefixes and different route types.
401
The following table lists the information displayed by the show ipv6 route command.
TABLE 69
Field
To display a summary of the IPv6 route table, enter the following command at any CLI level.
Brocade#show ipv6 route summary IPv6 Routing Table - 7 entries: 4 connected, 2 static, 0 RIP, 1 OSPF, 0 BGP Number of prefixes: /16: 1 /32: 1 /64: 3 /128: 2
The following table lists the information displayed by the show ipv6 route summary command.
TABLE 70
Field
402
Syntax: show ipv6 router If you configure your Brocade device to function as an IPv6 router (you configure IPv6 addresses on its interfaces and enable IPv6 routing using the ipv6 unicast-routing command) and you enter the show ipv6 router command, you will receive the following output.
No IPv6 router in table
Meaningful output for this command is generated for Brocade devices configured to function as IPv6 hosts only. This display shows the following information.
TABLE 71
Field
Retransmit time
General information about each TCP connection on the router, including the percentage of free
memory for each of the internal TCP buffers.
403
Brocade#show ipv6 tcp connections Local IP address:port <-> Remote IP address:port 192.168.182.110:23 <-> 192.168.8.186:4933 192.168.182.110:8218 <-> 192.168.182.106:179 192.168.182.110:8039 <-> 192.168.2.119:179 192.168.182.110:8159 <-> 192.168.2.102:179 2000:4::110:179 <-> 2000:4::106:8222 Total 5 TCP connections TCP MEMORY USAGE PERCENTAGE FREE TCP = 98 percent FREE TCP QUEUE BUFFER = 99 percent FREE TCP SEND BUFFER = 97 percent FREE TCP RECEIVE BUFFER = 100 percent FREE TCP OUT OF SEQUENCE BUFFER = 100 percent
Syntax: show ipv6 tcp connections This display shows the following information.
TABLE 72
Field
404
TABLE 72
Field
FREE TCP QUEUE BUFFER = <percentage> FREE TCP SEND BUFFER = <percentage> FREE TCP RECEIVE BUFFER = <percentage> FREE TCP OUT OF SEQUENCE BUFFER = <percentage>
To display detailed information about a specified TCP connection, enter a command such as the following at any CLI level.
Brocade#show ipv6 tcp status 2000:4::110 179 2000:4::106 8222 TCP: TCP = 0x217fc300 TCP: 2000:4::110:179 <-> 2000:4::106:8222: state: ESTABLISHED Port: 1 Send: initial sequence number = 242365900 Send: first unacknowledged sequence number = 242434080 Send: current send pointer = 242434080 Send: next sequence number to send = 242434080 Send: remote received window = 16384 Send: total unacknowledged sequence number = 0 Send: total used buffers 0 Receive: initial incoming sequence number = 740437769 Receive: expected incoming sequence number = 740507227 Receive: received window = 16384 Receive: bytes in receive queue = 0 Receive: congestion window = 1459
Syntax: show ipv6 tcp status <local-ip-address> <local-port-number> <remote-ip-address> <remote-port-number> The <local-ip-address> parameter can be the IPv4 or IPv6 address of the local interface over which the TCP connection is taking place. The <local-port-number> parameter is the local port number over which a TCP connection is taking place. The <remote-ip-address> parameter can be the IPv4 or IPv6 address of the remote interface over which the TCP connection is taking place. The <remote-port-number> parameter is the local port number over which a TCP connection is taking place.
405
TABLE 73
Field
Send: initial sequence number = <number> Send: first unacknowledged sequence number = <number> Send: current send pointer = <number> Send: next sequence number to send = <number> Send: remote received window = <number> Send: total unacknowledged sequence number = <number> Send: total used buffers <number> Receive: initial incoming sequence number = <number> Receive: expected incoming sequence number = <number> Receive: received window = <number> Receive: bytes in receive queue = <number> Receive: congestion window = <number>
406
Syntax: show ipv6 traffic This show ipv6 traffic command displays the following information.
Field IPv6 statistics
received sent forwarded delivered rawout bad vers The total number of IPv6 packets received by the router. The total number of IPv6 packets originated and sent by the router. The total number of IPv6 packets received by the router and forwarded to other routers. The total number of IPv6 packets delivered to the upper layer protocol. This information is used by Brocade Technical Support. The number of IPv6 packets dropped by the router because the version number is not 6.
Description
407
Field
bad scope bad options too many hdr no route can not forward redirect sent frag recv frag dropped frag timeout frag overflow reassembled fragmented ofragments can not frag too short too small not member no buffer forward cache miss
Description (Continued)
The number of IPv6 packets dropped by the router because of a bad address scope. The number of IPv6 packets dropped by the router because of bad options. The number of IPv6 packets dropped by the router because the packets had too many headers. The number of IPv6 packets dropped by the router because there was no route. The number of IPv6 packets the router could not forward to another router. This information is used by Brocade Technical Support. The number of fragments received by the router. The number of fragments dropped by the router. The number of fragment timeouts that occurred. The number of fragment overflows that occurred. The number of fragmented IPv6 packets that the router reassembled. The number of IPv6 packets fragmented by the router to accommodate the MTU of this router or of another device. The number of output fragments generated by the router. The number of IPv6 packets the router could not fragment. The number of IPv6 packets dropped because they are too short. The number of IPv6 packets dropped because they do not have enough data. The number of IPv6 packets dropped because the recipient is not a member of a multicast group. The number of IPv6 packets dropped because there is no buffer available. The number of IPv6 packets received for which there is no corresponding cache entry.
ICMP6 statistics Some ICMP statistics apply to both Received and Sent, some apply to Received only, some apply to Sent only, and some apply to Sent Errors only. Applies to received and sent dest unreach pkt too big time exceeded param prob echo req echo reply mem query mem report mem red router soli The number of Destination Unreachable messages sent or received by the router. The number of Packet Too Big messages sent or received by the router. The number of Time Exceeded messages sent or received by the router. The number of Parameter Problem messages sent or received by the router. The number of Echo Request messages sent or received by the router. The number of Echo Reply messages sent or received by the router. The number of Group Membership Query messages sent or received by the router. The number of Membership Report messages sent or received by the router. The number of Membership Reduction messages sent or received by the router. The number of Router Solicitation messages sent or received by the router.
408
Field
router adv nei soli nei adv redirect Applies to received only bad code too short bad checksum bad len nd toomany opt badhopcount Applies to sent only error can not send error too freq Applies to sent errors only unreach no route admin beyond scope address no port pkt too big time exceed transit time exceed reassembly param problem header nextheader option redirect unknown UDP statistics received sent no port input errors TCP statistics
Description (Continued)
The number of Router Advertisement messages sent or received by the router. The number of Neighbor Solicitation messages sent or received by the router. The number of Router Advertisement messages sent or received by the router. The number of redirect messages sent or received by the router.
The number of Bad Code messages received by the router. The number of Too Short messages received by the router. The number of Bad Checksum messages received by the router. The number of Bad Length messages received by the router. The number of Neighbor Discovery Too Many Options messages received by the router. The number of Bad Hop Count messages received by the router.
The number of Error messages sent by the router. The number of times the node encountered errors in ICMP error messages. The number of times the node has exceeded the frequency of sending error messages.
The number of Unreachable No Route errors sent by the router. The number of Admin errors sent by the router. The number of Beyond Scope errors sent by the router. The number of Address errors sent by the router. The number of No Port errors sent by the router. The number of Packet Too Big errors sent by the router. The number of Time Exceed Transit errors sent by the router. The number of Time Exceed Reassembly errors sent by the router. The number of Parameter Problem Header errors sent by the router. The number of Next Header errors sent by the router. The number of Option errors sent by the router. The number of Redirect errors sent by the router. The number of Unknown errors sent by the router.
The number of UDP packets received by the router. The number of UDP packets sent by the router. The number of UDP packets dropped because the packet did not contain a valid UDP port number. This information is used by Brocade Technical Support.
409
Field
active opens passive opens failed attempts active resets passive resets input errors in segments out segments retransmission
Description (Continued)
The number of TCP connections opened by the router by sending a TCP SYN to another device. The number of TCP connections opened by the router in response to connection requests (TCP SYNs) received from other devices. This information is used by Brocade Technical Support. The number of TCP connections the router reset by sending a TCP RESET message to the device at the other end of the connection. The number of TCP connections the router reset because the device at the other end of the connection sent a TCP RESET message. This information is used by Brocade Technical Support. The number of TCP segments received by the router. The number of TCP segments sent by the router. The number of segments that the router retransmitted because the retransmission timer for the segment had expired before the device at the other end of the connection had acknowledged receipt of the segment.
410
Chapter
Table 74 lists the individual Brocade FastIron switches and the IPv6 management features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 74
Feature
FWS
FCX
ICX
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
IPv6 ncopy1 IPv6 debug IPv6 access-list (management ACLs) IPv6 ping IPv6 traceroute DNS server name resolution HTTP/HTTPS Logging (Syslog) RADIUS SCP SSH SNMP SNMP traps SNTP Telnet TFTP
1The 1 1
For information about IPv6 management features on Brocade FCX Series switches, refer to Chapter 8, IPv6 Configuration on FastIron X Series, FCX, and ICX Series Switches
For information about IPv6 management features on ICX switches, refer to Chapter 8, IPv6 Configuration on FastIron X Series, FCX, and ICX Series Switches
following IPv6 management features, listed in Table 74, are documented in other chapters of this guide: IPv6 copy Using the IPv6 copy command on page 87 IPv6 ncopy IPv6 ncopy command on page 89 RADIUS Setting RADIUS over IPv6 on page 167 TFTP Loading and saving configuration files with IPv6 on page 87
This chapter describes the IPv6 management features, including command syntax and management examples.
411
NOTE
IPv6 addressing
IPv4 is limited because of the 32-bit addressing format, which cannot satisfy potential increases in the number of users, geographical needs, and emerging applications. To address this limitation, IPv6 introduces a new 128-bit addressing format. An IPv6 address is composed of 8 fields of 16-bit hexadecimal values separated by colons (:). Figure 33 shows the IPv6 address format.
FIGURE 33
As shown in Figure 33, HHHH is a 16-bit hexadecimal value, while H is a 4-bit hexadecimal value.The following is an example of an IPv6 address. 2001:0000:0000:0200:002D:D0FF:FE48:4672 Note that this IPv6 address includes hexadecimal fields of zeros. To make the address less cumbersome, you can do the following:
Omit the leading zeros; for example, 2001:0:0:200:2D:D0FF:FE48:4672. Compress the successive groups of zeros at the beginning, middle, or end of an IPv6 address
to two colons (::) once per address; for example, 2001::200:2D:D0FF:FE48:4672. When specifying an IPv6 address in a command syntax, keep the following in mind:
You can use the two colons (::) only once in the address to represent the longest successive
hexadecimal fields of zeros
412
As shown in Figure 33, the IPv6 network prefix is composed of the left-most bits of the address. As with an IPv4 address, you can specify the IPv6 prefix using the <prefix>/<prefix-length> format, where the following applies. The <prefix> parameter is specified as 16-bit hexadecimal values separated by a colon. The <prefix-length> parameter is specified as a decimal value that indicates the left-most bits of the IPv6 address. The following is an example of an IPv6 prefix. 2001:FF08:49EA:D088::/64
Syntax: no ipv6 enable To re-enable IPv6 after it has been disabled, enter the ipv6 enable command.
NOTE
Syntax: [no] ipv6 access-list <ACL name> The <ACL name> variable specifies a name for the IPv6 ACL. An IPv6 ACL name cannot start with a numeral, for example, 1access. Also, an IPv4 ACL and an IPv6 ACL cannot share the same name.
413
You must enclose the IPv6 address with square brackets [ ] in order for the Web browser to work.
NOTE
Syntax: web access-group ipv6 <ipv6 ACL name> where <ipv6 ACL name> is a valid IPv6 ACL. Restricting Web management access to an IPv6 host You can specify a single device with an IPv6 address to have Web management access to the host device. No other device except the one with the specified IPv6 address can access the Web Management Interface.
Example
Brocade(config)#web client ipv6 3000:2383:e0bb::2/128
Syntax: web client ipv6 <ipv6-address> The <ipv6-address> you specify must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
IPv6 logging
This feature allows you to specify an IPv6 server as the Syslog server.
Syntax: [no] log host ipv6 <ipv6-address> [<udp-port-num>] The <ipv6-address> must be in hexadecimal using 16-bit values between colons as documented in RFC 2373.
414
The <udp-port-num> optional parameter specifies the UDP application port used for the Syslog facility.
Syntax: [no] ipv6 dns domain-name <domain name> To define an IPv6 DNS server address, enter the following command.
Brocade(config)#ipv6 dns server-address 200::1
Syntax: [no] ipv6 dns server-address <ipv6-addr> [<ipv6-addr>] [<ipv6-addr>] [<ipv6-addr>] As an example, in a configuration where ftp6.companynet.com is a server with an IPv6 protocol stack, when a user pings ftp6.companynet.com, the Brocade device attempts to resolve the AAAA DNS record. In addition, if the DNS server does not have an IPv6 address, as long as it is able to resolve AAAA records, it can still respond to DNS queries.
Pinging IPv6
The ping command allows you to verify the connectivity from a Brocade device to an IPv6 device by performing an ICMP for IPv6 echo test. For example, to ping a device with the IPv6 address of 2001:3424:847f:a385:34dd::45 from the Brocade device, enter the ping ipv6 command:
Brocade#ping ipv6 2001:3424:847f:a385:34dd::45
Syntax: ping ipv6 <ipv6-address> [outgoing-interface [<port> | ve <number>]] [source <ipv6-address>] [count <number>] [timeout <milliseconds>] [ttl <number>] [size
415
<bytes>] [quiet] [numeric] [no-fragment] [verify] [data <1-to-4 byte hex>] [brief]
The <ipv6-address> parameter specifies the address of the router. You must specify this
address in hexadecimal using 16-bit values between colons as documented in RFC 2373.
The outgoing-interface keyword specifies a physical interface over which you can verify
connectivity. If you specify a physical interface, such as an Ethernet interface, you must also specify the port number of the interface. If you specify a virtual interface, such as a VE, you must specify the number associated with the VE.
The source <ipv6-address> parameter specifies an IPv6 address to be used as the origin of
the ping packets.
NOTE
The outgoing-interface and source options are available only on Layer 3 code and not on Layer 2 code.
The count <number> parameter specifies how many ping packets the router sends. You can
specify from 1 - 4294967296. The default is 1.
The timeout <milliseconds> parameter specifies how many milliseconds the router waits for a
reply from the pinged device. You can specify a timeout from 1 - 4294967294 milliseconds. The default is 5000 (5 seconds).
The ttl <number> parameter specifies the maximum number of hops. You can specify a TTL
from 1 - 255. The default is 64.
The size <bytes> parameter specifies the size of the ICMP data portion of the packet. This is
the payload and does not include the header. You can specify from 0 - 10173. The default is 16.
The no-fragment keyword turns on the "do not fragment" bit in the IPv6 header of the ping
packet. This option is disabled by default.
The quiet keyword hides informational messages such as a summary of the ping parameters
sent to the device, and instead only displays messages indicating the success or failure of the ping. This option is disabled by default.
The verify keyword verifies that the data in the echo packet (the reply packet) is the same as
the data in the echo request (the ping). By default the device does not verify the data.
The data <1 - 4 byte hex> parameter lets you specify a specific data pattern for the payload
instead of the default data pattern, "abcd", in the packet's data payload. The pattern repeats itself throughout the ICMP message (payload) portion of the packet.
NOTE
For parameters that require a numeric value, the CLI does not check whether the value you enter is within the allowed range. Instead, if you do exceed the range for a numeric value, the software rounds the value to the nearest valid value.
The brief keyword causes ping test characters to be displayed. The following ping test
characters are supported. ! Indicates that a reply was received. . Indicates that the network server timed out while waiting for a reply. U Indicates that a destination unreachable error PDU was received. I Indicates that the user interrupted ping.
416
On 48GC modules in non-jumbo mode, the maximum size of ping packets is 1486 bytes and the maximum frame size of tagged traffic is no larger than 1581 bytes.
NOTE
Syntax: sntp server ipv6 <ipv6-address> The <ipv6-address> is the IPv6 address of the SNTP server. When you enter the IPv6 address, you do not need to specify the prefix length. A prefix length of 128 is implied.
Syntax: snmp-server host ipv6 <ipv6-address> The <ipv6-address> you specify must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
IPv6 Telnet
Telnet sessions can be established between a Brocade device to a remote IPv6 host, and from a remote IPv6 host to the Brocade device using IPv6 addresses.
417
The telnet command establishes a Telnet connection from a Brocade device to a remote IPv6 host using the console. Up to five read-access Telnet sessions are supported on the router at one time. Write-access through Telnet is limited to one session, and only one outgoing Telnet session is supported on the router at one time. To see the number of open Telnet sessions at any time, enter the show telnet command.
Example
To establish a Telnet connection to a remote host with the IPv6 address of 3001:2837:3de2:c37::6, enter the following command.
Brocade#telnet 3001:2837:3de2:c37::6
Syntax: telnet <ipv6-address> [<port-number> | outgoing-interface ethernet <port> | ve <number>] The <ipv6-address> parameter specifies the address of a remote host. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373. The <port-number> parameter specifies the port number on which the Brocade device establishes the Telnet connection. You can specify a value between 1 - 65535. If you do not specify a port number, the Brocade device establishes the Telnet connection on port 23. If the IPv6 address you specify is a link-local address, you must specify the outgoing-interface ethernet <port> | ve <number> parameter. This parameter identifies the interface that must be used to reach the remote host. If you specify an Ethernet interface, you must also specify the port number associated with the interface. If you specify a VE interface, also specify the VE number.
418
IPv6 traceroute
The traceroute command allows you to trace a path from the Brocade device to an IPv6 host. The CLI displays trace route information for each hop as soon as the information is received. Traceroute requests display all responses to a minimum TTL of 1 second and a maximum TTL of 30 seconds. In addition, if there are multiple equal-cost routes to the destination, the Brocade device displays up to three responses. For example, to trace the path from the Brocade device to a host with an IPv6 address of 3301:23dd:349e:a384::34, enter the traceroute ipv6 command.
Brocade#traceroute ipv6 3301:23dd:349e:a384::34
Syntax: traceroute ipv6 <ipv6-address> The <ipv6-address> parameter specifies the address of a host. You must specify this address in hexadecimal using 16-bit values between colons as documented in RFC 2373.
show ipv6 traffic clear ipv6 traffic show ipv6 TCP show ipv6 access-list show ipv6 neighbor clear ipv6 neighbor
419
420
Chapter
SNMP Access
10
Table 75 lists individual Brocade switches and the SNMP access methods they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 75
Feature
FWS
FCX
ICX 6610
SNMP v1, v2, v3 Community strings User-based security model for SNMP v3 SNMP v3 traps Defining the UDP port for SNMP v3 traps SNMP v3 over IPv6 AES encryption for SNMP v3
SNMP overview
SNMP is a set of protocols for managing complex networks. SNMP sends messages, called protocol data units (PDUs), to different parts of a network. SNMP-compliant devices, called agents, store data about themselves in Management Information Bases (MIBs) and return this data to the SNMP requesters. Chapter 4, Security Access introduced a few methods used to secure SNMP access. They included the following:
Using ACLs to restrict SNMP access on page 114 Restricting SNMP access to a specific IP address on page 116 Restricting SNMP access to a specific VLAN on page 119 Disabling SNMP access on page 124
This chapter presents additional methods for securing SNMP access to Brocade devices. It contains the following sections:
FastIron Configuration Guide 53-1002494-01
SNMP community strings User-based security model SNMP v3 configuration examples SNMP version 3 traps Displaying SNMP Information SNMP v3 configuration examples
421
Restricting SNMP access using ACL, VLAN, or a specific IP address constitute the first level of defense when the packet arrives at a Brocade device. The next level uses one of the following methods:
Community string match In SNMP versions 1 and 2 User-based model in SNMP version 3
SNMP views are incorporated in community strings and the user-based model.
The default read-only community string is public. To open a read-only Web management
session, enter get and public for the user name and password.
There is no default read-write community string. Thus, by default, you cannot open a read-write
management session using the Web Management Interface. You first must configure a read-write community string using the CLI. Then you can log on using set as the user name and the read-write community string you configure as the password. You can configure as many additional read-only and read-write community strings as you need. The number of strings you can configure depends on the memory on the device. There is no practical limit. The Web Management Interface supports only one read-write session at a time. When a read-write session is open on the Web Management Interface, subsequent sessions are read-only, even if the session login is set with a valid read-write password.
NOTE
If you delete the startup-config file, the device automatically re-adds the default public read-only community string the next time you load the software.
As an alternative to the SNMP community strings, you can secure Web management access using local user accounts or ACLs.Refer to Local user accounts on page 129 or Using an ACL to restrict Web management access on page 114.
NOTE
422
You can assign other SNMP community strings, and indicate if the string is encrypted or clear. By default, the string is encrypted. To add an encrypted community string, enter commands such as the following.
Brocade(config)#snmp-server community private rw Brocade(config)#write memory
Syntax: snmp-server community [0 | 1] <string> ro | rw [view <viewname>] [<standard-ACL-name> | <standard-ACL-id>] The <string> parameter specifies the community string name. The string can be up to 32 characters long. The ro | rw parameter specifies whether the string is read-only (ro) or read-write (rw).
NOTE
If you issue a no snmp-server community public ro command and then enter a write memory command to save that configuration, the public community name is removed and will have no SNMP access. If for some reason the device is brought down and then brought up, the no snmp-server community public ro command is restored in the system and the public community string has no SNMP access. The 0 | 1 parameter affects encryption for display of the string in the running-config and the startup-config file. Encryption is enabled by default. When encryption is enabled, the community string is encrypted in the CLI regardless of the access level you are using. In the Web Management Interface, the community string is encrypted at the read-only access level but is visible at the read-write access level. The encryption option can be omitted (the default) or can be one of the following:
0 Disables encryption for the community string you specify with the command. The
community string is shown as clear text in the running-config and the startup-config file. Use this option if you do not want the display of the community string to be encrypted.
1 Assumes that the community string you enter is encrypted, and decrypts the value before
using it. If you want the software to assume that the value you enter is the clear-text form, and to encrypt display of that form, do not enter 0 or 1. Instead, omit the encryption option and allow the software to use the default behavior.
NOTE
If you specify encryption option 1, the software assumes that you are entering the encrypted form of the community string. In this case, the software decrypts the community string you enter before using the value for authentication. If you accidentally enter option 1 followed by the clear-text version of the community string, authentication will fail because the value used by the software will not match the value you intended to use. The command in the example above adds the read-write SNMP community string private. When you save the new community string to the startup-config file (using the write memory command), the software adds the following command to the file.
snmp-server community 1 <encrypted-string> rw
NOTE
423
To add a non-encrypted community string, you must explicitly specify that you do not want the software to encrypt the string. Here is an example.
Brocade(config)#snmp-server community 0 private rw Brocade(config)#write memory
The command in this example adds the string private in the clear, which means the string is displayed in the clear. When you save the new community string to the startup-config file, the software adds the following command to the file.
snmp-server community 0 private rw
The view <viewname> parameter is optional. It allows you to associate a view to the members of this community string. Enter up to 32 alphanumeric characters. If no view is specified, access to the full MIB is granted. The view that you want must exist before you can associate it to a community string. Here is an example of how to use the view parameter in the community string command.
Brocade(config)#snmp-s community myread ro view sysview
The command in this example associates the view sysview to the community string named myread. The community string has read-only access to sysview. For information on how to create views, refer to SNMP v3 configuration examples on page 436. The <standard-ACL-name> | <standard-ACL-id> parameter is optional. It allows you to specify which ACL group will be used to filter incoming SNMP packets. You can enter either the ACL name or its ID. Here are some examples.
Brocade(config)#snmp-s community myread ro view sysview 2 Brocade(config)#snmp-s community myread ro view sysview myACL
The command in the first example indicates that ACL group 2 will filter incoming SNMP packets; whereas, the command in the second example uses the ACL group called myACL to filter incoming packets.Refer to Using ACLs to restrict SNMP access on page 114 for more information. To make configuration changes, including changes involving SNMP community strings, you must first configure a read-write community string using the CLI. Alternatively, you must configure another authentication method and log on to the CLI using a valid password for that method.
NOTE
424
Brocade#show snmp server Contact: Marshall Location: Copy Center Community(ro): public Community(rw): private Traps Cold start: Link up: Link down: Authentication: Locked address violation: Power supply failure: Fan failure: Temperature warning: STP new root: STP topology change: ospf:
Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable
NOTE
If display of the strings is encrypted, the strings are not displayed. Encryption is enabled by default.
Modification of information Masquerading the identity of an authorized entity Message stream modification Disclosure of information
SNMP version 3 also supports View-Based Access Control Mechanism (RFC 2575) to control access at the PDU level. It defines mechanisms for determining whether or not access to a managed object in a local MIB by a remote principal should be allowed. (refer to SNMP v3 configuration examples on page 436.)
425
See the section Displaying the Engine ID on page 434 for details. The default engine ID guarantees the uniqueness of the engine ID for SNMP version 3. If you want to change the default engine ID, enter the snmp-server engineid local command.
Brocade(config)#snmp-server engineid local 800007c70300e05290ab60
Syntax: [no] snmp-server engineid local <hex-string> The local parameter indicates that engine ID to be entered is the ID of this device, representing an SNMP management entity.
NOTE
Each user localized key depends on the SNMP server engine ID, so all users need to be reconfigured whenever the SNMP server engine ID changes.
Since the current implementation of SNMP version 3 does not support Notification, remote engine IDs cannot be configured at this time.
NOTE
426
The <hex-string> variable consists of 11 octets, entered as hexadecimal values. There are two hexadecimal characters in each octet. There should be an even number of hexadecimal characters in an engine ID. The default engine ID has a maximum of 11 octets:
Octets 1 through 4 represent the agent's SNMP management private enterprise number as
assigned by the Internet Assigned Numbers Authority (IANA). The most significant bit of Octet 1 is "1". For example, 000007c7 is the ID for Brocade Communications, Inc. in hexadecimal. With Octet 1 always equal to "1", the first four octets in the default engine ID is always 800007c7 (which is 1991 in decimal).
Octet 5 is always 03 in hexadecimal and indicates that the next set of values represent a MAC
address.
Octets 6 through 11 form the MAC address of the lowest port in the management module.
NOTE
Engine ID must be a unique number among the various SNMP engines in the management domain. Using the default engine ID ensures the uniqueness of the numbers.
Syntax: [no] snmp-server group <groupname> v1 | v2 | v3 auth | noauth | priv [access <standard-ACL-id>] [read <viewstring> | write <viewstring>] This command is not used for SNMP version 1 and SNMP version 2. In these versions, groups and group views are created internally using community strings. (refer to SNMP community strings on page 422.) When a community string is created, two groups are created, based on the community string name. One group is for SNMP version 1 packets, while the other is for SNMP version 2 packets. The group <groupname> parameter defines the name of the SNMP group to be created. The v1, v2, or v3 parameter indicates which version of SNMP is used. In most cases, you will be using v3, since groups are automatically created in SNMP versions 1 and 2 from community strings. The auth | noauth parameter determines whether or not authentication will be required to access the supported views. If auth is selected, then only authenticated packets are allowed to access the view specified for the user group. Selecting noauth means that no authentication is required to access the specified view. Selecting priv means that an authentication password will be required from the users. The access <standard-ACL-id> parameter is optional. It allows incoming SNMP packets to be filtered based on the standard ACL attached to the group. The read <viewstring> | write <viewstring> parameter is optional. It indicates that users who belong to this group have either read or write access to the MIB.
NOTE
427
The <viewstring> variable is the name of the view to which the SNMP group members have access. If no view is specified, then the group has no access to the MIB. The value of <viewstring> is defined using the snmp-server view command. The SNMP agent comes with the "all" default view, which provides access to the entire MIB; however, it must be specified when creating the group. The "all" view also allows SNMP version 3 to be backwards compatibility with SNMP version 1 and version 2. If you will be using a view other than the "all" view, that view must be configured before creating the user group.Refer to the section SNMP v3 configuration examples on page 436, especially for details on the include | exclude parameters.
NOTE
Creates an SNMP user. Defines the group to which the user will be associated. Defines the type of authentication to be used for SNMP access by this user. Specifies one of the following encryption types used to encrypt the privacy password:
Data Encryption Standard (DES) A symmetric-key algorithm that uses a 56-bit key. Advanced Encryption Standard (AES) The 128-bit encryption standard adopted by the
U.S. government. This standard is a symmetric cipher algorithm chosen by the National Institute of Standards and Technology (NIST) as the replacement for DES. Here is an example of how to create an SNMP User account.
Brocade(config)#snmp-s user bob admin v3 access 2 auth md5 bobmd5 priv des bobdes
The CLI for creating SNMP version 3 users has been updated as follows. Syntax: [no] snmp-server user <name> <groupname> v3 [[access <standard-ACL-id>] [[encrypted] [auth md5 <md5-password> | sha <sha-password>] [priv [encrypted] des <des-password-key> | aes <aes-password-key>]]] The <name> parameter defines the SNMP user name or security name used to access the management module. The <groupname> parameter identifies the SNMP group to which this user is associated or mapped. All users must be mapped to an SNMP group. Groups are defined using the snmp-server group command. The SNMP group to which the user account will be mapped should be configured before creating the user accounts; otherwise, the group will be created without any views. Also, ACL groups must be configured before configuring user accounts. The v3 parameter is required. The access <standard-ACL-id> parameter is optional. It indicates that incoming SNMP packets are filtered based on the ACL attached to the user account.
NOTE
428
The ACL specified in a user account overrides the ACL assigned to the group to which the user is mapped. If no ACL is entered for the user account, then the ACL configured for the group will be used to filter packets. The encrypted parameter means that the MD5 or SHA password will be a digest value. MD5 has 16 octets in the digest. SHA has 20. The digest string has to be entered as a hexadecimal string. In this case, the agent need not generate any explicit digest. If the encrypted parameter is not used, the user is expected to enter the authentication password string for MD5 or SHA. The agent will convert the password string to a digest, as described in RFC 2574. The auth md5 | sha parameter is optional. It defines the type of encryption that the user must have to be authenticated. Choose between MD5 or SHA encryption. MD5 and SHA are two authentication protocols used in SNMP version 3. The <md5-password> and <sha-password> define the password the user must use to be authenticated. These password must have a minimum of 8 characters. If the encrypted parameter is used, then the digest has 16 octets for MD5 or 20 octets for SHA.
NOTE
NOTE
Once a password string is entered, the generated configuration displays the digest (for security reasons), not the actual password. The priv [encrypted] parameter is optional after you enter the md5 or sha password. The priv parameter specifies the encryption type (DES or AES) used to encrypt the privacy password. If the encrypted keyword is used, do the following:
If DES is the privacy protocol to be used, enter des followed by a 16-octet DES key in
hexadecimal format for the <des-password-key>. If you include the encrypted keyword, enter a password string of at least 8 characters.
If AES is the privacy protocol to be used, enter aes followed by the AES password key. For a
small password key, enter 12 characters. For a big password key, enter 16 characters. If you include the encrypted keyword, enter a password string containing 32 hexadecimal characters.
Syntax: system-max view <number-of-views> This command specifies the maximum number of SNMPv2 and v3 views that can be configured on a device. The number of views can be from 10 65536. The default is 10 views. To add an SNMP view, enter one of the following commands.
429
Brocade(config)#snmp-server view Maynes system included Brocade(config)#snmp-server view Maynes system.2 excluded Brocade(config)#snmp-server view Maynes 2.3.*.6 included Brocade(config)#write mem
The snmp-server view command supports the MIB objects as defined in RFC 1445. Syntax: [no] snmp-server view <name> <mib_tree> included | excluded The <name> parameter can be any alphanumeric name you choose to identify the view. The names cannot contain spaces. The <mib_tree> parameter is the name of the MIB object or family. MIB objects and MIB sub-trees can be identified by a name or by the numbers called Object Identifiers (OIDs) that represent the position of the object or sub-tree in the MIB hierarchy. You can use a wildcard (*) in the numbers to specify a sub-tree family. The included | excluded parameter specifies whether the MIB objects identified by the <mib_family> parameter are included in the view or excluded from the view.
NOTE
NOTE
All MIB objects are automatically excluded from any view unless they are explicitly included; therefore, when creating views using the snmp-server view command, indicate which portion of the MIB you want users to access. For example, you may want to assign the view called admin a community string or user group. The admin view will allow access to the Brocade MIBs objects that begin with the 1.3.6.1.4.1.1991 object identifier. Enter the following command.
Brocade(config)#snmp-server view admin 1.3.6.1.4.1.1991 included
You can exclude portions of the MIB within an inclusion scope. For example, if you want to exclude the snAgentSys objects, which begin with 1.3.6.1.4.1.1991.1.1.2 object identifier from the admin view, enter a second command such as the following.
Brocade(config)#snmp-server view admin 1.3.6.1.4.1.1991.1.1.2 excluded
NOTE
Note that the exclusion is within the scope of the inclusion. To delete a view, use the no parameter before the command.
430
To configure an SNMP user group, first configure SNMP v3 views using the snmp-server view command.Refer to SNMP v3 configuration examples on page 436. Then enter a command such as the following.
Brocade(config)#snmp-server group admin v3 auth read all write all notify all
Syntax: [no] snmp-server group <groupname> v1 | v2 | v3 auth | noauth | priv [access <standard-ACL-id>] [read <viewstring> | write <viewstring> | notify <viewstring>] The group <groupname> parameter defines the name of the SNMP group to be created. The v1, v2, or v3 parameter indicates which version of SNMP to use. In most cases, you will use v3, since groups are automatically created in SNMP versions 1 and 2 from community strings. The auth | noauth parameter determines whether or not authentication will be required to access the supported views. If auth is selected, then only authenticated packets are allowed to access the view specified for the user group. Selecting noauth means that no authentication is required to access the specified view. Selecting priv means that an authentication password will be required from the users. The access <standard-ACL-id> parameter is optional. It allows incoming SNMP packets to be filtered based on the standard ACL attached to the group. The read <viewstring> | write <viewstring> parameter is optional. It indicates that users who belong to this group have either read or write access to the MIB. The notify view allows administrators to restrict the scope of varbind objects that will be part of the notification. All of the varbinds need to be in the included view for the notification to be created. The <viewstring> variable is the name of the view to which the SNMP group members have access. If no view is specified, then the group has no access to the MIB.
Syntax: [no] snmp-server host <ip-addr> | <ipv6-addr> version [ v1 | v2c <community-string> | v3 auth | noauth | priv <security-name>] [port <trap-UDP-port-number>] The <ip-addr> parameter specifies the IP address of the host that will receive the trap. For version, indicate one of the following For SNMP version 1, enter v1 and the name of the community string (<community-string>). This string is encrypted within the system.
431
If the configured version is v2c, then the notification is sent out in SMIv2 format, using the community string, but in cleartext mode. To send the SMIv2 notification in SNMPv3 packet format, configure v3 with auth or privacy parameters, or both, by specifying a security name. The actual authorization and privacy values are obtained from the security name. For SNMP version 2c, enter v2 and the name of the community string. This string is encrypted within the system. For SNMP version 3, enter one of the following depending on the authorization required for the host:
NOTE
v3 auth <security-name>: Allow only authenticated packets. v3 no auth <security-name>: Allow all packets. v3 priv <security-name>: A password is required
For port <trap-UDP-port-number>, specify the UDP port number on the host that will receive the trap.
The MIB name was changed from FOUNDRY-SN-TRAP-MIB to FOUNDRY-SN-NOTIFICATION-MIB Individual notifications were changed to NOTIFICATION-TYPE instead of TRAP-TYPE. As per the SMIv2 format, each notification has an OID associated with it. The root node of the
notification is snTraps (OID enterprise.foundry.0). For example, OID for snTrapRunningConfigChanged is {snTraps.73}. Earlier, each trap had a trap ID associated with it, as per the SMIv1 format.
Syntax: snmp-server host ipv6 <ipv6-address> The <ipv6-address> must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
432
Syntax: snmp-client ipv6 <ipv6-address> The <ipv6-address> must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
Syntax: snmp-server host ipv6 <ipv6-address> The <ipv6-address> must be in hexadecimal format using 16-bit values between colons as documented in RFC 2373.
433
Brocade#show snmp server Contact: Location: Community(ro): ..... Traps Warm/Cold start: Link up: Link down: Authentication: Locked address violation: Power supply failure: Fan failure: Temperature warning: STP new root: STP topology change: vsrp:
Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable Enable
Port-Number Community 162 ..... 162 ..... 162 ..... 162 .....
Syntax: show snmp engineid The engine ID identifies the source or destination of the packet. The engine boots represents the number of times that the SNMP engine reinitialized itself with the same engine ID. If the engineID is modified, the boot count is reset to 0. The engine time represents the current time with the SNMP agent.
434
Syntax: show snmp group The value for security level can be one of the following.
Security level
<none> noauthNoPriv authNoPriv
Authentication
If the security model shows v1 or v2, then security level is blank. User names are not used to authenticate users; community strings are used instead. Displays if the security model shows v3 and user authentication is by user name only. Displays if the security model shows v3 and user authentication is by user name and the MD5 or SHA algorithm.
Description
Unknown packet data unit. The value of the varbind shows the engine ID that needs to be used in the snmp-server engineid command Unsupported security level.
435
Description
Not in time packet.
Unknown user name. This varbind may also be generated: If the configured ACL for this user filters out this packet. If the group associated with the user is unknown.
Unknown engine ID. The value of this varbind would be the correct authoritative engineID that should be used. Wrong digest. Decryption error.
436
Chapter
Foundry Discovery Protocol (FDP) and Cisco Discovery Protocol (CDP) Packets
11
Table 76 lists individual Brocade switches and the discovery protocols they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 76
Feature
FWS
FCX
ICX 6610
Foundry Discovery Protocol (FDP) for IPv4 and IPv6 traffic Cisco Discovery Protocol (CDP) for IPv4 and IPV6 traffic
Yes Yes
Yes Yes
Yes Yes
FDP Overview
The Foundry Discovery Protocol (FDP) enables Brocade devices to advertise themselves to other Brocade devices on the network. When you enable FDP on a Brocade device, the device periodically advertises information including the following:
Hostname (device ID) Product platform and capability Software version VLAN and Layer 3 protocol address information for the port sending the update. IP, IPX, and AppleTalk Layer 3 information is supported.
A Brocade device running FDP sends FDP updates on Layer 2 to MAC address 01-E0-52-CC-CC-CC. Other Brocade devices listening on that address receive the updates and can display the information in the updates. Brocade devices can send and receive FDP updates on Ethernet interfaces. FDP is disabled by default.
NOTE
If FDP is not enabled on a Brocade device that receives an FDP update or the device is running a software release that does not support FDP, the update passes through the device at Layer 2.
437
FDP Overview
FDP configuration
The following sections describe how to enable Foundry Discovery Protocol (FDP) and how to change the FDP update and hold timers.
To configure a Layer 3 switch to advertise the IPv6 address, enter the following command at the Interface level of the CLI:
Brocade(config-if-2/1)# fdp advertise ipv6
438
FDP Overview
To change the FDP update timer, enter a command such as the following at the global CONFIG level of the CLI.
Brocade(config)# fdp timer 120
Syntax: [no] fdp timer <secs> The <secs> parameter specifies the number of seconds between updates and can be from 5 900 seconds. The default is 60 seconds.
The device receives a new update. 180 seconds have passed since receipt of the last update. This is the hold time.
Once either of these events occurs, the device discards the update. To change the FDP hold time, enter the fdp holdtime command at the global CONFIG level of the CLI.
Brocade(config)# fdp holdtime 360
Syntax: [no] fdp holdtime <secs> The <secs> parameter specifies the number of seconds a Brocade device that receives an FDP update can hold the update before discarding it. You can specify from 10 255 seconds. The default is 180 seconds.
FDP entries for Brocade neighbors Individual FDP entries FDP information for an interface on the device you are managing FDP packet statistics
If the Brocade device has intercepted CDP updates, then the CDP information is also displayed.
NOTE
439
FDP Overview
Brocade# show fdp neighbor Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater (*) indicates a CDP device Device ID Local Int Holdtm Capability Platform Port ID -------------- ------------ ------ ---------- ----------- ------------FastIronB Eth 2/9 178 Router FastIron Rou Eth 2/9
Syntax: show fdp neighbor [ethernet <port>] [detail] The ethernet <port> parameter lists the information for updates received on the specified port. The detail parameter lists detailed information for each device. The show fdp neighbor command, without optional parameters, displays the following information.
TABLE 77
This line...
Device ID Local Int Holdtm Capability Platform Port ID
To display detailed information, enter the show fdp neighbor detail command.
BrocadeA# show fdp neighbor detail Device ID: FastIronB configured as default VLAN1, tag-type8100 Entry address(es): IP address: 192.168.0.13 IPv6 address (Global): c:a:f:e:c:a:f:e Platform: FastIron Router, Capabilities: Router Interface: Eth 2/9 Port ID (outgoing port): Eth 2/9 is TAGGED in following VLAN(s): 9 10 11 Holdtime : 176 seconds Version : Foundry, Inc. Router, IronWare Version 07.6.01b1T53 Compiled on Aug 29 2002 at 10:35:21 labeled as B2R07601b1
The show fdp neighbor detail command displays the following information.
440
FDP Overview
TABLE 78
Parameter
Device ID
Entry address(es)
Syntax: show fdp entry * | <device-id> The * | <device-id> parameter specifies the device ID. If you enter *, the detailed updates for all neighbor devices are displayed. If you enter a specific device ID, the update for that device is displayed. For information about the display, refer to Table 78.
441
FDP Overview
This example shows information for Ethernet port 2/3. The port sends FDP updates every 5 seconds. Neighbors that receive the updates can hold them for up to 180 seconds before discarding them. Syntax: show fdp interface [ethernet <port>] The ethernet <port> parameter lists the information only for the specified interface.
Information received in FDP and CDP updates FDP and CDP statistics
The same commands clear information for both FDP and CDP.
NOTE
This command clears all the updates for FDP and CDP.
442
CDP packets
CDP packets
Cisco Discovery Protocol (CDP) packets are used by Cisco devices to advertise themselves to other Cisco devices. By default, Brocade devices forward these packets without examining their contents. You can configure a Brocade device to intercept and display the contents of CDP packets. This feature is useful for learning device and interface information for Cisco devices in the network. Brocade devices support intercepting and interpreting CDP version 1 and version 2 packets. The Brocade device can interpret only the information fields that are common to both CDP version 1 and CDP version 2.
NOTE
When you enable interception of CDP packets, the Brocade device drops the packets. As a result, Cisco devices will no longer receive the packets.
NOTE
Syntax: [no] cdp enable By default, the feature is enabled on an interface once CDP is enabled on the device.
Cisco neighbors CDP entries for all Cisco neighbors or a specific neighbor CDP packet statistics
443
CDP packets
Displaying neighbors
To display the Cisco neighbors the Brocade device has learned from CDP packets, enter the show fdp neighbors command.
Brocade# show fdp neighbors Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge S - Switch, H - Host, I - IGMP, r - Repeater (*) indicates a Cisco device Device ID Local Int Holdtm Capability Platform Port ID -------------- ------------ ------ ---------- ----------- ------------(*)Router Eth 1/1 124 R cisco RSP4 FastEthernet5/0/0
To display detailed information for the neighbors, enter the show fdp neighbors detail command.
Brocade# show fdp neighbors detail Device ID: Router Entry address(es): IP address: 207.95.6.143 Platform: cisco RSP4, Capabilities: Router Interface: Eth 1/1, Port ID (outgoing port): FastEthernet5/0/0 Holdtime : 150 seconds Version : Cisco Internetwork Operating System Software IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(5)T1, RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Thu 19-Aug-99 04:12 by cmong
To display information about a neighbor attached to a specific port, enter a command such as the following.
Brocade# show fdp neighbors ethernet 1/1 Device ID: Router Entry address(es): IP address: 207.95.6.143 Platform: cisco RSP4, Capabilities: Router Interface: Eth 1/1, Port ID (outgoing port): FastEthernet5/0/0 Holdtime : 127 seconds Version : Cisco Internetwork Operating System Software IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(5)T1, RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Thu 19-Aug-99 04:12 by cmong
444
CDP packets
To display CDP entries for a specific device, specify the device ID, as shown in the following example.
Brocade# show fdp entry Router1 Device ID: Router1 Entry address(es): IP address: 207.95.6.143 Platform: cisco RSP4, Capabilities: Router Interface: Eth 1/1, Port ID (outgoing port): FastEthernet5/0/0 Holdtime : 156 seconds Version : Cisco Internetwork Operating System Software IOS (tm) RSP Software (RSP-JSV-M), Version 12.0(5)T1, RELEASE SOFTWARE (fc1) Copyright (c) 1986-1999 by cisco Systems, Inc. Compiled Thu 19-Aug-99 04:12 by cmong
445
CDP packets
To clear the Cisco neighbor information, enter the clear fdp table command.
Brocade# clear fdp table
Syntax: clear fdp table To clear CDP statistics, enter the following command.
Brocade# clear fdp counters
446
Chapter
12
Table 79 lists the individual Brocade FastIron switches and the Link Layer Discovery Protocol (LLDP) features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 79
Feature
FWS
FCX
ICX 6610
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
IPv4 management address advertisement Yes IPv6 management address advertisement Yes LLDP operating mode setting per port Setting the maximum number of LLDP neighbors SNMP and Syslog messages LLDP transmission intervals Holdtime multiplier for transmit TTL Configuring the minimum time between port reinitializations Fast start repeat count for LLDP-MED Location ID for LLDP-MED LLDP-MED network policy LLDP statistics and configuration details Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
This chapter describes how to configure the following protocols: Link layer discovery protocol (LLDP) The Layer 2 network discovery protocol described in the IEEE 802.1AB standard, Station and Media Access Control Connectivity Discovery. This protocol enables a station to advertise its capabilities to, and to discover, other LLDP-enabled stations in the same 802 LAN segments. LLDP media endpoint devices (LLDP-MED) The Layer 2 network discovery protocol extension described in the ANSI/TIA-1057 standard, LLDP for Media Endpoint Devices. This protocol enables a switch to configure and manage connected Media Endpoint devices that need to send media streams across the network (e.g., IP telephones and security cameras). LLDP enables network discovery between Network Connectivity devices (such as switches), whereas LLDP-MED enables network discovery at the edge of the network, between Network Connectivity devices and media Endpoint devices (such as IP phones).
447
The information generated by LLDP and LLDP-MED can be used to diagnose and troubleshoot misconfigurations on both sides of a link. For example, the information generated can be used to discover devices with misconfigured or unreachable IP addresses, and to detect port speed and duplex mismatches. LLDP and LLDP-MED facilitate interoperability across multiple vendor devices. Brocade devices running LLDP can interoperate with third-party devices running LLDP. The Brocade LLDP and LLDP-MED implementation adheres to the IEEE 802.1AB and TIA-1057 standards.
448
LLDP overview
LLDP overview
LLDP enables a station attached to an IEEE 802 LAN/MAN to advertise its capabilities to, and to discover, other stations in the same 802 LAN segments. The information distributed by LLDP (the advertisement) is stored by the receiving device in a standard Management Information Base (MIB), accessible by a Network Management System (NMS) using a management protocol such as the Simple Network Management Protocol (SNMP). The information also can be viewed from the CLI, using show LLDP commands. Figure 34 illustrates LLDP connectivity
.
FIGURE 34
LLDP connectivity
port A19 C2 D2 F3
Im a PBX
port A4 B6 B21
Im a switch
Im a switch Im a switch
Im a switch
Im a switch
Im an IP Phone Im a PC
449
LLDP-MED overview
Benefits of LLDP
LLDP provides the following benefits:
Network Management: Simplifies the use of and enhances the ability of network management tools in
multi-vendor environments
Enables discovery of accurate physical network topologies such as which devices are
neighbors and through which ports they connect
Enables discovery of stations in multi-vendor environments Network Inventory Data: Supports optional system name, system description, system capabilities and management
address
System description can contain the device product name or model number, version of
hardware type, and operating system
Provides device capability, such as switch, router, or WLAN access point Network troubleshooting: Information generated by LLDP can be used to detect speed and duplex mismatches Accurate topologies simplify troubleshooting within enterprise networks Can discover devices with misconfigured or unreachable IP addresses
LLDP-MED overview
LLDP-MED is an extension to LLDP. This protocol enables advanced LLDP features in a Voice over IP (VoIP) network. Whereas LLDP enables network discovery between Network Connectivity devices, LLDP-MED enables network discovery between Network Connectivity devices and media Endpoints such as, IP telephones, softphones, VoIP gateways and conference bridges .Figure 35 demonstrates LLDP-MED connectivity.
450
LLDP-MED overview
FIGURE 35
LLDP-MED connectivity
LLDP-MED Network Connectivity Devices (e.g., L2/L3 switch, bridge, etc.) provide IEEE 802 network access to LLDP-MED endpoints
LLDP-MED Generic Endpoints (Class I) act as basic participants in LLDP-MED. Example Class I device: Communications controller
IP Network Infrastructure (IEEE 802 LAN) LLDP-MED Media Endpoints (Class II) support IP media streams. Example Class II devices: media gateway, conference bridge
LLDP-MED Comunication Device Endpoints (Class III) support end user IP communication. Example Class III devices: IP telephone, softphone
Benefits of LLDP-MED
LLDP-MED provides the following benefits:
Automatically deploys network policies, such as Layer 2 and Layer 3 QoS policies and Voice
VLANs.
Supports E-911 Emergency Call Services (ECS) for IP telephony Collects Endpoint inventory information Network troubleshooting Helps to detect improper network policy configuration
451
LLDP-MED class
An LLDP-MED class specifies an Endpoint type and its capabilities. An Endpoint can belong to one of three LLDP-MED class types:
Class 1 (Generic endpoint) A Class 1 Endpoint requires basic LLDP discovery services, but
does not support IP media nor does it act as an end-user communication appliance. A Class 1 Endpoint can be an IP communications controller, other communication-related server, or other device requiring basic LLDP discovery services.
Class 2 (Media endpoint) A Class 2 Endpoint supports media streams and may or may not be
associated with a particular end user. Device capabilities include media streaming, as well as all of the capabilities defined for Class 1 Endpoints. A Class 2 Endpoint can be a voice/media gateway, conference, bridge, media server, etc..
452
An LLDP agent initiates the transmission of LLDP packets whenever the transmit countdown timing counter expires, or whenever LLDP information has changed. When a transmit cycle is initiated, the LLDP manager extracts the MIB objects and formats this information into TLVs. The TLVs are inserted into an LLDPDU, addressing parameters are prepended to the LLDPDU, and the information is sent out LLDP-enabled ports to adjacent LLDP-enabled devices.
LLDP packets
LLDP agents transmit information about a sending device/port in packets called LLDP Data Units (LLDPDUs). All the LLDP information to be communicated by a device is contained within a single 1500 byte packet. A device receiving LLDP packets is not permitted to combine information from multiple packets. As shown in Figure 36, each LLDPDU has three mandatory TLVs, an End of LLDPDU TLV, plus optional TLVs as selected by network management.
FIGURE 36
Chassis ID TLV
M
Port ID TLV
M
Optional TLV
...
Optional TLV
Each LLDPDU consists of an untagged Ethernet header and a sequence of short, variable length information elements known as type, length, value (TLV). TLVs have Type, Length, and Value fields, where:
Type identifies the kind of information being sent Length indicates the length (in octets) of the information string Value is the actual information being sent (for example, a binary bit map or an alpha-numeric
string containing one or more fields).
453
TLV support
This section lists the LLDP and LLDP-MED TLV support.
LLDP TLVs
There are two types of LLDP TLVs, as specified in the IEEE 802.3AB standard:
Basic management TLVs consist of both optional general system information TLVs as well as
mandatory TLVs. Mandatory TLVs cannot be manually configured. They are always the first three TLVs in the LLDPDU, and are part of the packet header. General system information TLVs are optional in LLDP implementations and are defined by the Network Administrator. Brocade devices support the following Basic Management TLVs:
Chassis ID (mandatory) Port ID (mandatory) Time to Live (mandatory) Port description System name System description System capabilities Management address End of LLDPDU
Organizationally-specific TLVs are optional in LLDP implementations and are defined and
encoded by individual organizations or vendors. These TLVs include support for, but are not limited to, the IEEE 802.1 and 802.3 standards and the TIA-1057 standard. Brocade devices support the following Organizationally-specific TLVs:
454
LLDP-MED TLVs
Brocade devices honor and send the following LLDP-MED TLVs, as defined in the TIA-1057 standard:
Mandatory TLVs
When an LLDP agent transmits LLDP packets to other agents in the same 802 LAN segments, the following mandatory TLVs are always included:
TABLE 80
ID subtype
0 1 2 3 4 5 6 7 8 255
Chassis ID subtypes
Description
Reserved Chassis component Interface alias Port component MAC address Network address Interface name Locally assigned Reserved
Brocade devices use chassis ID subtype 4, the base MAC address of the device. Other third party devices may use a chassis ID subtype other than 4. The chassis ID will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
Chassis ID (MAC address): 0012.f233.e2c0
455
Port ID The Port ID identifies the port from which LLDP packets were sent. There are several ways in which a port may be identified, as shown in Figure 81. A port ID subtype, included in the TLV, indicates how the port is being referenced in the Port ID field.
TABLE 81
ID subtype
0 1 2 3 4 5 6 7 8 255
Port ID subtypes
Description
Reserved Interface alias Port component MAC address Network address Interface name Agent circuit ID Locally assigned Reserved
Brocade devices use port ID subtype 3, the permanent MAC address associated with the port. Other third party devices may use a port ID subtype other than 3. The port ID appears similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
Port ID (MAC address): 0012.f233.e2d3
The LLDPDU format is shown in LLDPDU packet format on page 453. The Port ID TLV format is shown below.
FIGURE 37
TLV Type = 3
7 bits
TTL value The Time to Live (TTL) Value is the length of time the receiving device should maintain the information acquired by LLDP in its MIB. The TTL value is automatically computed based on the LLDP configuration settings. The TTL value will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
Time to live: 40 seconds
If the TTL field has a value other than zero, the receiving LLDP agent is notified to completely replace all information associated with the LLDP agent/port with the information in the received LLDPDU.
456
MIB support
If the TTL field value is zero, the receiving LLDP agent is notified that all system information associated with the LLDP agent/port is to be deleted. This TLV may be used, for example, to signal that the sending port has initiated a port shutdown procedure. The LLDPDU format is shown in LLDPDU packet format on page 453. The TTL TLV format is shown below.
FIGURE 38
TLV Type = 3
7 bits
MIB support
Brocade devices support the following standard management information base (MIB) modules:
Syslog messages
Syslog messages for LLDP provide management applications with information related to MIB data consistency and general status. These Syslog messages correspond to the lldpRemTablesChange SNMP notifications. Refer to Enabling LLDP SNMP notifications and Syslog messages on page 462. Syslog messages for LLDP-MED provide management applications with information related to topology changes. These Syslog messages correspond to the lldpXMedTopologyChangeDetected SNMP notifications. Refer to Enabling SNMP notifications and Syslog messages for LLDP-MED topology changes on page 475.
457
LLDP configuration
LLDP configuration
This section describes how to enable and configure LLDP. Table 82 lists the LLDP global-level tasks and the default behavior/value for each task.
TABLE 82
Global task
Enabling LLDP on a global basis Specifying the maximum number of LLDP neighbors per device Specifying the maximum number of LLDP neighbors per port Enabling SNMP notifications and Syslog messages Changing the minimum time between SNMP traps and Syslog messages Enabling and disabling TLV advertisements
Changing the minimum time between LLDP transmissions Changing the interval between regular LLDP transmissions Changing the holdtime multiplier for transmit TTL Changing the minimum time between port reinitializations
Cisco Discovery Protocol (CDP) and Brocade Discovery Protocol (FDP) run independently of
LLDP. Therefore, these discovery protocols can run simultaneously on the same device.
By default, the Brocade device limits the number of neighbors per port to four, and staggers
the transmission of LLDP packets on different ports, in order to minimize any high-usage spikes to the CPU.
By default, the Brocade device forwards Ports that are in blocking mode (spanning tree) can still receive LLDP packets from a
forwarding port.
Auto-negotiation status indicates what is being advertised by the port for 802.3
auto-negotiation.
458
LLDP configuration
a configured VLAN on the port the default VLAN for a tagged port the configured untagged VLAN for a dual-mode port
To enable support for tagged LLDP packets, enter the following command.
Brocade(config)#lldp tagged-packets process
The above command disables LLDP on ports 2/4 and 2/5. These ports will not transmit nor receive LLDP packets. To enable LLDP on a port after it has been disabled, enter the following command.
Brocade(config)#lldp enable ports e 2/4
459
LLDP configuration
Syntax: [no] lldp enable ports ethernet <port-list> | all Use the [no] form of the command to disable the receipt and transmission of LLDP packets on a port. For <port-list>, specify the ports in one of the following formats:
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.
NOTE
When a port is configured to both receive and transmit LLDP packets and the MED capabilities TLV is enabled, LLDP-MED is enabled as well. LLDP-MED is not enabled if the operating mode is set to receive only or transmit only. Enabling and disabling receive only mode When LLDP is enabled on a global basis, by default, each port on the Brocade device will be capable of transmitting and receiving LLDP packets. To change the LLDP operating mode from receive and transmit mode to receive only mode, simply disable the transmit mode. Enter a command such as the following at the Global CONFIG level of the CLI.
Brocade(config)#no lldp enable transmit ports e 2/4 e 2/5 e 2/6
The above command changes the LLDP operating mode on ports 2/4, 2/5, and 2/6 from transmit and receive mode to receive only mode. To change a port LLDP operating mode from transmit only to receive only, first disable the transmit only mode, then enable the receive only mode. Enter commands such as the following.
Brocade(config)#no lldp enable transmit ports e 2/7 e 2/8 e 2/9 Brocade(config)#lldp enable receive ports e 2/7 e 2/8 e 2/9
The above commands change the LLDP operating mode on ports 2/7, 2/8, and 2/9, from transmit only to receive only. Note that if you do not disable the transmit only mode, you will configure the port to both transmit and receive LLDP packets. LLDP-MED is not enabled when you enable the receive only operating mode. To enable LLDP-MED, you must configure the port to both receive and transmit LLDP packets. Refer to Enabling and disabling receive and transmit mode on page 459. Syntax: [no] lldp enable receive ports ethernet <port-list> | all Use the [no] form of the command to disable the receive only mode. For <port-list>, specify the ports in one of the following formats:
NOTE
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
460
LLDP configuration
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Enabling and Disabling Transmit Only Mode When LLDP is enabled on a global basis, by default, each port on the Brocade device will be capable of transmitting and receiving LLDP packets. To change the LLDP operating mode to transmit only mode, simply disable the receive mode. Enter a command such as the following at the Global CONFIG level of the CLI.
Brocade(config)#no lldp enable receive ports e 2/4 e 2/5 e 2/6
The above command changes the LLDP operating mode on ports 2/4, 2/5, and 2/6 from transmit and receive mode to transmit only mode. Any incoming LLDP packets will be dropped in software. To change a port LLDP operating mode from receive only to transmit only, first disable the receive only mode, then enable the transmit only mode. For example, enter commands such as the following at the Global CONFIG level of the CLI.
Brocade(config)#no lldp enable receive ports e 2/7 e 2/8 Brocade(config)#lldp enable transmit ports e 2/7 e 2/8
The above commands change the LLDP operating mode on ports 2/7 and 2/8 from receive only mode to transmit only mode. Any incoming LLDP packets will be dropped in software. Note that if you do not disable receive only mode, you will configure the port to both receive and transmit LLDP packets.
NOTE
LLDP-MED is not enabled when you enable the transmit only operating mode. To enable LLDP-MED, you must configure the port to both receive and transmit LLDP packets. Refer to Enabling and disabling receive and transmit mode on page 459. Syntax: [no] lldp enable transmit ports ethernet <port-list> | all Use the [no] form of the command to disable the transmit only mode. For <port-list>, specify the ports in one of the following formats:
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.
461
LLDP configuration
Syntax: [no] lldp max-total-neighbors <value> Use the [no] form of the command to remove the static configuration and revert to the default value of 392. where <value> is a number between 16 and 8192. The default number of LLDP neighbors per device is 392. Use the show lldp command to view the configuration.
Syntax: [no] lldp max-neighbors-per-port <value> Use the [no] form of the command to remove the static configuration and revert to the default value of four. where <value> is a number from 1 to 64. The default is number of LLDP neighbors per port is four. Use the show lldp command to view the configuration.
462
LLDP configuration
LLDP SNMP notifications and corresponding Syslog messages are disabled by default. To enable them, enter a command such as the following at the Global CONFIG level of the CLI.
Brocade(config)#lldp enable snmp notifications ports e 4/2 to 4/6
The above command enables SNMP notifications and corresponding Syslog messages on ports 4/2 and 4/6. By default, the device will send no more than one SNMP notification and Syslog message within a five second period. If desired, you can change this interval. Refer to Specifying the minimum time between SNMP traps and Syslog messages on page 463. Syntax: [no] lldp enable snmp notifications ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.
Specifying the minimum time between SNMP traps and Syslog messages
When SNMP notifications and Syslog messages for LLDP are enabled, the device will send no more than one SNMP notification and corresponding Syslog message within a five second period. If desired, you can throttle the amount of time between transmission of SNMP traps (lldpRemTablesChange) and Syslog messages from five seconds up to a value equal to one hour (3600 seconds). Because LLDP Syslog messages are rate limited, some LLDP information given by the system will not match the current LLDP statistics (as shown in the show lldp statistics command output). To change the minimum time interval between traps and Syslog messages, enter a command such as the following.
Brocade(config)#lldp snmp-notification-interval 60
NOTE
When the above command is applied, the LLDP agent will send no more than one SNMP notification and Syslog message every 60 seconds. Syntax: [no] lldp snmp-notification-interval <seconds> where <seconds> is a value between 5 and 3600. The default is 5 seconds.
463
LLDP configuration
The LLDP transmit delay timer must not be greater than one quarter of the LLDP transmission interval (CLI command lldp transmit-interval). The LLDP transmit delay timer prevents an LLDP agent from transmitting a series of successive LLDP frames during a short time period, when rapid changes occur in LLDP. It also increases the probability that multiple changes, rather than single changes, will be reported in each LLDP frame. To change the LLDP transmit delay timer, enter a command such as the following at the Global CONFIG level of the CLI.
Brocade(config)#lldp transmit-delay 7
NOTE
The above command causes the LLDP agent to wait a minimum of seven seconds after transmitting an LLDP frame and before sending another LLDP frame. Syntax: [no] lldp transmit-delay <seconds> where <seconds> is a value between 1 and 8192. The default is two seconds. Note that this value must not be greater than one quarter of the LLDP transmission interval (CLI command lldp transmit-interval).
The above command causes the LLDP agent to transmit LLDP frames every 40 seconds. Syntax: [no] lldp transmit-interval <seconds> where <seconds> is a value from 5 to 32768. The default is 30 seconds.
NOTE
Setting the transmit interval or transmit holdtime multiplier, or both, to inappropriate values can cause the LLDP agent to transmit LLDPDUs with TTL values that are excessively high. This in turn can affect how long a receiving device will retain the information if it is not refreshed.
464
LLDP configuration
To compute the TTL value, the system multiplies the LLDP transmit interval by the holdtime multiplier. For example, if the LLDP transmit interval is 30 and the holdtime multiplier for TTL is 4, then the value 120 is encoded in the TTL field in the LLDP header. To change the holdtime multiplier, enter a command such as the following at the Global CONFIG level of the CLI.
Brocade(config)#lldp transmit-hold 6
Syntax: [no] lldp transmit-hold <value> where <value> is a number from 2 to 10. The default value is 4.
NOTE
Setting the transmit interval or transmit holdtime multiplier, or both, to inappropriate values can cause the LLDP agent to transmit LLDPDUs with TTL values that are excessively high. This in turn can affect how long a receiving device will retain the information if it is not refreshed.
The above command causes the device to wait five seconds after LLDP is disabled, before attempting to honor a request to re-enable it. Syntax: [no] lldp reinit-delay <seconds> where <seconds> is a value from 1 10. The default is two seconds.
Management address Port description System capabilities System description (not automatically advertised) System name
802.1 capabilities:
465
LLDP configuration
Link aggregation information MAC/PHY configuration and status Maximum frame size Power-via-MDI information (not automatically advertised)
The above TLVs are described in detail in the following sections. The system description, VLAN name, and power-via-MDI information TLVs are not automatically enabled. The following sections show how to enable these advertisements.
NOTE
Management address Port description System capabilities System description (not automatically advertised) System name
Management Address A management address is normally an IPv4 or IPv6 address that can be used to manage the device. Management address advertising has two modes: default, or explicitly configured. The default mode is used when no addresses are configured to be advertised for a given port. If any addresses are configured to be advertised for a given port, then only those addresses are advertised. This applies across address types, so for example, if just one IPv4 address is explicitly configured to be advertised for a port, then no IPv6 addresses will be advertised for that port (since none were configured to be advertised), even if IPv6 addresses are configured within the system. If no management address is explicitly configured to be advertised, the Brocade device will use the first available IPv4 address and the first available IPv6 address (so it may advertise IPv4, IPv6 or both). A Layer 3 switch will select the first available address of each type from those configured on the following types of interfaces, in the following order of preference:
Physical port on which LLDP will be transmitting the packet Virtual router interface (VE) on a VLAN that the port is a member of Dedicated management port Loopback interface Virtual router interface (VE) on any other VLAN Other physical port Other interface
For IPv6 addresses, link-local and anycast addresses will be excluded from these searches. If no IP address is configured on any of the above, the port's current MAC address will be advertised. To advertise a IPv4 management address, enter a command such as the following:
466
LLDP configuration
The management address will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info):
Management address (IPv4): 209.157.2.1
Syntax: [no] lldp advertise management-address ipv4 <ipv4 address> ports ethernet <port list> | all To support an IPv6 management address, there is a similar command that has equivalent behavior as the IPv4 command. To advertise an IPv6 management address, enter a command such as the following:
Brocade(config)#lldp advertise management-address ipv6 1234:5678::90 ports e 2/7
Syntax: [no] lldp advertise management-address ipv6 <ipv6 address> ports ethernet <port list> | all <ipv4 address> or <ipv6 address> or both are the addresses that may be used to reach higher layer entities to assist discovery by network management. In addition to management addresses, the advertisement will include the system interface number associated with the management address. For <port list>, specify the port(s) in the format [<slotnum>/]<portnum>, where <slotnum> is required on chassis devices only. You can list all of the ports individually; use the keyword to specify a range of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Port description The port description TLV identifies the port from which the LLDP agent transmitted the advertisement. The port description is taken from the ifDescr MIB object from MIB-II. By default, the port description is automatically advertised when LLDP is enabled on a global basis. To disable advertisement of the port description, enter a command such as the following.
Brocade(config)#no lldp advertise port-description ports e 2/4 to 2/12
The port description will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
Port description: GigabitEthernet20
Syntax: [no] lldp advertise port-description ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements.
467
LLDP configuration
System capabilities The system capabilities TLV identifies the primary functions of the device and indicates whether these primary functions are enabled. The primary functions can be one or more of the following (more than one for example, if the device is both a bridge and a router):
Repeater Bridge WLAN access point Router Telephone DOCSIS cable device Station only (devices that implement end station capability) Other
System capabilities for Brocade devices are based on the type of software image in use (e.g., Layer 2 switch or Layer 3 router). The enabled capabilities will be the same as the available capabilities, except that when using a router image (base or full Layer 3), if the global route-only feature is turned on, the bridge capability will not be included, since no bridging takes place. By default, the system capabilities are automatically advertised when LLDP is enabled on a global basis. To disable this advertisement, enter a command such as the following.
Brocade(config)#no lldp advertise system-capabilities ports e 2/4 to 2/12
The system capabilities will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
System capabilities : Enabled capabilities: bridge bridge
Syntax: [no] lldp advertise system-capabilities ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements. System description The system description is the network entity, which can include information such as the product name or model number, the version of the system hardware type, the software operating system level, and the networking software version. The information corresponds to the sysDescr MIB object in MIB-II. To advertise the system description, enter a command such as the following.
468
LLDP configuration
The system description will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ System description : "Brocade Communications, Inc.,FESX424-PREM-PoE, IronWare Version 04.0.00b256T3e1 Compiled on Sep 04 2007 at 0\ 3:54:29 labeled as SXS04000b256"
NOTE
The contents of the show command output will vary depending on which TLVs are configured to be advertised. Syntax: [no] lldp advertise system-description ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements. System name The system name is the system administratively assigned name, taken from the sysName MIB object in MIB-II. The sysName MIB object corresponds to the name defined with the CLI command hostname. By default, the system name is automatically advertised when LLDP is enabled on a global basis. To disable this advertisement, enter a command such as the following.
Brocade(config)#no lldp advertise system-name ports e 2/4 to 2/12
The system name will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
System name: FESX424_POE
Syntax: [no] lldp advertise system-name ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
469
LLDP configuration
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements.
802.1 capabilities
Except for the VLAN name, the Brocade device will advertise the following 802.1 attributes when LLDP is enabled on a global basis:
The VLAN name will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
VLAN name (VLAN 99): Voice-VLAN-99
Syntax: [no] lldp advertise vlan-name vlan <vlan ID> ports ethernet <port-list> | all For <vlan ID>, enter the VLAN ID to advertise. For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements. Untagged VLAN ID The port VLAN ID TLV advertises the Port VLAN Identifier (PVID) that will be associated with untagged or priority-tagged frames. If the port is not an untagged member of any VLAN (i.e., the port is strictly a tagged port), the value zero will indicate that. By default, the port VLAN ID is automatically advertised when LLDP is enabled on a global basis. To disable this advertisement, enter a command such as the following.
Brocade(config)#no lldp advertise port-vlan-id ports e 2/4 to 2/12
470
LLDP configuration
The untagged VLAN ID will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
Port VLAN ID: 99
Syntax: [no] lldp advertise port-vlan-id ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements.
802.3 capabilities
Except for Power-via-MDI information, the Brocade device will advertise the following 802.3 attributes when LLDP is enabled on a global basis:
Link aggregation information MAC/PHY configuration and status Maximum frame size Power-via-MDI information (not automatically advertised)
Link aggregation TLV The link-aggregation time, length, value (TLV) indicates the following:
Whether the link is capable of being aggregated Whether the link is currently aggregated The primary trunk port
Brocade devices advertise link aggregation information about standard link aggregation (LACP) as well as static trunk configuration. By default, link-aggregation information is automatically advertised when LLDP is enabled on a global basis. To disable this advertisement, enter a command such as the following.
Brocade(config)#no lldp advertise link-aggregation ports e 2/12
Syntax: [no] lldp advertise link-aggregation ports ethernet <port-list> | all The link aggregation advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
Link aggregation: not capable
471
LLDP configuration
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements. MAC and PHY configuration status The MAC and PHY configuration and status TLV includes the following information:
Auto-negotiation capability and status Speed and duplex mode Flow control capabilities for auto-negotiation Port speed down-shift and maximum port speed advertisement If applicable, indicates if the above settings are the result of auto-negotiation during link initiation or of a manual set override action speed-duplex flow-control gig-default link-config
By default, the MAC/PHY configuration and status information are automatically advertised when LLDP is enabled on a global basis. To disable this advertisement, enter a command such as the following.
Brocade(config)#no lldp advertise mac-phy-config-status ports e 2/4 to 2/12
The MAC/PHY configuration advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ 802.3 MAC/PHY : auto-negotiation enabled Advertised capabilities: 10baseT-HD, 10baseT-FD, 100baseTX-HD, 100baseTX-FD, fdxSPause, fdxBPause, 1000baseT-HD, 1000baseT-FD Operational MAU type: 100BaseTX-FD
Syntax: [no] lldp advertise mac-phy-config-status ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
472
LLDP configuration
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements. Maximum frame size The maximum frame size TLV provides the maximum 802.3 frame size capability of the port. This value is expressed in octets and includes the four-octet Frame Check Sequence (FCS). The default maximum frame size is 1522. The advertised value may change depending on whether the aggregated-vlan or jumbo CLI commands are in effect. On 48GC modules in non-jumbo mode, the maximum size of ping packets is 1486 bytes and the maximum frame size of tagged traffic is no larger than 1581 bytes. By default, the maximum frame size is automatically advertised when LLDP is enabled on a global basis. To disable this advertisement, enter a command such as the following.
Brocade(config)#no lldp advertise max-frame-size ports e 2/4 to 2/12
NOTE
The maximum frame size advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
Maximum frame size: 1522 octets
Syntax: [no] lldp advertise max-frame-size ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements. Power-via-MDI The power-via-MDI TLV provides general information about Power over Ethernet (POE) capabilities and status of the port. It indicates the following:
POE capability (supported or not supported) POE status (enabled or disabled) Power Sourcing Equipment (PSE) power pair indicates which pair of wires is in use and
whether the pair selection can be controlled. The Brocade implementation always uses pair A, and cannot be controlled.
473
LLDP-MED configuration
Power class Indicates the range of power that the connected powered device has negotiated
or requested. The power-via-MDI TLV described in this section applies to LLDP. There is also a power-via-MDI TLV for LLDP-MED devices, which provides extensive POE information. Refer to Extended power-via-MDI information on page 486. To advertise the power-via-MDI information, enter a command such as the following.
Brocade(config)#lldp advertise power-via-mdi ports e 2/4 to 2/12
NOTE
The power-via-MDI advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ 802.3 Power via MDI: PSE port, power enabled, class 0 Power Pair : A (not controllable)
Syntax: [no] lldp advertise power-via-mdi ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements.
LLDP-MED configuration
This section provides the details for configuring LLDP-MED. Table 83 lists the global and interface-level tasks and the default behavior/value for each task.
TABLE 83
Task
Global CONFIG-level tasks Enabling LLDP-MED on a global basis Enabling SNMP notifications and Syslog messages for LLDP-MED topology change Disabled Disabled
474
LLDP-MED configuration
TABLE 83
Task
Interface-level tasks
Defining a location ID Defining a network policy Not configured Not configured
Enabling LLDP-MED
When LLDP is enabled globally, LLDP-MED is enabled if the LLDP-MED capabilities TLV is also enabled. By default, the LLDP-MED capabilities TLV is automatically enabled. To enable LLDP, refer to Enabling and disabling LLDP on page 459. LLDP-MED is not enabled on ports where the LLDP operating mode is receive only or transmit only. LLDP-MED is enabled on ports that are configured to both receive and transmit LLDP packets and have the LLDP-MED capabilities TLV enabled.
NOTE
Enabling SNMP notifications and Syslog messages for LLDP-MED topology changes
SNMP notifications and Syslog messages for LLDP-MED provide management applications with information related to topology changes. For example, SNMP notifications can alert the system whenever a remote Endpoint device is connected to or removed from a local port. SNMP notifications identify the local port where the topology change occurred, as well as the device capability of the remote Endpoint device that was connected to or removed from the port. When you enable LLDP-MED SNMP notifications, corresponding Syslog messages are enabled as well. When you enable LLDP-MED SNMP notifications, the device will send traps and Syslog messages when an LLDP-MED Endpoint neighbor entry is added or removed. SNMP notifications and corresponding Syslog messages are disabled by default. To enable them, enter a command such as the following at the Global CONFIG level of the CLI.
Brocade(config)#lldp enable snmp med-topo-change-notifications ports e 4/4 to 4/6
Syntax: no lldp enable snmp med-topo-change-notifications ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum>
475
LLDP-MED configuration
NOTE
The above command causes the device to send five LLDP packets during the LLDP-MED fast start period. Syntax: [no] lldp med fast-start-repeat-count <value> where value is a number from 1 to 10, which specifies the number of packets that will be sent during the LLDP-MED fast start period. The default is 3.
Defining a location id
The LLDP-MED Location Identification extension enables the Brocade device to set the physical location that an attached Class III Endpoint will use for location-based applications. This feature is important for applications such as IP telephony, for example, where emergency responders need to quickly determine the physical location of a user in North America that has just dialed 911. For each port, you can define one or more of the following location ID formats:
Geographic location (coordinate-based) Civic address Emergency Call Services (ECS) Emergency Location Identification Number (ELIN)
476
LLDP-MED configuration
Coordinate-based location
Coordinate-based location is based on the IETF RFC 3825 [6] standard, which specifies a Dynamic Host Configuration Protocol (DHCP) option for the coordinate-based geographic location of a client. When you configure an Endpoint location information using the coordinate-based location, you specify the latitude, longitude, and altitude, along with resolution indicators (a measure of the accuracy of the coordinates), and the reference datum (the map used for the given coordinates). To configure a coordinate-based location for an Endpoint device, enter a command such as the following at the Global CONFIG level of the CLI.
Brocade(config)#lldp med location-id coordinate-based latitude -78.303 resolution 20 longitude 34.27 resolution 18 altitude meters 50 resolution 16 wgs84
Syntax: [no] lldp med location-id coordinate-based latitude <degrees> resolution <bits> longitude <degrees> resolution <bits> altitude floors <number> resolution <bits> | meters <number> resolution <bits> <datum> latitude <degrees> is the angular distance north or south from the earth equator measured through 90 degrees. Positive numbers indicate a location north of the equator and negative numbers indicate a location south of the equator. resolution <bits> specifies the precision of the value given for latitude. A smaller value increases the area within which the device is located. For latitude, enter a number between 1 and 34. longitude <degrees> is the angular distance from the intersection of the zero meridian. Positive values indicate a location east of the prime meridian and negative numbers indicate a location west of the prime meridian. resolution <bits> specifies the precision of the value given for longitude. A smaller value increases the area within which the device is located. For longitude resolution, enter a number between 1 and 34. altitude floors <number> is the vertical elevation of a building above the ground, where 0 represents the floor level associated with the ground level at the main entrance and larger values represent floors that are above (higher in altitude) floors with lower values. For example, 2 for the 2nd floor. Sub-floors can be represented by non-integer values. For example, a mezzanine between floor 1 and floor 2 could be represented as 1.1. Similarly, the mezzanines between floor 4 and floor 5 could be represented as 4.1 and 4.2 respectively. Floors located below ground level could be represented by negative values. resolution <bits> specifies the precision of the value given for altitude. A smaller value increases the area within which the device is located. For floors resolution, enter the value 0 if the floor is unknown, or 30 if a valid floor is being specified. altitude meters <number> is the vertical elevation in number of meters, as opposed to floors. resolution <bits> specifies the precision of the value given for altitude. A smaller value increases the area within which the device is located. For meters resolution, enter a value from 0 to 30. <Datum> is the map used as the basis for calculating the location. Specify one of the following:
477
LLDP-MED configuration
wgs84 (geographical 3D) World Geodesic System 1984, CRS Code 4327, Prime Meridian
Name: Greenwich
nad83-navd88 North American Datum 1983, CRS Code 4269, Prime Meridian Name:
Greenwich; The associated vertical datum is the North American Vertical Datum of 1988 (NAVD88). Use this datum when referencing locations on land. If land is near tidal water, use nad83-mllw (below).
nad83-mllw North American Datum 1983, CRS Code 4269, Prime Meridian Name:
Greenwich; The associated vertical datum is mean lower low water (MLLW). Use this datum when referencing locations on water, sea, or ocean. Example coordinate-based location configuration The following shows an example coordinate-based location configuration for the Sears Tower, at the following location. 103rd Floor 233 South Wacker Drive Chicago, IL 60606
Brocade(config)#lldp med location-id coordinate-based latitude 41.87884 resolution 18 longitude 87.63602 resolution 18 altitude floors 103 resolution 30 wgs84
Latitude is 41.87884 degrees north (or 41.87884 degrees). Longitude is 87.63602 degrees west (or 87.63602 degrees). The latitude and longitude resolution of 18 describes a geo-location area that is latitude
41.8769531 to latitude 41.8789062 and extends from -87.6367188 to -87.6347657 degrees longitude. This is an area of approximately 373412 square feet (713.3 ft. x 523.5 ft.).
The location is inside a structure, on the 103rd floor. The WGS 84 map was used as the basis for calculating the location.
Example coordinate-based location advertisement The coordinate-based location advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ MED Location ID Data Format: Coordinate-based Latitude Resolution : 20 bits Latitude Value : -78.303 degrees Longitude Resolution : 18 bits Longitude Value : 34.27 degrees Altitude Resolution : 16 bits Altitude Value : 50. meters Datum : WGS 84
478
LLDP-MED configuration
Syntax: [no] lldp med location-id civic-address refers-to <elem> country <country code> elem <CA type> <value> [elem <CA type> <value>] [elem <CA type> <value>].... refers-to <elem> describes the location that the entry refers to. Specify one of the following:
<CA type> is a value from 0 255, that describes the civic address element. For example, a CA type of 24 specifies a postal or zip code. Valid elements and their types are listed in Table 84. <value> is the actual value of the elem <CA type>, above. For example, 95123 for the postal or zip code. Acceptable values are listed in Table 84, below.
NOTE
If the value of an element contains one or more spaces, use double quotation marks () at the beginning and end of the string. For example, elem 3 Santa Clara.
479
LLDP-MED configuration
TABLE 84
Neighborhood or block
Street
16 17 18
19
House number
480
LLDP-MED configuration
TABLE 84
21
22
Additional location information Name (residence and office occupant) Postal / zip code Building (structure)
23
24 25
26
27 28 29
30
31
32
Additional code
481
LLDP-MED configuration
TABLE 84
255
Reserved
Example civic address location advertisement The Civic address location advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ MED Location Data Format: Location of: Country : CA Type : CA Value : CA Type : CA Value : CA Type : CA Value : CA Type : CA Value : CA Type : CA Value : CA Type : CA Value : CA Type : CA Value : CA Type : CA Value : ID Civic Address Client "US" 1 "CA" 3 "Santa Clara" 6 "4980 Great America Pkwy." 24 "95054" 27 "5" 28 "551" 29 "office" 23 "John Doe"
Syntax: [no] lldp med location-id ecs-elin <number> ports ethernet <port-list> | all <number> is a number from 10 to 25 digits in length. For <port-list>, specify the ports in one of the following formats:
482
LLDP-MED configuration
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Example ECS ELIN location advertisements The ECS ELIN location advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ MED Location ID Data Format: ECS ELIN Value : 4082071700
NOTE
The network policy advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ MED Network Policy Application Type : Policy Flags : VLAN ID : L2 Priority : DSCP Value :
Endpoints will advertise a policy as unknown in the show lldp neighbor detail command output, if it is a policy that is required by the Endpoint and the Endpoint has not yet received it.
NOTE
483
LLDP-MED configuration
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. <application type> indicates the primary function of the applications defined by this network policy. Application type can be one of the following:
guest-voice Limited voice service for guest users and visitors with their own IP telephony
handsets or similar devices that support interactive voice services.
guest-voice-signaling Limited voice service for use in network topologies that require a
different policy for guest voice signaling than for guest voice media.
softphone-voice Softphone voice service for use with multi-media applications that work in
association with VoIP technology, enabling phone calls direct from a PC or laptop. Softphones do not usually support multiple VLANs, and are typically configured to use an untagged VLAN or a single tagged data-specific VLAN. Note that when a network policy is defined for use with an untagged VLAN, the Layer 2 priority field is ignored and only the DSCP value is relevant.
video-signaling For use in network topologies that require a separate policy for video
signaling than for video media. Note that this application type should not be advertised if all the same network policies apply as those advertised in the video conferencing policy TLV.
voice For use by dedicated IP telephony handsets and similar devices that support
interactive voice services.
484
voice-signaling For use in network topologies that require a different policy for voice signaling
than for voice media. Note that this application type should not be advertised if all the same network policies apply as those advertised in the voice policy TLV.
tagged vlan <vlan id> specifies the tagged VLAN that the specified application type will use. untagged indicates that the device is using an untagged frame format. priority-tagged indicates that the device uses priority-tagged frames. In this case, the device
uses the default VLAN (PVID) of the ingress port.
priority <0 7> indicates the Layer 2 priority value to be used for the specified application type.
Enter 0 to use the default priority.
dscp <0 63> specifies the Layer 3 Differentiated Service codepoint priority value to be used
for the specified application type. Enter 0 to use the default priority. For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements.
Although the Location ID and Network policy attributes are automatically advertised, they will have no effect until they are actually defined.
NOTE
LLDP-MED capabilities
When enabled, LLDP-MED is enabled, and the LLDP-MED capabilities TLV is sent whenever any other LLDP-MED TLV is sent. When disabled, LLDP-MED is disabled and no LLDP-MED TLVs are sent.
485
The supported LLDP-MED TLVs The device type (Network Connectivity device or Endpoint (Class 1, 2, or 3))
By default, LLDP-MED information is automatically advertised when LLDP-MED is enabled. To disable this advertisement, enter a command such as the following.
Brocade(config)#no lldp advertise med-capabilities ports e 2/4 to 2/12
NOTE
Disabling the LLDP-MED capabilities TLV disables LLDP-MED. To re-enable the LLDP-MED Capabilities TLV (and LLDP-MED) after it has been disabled, enter a command such as the following.
Brocade(config)#lldp advertise med-capabilities ports e 2/4 to 2/12
The LLDP-MED capabilities advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ MED capabilities: capabilities, networkPolicy, location, extendedPSE MED device type : Network Connectivity
Syntax: [no] lldp advertise med-capabilities ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements.
Power type indicates whether the LLDP-MED device transmitting the LLPDU is a power
sourcing device or a powered device:
486
Power sourcing device/equipment (PSE) This is the source of the power, or the device
that integrates the power onto the network. Power sourcing devices/equipment have embedded POE technology. In this case, the power sourcing device is the Brocade POE device.
Powered device (PD) This is the Ethernet device that requires power and is situated on
the other end of the cable opposite the power sourcing device.
Power source The power source being utilized by a PSE or PD, for example, primary power
source, backup power source, or unknown. For Endpoint devices, the power source information indicates the power capability of the Network Connectivity Device it is attached to. When the Network Connectivity device advertises that it is using its primary power source, the Endpoint should expect to have uninterrupted access to its available power. Likewise, if the Network Connectivity device advertises that it is using backup power, the Endpoint should not expect continuous power. The Endpoint may additionally choose to power down non-essential subsystems or to conserve power as long as the PSE is advertising that it is operating on backup power.
NOTE
Power priority The in-line power priority level for the PSE or PD: 3 low 2 high 1 critical unknown Power level The total power, in tenths of watts, required by a PD from a PSE, or the total
power a PSE is capable of sourcing over a maximum length cable based on its current configuration. If the exact power is not known for a PSE or PD, it will advertise the power level associated with its 802.3af power class (listed in Table 85).
TABLE 85
Power class
0 1 2 3
For a PD (Endpoint device), the power level represents the maximum power it can consume during normal operations in its current configuration, even if its actual power draw at that instance is less than the advertised power draw. For a PSE (Network Connectivity device), the power level represents the amount of power that is available on the port at the time. If the PSE is operating in reduced power (i.e., it is using backup power), the reduced power capacity is advertised as long as the condition persists. By default, LLDP-MED power-via-MDI information is automatically advertised when LLDP-MED is enabled, the port is a POE port, and POE is enabled on the port. To disable this advertisement, enter a command such as the following.
487
The LLDP-MED power-via-MDI advertisement will appear similar to the following on the remote device, and in the CLI display output on the Brocade device (show lldp local-info).
+ MED Extended Power via MDI Power Type : PSE device Power Source : Unknown Power Source Power Priority : Low (3) Power Value : 6.5 watts (PSE equivalent: 7005 mWatts)
Syntax: [no] lldp advertise med-power-via-mdi ports ethernet <port-list> | all For <port-list>, specify the ports in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually. Note that using the keyword all may cause undesirable effects on some ports. For example, if you configure all ports to advertise their VLAN name, and the configuration includes ports that are not members of any VLAN, the system will warn of the misconfigurations on non-member VLAN ports. The configuration will be applied to all ports, however, the ports that are not members of any VLAN will not send VLAN name advertisements.
show lldp Displays a summary of the LLDP configuration settings. show lldp statistics Displays LLDP global and per-port statistics. show lldp neighbors Displays a list of the current LLDP neighbors. show lldp neighbors detail Displays the details of the latest advertisements received from LLDP neighbors. on each port.
show lldp local-info Displays the details of the LLDP advertisements that will be transmitted
This above show commands are described in this section.
488
Brocade#show lldp LLDP transmit interval LLDP transmit hold multiplier LLDP transmit delay LLDP SNMP notification interval LLDP reinitialize delay LLDP-MED fast start repeat count LLDP maximum neighbors LLDP maximum neighbors per port
: : : : : :
: 392 : 4
Syntax: show lldp The following table describes the information displayed by the show lldp statistics command.
Field
LLDP transmit interval LLDP transmit hold multiplier LLDP transmit delay LLDP SNMP notification interval LLDP reinitialize delay LLDP-MED fast start repeat count LLDP maximum neighbors LLDP maximum neighbors per port
Description
The number of seconds between regular LLDP packet transmissions. The multiplier used to compute the actual time-to-live (TTL) value of an LLDP advertisement. The TTL value is the transmit interval multiplied by the transmit hold multiplier. The number of seconds the LLDP agent will wait after transmitting an LLDP frame and before transmitting another LLDP frame. The number of seconds between transmission of SNMP LLDP traps (lldpRemTablesChange) and SNMP LLDP-MED traps (lldpXMedTopologyChangeDetected). The minimum number of seconds the device will wait from when LLDP is disabled on a port, until a request to re-enable LLDP on that port will be honored. The number of seconds between LLDP frame transmissions when an LLDP-MED Endpoint is newly detected. The maximum number of LLDP neighbors for which LLDP data will be retained, per device. The maximum number of LLDP neighbors for which LLDP data will be retained, per port.
489
Brocade#show lldp statistics Last neighbor change time: 23 hours 50 minutes 40 seconds ago Neighbor Neighbor Neighbor Neighbor Port 1 2 3 4 5 6 7 8 9 10 11 12 13 14 entries added entries deleted entries aged out advertisements dropped Tx Pkts Total 60963 0 60963 60963 0 0 0 0 0 60974 0 0 0 0 Rx Pkts Total 75179 0 60963 121925 0 0 0 0 0 0 0 0 0 0 : : : : 14 5 4 0
Rx Pkts Rx Pkts Rx TLVs Rx TLVs Neighbors w/Errors Discarded Unrecognz Discarded Aged Out 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Syntax: show lldp statistics You can reset LLDP statistics using the CLI command clear LLDP statistics. Refer to Resetting LLDP statistics on page 495. The following table describes the information displayed by the show lldp statistics command.
Field
Last neighbor change time Neighbor entries added Neighbor entries deleted Neighbor entries aged out
NOTE
Description
The elapsed time (in hours, minutes, and seconds) since a neighbor last advertised information. For example, the elapsed time since a neighbor was last added, deleted, or its advertised information changed. The number of new LLDP neighbors detected since the last reboot or since the last time the clear lldp statistics all command was issued. The number of LLDP neighbors deleted since the last reboot or since the last time the clear lldp statistics all command was issued. The number of LLDP neighbors dropped on all ports after the time-to-live expired. Note that LLDP entries age out naturally when a port cable or module is disconnected or when a port becomes disabled. However, if a disabled port is re-enabled, the system will delete the old LLDP entries. The number of valid LLDP neighbors the device detected, but could not add. This can occur, for example, when a new neighbor is detected and the device is already supporting the maximum number of neighbors possible. This can also occur when an LLDPDU is missing a mandatory TLV or is not formatted correctly. The local port number. The number of LLDP packets the port transmitted. The number of LLDP packets the port received.
490
Field
Rx Pkts w/Errors Rx Pkts Discarded Rx TLVs Unrecognz
Description
The number of LLDP packets the port received that have one or more detectable errors. The number of LLDP packets the port received then discarded. The number of TLVs the port received that were not recognized by the LLDP local agent. Unrecognized TLVs are retained by the system and can be viewed in the output of the show LLDP neighbors detail command or retrieved through SNMP. The number of TLVs the port received then discarded. The number of times a neighbor information was deleted because its TTL timer expired.
Port Description GigabitEthernet9/1 GigabitEthernet0/1/1 GigabitEthernet4 GigabitEthernet3 GigabitEthernet17 GigabitEthernet16 GigabitEthernet15 GigabitEthernet18 GigabitEthernet17
System Name FastIron Supe~ FGS624XGP Swi~ FESX424+2XG S~ FESX424+2XG S~ FESX424+2XG S~ FESX424+2XG S~ FESX424+2XG S~ FESX424+2XG S~ FESX424+2XG S~
Syntax: show lldp neighbors The following table describes the information displayed by the show lldp neighbors command.
Field
Lcl Port Chassis ID Port ID Port Description System Name
Description
The local LLDP port number. The identifier for the chassis. Brocade devices use the base MAC address of the device as the Chassis ID. The identifier for the port. Brocade devices use the permanent MAC address associated with the port as the port ID. The description for the port. Brocade devices use the ifDescr MIB object from MIB-II as the port description. The administratively-assigned name for the system. Brocade devices use the sysName MIB object from MIB-II, which corresponds to the CLI hostname command setting. NOTE: A tilde (~) at the end of a line indicates that the value in the field is too long to display in full and is truncated.
491
NOTE
The show lldp neighbors detail output will vary depending on the data received. Also, values that are not recognized or do not have a recognizable format, may be displayed in hexadecimal binary form.
Brocade#show lldp neighbors detail ports e 1/9 Local port: 1/9 Neighbor: 0800.0f18.cc03, TTL 101 seconds + Chassis ID (network address): 10.43.39.151 + Port ID (MAC address): 0800.0f18.cc03 + Time to live: 120 seconds + Port description : "LAN port" + System name : "regDN 1015,MITEL 5235 DM" + System description : "regDN 1015,MITEL 5235 DM,h/w rev 2,ASIC rev 1,f/w\ Boot 02.01.00.11,f/w Main 02.01.00.11" + System capabilities : bridge, telephone Enabled capabilities: bridge, telephone + Management address (IPv4): 10.43.39.151 + 802.3 MAC/PHY : auto-negotiation enabled Advertised capabilities: 10BaseT-HD, 10BaseT-FD, 100BaseTX-HD, 100BaseTX-FD Operational MAU type : 100BaseTX-FD + MED capabilities: capabilities, networkPolicy, extendedPD MED device type : Endpoint Class III + MED Network Policy Application Type : Voice Policy Flags : Known Policy, Tagged VLAN ID : 300 L2 Priority : 7 DSCP Value : 7 + MED Extended Power via MDI Power Type : PD device Power Source : Unknown Power Source Power Priority : High (2) Power Value : 6.2 watts (PSE equivalent: 6656 mWatts) + MED Hardware revision : "PCB Version: 2" + MED Firmware revision : "Boot 02.01.00.11" + MED Software revision : "Main 02.01.00.11" + MED Serial number : "" + MED Manufacturer : "Mitel Corporation" + MED Model name : "MITEL 5235 DM" + MED Asset ID : ""
A backslash (\) at the end of a line indicates that the text continues on the next line. Except for the following field, the fields in the above output are described in the individual TLV advertisement sections in this chapter.
492
Field
Neighbor
Description
The source MAC address from which the packet was received, and the remaining TTL for the neighbor entry.
Syntax: show lldp neighbors detail [ports ethernet <port-list> | all] If you do not specify any ports or use the keyword all, by default, the report will show the LLDP neighbor details for all ports. For <port-list>, specify the ports in one of the following formats:
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.
NOTE
The show lldp local-info output will vary based on LLDP configuration settings. The following shows an example report.
Brocade#show lldp local-info ports e 20 Local port: 20 + Chassis ID (MAC address): 0012.f233.e2c0 + Port ID (MAC address): 0012.f233.e2d3 + Time to live: 40 seconds + System name: "FESX424_POE" + Port description: "GigabitEthernet20" + System description : "Brocade Communications, Inc. FESX424-PREM-PoE, IronWare V\ ersion 04.0.00b256T3e1 Compiled on Sep 04 2007 at 0\ 3:54:29 labeled as SXS04000b256" + System capabilities : bridge Enabled capabilities: bridge + 802.3 MAC/PHY : auto-negotiation enabled Advertised capabilities: 10BaseT-HD, 10BaseT-FD, 100BaseTX-HD, 100BaseTX-FD, fdxSPause, fdxBPause, 1000BaseT-HD, 1000BaseT-FD Operational MAU type: 100BaseTX-FD + 802.3 Power via MDI: PSE port, power enabled, class 2 Power Pair : A (not controllable) + Link aggregation: not capable + Maximum frame size: 1522 octets + MED capabilities: capabilities, networkPolicy, location, extendedPSE MED device type : Network Connectivity + MED Network Policy Application Type : Voice Policy Flags : Known Policy, Tagged
493
VLAN ID : 99 L2 Priority : 3 DSCP Value : 22 + MED Network Policy Application Type : Video Conferencing Policy Flags : Known Policy, Tagged VLAN ID : 100 L2 Priority : 5 DSCP Value : 10 + MED Location ID Data Format: Coordinate-based location Latitude Resolution : 20 bits Latitude Value : -78.303 degrees Longitude Resolution : 18 bits Longitude Value : 34.27 degrees Altitude Resolution : 16 bits Altitude Value : 50. meters Datum : WGS 84 + MED Location ID Data Format: Civic Address Location of: Client Country : "US" CA Type : 1 CA Value : "CA" CA Type : 3 CA Value : "Santa Clara" CA Type : 6 CA Value : "4980 Great America Pkwy." CA Type : 24 CA Value : "95054" CA Type : 27 CA Value : "5" CA Type : 28 CA Value : "551" CA Type : 29 CA Value : "office" CA Type : 23 CA Value : "John Doe" + MED Location ID Data Format: ECS ELIN Value : "1234567890" + MED Extended Power via MDI Power Type : PSE device Power Source : Unknown Power Source Power Priority : Low (3) Power Value : 6.5 watts (PSE equivalent: 7005 mWatts) + Port VLAN ID: 99 + Management address (IPv4): 192.1.1.121 + VLAN name (VLAN 99): "Voice-VLAN-99"
The contents of the show output will vary depending on which TLVs are configured to be advertised. A backslash (\) at the end of a line indicates that the text continues on the next line. The fields in the above output are described in the individual TLV advertisement sections in this chapter. Syntax: show lldp local-info [ports ethernet <port-list> | all]
NOTE
494
If you do not specify any ports or use the keyword all, by default, the report will show the local information advertisements for all ports. For <port-list>, specify the ports in one of the following formats:
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.
Syntax: clear lldp statistics [ports ethernet <port-list> | all] If you do not specify any ports or use the keyword all, by default, the system will clear lldp statistics on all ports. For <port-list>, specify the ports in one of the following formats:
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.
Syntax: clear lldp neighbors [ports ethernet <port-list> | all] If you do not specify any ports or use the keyword all, by default, the system will clear the cached LLDP neighbor information for all ports. For <port-list>, specify the ports in one of the following formats:
495
FWS, FCX and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or a combination of both. To apply the configuration to all ports on the device, use the keyword all instead of listing the ports individually.
496
Chapter
13
Table 86 lists the individual Brocade FastIron switches and the hardware monitoring features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images.
TABLE 86
Feature
FWS
FCX
ICX 6610
Yes Yes
Yes Yes
Yes Yes
The procedures in this chapter describe how to configure the software to monitor hardware components.
The port to which the cable is connected must be enabled when you issue the command to
diagnose the cable. If the port is disabled, the command is rejected.
If the port is operating at 100 Mbps half-duplex, the TDR test on one pair will fail. If the remote pair is set to forced 100 Mbps, any change in MDI/MDIX may cause the device to
interpret the Multilevel Threshold-3 (MLT-3) as a reflected pulse, in which case, the device will report a faulty condition. In this scenario, it is recommended that you run the TDR test a few times for accurate results.
497
The above command diagnoses the cable attached to port 1. When you issue the phy-cable-diag command, the command brings the port down for a second or two, then immediately brings the port back up. Syntax: phy cable-diag tdr <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
In the above output, Local pair indicates the assignment of wire pairs from left to right, where Pair A is the left-most pair. Table 87 shows the Local pair mapping to the T568A pin/pair and color assignment from the TIA/EIA-568-B standard.
TABLE 87
Local pair
Pair A Pair B Pair C Pair D
498
FIGURE 39
PC
TX+ 1 TX- 2 RX+ 3 4 5
STRAIGHT-THRU
HUB
1 RX+ 2 RX3 TX+ 4 5
RX- 6 7
6 TX7 8
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
TABLE 88
This line...
Port Speed Local pair Pair Length Remote pair Pair status
Cable statistics
Displays...
The port that was tested. The port current line speed. The local link name. Refer to Table 87. The cable length when terminated, or the distance to the point of fault when the line is not up. The remote link name. The status of the link. This field displays one of the following: Terminated: The link is up. Shorted: A short is detected in the cable. Open: An opening is detected in the cable. ImpedMis: The impedance is mismatched. Failed: The TDR test failed.
499
Syntax: [no] optical-monitor Use the no form of the command to disable digital optical monitoring.
Syntax: [no] optical-monitor [<alarm-interval>] For <alarm-interval>, enter a value between 1 and 65535. Enter 0 to disable alarms and warning messages. The commands no optical-monitor and optical-monitor 0 perform the same function. That is, they both disable digital optical monitoring.
NOTE
500
Use the show media slot command to obtain information about the media device installed in a slot.
Brocade#show media slot 1 Port 1/1: Type : 1G M-SX(SFP) Vendor: Brocade Communications, Inc. Version: Part# : PL-XPL-VC-S13-19 Serial#: 425HC109 Port 1/2: Type : 1G M-SX(SFP) Vendor: Brocade Communications, Inc. Version: Part# : PL-XPL-VC-S13-19 Serial#: 411HC0AH Port 1/3: Type : EMPTY Port 1/4: Type : 1G M-SX(SFP) Vendor: Brocade Communications, Inc. Version: X1 Part# : FTRJ-8519-3 Serial#: H11654K Port 1/5: Type : EMPTY Port 1/6: Type : EMPTY Port 1/7: Type : 100M M-FX-IR(SFP)
501
Port Port
1/8: 1/9:
Port Port
1/10: 1/11:
Port Port
1/12: 1/13:
Vendor: Part# : Type : Type : Vendor: Part# : Type : Type : Vendor: Part# : Type : Type : Vendor: Part# :
Brocade Communications, Inc. Version: FTLF1323P1BTR-FD Serial#: UCT000T EMPTY 100M M-FX-LR(SFP) Brocade Communications, Inc. Version: FTLF1323P1BTL-FD Serial#: UD3085J EMPTY 100M M-FX-SR(SFP) Brocade Communications, Inc. Version: FTLF1217P2BTL-F1 Serial#: UCQ003J EMPTY 100M M-FX-IR(SFP) Brocade Communications, Inc. Version: FTLF1323P1BTR-F1 Serial#: PCA2XC5
Use the show media ethernet command to obtain information about the media device installed in a port.
Brocade#show media e Port 1/17: Type : Vendor: Part# : 1/17 1G M-SX(SFP) Brocade Communications, Inc. Version: PL-XPL-VC-S13-19 Serial#: 425HC109
The port is DOWN. The port is configured as a stacking port. The the optic module does not support optical monitoring. For ICX 6430 devices only:
If an SFP+ optic is inserted in an SFP only port, the optic will not initialize. If an SFP optic is inserted in an SFP+ only port, the optic will not initialize. If an optic is inserted into a device that supports both SFP and SFP+ optics, use the speed-duplex command to set the port speed correctly.
Brocade#show optic 13 Port Temperature Tx Power Rx Power Tx Bias Current +----+-----------+----------+------------+-------------------+ 13 33.2968 C -005.4075 dBm -007.4328 dBm 6.306 mA Normal Normal Normal Normal
502
Use the show optic slot <slot-number> command on a FastIron X Series chassis to view information about all qualified XFPs, SFPs, and SFP+ in a particular slot. The following shows example output.
Brocade>show optic slot 4 Port Temperature Tx Power Rx Power Tx Bias Current +----+-----------+----------+------------+-------------------+ 4/1 30.8242 C -001.8822 dBm -002.5908 dBm 41.790 mA Normal Normal Normal Normal 4/2 31.7070 C -001.4116 dBm -006.4092 dBm 41.976 mA Normal Normal Normal Normal 4/3 30.1835 C -000.5794 dBm 0.000 mA Normal Low-Alarm Normal Low-Alarm 4/4 0.0000 C 0.000 mA Normal Normal Normal Normal
NOTE
The show optic slot <slot-number> command is supported on the FSX 800 and FSX 1600 only.
The show optic function takes advantage of information stored and supplied by the manufacturer of the XFP, SFP, or SFP+ transceiver. This information is an optional feature of the Multi-Source Agreement standard defining the optical interface. Not all component suppliers have implemented this feature set. In such cases where the XFP, SFP, or SFP+ transceiver does not supply the information, a Not Available message will be displayed for the specific port on which the module is installed. The following table describes the information displayed by the show optic command.
NOTE
TABLE 89
Field
Port Temperature
The operating temperature, in degrees Celsius, of the optical transceiver. The alarm status, as described in Table 90. The transmit power signal, in decibels (dB), of the measured power referenced to one milliwatt (mW). The alarm status, as described in Table 90. The receive power signal, in decibels (dB), of the measured power referenced to one milliwatt (mW). The alarm status, as described in Table 90 The transmit bias power signal, in milliamperes (mA). The alarm status, as described in Table 90.
Tx Power
Rx Power
Tx Bias Current
For Temperature, Tx Power, Rx Power, and Tx Bias Current in the show optic command output, values are displayed along with one of the following alarm status values: Low-Alarm, Low-Warn, Normal, High-Warn or High-Alarm. The thresholds that determine these status values are set by the manufacturer of the optical transceivers. Table 90 describes each of these status values.
503
TABLE 90
Status value
Low-Alarm Low-Warn Normal High-Warn High-Alarm
5a00 d300 5500 d800 9088 7148 8ca0 7530 7530 01f4 61a8 05dc 1f07 02c4 18a6 037b 2710 0028 1f07 0032
C C C C
60.000 mA 1.000 mA 50.000 mA 3.000 mA -001.0001 dBm -011.4996 dBm -001.9997 dBm -010.5012 dBm 000.0000 dBm -023.9794 dBm -001.0001 dBm -023.0102 dBm
Syntax: show optic threshold <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
504
For Temperature, Supply Voltage, TX Bias, TX Power, and RX Power, values are displayed for each of the following four alarm and warning settings: High alarm, Low alarm, High warning, and Low warning. The hexadecimal values are the manufacturer internal calibrations, as defined in the SFF-8472 standard. The other values indicate at what level (above the high setting or below the low setting) the system should send a warning message or an alarm. Note that these values are set by the manufacturer of the optical transceiver, and cannot be configured.
The temperature, supply voltage, TX Bias, TX power, or TX power value goes above or below the
high or low warning or alarm threshold set by the manufacturer.
The optical transceiver does not support digital optical monitoring. The optical transceiver is not qualified, and therefore not supported by Brocade.
For details about the above Syslog messages, refer to Appendix A, Syslog messages.
505
506
Chapter
Syslog
14
Table 91 lists individual Brocade switches and the Syslog features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 91
Feature
FWS
FCX
ICX 6610
Syslog messages Real-time display of Syslog messages Real-time display for Telnet or SSH sessions Show log on all terminals Time stamps Multiple Syslog server logging (up to 6 Syslog servers) Disabling logging of a message level Changing the number of entries the local buffer can hold Changing the log facility Displaying Interface names in Syslog messages Displaying TCP and UDP port numbers in Syslog messages Retaining Syslog messages after a soft reboot Clearing Syslog messages from the local buffer Syslog messages for hardware errors
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No
This chapter describes how to display Syslog messages and how to configure the Syslog facility, and lists the Syslog messages that Brocade devices can display during standard operation. Refer to Syslog on page 507 for a list of Syslog messages.
507
The device writes the messages to a local buffer. You also can specify the IP address or host name of up to six Syslog servers. When you specify a Syslog server, the Brocade device writes the messages both to the system log and to the Syslog server. Using a Syslog server ensures that the messages remain available even after a system reload. The Brocade local Syslog buffer is cleared during a system reload or reboot, but the Syslog messages sent to the Syslog server remain on the server. To enable the Brocade device to retain Syslog messages after a soft reboot (reload command). Refer to Retaining Syslog messages after a soft reboot on page 518. The Syslog service on a Syslog server receives logging messages from applications on the local host or from devices such as a Layer 2 Switch or Layer 3 Switch. Syslog adds a time stamp to each received message and directs messages to a log file. Most Unix workstations come with Syslog configured. Some third party vendor products also provide Syslog running on NT. Syslog uses UDP port 514 and each Syslog message thus is sent with destination port 514. Each Syslog message is one line with Syslog message format. The message is embedded in the text portion of the Syslog format. There are several subfields in the format. Keywords are used to identify each subfield, and commas are delimiters. The subfield order is insensitive except that the text subfield should be the last field in the message. All the subfields are optional.
NOTE
508
Dynamic Log Buffer (50 entries): Dec 15 18:46:17:I:Interface ethernet 4, state up Dec 15 18:45:21:I:Bridge topology change, vlan 4095, interface 4, changed state to forwarding Dec 15 18:45:15:I:Warm start
For information about the Syslog configuration information, time stamps, and dynamic and static buffers, refer to Displaying the Syslog configuration on page 510.
Syntax: [no] logging console This command enables the real-time display of Syslog messages on the serial console. You can enter this command from the serial console or a Telnet or SSH session.
Syntax: terminal monitor Notice that the CLI displays a message to indicate the status change for the feature. To disable the feature in the management session, enter the terminal monitor command again. The command toggles the feature on and off.
telnet@Brocade#terminal monitor Syslog trace was turned OFF
509
Specify a Syslog server. You can configure the Brocade device to use up to six Syslog servers.
(Use of a Syslog server is optional. The system can hold up to 1000 Syslog messages in an internal buffer.)
Change the level of messages the system logs. Change the number of messages the local Syslog buffer can hold. Display the Syslog configuration. Clear the local Syslog buffer.
Messages of all severity levels (Emergencies Debugging) are logged. By default, up to 50 messages are retained in the local Syslog buffer. This can be changed. No Syslog server is specified.
Static Log Buffer: Dec 15 19:04:14:A:Fan 1, fan on right connector, failed Dynamic Log Buffer (50 entries): Dec 15 18:46:17:I:Interface ethernet 1/4, state up Dec 15 18:45:21:I:Bridge topology change, vlan 4095, interface 4, changed state to forwarding Dec 15 18:45:15:I:Warm start
Syntax: show logging The Syslog display shows the following configuration information, in the rows above the log entries themselves.
510
TABLE 92
Field
flushes
overruns
level
Static logs power supply failures, fan failures, and temperature warning or shutdown
messages
511
Brocade#show logging Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Buffer logging: level ACDMEINW, 3 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warning Static Log Buffer: Dec 15 19:04:14:A:Fan 1, fan on right connector, failed Dec 15 19:00:14:A:Fan 2, fan on left connector, failed Dynamic Log Buffer (50 entries): Dec 15 18:46:17:I:Interface ethernet 4, state up Dec 15 18:45:21:I:Bridge topology change, vlan 4095, interface 4, changed state to forwarding Dec 15 18:45:15:I:Warm start
Notice that the static buffer contains two separate messages for fan failures. Each message of each type has its own buffer. Thus, if you replace fan 1 but for some reason that fan also fails, the software replaces the first message about the failure of fan 1 with the newer message. The software does not overwrite the message for fan 2, unless the software sends a newer message for fan 2.
Syntax: clear logging [dynamic-buffer | static-buffer] You can specify dynamic-buffer to clear the dynamic buffer or static-buffer to clear the static buffer. If you do not specify a buffer, both buffers are cleared.
Time stamps
The contents of the time stamp differ depending on whether you have set the time and date on the onboard system clock:
If you have set the time and date on the onboard system clock, the date and time are shown in
the following format. mm dd hh:mm:ss where
mm abbreviation for the name of the month dd day hh hours mm minutes ss seconds
512
If you have not set the time and date on the onboard system clock, the time stamp shows the
amount of time that has passed since the device was booted, in the following format. <num>d<num>h<num>m<num>s where
For example, 188d1h01m00s means the device had been running for 188 days, 11 hours, one minute, and zero seconds when the Syslog entry with this time stamp was generated. Example of Syslog messages on a device with the onboard clock set The example shows the format of messages on a device where the onboard system clock has been set. Each time stamp shows the month, the day, and the time of the system clock when the message was generated. For example, the system time when the most recent message (the one at the top) was generated was October 15 at 5:38 PM and 3 seconds.
Brocade#show logging Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Buffer logging: level ACDMEINW, 38 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warning Static Log Buffer: Dec 15 19:04:14:A:Fan 1, fan on right connector, failed Dec 15 19:00:14:A:Fan 2, fan on left connector, failed Dynamic Log Buffer (50 entries): Oct 15 17:38:03:warning:list 101 denied 0010.5a1f.77ed) -> 198.99.4.69(http), 1 Oct 15 07:03:30:warning:list 101 denied 0010.5a1f.77ed) -> 198.99.4.69(http), 1 Oct 15 06:58:30:warning:list 101 denied 0010.5a1f.77ed) -> 198.99.4.69(http), 1
Example of Syslog messages on a device wih the onboard clock not set The example shows the format of messages on a device where the onboard system clock is not set. Each time stamp shows the amount of time the device had been running when the message was generated. For example, the most recent message, at the top of the list of messages, was generated when the device had been running for 21 days, seven hours, two minutes, and 40 seconds.
513
Brocade#show logging Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Buffer logging: level ACDMEINW, 38 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warning Static Log Buffer: Dynamic Log Buffer (50 entries): 21d07h02m40s:warning:list 101 denied tcp 209.157.22.191(0)(Ethernet 4/18 0010.5a1f.77ed) -> 198.99.4.69(http), 1 event(s) 19d07h03m30s:warning:list 101 denied tcp 209.157.22.26(0)(Ethernet 4/18 0010.5a1f.77ed) -> 198.99.4.69(http), 1 event(s) 17d06h58m30s:warning:list 101 denied tcp 209.157.22.198(0)(Ethernet 4/18 0010.5a1f.77ed) -> 198.99.4.69(http), 1 event(s)
Syntax: [no] logging on [<udp-port>] The <udp-port> parameter specifies the application port used for the Syslog facility. The default is 514. To re-enable logging, re-enter the logging on command.
Brocade(config)#logging on
This command enables local Syslog logging with the following defaults:
Messages of all severity levels (Emergencies Debugging) are logged. Up to 50 messages are retained in the local Syslog buffer. No Syslog server is specified.
514
Syntax: [no] logging buffered <level> | <num-entries> The <level> parameter can have one of the following values:
The commands in the example above change the log level to notification messages or higher. The software will not log informational or debugging messages. The changed message level also applies to the Syslog servers.
Syntax: logging buffered <num> The default number of messages is 50. For FastIron Layer 2 switches, you can set the Syslog buffer limit from 1 100 entries. For FastIron Layer 3 switches, you can set the Syslog buffer limit from 1 1000 entries.
If you increase the size of the Syslog buffer, the software will clear some of the older locally
buffered Syslog messages.
515
NOTE
You can specify only one facility. If you configure the Brocade device to use two Syslog servers, the device uses the same facility on both servers.
Brocade(config)#logging facility local0
Syntax: logging facility <facility-name> The <facility-name> can be one of the following:
kern kernel messages user random user-level messages mail mail system daemon system daemons auth security or authorization messages syslog messages generated internally by Syslog lpr line printer subsystem news netnews subsystem uucp uucp subsystem sys9 cron/at subsystem sys10 reserved for system use sys11 reserved for system use sys12 reserved for system use sys13 reserved for system use sys14 reserved for system use cron cron/at subsystem local0 reserved for local use local1 reserved for local use local2 reserved for local use local3 reserved for local use local4 reserved for local use local5 reserved for local use local6 reserved for local use local7 reserved for local use
516
This command is applied globally to all interfaces on Layer 2 Switches and Layer 3 Switches. Syntax: [no] Ip show-portname By default, Syslog messages show the interface type, such as ethernet, pos, and so on. For example, you see the following
SYSLOG: <14>0d00h02m18s:ICX6610-48P Router System: Interface ethernet 1/1/5, state up
However, if ip show-portname is configured and a name has been assigned to the port, the port name replaces the interface type as in the example below, where port5_name is the name of the port.
SYSLOG: <14>0d00h02m18s:ICX6610-48P Router System: Interface port5_name 1/1/5, state up
Also, when you display the messages in the Syslog, you see the interface name under the Dynamic Log Buffer section. The actual interface number is appended to the interface name. For example, if the interface name is "lab" and its port number is "2", you see "lab2" displayed as in the example below:
Brocade# show logging Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Buffer logging: level ACDMEINW, 3 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warning Static Log Buffer: Dec 15 19:04:14:A:Fan 1, fan on right connector, failed Dynamic Log Buffer (50 entries): Dec 15 18:46:17:I:Interface ethernet Lab2, state up Dec 15 18:45:15:I:Warm start
517
This feature does not save Syslog messages after a hard reboot. When the Brocade device is
power-cycled, the Syslog messages are cleared.
If logging persistence is enabled and you load a new software image on the device, you must
first clear the log if you want to reload the device. (Refer to Clearing the Syslog messages from the local buffer on page 518.) To configure the device to save the System log messages after a soft reboot, enter the following command.
Brocade(config)#logging persistence
Syntax: [no] logging persistence Enter no logging persistence to disable this feature after it has been enabled.
NOTE
Configuration read error Configuration write error Memory read error Memory write error
The following shows examples of some hardware errors in the show logging display output.
518
Brocade>#show logging Syslog logging: enabled (0 messages dropped, 0 flushes, 0 overruns) Buffer logging: level ACDMEINW, 3 messages logged level code: A=alert C=critical D=debugging M=emergency E=error I=informational N=notification W=warning Dynamic Log Buffer (50 lines): 0d00h00m27s:I:System: Interface ethernet mgmt1, state up 0d00h00m26s:N:powered On switch Fabric 0d00h00m17s:N:powered On switch Fabric 0d00h00m08s:I:System: Warm start 0d00h00m08s:I:SNMP: read-only community added by from session 0d00h00m02s:A:System: Module in slot 5 encountered unrecoverable PCI bridge validation failure. Module will be deleted. 0d00h00m02s:A:System: Module in slot 5 encountered unrecoverable PCI config read failure. Module will be deleted. 0d00h00m02s:A:System: Module in slot 5 encountered PCI config read error: Bus 10, Dev 3, Reg Offset 0. 0d00h00m00s:W:System: Fan speed changed automatically to 1
Syslog messages (alerts) for hardware errors are listed in Table 1 on page 1987.
519
520
Chapter
Network Monitoring
15
Table 93 lists the individual FastIron switches and the network monitoring features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 93
Feature
FWS
FCX
ICX 6610
Traffic counters for outbound traffic Egress queue counters Remote monitoring (RMON)
Specifying the maximum number of Yes entries allowed in the RMON Control Table sFlow version 2 sFlow version 5 (default) sFlow support for IPv6 packets Uplink utilization lists Yes Yes Yes Yes
521
Brocade#show version ========================================================================== Active Management CPU [Slot-9]: SW: Version 04.3.00b17T3e3 Copyright (c) 1996-2008 Brocade Communications, Inc., Inc. Compiled on Sep 25 2008 at 04:09:20 labeled as SXR04300b17 (4031365 bytes) from Secondary sxr04300b17.bin BootROM: Version 04.0.00T3e5 (FEv2) HW: ANR-Chassis FastIron SX 1600-PREM (PROM-TYPE SX-FIL3U) Serial #: TE35069141 ========================================================================== SL 3: SX-FI424C 24-port Gig Copper Serial #: CY13073008 P-ASIC 4: type 00D1, rev D2 subrev 00 P-ASIC 5: type 00D1, rev D2 subrev 00 ========================================================================== SL 9: SX-FI8GMR4 8-port Management Serial #: CH37080003 P-ASIC 16: type 00D1, rev D2 subrev 00 ========================================================================== SL 14: SX-FI42XGW 2-port 10G LAN/WAN Serial #: Invalid P-ASIC 26: type 01D1, rev 00 subrev 00 P-ASIC 27: type 01D1, rev 00 subrev 00 ========================================================================== Active Management Module: 660 MHz Power PC processor 8541 (version 32/0020) 66 MHz bus 512 KB boot flash memory 16384 KB code flash memory 512 MB DRAM The system uptime is 2 minutes 13 seconds The system : started=warm start reloaded=by "reload" *** NOT FOR PRODUCTION *** *** AUTO SHUTDOWN IS OFF. PLEASE ACTIVATE WITH auto-shutdown ***
The following hardware details are listed in the output of the show version command:
Chassis type PROM type (if applicable) Chassis serial number Management and interface module serial numbers and ASIC types
For a description of the software details in the output of the show version command, refer to Software versions installed and running on a device on page 72. Syntax: show version
522
To determine the available show commands for the system or a specific level of the CLI, enter the following command.
Brocade#show ?
Syntax: show <option> You also can enter show at the command prompt, then press the TAB key.
256 4 3 0 1
0 0 0
0 16 0 0.00%
Syntax: show statistics [ethernet [<port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Table 94 lists the statistics displayed in the output of the show statistics command.
523
TABLE 94
Parameter
Port statistics
Description
Port configuration
Port Link State Dupl Speed Trunk Tag Priori MAC Name The port number. The link state. The STP state. The mode (full-duplex or half-duplex). The port speed (10M, 100M, or 1000M). The trunk group number, if the port is a member of a trunk group. Whether the port is a tagged member of a VLAN. The QoS forwarding priority of the port (level0 level7). The MAC address of the port. The name of the port, if you assigned a name.
Statistics
InOctets OutOctets InPkts OutPkts InBroadcastPkts OutBroadcastPkts InMulticastPkts OutMulticastPkts InUnicastPkts OutUnicastPkts InBadPkts The total number of good octets and bad octets received. The total number of good octets and bad octets sent. The total number of packets received. The count includes rejected and local packets that are not sent to the switching core for transmission. The total number of good packets sent. The count includes unicast, multicast, and broadcast packets. The total number of good broadcast packets received. The total number of good broadcast packets sent. The total number of good multicast packets received. The total number of good multicast packets sent. The total number of good unicast packets received. The total number of good unicast packets sent.
The total number of packets received for which one of the following is true: The CRC was invalid. The packet was oversized. Jabbers: The packets were longer than 1518 octets and had a bad FCS. Fragments: The packets were less than 64 octets long and had a bad FCS. The packet was undersized (short). The total number of packets received for which both of the following was true: The length was less than 64 bytes. The CRC was invalid.
InFragments
InDiscards OutErrors
The total number of packets that were received and then dropped due to a lack of receive buffers. The total number of packets with internal transmit errors such as TX underruns.
524
TABLE 94
Parameter
CRC
The total number of packets received in which a Collision event was detected. The total number of packets received that had Alignment errors or phy errors. The total number of packets received in which a Collision event was detected, but for which a receive error (Rx Error) event was not detected. The total number of packets for which all of the following was true: The data length was longer than the maximum allowable frame size. No Rx Error was detected. NOTE: Packets are counted for this statistic regardless of whether the CRC is valid or invalid.
InShortPkts
The total number of packets received for which all of the following was true: The data length was less than 64 bytes. No Rx Error was detected. No Collision or Late Collision was detected.
NOTE: Packets are counted for this statistic regardless of whether the CRC is valid or invalid. InJabber
The total number of packets received for which all of the following was true: The data length was longer than the maximum allowable frame size. No Rx Error was detected. The CRC was invalid.
The total number of flow control packets received. The total number of flow control packets transmitted. The number of bits received per second. The number of bits sent per second. The number of packets received per second. The number of packets sent per second. The percentage of the port bandwidth used by received traffic. The percentage of the port bandwidth used by sent traffic.
525
Clearing statistics
You can clear statistics for many parameters using the clear command. To determine the available clear commands for the system, enter the clear command at the Privileged EXEC level of the CLI.
Brocade#clear ?
Syntax: clear <option> You also can enter clear at the command prompt, then press the TAB key.
broadcast packets multicast packets unicast packets dropped packets due to congestion and egress filtering
Depending on the parameters specified with the traffic counter configuration, traffic counters record the number of outbound packets from any combination of the following sources:
a specific port or all ports in a specific port region a specific VLAN or all VLANs a specific 802.1p priority queue or all priority queues
This feature is supported on FastIron X Series devices only. This feature is supported in the Layer 2, base Layer 3, and full Layer 3 codes. This feature applies to physical ports only, including 10 Gbps Ethernet ports and trunk ports. It
does not apply to virtual interfaces.
Once the enhanced traffic counters are read using the show transmit-counter values
command, the counters are cleared (reset to zero).
For each port region, you can enable a maximum of two traffic counters, regardless of whether
traffic counters are enabled on individual ports or on all ports in the port region.
Traffic counters increase for bridged filtered outbound traffic when any of the following
conditions occur:
The port is disabled or the link is down. The port or port region does not belong to the VLAN specified in the transmit counter
configuration.
A Layer 2 protocol (e.g., spanning tree) has the port in a Blocked state. The source port needs to be suppressed for multi-target packets. The priority queue specified in the traffic counter is not allowed for some other reason.
526
To configure traffic counters for outbound traffic on a specific port, enter a command such as the following.
Brocade(config)#transmit-counter 4 port 18 only vlan 1 prio 7 enable
The above command creates and enables traffic counter 4 on port 18. The device will count the number of packets sent out on port 18 that are in VLAN 1 and have a priority queue of 7.
Example
To configure traffic counters for outbound traffic in a specific port region, enter a command such as the following.
Brocade(config)#transmit-counter 1 port 1 region vlan all prio all enable
The above command creates and enables traffic counter 1 on all ports that are in the same port region as port 1. The device will count the number of packets transmitted in this port region that belong to any VLAN and have any assigned priority queue. Syntax: [no] transmit-counter <counter-ID> port [<slotnum>/]<port-num> only | region vlan <vlan-ID> | all priority <priority-queue> | all enable Enter the no form of the command to remove the outbound traffic counter. The <counter-ID> parameter identifies the traffic counter. You can configure up to 64 traffic counters. Enter a number from 1 64. The <slotnum> parameter is required on chassis devices. The <port-num> parameter is the port number to which enhanced traffic counters will apply. Enter the port number followed by only to apply the enhanced traffic counter to a specific port, or enter the port number followed by region to apply the enhanced traffic counter to all of the ports in the port region. The <vlan-ID> parameter identifies the VLAN ID for which outbound traffic will be counted. Enter a number from 0 4095 or enter all to indicate all VLANs. The <priority-queue> parameter identifies the 802.1p priority queue for which traffic will be counted. Enter a number from 0 7 or enter all to indicate all priority queues.
527
NOTE
Syntax: show transmit-counter values <number> where <number> identifies a valid enhanced traffic counter and is a value from 1 64.
TABLE 95
This line...
Transmitted frames
Known Unicast Multicast & Unknown Unicast Broadcast The number of known unicast packets transmitted. The number of multicast and unknown unicast packets transmitted. The number of broadcast packets transmitted.
Dropped Frames
528
TABLE 95
This line...
Congestion Drops
529
NOTE
These counters do not include traffic on management ports or for a stack member unit that is down. The egress queue counters display at the end of the show interface command output as shown in the following example.
Brocade#show interface e 1/1/1 GigabitEthernet1/1/1 is up, line protocol is up Hardware is GigabitEthernet, address is 0024.3877.8080 (bia 0024.3877.8080) Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual none Member of L2 VLAN ID 52, port is untagged, port state is FORWARDING BPDU guard is Disabled, ROOT protect is Disabled Link Error Dampening is Disabled STP configured to ON, priority is level0, mac-learning is enabled Flow Control is config enabled, oper enabled, negotiation disabled mirror disabled, monitor disabled Not member of any active trunks Not member of any configured trunks No port name Inter-Packet Gap (IPG) is 96 bit times IP MTU 1500 bytes 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 256 bits/sec, 0 packets/sec, 0.00% utilization 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 215704 packets output, 13805066 bytes, 0 underruns Transmitted 0 broadcasts, 215704 multicasts, 0 unicasts 0 output errors, 0 collisions Relay Agent Information option: Disabled Egress queues: Queue counters 0 1 2 3 4 5 6 7
Dropped Packets 0 0 0 0 0 0 0 0
Syntax: show interface [ethernet <port>] Specify the <port> variable in the format stack-unit/slotnum/portnum. Table 96 defines the egress queue statistics displayed in the output.
530
RMON support
TABLE 96
Parameter
RMON support
The Brocade RMON agent supports the following groups. The group numbers come from the RMON specification (RFC 1757):
Statistics (RMON Group 1) History (RMON Group 2) Alarms (RMON Group 3) Events (RMON Group 9)
The CLI allows you to make configuration changes to the control data for these groups, but you need a separate RMON application to view and display the data graphically.
You must save the change to the startup-config file and reload or reboot. The change does not take effect until you reload or reboot. Syntax: system-max rmon-entries <value>
NOTE
531
RMON support
1536 32768 for FSX 800 and FSX 1600 devices 128 32768 for FESX devices
0 0 0 0 0 0 0 0
Syntax: show rmon statistics [ethernet <port>] Though 48GC modules receive oversized packets and jabbers, they do not support count information for oversized packets and jabbers and the output of the show rmon statisitics command reports 0 for both of these counters. The <port> parameter specifies the port number. You can use the physical port number or the SNMP port number. The physical port number is based on the product. If you specify a physical port, specify the <port> variable in one of the following formats:
NOTE
FCX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
The SNMP numbers of the ports start at 1 and increase sequentially. For example, if you are using a Chassis device and slot 1 contains an 8-port module, the SNMP number of the first port in slot 2 is 9. The physical port number of the same port is 2/1. This command shows the following information.
532
RMON support
TABLE 97
Parameter
Octets
Drop events
Undersize pkts
Fragments
Oversize packets
Jabbers
The total number of packets received that were longer than 1518 octets and had either a bad FCS with an integral number of octets (FCS Error) or a bad FCS with a non-integral number of octets (Alignment Error). NOTE: This definition of jabber is different from the definition in IEEE-802.3 section 8.2.1.5 (10BASE5) and section 10.3.1.4 (10BASE2). These documents define jabber as the condition where any packet exceeds 20 ms. The allowed range to detect jabber is between 20 ms and 150 ms. This number does not include framing bits but does include FCS octets. NOTE: 48GC modules do not support count information on jabbers and report 0.
The best estimate of the total number of collisions on this Ethernet segment. The total number of packets received that were 64 octets long. This number includes bad packets. This number does not include framing bits but does include FCS octets.
533
RMON support
TABLE 97
Parameter
Syntax: rmon history <entry-number> interface <port> buckets <number> interval <sampling-interval> owner <text-string> You can modify the sampling interval and the bucket (number of entries saved before overwrite) using the CLI. In the above example, owner refers to the RMON station that will request the information.
NOTE
To review the control data entry for each port or interface, enter the show rmon history command.
534
sFlow
An alarm event is reported each time that a threshold is exceeded. The alarm entry also indicates the action (event) to be taken if the threshold be exceeded. A sample CLI alarm entry and its syntax is shown below.
Brocade(config)#rmon alarm 1 ifInOctets.6 10 delta rising-threshold 100 1 falling threshold 50 1 owner nyc02
Syntax: rmon alarm <entry-number> <MIB-object.interface-num> <sampling-time> <sample-type> <threshold-type> <threshold-value> <event-number> <threshold-type> <threshold-value> <event-number> owner <text-string>
Syntax: rmon event <event-entry> description <text-string> log | trap | log-and-trap owner <rmon-station>
sFlow
FastIron devices support sFlow version 5 by default. sFlow is a standards-based protocol that allows network traffic to be sampled at a user-defined rate for the purpose of monitoring traffic flow patterns and identifying packet transfer rates on user-specified interfaces. When sFlow is enabled on a Layer 2 or Layer 3 switch, the system performs the following sFlow-related tasks:
NOTE
Samples traffic flows by copying packet header information Identifies ingress and egress interfaces for the sampled flows Combines sFlow samples into UDP packets and forwards them to the sFlow collectors for
analysis
Forwards byte and packet count data, or counter samples, to sFlow collectors
sFlow is described in RFC 3176, InMon Corporation's sFlow: A Method for Monitoring Traffic in Switched and Routed Networks.
535
sFlow
On FWS and FCX Series devices, you can use QoS queue 1 for priority traffic, even when sFlow is enabled on the port. This differs from FastIron X Series devices, which support seven priorities instead of eight when sFlow is enabled. In this case, QoS queue 1 is reserved for sFlow and is not used by other packets. Any non-sFlow packets assigned to QoS queue 1 will be directed to QoS queue 0.
sFlow version 5
sFlow version 5 enhances and modifies the format of the data sent to the sFlow collector. sFlow version 5 introduces several new sFlow features and also defines a new datagram syntax used by the sFlow agent to report flow samples and interface counters to the sFlow collector. sFlow version 5 adds support for the following:
sFlow version 5 datagrams Sub-agent support Configurable sFlow export packet size Support for the new data field and sample type length in flow samples Configurable interval for exporting Brocade-specific data structure
sFlow version 5 is backward-compatible with sFlow version 2. By default, the sFlow agent exports sFlow version 5 flow samples by default, but you can configure the device to export the data in sFlow version 2 format. You can switch between sFlow version 2 and sFlow version 5 formats. The sFlow collector automatically parses each incoming sample and decodes it based on the version number. The configuration procedures for sFlow version 5 are the same as for sFlow version 2, except where explicitly noted. Configuration procedures for sFlow are in the section Configuring and enabling sFlow on page 539. The features and CLI commands that are specific to sFlow version 5 are described in the section sFlow version 5 feature configuration on page 546.
IP address of the next hop router Outgoing VLAN ID Source IP address prefix length Destination IP address prefix length
Note that in IPv6 devices, the prefix lengths of the source and destination IP addresses are collected if BGP is configured and the route lookup is completed. In IPv4 devices, this information is collected only if BGP is configured on the devices.
536
sFlow
The autonomous system (AS) number for the router The source IP AS of the route The source peer AS for the route The AS patch to the destination
AS communities and local preferences are not included in the sampled packets. To obtain extended gateway information, use struct extended_gateway as described in RFC 3176.
NOTE
537
sFlow
On a Layer 2 Switch, agent_address is the Layer 2 Switch management IP address. You must
configure the management IP address in order to export sFlow data from the device. If the switch has both an IPv4 and IPv6 address, the agent_address is the IPv4 address. If the switch has an IPv6 address only, the agent_address is the global IPv6 address.
On a Layer 3 Switch with IPv6 interfaces only, sFlow looks for an IPv6 address in the following
order, and uses the first address found:
The first IPv6 address on the lowest-numbered loopback interface The first IPv6 address on the lowest-numbered VE interface The first IPv6 address on any interface On a Layer 3 Switch with both IPv4 and IPv6 interfaces, or with IPv4 interfaces only, sFlow
looks for an IP address in the following order, and uses the first address found:
The IPv4 router ID configured by the ip router-id command The first IPv4 address on the lowest-numbered loopback interface The first IPv4 address on the lowest-numbered virtual interface The first IPv4 address on any interface
NOTE
The device uses the router ID only if the device also has an IP interface with the same address. Router ID is not supported on IPv6 devices.
If an IP address is not already configured when you enable sFlow, the feature uses the source address 0.0.0.0. To display the agent_address, enable sFlow, then enter the show sflow command. Refer to Enabling sFlow forwarding on page 545 and Displaying sFlow information on page 549.
NOTE
NOTE
In sFlow version 5, you can set an arbitrary IPv4 or IPv6 address as the sFlow agent IP address. Refer to Specifying the sFlow agent IP address on page 547.
538
sFlow
FastIron X Series devices support port monitoring and sFlow together on the same device. The
caveat is that these features cannot be configured together within the same port region on non-third generation modules. The following third-generation SX modules support sFlow and mirroring on the same port:
NOTE
Optional If your device supports sFlow version 5, change the version used for exporting sFlow
data
Specify collector information. The collector is the external device to which you are exporting the
sFlow data. You can specify up to four collectors.
Optional Change the polling interval Optional Change the sampling rate Optional Change the sFlow source port Enable sFlow globally Enable sFlow forwarding on individual interfaces Enable sFlow forwarding on individual trunk ports If your device supports sFlow version 5, configure sFlow version 5 features
If you change the router ID or other IP address value that sFlow uses for its agent_address, you need to disable and then re-enable sFlow to cause the feature to use the new source address.
NOTE
This command specifies a collector with IPv4 address 10.10.10.1, listening for sFlow data on UDP port 6343.
539
sFlow
Syntax: [no] sflow destination <ip-addr> [<dest-udp-port>] The <ip-addr> parameter specifies the IP address of the collector. The <dest-udp-port> parameter specifies the UDP port on which the sFlow collector will be listening for exported sFlow data. The default port number is 6343. The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies the device that sent the data. Refer to sFlow and source address on page 537.
540
sFlow
Specifying an sFlow collector on IPv6 devices To specify an sFlow collector on an IPv6 device, enter a command such as the following.
Brocade(config)#sflow destination ipv6 2003:0:0::0b:02a
This command specifies a collector with IPv6 address 2003:0::0b:02a, listening for sFlow data on UDP port 6343. Syntax: [no] sflow destination ipv6 <ip-addr> [<dest-udp-port>] The <ip-addr> parameter specifies the IP address of the collector. The <dest-udp-port> parameter specifies the UDP port on which the sFlow collector will be listening for exported sFlow data. The default port number is 6343. If the IPv6 address you specify is a link-local address on a Layer 3 switch, you must also specify the outgoing-interface ethernet <port-num> or the ve <port-num>. This identifies the outgoing interface through which the sampled packets will be sent. The sampled sFlow data sent to the collectors includes an agent_address field. This field identifies the device that sent the data. Refer to sFlow and source address on page 537.
Syntax: [no] sflow polling-interval <secs> The <secs> parameter specifies the interval and can be from 1 to any higher value. The default is 20 seconds. If you specify 0, counter data sampling is disabled.
541
sFlow
Configuration considerations The sampling rate is a fraction in the form 1/N, meaning that, on average, one out of every N packets will be sampled. The sflow sample command at the global level or port level specifies N, the denominator of the fraction. Thus a higher number for the denominator means a lower sampling rate since fewer packets are sampled. Likewise, a lower number for the denominator means a higher sampling rate because more packets are sampled. For example, if you change the denominator from 512 to 128, the sampling rate increases because four times as many packets will be sampled. Brocade recommends that you do not change the denominator to a value lower than the default. Sampling requires CPU resources. Using a low denominator for the sampling rate can cause high CPU utilization. Configured rate and actual rate When you enter a sampling rate value, this value is the configured rate as well as the actual sampling rate. Change to global rate If you change the global sampling rate, the change is applied to all sFlow-enabled ports except those ports on which you have already explicitly set the sampling rate. For example, suppose that sFlow is enabled on ports 1/1, 1/2, and 5/1. If you configure the sampling rate on port 1/1 but leave the other two ports using the default rate, then a change to the global sampling rate applies to ports 1/2 and 5/1 but not port 1/1. sFlow assumes that you want to continue using the sampling rate you explicitly configured on an individual port even if you globally change the sampling rate for the other ports. Module rate While different ports on a module may be configured to have different sampling rates, the hardware for the module will be programmed to take samples at a single rate (the module sampling rate). The module sampling rate will be the highest sampling rate (i.e. lowest number) configured for any of the ports on the module. When ports on a given module are configured with different sampling rates, the CPU discards some of the samples supplied by the hardware for ports with configured sampling rates which are lower than the module sampling rate. This is referred to as subsampling, and the ratio between the port sampling rate and the module sampling rate is known as the subsampling factor. For example, if the module in slot 4 has sFlow enabled on ports 4/2 and 4/8, and port 4/2 is using the default sampling rate of 512, and port 4/8 is configured explicitly for a rate of 2048, then the module sampling rate will be 512 because this is this highest port sampling rate (lowest number). The subsampling factor for port 4/2 will be 1, meaning that every sample taken by the hardware will be exported, while the subsampling factor for port 4/8 will be 4, meaning that one out of every four samples taken by the hardware will be exported. Whether a port's sampling rate is configured explicitly, or whether it uses the global default setting, has no effect on the calculations. You do not need to perform any of these calculations to change a sampling rate. For simplicity, the syntax information in this section lists the valid sampling rates. You can display the rates you entered for the default sampling rate, module rates, and all sFlow-enabled ports by entering the show sflow command. Refer to Displaying sFlow information on page 549. Sampling rate for new ports
NOTE
542
sFlow
When you enable sFlow on a port, the port's sampling rate is set to the global default sampling rate. This also applies to ports on which you disable and then re-enable sFlow. The port does not retain the sampling rate it had when you disabled sFlow on the port, even if you had explicitly set the sampling rate on the port. Changing the default sampling rate To change the default (global) sampling rate, enter a command such as the following at the global CONFIG level of the CLI.
Brocade(config)#sflow sample 2048
Syntax: [no] sflow sample <num> The <num> parameter specifies the average number of packets from which each sample will be taken. The software rounds the value you enter to the next higher odd power of 2. This value becomes the actual default sampling rate and is one of the following:
2 8 32 128 512 2048 4096 8192 32768 131072 524288 2097152 8388608 33554432 134217728 536870912 2147483648
For example, if the configured sampling rate is 1000, then the actual rate is 2048 and 1 in 2048 packets are sampled by the hardware. Changing the sampling rate of a module You cannot change a module sampling rate directly. You can change a module sampling rate only by changing the sampling rate of a port on that module. Changing the sampling rate on a port You can configure an individual port to use a different sampling rate than the global default sampling rate. This is useful in cases where ports have different bandwidths. For example, if you are using sFlow on 10/100 ports and Gbps Ethernet ports, you might want to configure the Gbps ports to use a higher sampling rate (and thus gather fewer samples per number of packets) than the 10/100 ports.
543
sFlow
To change the sampling rate on an individual port, enter a command such as the following at the configuration level for the port.
Brocade(config-if-1/1)#sflow sample 8192
Syntax: [no] sflow sample <num> The <num> parameter specifies the average number of packets from which each sample will be taken. The software rounds the value you enter up to the next odd power of 2. The actual sampling rate becomes one of the values listed in Changing the default sampling rate.
NOTE
Configuring a sampling rate on a port that is the primary port of a trunk applies that same sampling rate to all ports in the trunk. Changing the sampling rate for a trunk port You can configure an individual static trunk port to use a different sampling rate than the global default sampling rate. This feature is also supported on LACP trunk ports. This feature is useful in cases where ports have different bandwidths. For example, if you are using sFlow on 10/100 ports and Gbps Ethernet ports, you might want to configure the Gbps ports to use a higher sampling rate (and thus gather fewer samples per number of packets) than the 10/100 ports. To configure a static trunk port to use a different sampling rate than the global default sampling rate, enter commands such as the following:
Brocade(config)#trunk e 4/1 to 4/8 Brocade(config-trunk-4/1-4/8)sflow sample 8192
Syntax: [no] sflow sample <num> The <num> parameter specifies the average number of packets from which each sample will be taken. The software rounds the value you enter up to the next odd power of 2. The actual sampling rate becomes one of the values listed in Changing the default sampling rate. Configuring a sampling rate on only the port that is the primary port of a trunk automatically applies that same sampling rate to all ports in the trunk.
NOTE
544
sFlow
Syntax: [no] sflow source-port <num> The <num> parameter specifies the sFlow source port.
Globally enable the sFlow feature Enable sFlow forwarding on individual interfaces Enable sFlow forwarding on individual trunk ports
Before you enable sFlow, make sure the device has an IP address that sFlow can use as its source address. Refer to sFlow and source address on page 537 for the source address requirements.
NOTE
When you enable sFlow forwarding on an 802.1X-enabled interface, the samples taken from the interface include the username used to obtain access to either or both the inbound and outbound ports, if that information is available. For information about 802.1X, refer to Chapter 43, 802.1X Port Security.
NOTE
You can now enable sFlow forwarding on individual ports as described in the next two sections. Syntax: [no] sflow enable Enabling sFlow forwarding on individual interfaces To enable sFlow forwarding enter commands such as the following.
545
sFlow
These commands globally enable sFlow, then enable sFlow forwarding on Ethernet ports 1/1 1/8. You must use both the sflow enable and sflow forwarding commands to enable the feature. Syntax: [no] sflow enable Syntax: [no] sflow forwarding Enabling sFlow forwarding on individual trunk ports This feature is supported on individual ports of a static trunk group. It is also supported on LACP trunk ports.
NOTE
When you enable sFlow forwarding on a trunk port, only the primary port of the trunk group forwards sFlow samples. To enable sFlow forwarding on a trunk port, enter commands such as the following.
Brocade(config)#sflow enable Brocade(config)#trunk e 4/1 to 4/8 Brocade(config-trunk-4/1-4/8)#config-trunk-ind Brocade(config-trunk-4/1-4/8)#sflow forwarding e 4/2
These commands globally enable sFlow, then enable sFlow forwarding on trunk port e 4/2. You must use both the sflow enable and sflow forwarding commands to enable the feature. Syntax: [no] sflow enable Syntax: [no] sflow forwarding
Specify the sFlow version (version 2 or version 5) Specify the sFlow agent IP address Specify the maximum flow sample size Export CPU and memory usage Information to the sFlow collector Specify the polling interval for exporting CPU and memory usage information to the sFlow collector
546
sFlow
Syntax: [no] sflow agent-ip <ipv4-addr> The <ipv4-addr> specifies the address of the device that sent the data. To specify an IPv6 address as the sFlow agent IP address, enter a command such as the following.
Brocade(config)#sflow agent-ip FE80::240:D0FF:FE48:4672
Syntax: [no] sflow agent-ip <ipv6-addr> The <ipv6-addr> specifies the address of the device that sent the data.
NOTE
When the sFlow version number is changed, the system will reset sFlow counters and flow sample sequence numbers. To specify the sFlow version used for exporting sFlow data, enter the following command.
Brocade(config)#sflow version 2
547
sFlow
Syntax: [no] sflow max-packet-size <size> For both sFlow version 2 and version 5, the default maximum flow sample size is 256 bytes. For sFlow version 5, the maximum flow sample size is 1300 bytes.
Syntax: [no] sflow export system-info By default, CPU usage information and memory usage information are not exported.
Specifying the polling interval for exporting CPU and memory usage information to the sFlow collector
The polling interval defines how often sFlow data for a port is sent to the sFlow collector. With sFlow version 5, you can optionally set the polling interval used for exporting CPU and memory usage information. For example, to set the polling interval for exporting CPU and memory usage information to 30 seconds, enter the following command.
Brocade(config)# sflow export system-info 30
Syntax: [no] sflow export system-info <seconds> You can specify a polling interval from 5 seconds to 1,800 seconds (30 minutes). The default polling interval for exporting CPU and memory usage information is 300 seconds (5 minutes).
Enable the sFlow agent to export CPU-directed data Specify the sampling rate for exported CPU-directed data
548
sFlow
Enabling the sFlow agent to export CPU-directed data To enable the sFlow agent on a Brocade device to export data destined to the CPU to the sFlow collector, enter the following command.
Brocade(config)# sflow export cpu-traffic
Syntax: [no] sflow export cpu-traffic By default, this feature is disabled. The sFlow agent does not send data destined to the CPU to the sFlow collector. Specifying the sampling rate for exported CPU-directed data The sampling rate is the average ratio of the number of packets incoming on an sFlow-enabled port, to the number of flow samples taken from those packets. You can optionally set the sampling rate for CPU-directed data exported to the sFlow collector. For example, to set this sampling rate to 2048, enter the following command.
Brocade(config)# sflow export cpu-traffic 2048
Syntax: [no] sflow export cpu-traffic <rate> The default sampling rate depends on the Brocade device being configured. Refer to Changing the sampling rate on page 541 for the default sampling rate for each kind of Brocade device.
549
sFlow
Brocade#show sflow sFlow version:5 sFlow services are enabled. sFlow agent IP address: 123.123.123.1 4 collector destinations configured: Collector IP 192.168.4.204, UDP 6343 Collector IP 192.168.4.200, UDP 6333 Collector IP 192.168.4.202, UDP 6355 Collector IP 192.168.4.203, UDP 6565 Configured UDP source port: 33333 Polling interval is 0 seconds. Configured default sampling rate: 1 per 512 packets Actual default sampling rate: 1 per 512 packets The maximum sFlow sample size:512 exporting cpu-traffic is enabled exporting cpu-traffic sample rate:16 exporting system-info is enabled exporting system-info polling interval:20 seconds 10552 UDP packets exported 24127 sFlow samples collected. sFlow ports: ethe 1/2 to 1/12 ethe 1/15 ethe 1/25 to 1/26 ethe 4/1 ethe 5/10 to 5/20 ethe 8/1 ethe 8/4 Module Sampling Rates --------------------Slot 1 configured rate=512, actual rate=512 Slot 3 configured rate=0, actual rate=0 Slot 4 configured rate=10000, actual rate=32768 Slot 5 configured rate=512, actual rate=512 Slot 7 configured rate=0, actual rate=0 Slot 8 configured rate=512, actual rate=512 Port Sampling Rates ------------------Port 8/4, configured rate=512, actual rate=512, Subsampling factor=1 Port 8/1, configured rate=512, actual rate=512, Subsampling factor=1 Port 5/20, configured rate=3000, actual rate=8192, Subsampling factor=16 Port 5/19, configured rate=512, actual rate=512, Subsampling factor=1 Port 5/18, configured rate=512, actual rate=512, Subsampling factor=1 Port 5/17, configured rate=1500, actual rate=2048, Subsampling factor=4 Port 5/16, configured rate=1500, actual rate=2048, Subsampling factor=4 Port 5/15, configured rate=1500, actual rate=2048, Subsampling factor=4 Port 5/14, configured rate=1500, actual rate=2048, Subsampling factor=4 Port 5/13, configured rate=512, actual rate=512, Subsampling factor=1 Port 5/12, configured rate=512, actual rate=512, Subsampling factor=1 Port 5/11, configured rate=512, actual rate=512, Subsampling factor=1 Port 5/10, configured rate=512, actual rate=512, Subsampling factor=1 Port 4/1, configured rate=10000, actual rate=32768, Subsampling factor=1 Port 1/26, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/25, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/15, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/12, configured rate=512, actual rate=512, Subsampling factor=1 ...continued on next page...
550
sFlow
...continued from previous page... Port 1/11, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/10, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/9, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/8, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/7, configured rate=1000, actual rate=2048, Subsampling factor=4 Port 1/6, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/5, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/4, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/3, configured rate=512, actual rate=512, Subsampling factor=1 Port 1/2, configured rate=1000, actual rate=2048, Subsampling factor=4
Syntax: show sflow The show sflow command displays the following information.
TABLE 98
Parameter
sFlow version
sFlow information
Definition
The version of sFlow enabled on the device, which can be one of the following: 2 5
sFlow services
The feature state, which can be one of the following: disabled enabled
The IP address that sFlow is using in the agent_address field of packets sent to the collectors. Refer to sFlow and source address on page 537. The collector information. The following information is displayed for each collector: IP address UDP port If more than one collector is configured, the line above the collectors indicates how many have been configured. The UDP source port used to send data to the collector. The port counter polling interval. The configured global sampling rate. If you changed the global sampling rate, the value you entered is shown here. The actual rate calculated by the software based on the value you entered is listed on the next line, Actual default sampling rate. The actual default sampling rate. The maximum size of a flow sample sent to the sFlow collector. Indicates whether or not the sFlow agent is configured to export data destined to the CPU (e.g., Telnet sessions) to the sFlow collector: enabled disabled The sampling rate for CPU-directed data, which is the average ratio of the number of incoming packets on an sFlow-enabled port, to the number of flow samples taken from those packets.
Configured UDP source port Polling interval Configured default sampling rate
Actual default sampling rate The maximum sFlow sample size exporting cpu-traffic
551
TABLE 98
Parameter
exporting system-info
exporting system-info polling interval UDP packets exported sFlow samples collected sFlow ports Module Sampling Rates Port Sampling Rates
Syntax: clear statistics This command clears the values in the following fields of the show sflow display:
NOTE
552
Utilization list number (1, 2, 3, or 4) One or more uplink ports One or more downlink ports
Each list displays the uplink port and the percentage of that port bandwidth that was utilized by the downlink ports over the most recent 30-second interval. You can configure up to four bandwidth utilization lists.
Syntax: [no] relative-utilization <num> uplink ethernet <port> [to <port> | <port>] downlink ethernet <port> [to <port> | [<port>] The <num> parameter specifies the list number. You can configure up to four lists. Specify a number from 1 4. The uplink ethernet parameters and the port numbers you specify after the parameters indicate the uplink ports. The downlink ethernet parameters and the port numbers you specify after the parameters indicate the downlink ports. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
553
In this example, ports 1/2 and 1/3 are sending traffic to port 1/1. Port 1/2 and port 1/3 are isolated (not shared by multiple clients) and typically do not exchange traffic with other ports except for the uplink port, 1/1. Syntax: show relative-utilization <num> The <num> parameter specifies the list number. The example above represents a pure configuration in which traffic is exchanged only by ports 1/2 and 1/1, and by ports 1/3 and 1/1. For this reason, the percentages for the two downlink ports equal 100%. In some cases, the percentages do not always equal 100%. This is true in cases where the ports exchange some traffic with other ports in the system or when the downlink ports are configured together in a port-based VLAN. In the following example, ports 1/2 and 1/3 are in the same port-based VLAN.
Brocade#show uplink: ethe 30-sec total packet count 1/ 2:100 relative-utilization 1 1 uplink packet count = 3011 ratio (%) 1/ 3:100
NOTE
Here is another example showing different data for the same link utilization list. In this example, port 1/2 is connected to a hub and is sending traffic to port 1/1. Port 1/3 is unconnected.
Brocade#show uplink: ethe 30-sec total packet count 1 /2:100 relative-utilization 1 1 uplink packet count = 2996 ratio (%) 1/ 3:---
554
Chapter
16
Table 99 lists the individual Brocade FastIron switches and the basic Layer 2 features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 99
Feature
FWS
FCX
ICX 6610
16,000 MAC addresses per switch 32,000 MAC addresses per switch
Yes No
Yes Yes
Yes Yes
MAC learning rate control Multi-port static MAC address Static MAC entries with option to set traffic priority Flow-based MAC address learning
Yes Yes Yes Yes Enabled by default on FCX devices. There is no CLI command to enable or disable it. Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Port-based VLANs Address locking (for MAC addresses) MAC address filter override of 802.1X
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes No ICX 6450 only Yes
MAC address filtering (filtering on Yes source and destination MAC addresses) MAC address move notification Ability to disable MAC learning Dynamic buffer allocation for QoS priorities Remote Fault Notificatoin (RFN) for 1G fiber Link Fault Signaling (LFS) for 10G Layer 2 jumbo frames Yes Yes Yes Yes Yes Yes
555
TABLE 99
Feature
FWS
FCX
ICX 6610
User-configurable buffer profiles Buffer profile for VoIP on FastIron Stackable devices
No Yes
Yes Yes
Yes Yes
The procedures in this chapter describe how to configure basic Layer 2 parameters. Brocade devices are configured at the factory with default parameters that allow you to begin using the basic features of the system immediately. However, many of the advanced features such as VLANs or routing protocols for the device must first be enabled at the system (global) level before they can be configured. If you use the Command Line Interface (CLI) to configure system parameters, you can find these system level parameters at the Global CONFIG level of the CLI. NOTE:
Before assigning or modifying any router parameters, you must assign the IP subnet
(interface) addresses for each port.
For information about configuring IP addresses, DNS resolver, DHCP assist, and other
IP-related parameters, refer to Chapter 26, IP Configuration.
For information about the Syslog buffer and messages, refer to Appendix A, Syslog
messages.
NOTE
Port regions do not apply to trunk group configurations on the FastIron X Series devices. However, port regions do apply to port monitoring and unknown unicast configurations on FastIron X Series devices. FastIron Edge Switch X424 and X424HF:
Ports 1 12 belong to port region 0 Ports 13 24 belong to port region 1 Port 25 belongs to port region 2 Port 26 belongs to port region 3
556
Ports 1 12 belong to port region 0 Ports 13 24 belong to port region 1 Ports 25 36 belong to port region 2 Ports 37 48 belong to port region 3 Port 49 belongs to port region 4 Port 50 belongs to port region 5
For all platforms, a 24-port Gbps module has one port region. In addition, any 10 Gbps ports
on the device also belong to this single port region.
For all platforms, the 48-port Gbps module has two port regions: - Ports 1 - 24 belong to port region 0 - Ports 25 - 48 belong to port region 1 For FCX648 devices with two 10 Gbps XFP ports, and a two 10 Gbps CX4 stacking ports: - The two 10 Gbps XFP ports belong to port region 0 (along with ports 1 -24 ) - The two 10 Gbps CX4 stacking ports belong to port region 1 (along with ports 25 - 48) For FCX648 devices with four 10 Gbps SFP+ ports: - 10 Gbps SFP+ ports 3 and 4 belong to port region 0 (along with ports 1 -24 ) - 10 Gbps SFP+ ports 1 and 2 ports belong to port region 1 (along with ports 25 - 48)
NOTE
Syntax: [no] spanning-tree You can also enable and disable spanning tree on a port-based VLAN and on an individual port basis, and enable advanced STP features. Refer to Chapter 27, Spanning Tree Protocol.
557
Bridge parameters forward delay, maximum age, hello time, and priority Port parameters priority and path cost
For configuration details, refer to Changing STP bridge and port parameters on page 1085.
Unlike standalone devices, each stack member has a different range of MAC addresses. In a stack, the management MAC address is software generated, and is always the MAC
address of the Active Controller first port. This ensures consistency across the stack during resets, assuming that the Active Controller is always the same unit.
This helps avoid the disruption of frequent topology changes in the stack.
For more information about stacking and Brocade stackable devices, see Chapter 7, Brocade Stackable Devices.
NOTE
NOTE
558
Changing the MAC age time and disabling MAC address learning
Changing the MAC age time and disabling MAC address learning
To change the MAC address age timer, enter a command such as the following.
Brocade(config)#mac-age-time 60
Syntax: [no] mac-age-time <secs> <secs> specifies the number of seconds. Possible values differ depending on the version of software running on your device, as follows:
On FastIron WS and Brocade FCX Series devices, learned MAC address entries do not age out
until they are unused for 300 600 seconds. If necessary, you can change the MAC address age timer to 0 or a value from 60 600 (seconds), in 60-second intervals. For example, you can specify 60 or 120, but not 100. If you set the MAC age time to 0, aging is disabled.
On FastIron X Series devices, you can configure 0 or a value from 10 86,400 (seconds), in
10-second intervals. If you set the MAC age time to 0, aging is disabled. NOTE: Usually, the actual MAC age time is from one to two times the configured value. For example, if you set the MAC age timer to 60 seconds, learned MAC entries age out after remaining unused for between 60 120 seconds. However, if all of the following conditions are met, then the MAC entries age out after a longer than expected duration:
The MAC age timer is greater than 630 seconds. The number of MAC entries is over 6000. All MAC entries are learned from the same packet processor. All MAC entries age out at the same time.
Syntax: [no] mac-learn disable Use the no form of the command to allow a physical port to learn MAC addresses.
Entering the mac-learn-disable command on tagged ports disables MAC learning for that port
in all VLANs to which that port is a member. For example, if tagged port 3/1 is a member of VLAN 10, 20, and 30 and you issue the mac-learn-disable command on port 3/1, port 3/1 will not learn MAC addresses, even if it is a member of VLAN 10, 20, and 30.
559
In the output of the show mac-address command, the Type column indicates whether the MAC entry is static or dynamic. A static entry is one you create using the static-mac-address command. A dynamic entry is one that is learned by the software from network traffic. The output of the show mac-address command on FESX and FSX devices include an Index column which indicates the index where the entry exists in the hardware MAC table. The show mac-address command output does not include MAC addresses for management ports, since these ports do not support typical MAC learning and MAC-based forwarding.
NOTE
NOTE
560
FastIron devices support a maximum of 15 multi-port static MAC addresses. Hosts or physical interfaces normally join multicast groups dynamically, but you can also
statically configure a host or an interface to join a multicast group.
Syntax: [no] static-mac-address <mac-addr> ethernet [<slotnum>/]<portnum> ethernet [<slotnum>/]<portnum> ethernet [<slotnum>/]<portnum> . [priority <num>] or Syntax: [no] static-mac-address <mac-addr> ethernet [<slotnum>/]<portnum> to ethernet [<slotnum>]<portnum> [priority <num>] The <slotnum> parameter is required on chassis devices. The <portnum> parameter is a valid port number. The priority <num> is optional and can be a value from 0 7 (0 is lowest priority and 7 is highest priority). The default priority is 0. The location of the static-mac-address command in the CLI depends on whether you configure port-based VLANs on the device. If the device does not have more than one port-based VLAN (VLAN 1, which is the default VLAN that contains all the ports), the static-mac-address command is at the global CONFIG level of the CLI. If the device has more than one port-based VLAN, then the static-mac-address command is not available at the global CONFIG level. In this case, the command is available at the configuration level for each port-based VLAN.
NOTE
561
Syntax: [no] static-mac-address <mac-addr> drop Use the no form of the command to remove the static MAC address drop configuration.
All MAC address entries All MAC address entries for a specified Ethernet port All MAC address entries for a specified VLAN All specified MAC address entry in all VLANs
For example, to remove entries for the MAC address 000d.cd80.00d0 in all VLANs, enter the following command at the Privilege EXEC level of the CLI.
Brocade#clear mac-address 000d.cb80.00d0
Syntax: clear mac-address <mac-address> | ethernet <port-num> | vlan <vlan-num> If you enter clear mac-address without any parameter, the software removes all MAC address entries. Use the <mac-address> parameter to remove a specific MAC address from all VLANs. Specify the MAC address in the following format: HHHH.HHHH.HHHH. Use the ethernet <port-num> parameter to remove all MAC addresses for a specific Ethernet port. Use the vlan <num> parameter to remove all MAC addresses for a specific VLAN.
562
NOTE
563
MAC address is learned on a trunk port, the MAC address is also programmed on all of the packet processors that have ports in the same trunk group. Once the MAC address is programmed in hardware, subsequent packets with this destination MAC are forwarded as known unicast packets and are not copied to the CPU. Flow-based MAC addresses are aged out by the source packet processor according to the MAC age time learned on the local port. Furthermore, when a flow-based MAC address is aged out from the source packet processor, it is also aged out from all other packet processors on which the address is programmed. In the above example, when MAC address X is aged out from PP 1, it is also aged out from PP2. Even when flow-based MAC address learning is enabled, some MAC addresses, including but not limited to control MACs, static MACs, multicast MACs, and MAC addresses resolved through ARP, will continue to be global MAC addresses. These MAC addresses are always programmed in all packet processors in a Layer 2 or Layer 3 switch.
NOTE
NOTE
Global MAC addresses have priority over dynamic flow-based MAC addresses. To ensure that global MAC addresses are in sync across all packet processors, flow-based MAC addresses may be overwritten in one or more packet processors. The MAC addresses will be relearned and reprogrammed using the flow-based method as needed by incoming traffic flows.
Flow-based MAC learning is not supported with the following features: Disabling the automatic learning of MAC addresses (CLI command mac-learn-disable). Globally disabling Layer 2 switching (CLI command route-only) When flow-based MAC learning is enabled, unknown unicast packets are copied to the CPU.
Therefore, flow-based MAC learning should not be enabled if a continuous high rate of unknown unicast packet flooding is expected, as this will cause high CPU utilization.
Unknown unicast flooding can occur for a known destination MAC address, if the system fails
to program that destination MAC address because the hardware MAC table or hash bucket is full. This condition can also lead to high CPU utilization.
A source MAC address is learned only on the ingress (source) packet processor. The MAC
address is added to other packet processors as needed by their incoming traffic flows. During a brief period until the destination MAC address is successfully added to the hardware MAC table, unknown unicast flooding is expected on the VLAN.
When a flow-based MAC address moves, it is deleted from all of the packet processors, then
relearned on each packet processor individually, as needed by incoming traffic flows.
The software MAC address table in the CPU uses a hashing algorithm. Because hash collisions
can occur and may consume software resources, the FastIron may not be able to support up to 32K MAC addresses.
The system can scale up to 32K MAC addresses, however, each packet processor is limited to
a maximum of 16K MAC addresses. This limit still applies, as this is a hardware limitation.
564
This command enables flow-based MAC address learning. All dynamically-learned MAC addresses are flushed from the hardware and software MAC tables and are subsequently learned using flow-based MAC address learning. Syntax: [no] mac-learning-flow-based Use the no form of the command to disable flow-based MAC address learning. When disabled, all dynamically-learned MAC addresses are flushed from the hardware and software MAC tables and are subsequently learned using global MAC address learning.
NOTE
NOTE
You must save the configuration and reload the software to place the system-max mac change into effect. Syntax: system-max mac <max-flow-MACs> The <max-flow-MACs> parameter specifies the maximum number of MAC addresses in the MAC table. For flow-based MACs, the minimum value is 16K and the default value is 32K. Use the command show default values to display the default, maximum, and currently configured values for the MAC address table.
565
Index NA NA
In the above example, since both MAC address entries are flow-based and are located on different packet processors (hardware index), the Index field displays NA (not applicable). Syntax: show mac To display all of the packet processors that have a particular flow-based MAC address, use the show mac-address vlan command.
Brocade#show mac-address vlan 1 0000.0000.0001 Total active entries from all ports = 16 MAC-Address Port Type Index 0000.0000.0001 1/1 Dynamic NA Present in following devices (at hw index) :0 (8196 ) 4 (8196 )
In the above example, the MAC address 0000.0000.0001 is programmed in packet processors 0 and 4, and the hardware index is 8196. Syntax: show mac-address vlan <vlan-num> <mac address>
Syntax: vlan <num> by port Syntax: vlan <num> name <string> The <num> parameter specifies the VLAN ID. The valid range for VLAN IDs starts at 1 on all systems but the upper limit of the range differs depending on the device. In addition, you can change the upper limit on some devices using the system max-vlans... command.
566
The <string> parameter is the VLAN name and can be a string up to 32 characters. You can use blank spaces in the name if you enclose the name in double quotes (for example, Product Marketing.) You can configure up to 4063 port-based VLANs on a device running Layer 2 code or 4061 port-based VLANs on a device running Layer 3 code. Each port-based VLAN can contain either tagged or untagged ports. A port cannot be a member of more than one port-based VLAN unless the port is tagged. On both device types, valid VLAN IDs are 1 4095. You can configure up to the maximum number of VLANs within that ID range. VLAN IDs 4087, 4090, and 4093 are reserved for Brocade internal use only. VLAN 4094 is reserved for use by Single STP. Also, if you are running an earlier release, VLAN IDs 4091 and 4092 may be reserved for Brocade internal use only. If you want to use VLANs 4091 and 4092 as configurable VLANs, you can assign them to different VLAN IDs. For more information, refer to Assigning different VLAN IDs to reserved VLANs 4091 and 4092 on page 765.
NOTE
NOTE
The second command is optional and also creates the VLAN if the VLAN does not already exist. You can enter the first command after you enter the second command if you first exit to the global CONFIG level of the CLI.
NOTE
Tagging does not apply to the default VLAN. When using the CLI, ports are defined as either tagged or untagged at the VLAN level.
Syntax: tagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> [ethernet [<slotnum>/]<portnum>...]] The <slotnum> parameter is required on chassis devices.
567
MAC address filtering applies to all traffic, including management traffic. To exclude
management traffic from being filtered, configure a MAC address filter that explicitly permits all traffic headed to the management MAC (destination) address. The MAC address for management traffic is always the MAC address of port 1.
MAC address filters that have a global deny statement can cause the device to block all
BPDUs. In this case, include exception statements for control protocols in the MAC address filter configuration. The following configuration notes apply to Brocade Layer 3 devices:
MAC address filters apply to both switched and routed traffic. If a routing protocol (for
example, OSPF) is configured on an interface, the configuration must include a MAC address filter rule that allows the routing protocol MAC and the neighbor system MAC address.
You cannot use MAC address filters to filter Layer 4 information. MAC address filters are supported on tagged ports in the base Layer 3, edge Layer 3, and full
Layer 3 software images.
568
These commands configure filter 1 to deny traffic with a source MAC address that begins with 3565 to any destination, and configure filters 2 through 5 to deny traffic with the specified destination MAC addresses. Filter 1024 permits all traffic that is not denied by any other filter.
NOTE
Once you apply a MAC address filter to a port, the device drops all Ethernet traffic on the port that does not match a MAC permit filter on the port. Syntax: [no] mac filter <filter-num> permit | deny <src-mac> <mask> | any <dest-mac> <mask | any You can configure up to 507 MAC filters for <filter-num>, although the output of the show default values command shows 512. The permit | deny argument determines the action the software takes when a match occurs. The <src-mac> <mask> | any parameter specifies the source MAC address. You can enter a specific address value and a comparison mask or the keyword any to filter on all MAC addresses. Specify the mask using f (ones) and zeros. For example, to match on the first two bytes of the address aabb.ccdd.eeff, use the mask ffff.0000.0000. In this case, the filter matches on all MAC addresses that contain "aabb" as the first two bytes. The filter accepts any value for the remaining bytes of the MAC address. If you specify any, do not specify a mask. In this case, the filter matches on all MAC addresses. The <dest-mac> <mask> | any parameter specifies the destination MAC address. The syntax rules are the same as those for the <src-mac> <mask> | any parameter. Syntax: [no] mac filter log-enable Globally enables logging for filtered packets. Syntax: [no] mac filter-group log-enable Enables logging for filtered packets on a specific port. Syntax: [no] mac filter-group <filter-number> [to <filter-number> | <filter-number>...] Applies MAC address filters to a port. When applying the filter-group to the interface, specify each line to be applied separately or use the to keyword to apply a consecutive range of filter lines, for example, 1 3 to 8 10. The filters must be applied as a group. For example, if you want to apply four filters to an interface, they must all appear on the same command line.
NOTE
569
You cannot add or remove individual filters in the group. To add or remove a filter on an interface, apply the filter group again containing all the filters you want to apply to the port.
NOTE
If you apply a filter group to a port that already has a filter group applied, the older filter group is replaced by the new filter group. When a MAC address filter is applied to or removed from an interface, a Syslog message such as the following is generated.
SYSLOG: <14>Jan 1 00:00:00 10.44.9.11 MAC Filter applied to port 0/1/2 by tester from telnet session (filter id=5 ). SYSLOG: <14>Jan 1 00:00:00 10.44.9.11 MAC Filter removed from port 0/1/2 by tester from telnet session (filter id=5 ).
NOTE
The Syslog messages indicate that a MAC address filter was applied to the specified port by the specified user during the specified session type. Session type can be Console, Telnet, SSH, Web, SNMP, or others. The filter IDs that were added or removed are listed.
NOTE
570
Syntax: [no] mac filter log-enable To configure MAC address filter logging for MAC address filters applied to ports 1 and 3, enter the following CLI commands.
Brocade(config)#int ethernet 1 Brocade(config-if-e1000-1)#mac filter-group log-enable Brocade(config-if-e1000-1)#int ethernet 3 Brocade(config-if-e1000-3)#mac filter-group log-enable Brocade(config-if-e1000-3)#write memory
The first line defines a MAC address filter that matches on the first four bytes (ffff.ffff.0000) of the source MAC address 0050.04ab.9429, and any destination MAC address. The permit action creates an 802.1X session in the FORCE AUTHORIZE state, meaning that the device is placed unconditionally in the authorized state, bypassing 802.1X authentication and allowing all traffic from the specified MAC address. If no match is found, the implicit action is to authenticate the client. The last line binds MAC address filters 1, 3, 4, 5, and 10 to interface 2.
571
Syntax: mac filter <filter-num> permit | deny <src-mac> <mask> | any <dest-mac> <mask | any Syntax: dot1x auth-filter <filter-list> The permit | deny argument determines the action the software takes when a match occurs. In the previous example, the permit action creates an 802.1X session in the FORCE AUTHORIZE state, meaning that the device is placed unconditionally in the authorized state, bypassing 802.1X authentication and allowing all traffic from the specified MAC address. The deny action creates an 802.1X session in the FORCE UNAUTHORIZE state, meaning that the device will never be authorized, even if it has the appropriate credentials. The <src-mac> <mask> | any parameter specifies the source MAC address. You can enter a specific address value and a comparison mask, or the keyword any to filter on all MAC addresses. Specify the mask using f (ones) and zeros. For example, to match on the first two bytes of the address aabb.ccdd.eeff, use the mask ffff.0000.0000. The filter matches on all MAC addresses that contain aabb as the first two bytes and accepts any value for the remaining bytes of the MAC address. If you specify any, do not specify a mask. In this case, the filter matches on all MAC addresses. If no match is found, the implicit action is to authenticate the client. The <dest-mac> <mask> | any parameter specifies the destination MAC address. The syntax rules are the same as those for the <src-mac> <mask> | any parameter. Note that the 802.1x Authentication filter (dot1x auth-filter) does not use the destination MAC address in the MAC address filter. The <filter-num> command identifies the MAC address filter. The maximum number of supported MAC address filters is determined by the mac-filter-sys default or configured value. The dot1x auth-filter <filter-list> command binds MAC address filters to a port. The following rules apply when using the dot1x auth-filter command:
When you add filters to or modify the dot1x auth-filter, the system clears all 802.1X sessions
on the port. Consequently, all users that are logged in will need to be re-authenticated.
The maximum number of filters that can be bound to a port is limited by the mac-filter-port
default or configured value.
The filters must be applied as a group. For example, if you want to apply four filters to an
interface, they must all appear on the same command line.
You cannot add or remove individual filters in the group. To add or remove a filter on an
interface, apply the filter group again containing all the filters you want to apply to the port. If you apply a filter group to a port that already has a filter group applied, the older filter group is replaced by the new filter group.
572
The MAC port security feature is a more robust version of this feature. Refer to MAC port
security configuration on page 1831.
Syntax: lock-address ethernet [<port> [addr-count <num>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Threshold-rate notifications allow you to configure the maximum number of movements over a
specified interval for each MAC address before a notification is sent. For example you could define the malicious move rate as three moves every 30 seconds.
573
Interval-history notifications are best suited for a statistical analysis of the number of MAC
address movements for a configured time interval. For example, you may want to find out how many MAC addresses have moved in the system over a given interval or how many times a specific MAC address has moved during that interval. However, it is not possible to get this information for every MAC address if there are a lot of MAC addresses that moved during the interval. Consequently, the number of MAC addresses that can have a recorded history is limited. MAC address move notification does not detect MAC movements across an MCT cluster between MCT peers. It only detects MAC movements locally within a cluster MCT peer.
NOTE
To disable notification of MAC address moves and disable the SNMP trap, use the no form of the command, as shown in the following example.
Brocade(config)# no mac-movement notification threshold-rate 5 sampling-interval 10
Syntax: [no] mac-movement notification threshold-rate <move-count> sampling-interval <interval> The <move-count> variable indicates the number of times a MAC address can move within the specified period until an SNMP trap is sent. It has no default value. The <interval> variable specifies the sampling period in seconds. It has no defaut value.
574
Vlan-id ------10 10 10 10 10 10 10 10 10
Syntax: show notification mac-movement threshold-rate Table 100 defines the fields in the output of the show notification mac-movement threshold-rate command.
TABLE 100
Field
Threshold-Rate Mac Movement Notification is Configured Threshold-Rate Configured Sampling-Interval Number of entries in the notification table MAC-Address from-Port to-Port Last Move-Time Vlan-id
575
To disable the feature and the corresponding SNMP trap, enter the no version of the command, as shown in the following example.
Brocade(config)# no mac-movement notification interval-history 10
Syntax: [no] mac-movement notification interval-history <interval> The <interval> variable represents the amount of time in seconds during which the MAC address movement notification data is collected. It has no default value.
11 11 11 11 11
Last Move-Time -------------minutes 22 seconds minutes 22 seconds minutes 22 seconds minutes 22 seconds minutes 22 seconds
Vlan-id ------10 10 10 10 10
576
Table 101 defines the fields in the output of the show notification mac-movement interval-history command.
TABLE 101
Field
Interval-History Mac Movement Notification is Configured Interval Number of macs that moved in the interval Total number of moves in the interval MAC-Address from-Port to-Port Interval Move-Count Last Move-Time Vlan-id
Configurable tables and their defaults and maximum values differ on Brocade IPv4 devices
versus IPv6-capable devices.
For more information about Layer 3 system parameter limits, refer to Displaying Layer 3
system parameter limits on page 1185.
577
The following shows an example output of the show default values command on a FastIron Layer 2 device.
Brocade#show default values sys log buffers:50 mac age time:300 sec System Parameters igmp-max-group-addr ip-filter-sys l3-vlan mac vlan spanning-tree mac-filter-port mac-filter-sys view rmon-entries mld-max-group-addr igmp-snoop-mcache mld-snoop-mcache Default 4096 2048 32 32768 64 32 32 64 10 1024 8192 512 512 Maximum 8192 4096 1024 32768 4095 255 256 512 65535 32768 32768 8192 8192 Current 1024 4096 1024 32768 4095 255 256 512 65535 32768 32768 8192 8192
telnet sessions:5
578
The following shows an example output on a FastIron IPV4 device running Layer 3 software.
Brocade#show default values sys log buffers:50 mac age time:300 sec ip arp age:10 min ip addr per intf:24 when multicast enabled : igmp group memb.:260 sec when ospf enabled : ospf dead:40 sec ospf transit delay:1 sec when bgp enabled : bgp local pref.:100 bgp metric:10 bgp ext. distance:20 System Parameters ip-arp ip-static-arp multicast-route dvmrp-route dvmrp-mcache pim-mcache igmp-max-group-addr ip-cache ip-filter-port ip-filter-sys l3-vlan ip-qos-session mac ip-route ip-static-route vlan spanning-tree mac-filter-port mac-filter-sys ip-subnet-port session-limit view virtual-interface hw-ip-next-hop hw-logical-interface hw-ip-mcast-mll hw-traffic-condition rmon-entries mld-max-group-addr igmp-snoop-mcache mld-snoop-mcache msdp-sa-cache bootp relay max hops:4
bgp keep alive:60 sec bgp local as:1 bgp int. distance:200 Default 6000 512 64 2048 512 1024 4096 10000 1015 2048 32 1024 16384 80000 64 64 32 16 32 24 65536 10 255 2048 4096 1024 50 2048 8192 512 512 4096 Maximum 64000 6000 8192 32000 4096 4096 8192 32768 1015 8192 1024 16000 32768 262144 2048 4095 255 256 512 128 160000 65535 512 6144 4096 4096 1024 32768 32768 8192 8192 8192 Current 6000 512 64 2048 512 1024 4096 10000 1015 2048 32 1024 16384 80000 64 64 32 16 32 24 65536 10 255 2048 4096 1024 50 2048 8192 512 512 4096
579
The following shows an example output on a FCX serving as a management host in an IPv6 network and running the Layer 3 software image.
Brocade#show default values sys log buffers:50 mac age time:300 sec ip arp age:10 min ip addr per intf:24 when multicast enabled : igmp group memb.:260 sec when ospf enabled : ospf dead:40 sec ospf transit delay:1 sec when bgp enabled : bgp local pref.:100 bgp metric:10 bgp ext. distance:20 System Parameters ip-arp ip-static-arp multicast-route pim-mcache igmp-max-group-addr ip-cache ip-filter-port ip-filter-sys l3-vlan ip-qos-session mac ip-route ip-static-route vlan spanning-tree mac-filter-port mac-filter-sys ip-subnet-port session-limit view virtual-interface rmon-entries mld-max-group-addr igmp-snoop-mcache mld-snoop-mcache hw-ip-route-tcam bootp relay max hops:4
bgp keep alive:60 sec bgp local as:1 bgp int. distance:200 Default 4000 512 64 1024 4096 10000 4093 2048 32 1024 32768 12000 64 64 32 16 32 24 8192 10 255 1024 8192 512 512 16384 Maximum 64000 6000 8192 4096 8192 32768 4093 4096 1024 16000 32768 16100 2048 4095 255 256 512 128 16384 65535 512 32768 32768 8192 8192 16384 Current 64000 6000 8192 4096 8192 32768 4093 4096 1024 16000 32768 16100 2048 4095 255 256 512 128 16384 65535 512 32768 32768 8192 8192 16384
580
The following shows an example output on a FastIron X Series IPV6 device running the Layer 3 software image.
Brocade#show default values sys log buffers:50 mac age time:300 sec ip arp age:10 min ip addr per intf:24 when multicast enabled : igmp group memb.:260 sec when ospf enabled : ospf dead:40 sec ospf transit delay:1 sec when bgp enabled : bgp local pref.:100 bgp metric:10 bgp ext. distance:20 System Parameters ip-arp ip-static-arp multicast-route dvmrp-route dvmrp-mcache pim-mcache igmp-max-group-addr ip-cache ip-filter-port ip-filter-sys l3-vlan ip-qos-session mac ip-route ip-static-route vlan spanning-tree mac-filter-port mac-filter-sys ip-subnet-port session-limit view virtual-interface hw-ip-next-hop hw-traffic-condition rmon-entries mld-max-group-addr igmp-snoop-mcache mld-snoop-mcache ip6-route ip6-static-route ip6-cache msdp-sa-cache gre-tunnels bootp relay max hops:4
bgp keep alive:60 sec bgp local as:1 bgp int. distance:200 Default 6000 512 64 2048 512 1024 4096 10000 1015 2048 32 1024 16384 262144 64 64 32 16 32 24 65536 10 255 2048 50 2048 8192 512 512 32768 64 65536 4096 16 Maximum 64000 6000 8192 32000 4096 4096 8192 32768 1015 8192 1024 16000 32768 524288 2048 4095 255 256 512 128 160000 65535 512 6144 1024 32768 32768 8192 8192 65536 512 131072 8192 64 Current 64000 6000 8192 32000 4096 4096 8192 32768 1015 4096 1024 16000 32768 524288 2048 4095 255 256 512 128 65537 65535 512 2481 52 32768 32768 8192 8192 65536 512 131072 8192 64
581
Table 102 defines the system parameters in the show default values command output.
TABLE 102
Parameter
dvmrp-mcache dvmrp-route hw-ip-mcast-mll hw-ip-next-hop hw-logical-interface hw-traffic-conditioner ip-arp ip-cache ip-filter-port ip-filter-sys ip-qos-session ip-route ip-static-arp ip-static-route ip-subnet-port l3-vlan mac mac-filter-port mac-filter-sys multicast-route pim-mcache rmon-entries session-limit spanning-tree view virtual-interface vlan mld-max-group-addr igmp-snoop-mcache mld-snoop-mcache
582
Dynamic buffer allocation for QoS priorities for FastIron X Series devices
Syntax: system-max ip-route <num> The <num> parameter specifies the maximum number of routes in the IP route table. The minimum value is 4096. The maximum value is 524288 (subject to route patterns for FSX). The default is 80000 IP routes.
NOTE
If you accidentally enter a value that is not within the valid range of values, the CLI will display the valid range for you. To increase the number of IP subnet interfaces you can configure on each port on a device running Layer 3 code from 24 to 64, enter the following commands.
Brocade(config)#system-max ip-subnet-port 64 Brocade(config)#write memory Brocade(config)#exit Brocade#reload
Syntax: system-max ip-subnet-port <num> The <num> parameter specifies the maximum number of subnet addresses per port and can be from 24 128. The default is 24.
Dynamic buffer allocation for QoS priorities for FastIron X Series devices
This section applies to FastIron X Series devices only. To configure dynamic buffer limits on FastIron WS, Brocade FCX Series, and ICX devices, refer to Dynamic buffer allocation for FCX, FWS, and ICX devices on page 588. By default, Brocade IronWare software allocates a certain number of buffers to the outbound transmit queue for each port, based on QoS priority (traffic class). The buffers control the total number of packets permitted in the outbound transmit queue for the port. For each port, the Brocade device defines the maximum outbound transmit buffers, also called queue depth limits, as follows:
NOTE
583
Dynamic buffer allocation for QoS priorities for FastIron X Series devices
Total Transmit Queue Depth Limit The total maximum number of transmit buffers allocated
for all outbound packets on a port. Packets are added to the port's outbound queue as long as the number of buffers currently in use is less than the total transmit queue depth limit. When this limit is reached, any new packets attempting to enter the ports transmit queue will be dropped until at least one buffer is freed.
Transmit Queue Depth Limit for a Given Traffic Class The maximum number of transmit
buffers allocated for packets with a given traffic class (0 through 7) on a port. Packets with the specified traffic class are added to the ports outbound queue as long as the number of buffers currently in use for that traffic class is less than the transmit queue depth limit for the traffic class. When this limit is reached, any new packets with the specified traffic class attempting to enter the ports transmit queue will be dropped. Except for the third-generation Interface modules, you can increase or decrease both of these queue depth limits per port. On the SX-FI48GPP, SX-FI-24GPP, SX-FI-24HF, SX-FI-2XG or SX-FI-8XG modules, to increase or decrease the queue depth limits for a port, you configure a buffer profile and then apply it to the port. A buffer profile can be tied to one or more ports. Therefore, if you change the configuration on one port, it will change the configuration on all ports associated with the same buffer profile. Dynamic buffer allocation for QoS is useful in situations where applications have intermittent bursts of oversubscription. For example, by increasing the buffers on the egress port, the Brocade device will be able to forward oversubscribed packets instead of dropping them.
NOTE
The SX-FI48GPP Interface module supports 48 tri-speed (10/100/1000) ports. When the ports are configured at lower speeds, for example, 100 Mbps or 10 Mbps, the maximum queue depth is less than 256 when egress congestion occurs at the front-end Network Processor (NP) of the SX-FI48GPP module. If egress congestion occurs at the back-end NP of the SX-FI48GPP module, the maximum queue depth is 4095. The limit for buffer sharing is 4088.
TABLE 103
Port type
1 Gbps port 10 Gbps port without jumbo enabled 10 Gbps port with jumbo enabled
Configuring the total transmit queue depth limit for FastIron X Series devices
To configure the total transmit queue depth limit on a third-generation module, refer to Buffer profile configuration on page 586.
NOTE
584
Dynamic buffer allocation for QoS priorities for FastIron X Series devices
To set the total transmit queue depth limit on a port, enter a command such as the following.
Brocade(config)#qd 2 2049
This command sets the queue depth limit on port 2 to 2049. Packets are added to the port's outbound queue as long as the packets do not cause the port to exceed 2048 buffers. If the port reaches its queue depth limit of 2049, any new packets attempting to enter the port transmit queue will be dropped until at least one buffer is freed. Syntax: qd <port> <limit> Specify the <port> variable in one of the following formats:
FSX, FSX 800, and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
The <limit> variable can be a value from 0 through 4095. Table 103 on page 584 lists the default values.
Configuring the transmit queue depth limit for a given traffic class on FastIron X Series devices
To configure transmit queue depth limits for an SX-FI48GPP module, refer to Buffer profile configuration on page 586. To set the transmit queue depth limit on a port for a given traffic class, first enter the transmit queue depth limit for the traffic class, and then specify the traffic class.
Brocade(config)#qd 2 200 7
NOTE
This command sets the queue depth limit on port 2 to 200 for packets with a traffic class of 7. Packets with priority 7 are added to the outbound queue on port 2 as long as the packets do not exceed 199 buffers. When the port reaches its queue depth limit of 200, packets with the given traffic class will be dropped. Syntax: qd <port> <limit> <traffic-class> Specify the <port> variable in one of the following formats:
FSX, FSX 800, and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
The <limit> variable can be a value from 0 through 4095 and cannot exceed the total transmit queue depth limit configured for the port. Table 103 on page 584 lists the default values. The sum of the queue depth limits for individual traffic classes on a port does not need to equal the total queue depth limit for the port:
If the sum of the individual traffic class queue depth limits exceeds the total port limit and the
total port limit is reached, any buffer that gets released can be used by any traffic class queue that has not reached its individual limit.
If the sum of the individual traffic class queue depth limits is less than the total port limit, the
remaining buffers can be used only by packets with a priority of 7. The <traffic-class> variable can be a value from 0 through 7, where 7 is the highest priority queue.
585
Dynamic buffer allocation for QoS priorities for FastIron X Series devices
Syntax: [no] buffer-sharing-full The buffer-sharing-full command sets the total transmit queue depth limit and the transmit queue depth limits for each Traffic Class to 4095 for all ports of the device. The command overrides any existing individually configured queue depth limits.
ATTENTION
The buffer-sharing-full command should be used carefully. By entering this command, there is no limit on the number of buffers a port or a specific priority on a port can use. One port could potentially use up all the available buffers of its port region and cause starvation on other ports of the port region.
A buffer profile defines the total transmit queue depth limit for a port and the transmit queue depth limit for a given traffic class. On the listed supported Interface modules, each port is associated with a buffer profile. In contrast, Interface modules other than the SX-FI-48GPP, SX-FI-24GPP, SX-FI24-HF, SX-FI-2XG, and the SX-FI-8XG support the configuration of transmit queue depth limits per port. By default, each port on an SX-FI48GPP, SX-FI-24GPP, SX-FI-24HF, SX-FI-2XG or SX-FI-8XG Interface module is associated with buffer profile ID 1. Profile 0 is reserved for buffer sharing. Default queue depth limits are provided in Default queue depth limits for FastIron X Series devices on page 584. To change the queue depth limit for a port on the supported Interface modules, configure a buffer profile ID that is different from the default or configured value, and apply the buffer profile to the port. When you change the queue depth limit on a port, the configuration will apply to all ports associated with the same buffer profile ID. For example, if ports 1/1 through 1/5 are associated with buffer profile ID 3 and you enter the qd 1/1 1000 command, the queue depth limit of 1000 will apply to ports 1/1 through 1/5.
586
Dynamic buffer allocation for QoS priorities for FastIron X Series devices
Syntax: [no] qd <slotnum>/<portnum> profile-id <number> The <number> variable specifies the buffer profile ID associated with the <slotnum>/<portnum>. The buffer profile ID can be a number from 1 through 7. Profile 0 is reserved for buffer sharing. 2. Configure the total transmit queue depth limit associated with the buffer profile. For example, to change the total transmit queue depth limit for buffer profile 2 to 1000, enter the following command.
Brocade(config)#qd 1/1 1000
Because port 1/1 is associated with buffer profile 2, this command sets the queue depth limit for buffer profile 2 to 1000. Packets are added to the outbound queue of a port as long as the packets do not cause the port to exceed 1000 buffers. If the port reaches its queue depth limit of 1000, any new packets attempting to enter the transmit queue will be dropped until at least one buffer is freed. Syntax: [no] qd <slotnum>/<portnum> <limit> The <limit> variable can be a value from 0 through 4095. The default is 4095. 3. If desired, configure the queue depth limit for a given traffic class. For example, to change the queue depth limit for buffer profile 2 to 300 for packets with a traffic class of 1, enter the following command.
Brocade(config)#qd 1/1 300 1
For ports that use buffer profile 2, packets with priority 1 are added to the outbound queue as long as the packets do not exceed 299 buffers. When the port reaches its queue depth limit of 300, packets with the given traffic class will be dropped. Syntax: [no] qd <slotnum>/<portnum> <limit> <traffic-class> The <limit> variable can be a value from 0 through 4095 and cannot exceed the total transmit queue depth limit configured in the previous step. The sum of the queue depth limits for individual traffic classes on a port does not need to equal the total queue depth limit for the port:
If the sum of the individual traffic class queue depth limits exceeds the total port limit and
the total port limit is reached, any buffer that gets released can be used by any traffic class queue that has not reached its individual limit.
If the sum of the individual traffic class queue depth limits is less than the total port limit,
the remaining buffers can be used only by packets with a priority of 7. The <traffic-class> variable can be a value from 0 through 7, where 7 is the highest priority queue. 4. Enter the write memory command to save the configuration.
587
NOTE
588
Configuring buffer profiles with qd-descriptor and qd-buffer commands on FCX, FWS, and ICX devices
The 48-port Brocade stackable switch has two packet processors. The 24-port Brocade stackable switch has a single packet processor. For devices in an IronStack, each stack unit has the possibility of two packet processors, but the second processor for a 24-port stack unit cannot be configured. The number of actual available packet processors depends on the type and number of switches in the stack.
589
For example, for an 8-unit stack of 48 ports, the packet processor numbering scheme is as follows:
Stack unit 1 - Packet processors 0 and 1 Stack unit 2 - Packet processors 2 and 3 Stack unit 3 - Packet processors 4 and 5 Stack unit 4 - Packet processors 6 and 7 Stack unit 5 - Packet processors 8 and 9 Stack unit 6 - Packet processors 10 and 11 Stack unit 7 - Packet processors 12 and 13 Stack unit 8 - Packet processors 14 and 15
In this configuration, if stack unit 3 and stack unit 7 are 24-port devices, the odd-numbered packet processors 5 and 13 cannot be configured, and do not exist, although they are reserved. Configuration steps for buffer profile with qd-descriptor and qd-buffer commands on FCX, FWS, and ICX The descriptor and buffer allocation process occurs in four sequential steps using the qd-buffer and qd-descriptor commands. For FCX devices, when you reset buffer values for the 10 Gbps ports, the buffer values for the rear-panel 10 Gbps and16 Gbps ports are also reset. 1. Configure the allowable port descriptors. Port descriptors set the limit for the ports. The minimum limit for the port descriptors is 16. The maximum limit of the port descriptors depends on the hardware device. Port descriptor limits of different platforms are listed in the section Buffer and descriptor maximum and default allocation values on page 595. Configure the allowable port descriptors by entering a command similar to the following.
Brocade# qd-descriptor 1 2 76
NOTE
Syntax: [no] qd-descriptor <devicenum> <porttypeval> <numdescriptors> The <devicenum> variable refers to the device in the stacking unit. The device number starts from 0. The <porttypeval> variable is 1 for 1 Gbps ports and 2 for 10 Gbps ports. The <numdescriptors> variable refers to the number of descriptors to allocate. 2. Configure the queue descriptors. The minimum limit for queue descriptors is 16. The system default queue descriptors for different platforms are listed in Buffer and descriptor maximum and default allocation values on page 595. Configure the queue descriptors for the queue by entering a command similar to the following.
Brocade# qd-descriptor 1 2 76 2
Syntax: [no] qd-descriptor <devicenum> <porttypeval> <numdescriptors> <priorityqueue> The <devicenum> variable refers to the device in the stacking unit. The device number starts from 0. The <porttypeval> variable is 1 for 1 Gbps ports and 2 for 10 Gbps ports. The <numdescriptors> variable refers to the number of descriptors to allocate.
590
The <priorityqueue> variable refers to the specific queue of the port from 0 through 7. 3. Configure the port buffers. The minimum limit for port buffers is 16. The maximum limit for the port buffer depends on the hardware device. Port buffer limits of different platforms are listed in Buffer and descriptor maximum and default allocation values on page 595. Configure the allowable packet buffers by entering a command similar to the following.
Brocade# qd-buffer 1 2 76
Syntax: [no] qd-buffer <devicenum> <porttypeval> <numbuffers> The <devicenum> variable refers to the device in the stacking unit. The device number starts from 0. The <porttypeval> variable is 1 for 1 Gbps ports and 2 for 10 Gbps ports. The <numbuffers> variable refers to the number of buffers to allocate. 4. Configure the queue buffers. The maximum limit of queue buffers depends on the hardware device. Queue buffer limits of different platforms are listed in Buffer and descriptor maximum and default allocation values on page 595. Configure the queue buffers by entering a command similar to the following.
Brocade# qd-buffer 1 2 76 2
Syntax: [no] qd-buffer <devicenum> <porttypeval> <numbuffers> <priorityqueue> The <devicenum> variable refers to the device in the stacking unit. The device number starts from 0. The <porttypeval> variable is 1 for 1 Gbps ports and 2 for 10 Gbps ports. The <numbuffers> variable refers to the number of buffers to allocate. The <priorityqueue> variable refers to the specific queue of the port from 0 through 7. Sample configuration for buffer profile with qd-descriptor and qd-buffer commands on FCX, FWS, and ICX This sample configuration assumes a four-unit stack with the following topology. Note that there is no packet processor 3 or 7, because stack units 2 and 4 are 24-port devices.
Stack unit 1, 48 ports - Packet processor numbers 0 and 1 Stack unit 2, 24 ports - Packet processor number 2 Stack unit 3, 48 ports - Packet processors 4 and 5 Stack unit 4, 24 ports - Packet processor number 6
The following commands allocate available buffers to be used by priority 0 queues in the four-unit stack.
qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor 0 1 2 4 5 6 0 1 2 4 5 1 1 1 1 1 1 2 2 2 2 2 4095 4095 4095 4095 4095 4095 4095 4095 4095 4095 4095
591
qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-descriptor qd-buffer 0 1 qd-buffer 1 1 qd-buffer 2 1 qd-buffer 4 1 qd-buffer 5 1 qd-buffer 6 1 qd-buffer 0 2 qd-buffer 1 2 qd-buffer 2 2 qd-buffer 4 2 qd-buffer 5 2 qd-buffer 6 2 qd-buffer 0 1 qd-buffer 1 1 qd-buffer 2 1 qd-buffer 4 1 qd-buffer 5 1 qd-buffer 6 1 qd-buffer 0 2 qd-buffer 1 2 qd-buffer 2 2 qd-buffer 4 2 qd-buffer 5 2 qd-buffer 6 2
6 2 4095 0 1 4095 1 1 4095 2 1 4095 4 1 4095 5 1 4095 6 1 4095 0 2 4095 1 2 4095 2 2 4095 4 2 4095 5 2 4095 6 2 4095 4095 4095 4095 4095 4095 4095 4095 4095 4095 4095 4095 4095 4095 0 4095 0 4095 0 4095 0 4095 0 4095 0 4095 0 4095 0 4095 0 4095 0 4095 0 4095 0
0 0 0 0 0 0 0 0 0 0 0 0
NOTE
NOTE
Buffer profiles can be configured for 10 Gbps and 1 Gbps ports, but not for ICX 6610 40 Gbps ports. The 10 Gbps profile will apply to ICX 6430 and 6450 stacking ports, as well as FCX 16 Gbps stacking ports. Configuring and applying a user-configurable buffer profile is a two-step process.
592
First, create a user-configurable buffer profile with the qd-buffer-profile CLI command. Define a name for the user-configurable buffer profile, assign buffer and descriptor limits at the port level, and then define buffer and descriptor limits per queue of that port. Second, apply the user-configurable buffer profile you created to the device with the buffer-profile CLI command. Configuring a user-configurable buffer profile To configure a user-configurable buffer profile, complete the following steps. 1. Create a user-configurable buffer profile. For example, to create a user-configurable buffer profile named profile1 enter the following command.
Brocade(config)# qd-buffer-profile profile1#
Syntax: [no] qd-buffer-profile <user-profile-name> The <user-profile-name> variable specifies the name of the user-configurable buffer profile. The profile name can be up to 64 characters long. 2. Configure the port type for the user-configurable buffer profile. The buffer profile port type can be configured for 1 Gbps ports, 10 Gbps ports, or for all the ports. The port-type option should be in line with the qd-buffer legacy command; that is, 1 for 1 Gbps ports, 2 for 10 Gbps ports, 0 for all the ports. The default port type is set to 1 Gbps. To configure a user-configurable profile for 10 Gbps ports, the 10 Gbps port type must be explicitly provided by the port-type option. Modifications to buffers and descriptors of a port and its queues take effect dynamically. When the profile type is configured as all 1 Gbps and 10 Gbps ports, the default buffers and descriptors will be set according to the port type; that is, all 1 Gbps ports use 1 Gbps defaults and 10 Gbps ports use 10 Gbps defaults. If you configure a port and its queue with egress buffer and descriptor limits, then the configured limits are used for both 1 Gbps and 10 Gbps ports. To configure the port type 1 for the profile named profile1, enter the following command at the profile configuration level.
Brocade(qd-profile-profile1)# profile-config port-type 1
0 All 1 Gbps and 10 Gbps ports 1 All 1 Gbps ports 2 All 10 Gbps ports
NOTE
The no form of the command sets the profile port type to 1 Gbps. Port type modification resets the profile to its default value. All the port and queue buffers and descriptors will be set to either 1 Gbps or 10 Gbps defaults as per the configuration, which means all the user configurations for the port and its queues will be lost.
NOTE
593
3. Configure the port buffers. Port buffer sets the maximum buffer limit for the ports. The maximum limit depends on the hardware device. Port buffer limits of different platforms are listed in the section Buffer and descriptor maximum and default allocation values on page 595. To configure the port buffers for the user-configurable buffer profile named profile1, enter the following command at the profile configuration level.
Brocade(qd-profile-profile1)# profile-config port-buffer 8000
Syntax: profile-config port-buffer <decimal> The <decimal> variable refers to the number of buffers. 4. Configure the port descriptors. Port descriptors set the maximum descriptor limit for the ports. The maximum limit of port descriptors depends on the hardware device. Port descriptor limits of different platforms are listed in Buffer and descriptor maximum and default allocation values on page 595. To configure the port descriptors for the user-configurable buffer profile named profile1, enter the following command at the profile configuration level.
Brocade(qd-profile-profile1)# profile-config port-descriptor 8000
Syntax: profile-config port-descriptor <decimal> The <decimal> variable refers to the number of descriptors. 5. Configure the queue buffers. Queue buffers set the maximum buffer limit for a specified queue. If a queue buffer limit is not set, then the default is used. The system default queue buffers for different platforms are listed in Buffer and descriptor maximum and default allocation values on page 595. To configure the queue buffers for the user-configurable buffer profile named profile1, enter the following command at the profile configuration level.
Brocade(qd-profile-profile1)# profile-config queue-buffers 2 600
Syntax: profile-config queue-buffers <queue-num> <decimal> The <queue-num> variable refers to the number of the queue of a port from 0 through 7. The <decimal> variable refers to the number of buffers. 6. Configure the queue descriptors. Queue descriptors set the maximum descriptor limit for the specified queue. If a queue descriptors limit is not set, then the default is used. The system default queue descriptors for different platforms are listed in Buffer and descriptor maximum and default allocation values on page 595. To configure the queue descriptors for the user-configurable buffer profile named profile1, enter the following command at the profile configuration level.
Brocade(qd-profile-profile1)#Profile-config queue-descriptors 2 600
Syntax: profile-config queue-descriptors <queue-num> <decimal> The <queue-num> variable refers to the number of the queue of a port from 0 through 7. The <decimal> variable refers to the number of descriptors. Applying a user-configurable buffer profile on the device Once configured, a user-configurable buffer profile must be applied on the device. To apply the user-configurable buffer profile named profile1 to a device, enter the following command.
Brocade(config)# buffer-profile port-region 0 qd-buffer-profile profile1
594
The <port-region> variable is the device number on which the user-configurable buffer profile is applied. The <user-profile-name> variable is the name of the user-configured profile.
Table 104 describes FCX devices. Table 105 describes FWS devices. Table 106 describes ICX 6610 devices. Table 107 describes ICX 6430 devices. Table 108 describes ICX 6450 devices.
Values in the following tables are for software traffic classes (TCs) or QoS priority (qosp) levels.
NOTE
TABLE 104
Port Limit TC0 TC1 TC2 TC3 TC4 TC5 TC6 TC7
TABLE 105
Port Limit TC0 TC1 TC2 TC3 TC4 TC5 TC6 TC7
Buffers
2904 176 176 176 176 176 176 176 176
595
TABLE 106
Port Limit TC0 TC1 TC2 TC3 TC4 TC5 TC6 TC7
8096 128 32 32 32 32 64 64 64
TABLE 107
Port Limit TC0 TC1 TC2 TC3 TC4 TC5 TC6 TC7
1.
10 Gbps buffers
NA NA NA NA NA NA NA NA NA
1Gbps descriptors
3854 182 182 96 96 96 128 128 128
10 Gbps descriptors
NA NA NA NA NA NA NA NA NA
TABLE 108
Port Limit TC0 TC1 TC2 TC3 TC4 TC5 TC6 TC7
1.
10 Gbps buffers
6143 384 192 192 192 192 256 256 256
1Gbps descriptors
5902 256 144 144 144 144 192 192 192
10 Gbps descriptors
5092 384 192 192 192 192 256 256 256
596
Configuring values for the ICX 6430 Port buffer and descriptor values in Table 107 are default values for software traffic classes. For the ICX 6430, traffic classes are mapped to shared hardware queues (refer to Queues for the ICX 6430 switch on page 1965. Refer to the following are considerations for configuring your own values and buffer profiles.
User-defined values have precedence over default values. For example, if default values for
TC2, TC3, and TC4 are 96 and you configure 80 for TC3, then the hardware TC1 will be 80 (software TC2, TC3, and TC4 are mapped to hardware TC1).
The higher user-configured value has precedence. For example, if the software TC2 default
value is 96 (which is also the value of TC3 and 4), if you configure 100 for TC2 and 120 for TC3, then the hardware TC1 value will be 120 (software TC2, TC3, and TC4 are mapped to hardware TC1).
Displaying the user-configurable buffer profile configuration on FCX and ICX devices
To display the specified user-configurable buffer profile configuration, use the show qd-buffer-profile <user-profile-name> command. To display all the user-configurable buffer profiles configured on the device, use the show qd-buffer-profile active-profile command. To display all the buffer profiles configured on the device, use the show qd-buffer-profile all command. The following example shows that the user-configurable buffer profile OneGigProfile is configured for 1 Gbps ports with the number of buffers and descriptors allocated to each queue. Note that buffers and descriptors displayed in this example are not necessarily default values.
Brocade(config)# show qd-buffer-profile OneGigProfile User Buffer Profile: OneGigProfile Port-type: 1Gig Total Buffers = 8096 Total Descriptors = 8096 Per Queue details: Buffers Descriptors Traffic Class 0 50 38 Traffic Class 1 50 38 Traffic Class 2 50 38 Traffic Class 3 50 38 Traffic Class 4 50 38 Traffic Class 5 50 38 Traffic Class 6 132 132 Traffic Class 7 20 20
Syntax: show qd-buffer <user-profile-name> | all Table 109 defines the fields in the output of the show qd-buffer all command.
TABLE 109
Field
597
TABLE 109
Field
Syntax: qd-share-level <level> The <level> variable is the buffer sharing level, which is a decimal value. The range of valid values for FCX is from 1 to 8. The range of valid values for an ICX 6610 is from 2 through 8. For descriptions of the buffer sharing levels for FCX devices, refer to FCX buffer sharing levels on page 599. For descriptions of the buffer sharing levels for ICX 6610 devices, refer to ICX 6610 buffer sharing levels on page 599. For descriptions of the buffer sharing levels for ICX 6430 and 6450 devices, refer to ICX 6430 and ICX 6450 buffer sharing levels on page 600.
598
TABLE 110
Pool 0 contains TCs 0 and 1. Pool 1 contains TCs 2, 3, and 4. Pool 2 contains TCs 5 and 6. Pool 3 contains TC 7.
For example, the buffers allocated to Pool 0 are shared between TCs 0 and 1. Table 111 defines the ICX 6610 buffer sharing level settings. Note that only the values of Pool 0 change. For information about configuring buffer sharing, refer to Configuring buffer sharing on FCX and ICX devices on page 598.
TABLE 111
Buffer sharing level
Pool 1 TC 2, 3, 4
Pool 2 TC 5, 6
Pool 3 TC 7
1 2 3 4
599
TABLE 111
Buffer sharing level
Pool 1 TC 2, 3, 4
128 128 128 128
Pool 2 TC 5, 6
192 192 192 192
Pool 3 TC 7
192 192 192 192
5 (default) 6 7 8
TABLE 112
0 0 0 0
600
ICX6610-48 Router# show qd-share-level Sharing level: 1-64KB, 2-250KB, 3-375KB, 4-500KB, 5-625KB (default), 6-750KB, 7-875KB, 8-1000KB Current qd sharing level 5 Sharing pools to Traffic Class (TC) map: Pool 0: TC 0,1 Pool 1: TC 2,3,4 Pool 2: TC 5,6 Pool 3: TC 7 Device 0 Sharing pool 0 buffers in use 0 Device 0 Sharing pool 1 buffers in use 0 Device 0 Sharing pool 2 buffers in use 0 Device 0 Sharing pool 3 buffers in use 0 Device 1 Sharing pool 0 buffers in use 0 Device 1 Sharing pool 1 buffers in use 0 Device 1 Sharing pool 2 buffers in use 0 Device 1 Sharing pool 3 buffers in use 0 Device 2 Sharing pool 0 buffers in use 0 Device 2 Sharing pool 1 buffers in use 0 Device 2 Sharing pool 2 buffers in use 0 Device 2 Sharing pool 3 buffers in use 0
Syntax: show qd-share-level The command output displays the following information:
Definitions of the buffer sharing levels The current buffer sharing level Mapping of traffic classes to sharing pools (ICX 6610 devices only) Buffer usage information
Syntax: [no] buffer-sharing-full The command overrides any existing configured queue depth limits and buffer allocation.
ATTENTION
Use the buffer-sharing-full command carefully. By entering this command, there is no limit to the number of buffers a port or a specific priority on a port can use. One port could potentially use up all the available buffers of its port region and cause starvation on other ports of the port region. To prevent traffic loss during temporary network bursts, it is recommended that you use guaranteed (port, queue) buffers allocation or shared buffer allocation to adjust queue depth, rather than enabling the buffer-sharing-full command.
NOTE
The buffer-sharing-full command can create unpredictable behavior during traffic congestion or a blocking scenario, compromising network stability (by losing control packets), QoS, and stacking.
601
NOTE
Syntax: [no] buffer-profile port-region <num> voip downlink 100 uplink 1000
NOTE
The port-region num can be either 0 (ports 0/1/1 to 0/1/24) or 1 (ports 0/1/25 to 0/1/48).
NOTE
Only FGS and FLS models support the buffer-profile port-region <num> voip downlink 100 uplink 1000 command. FCX and ICX models do support this command.
Syntax: [no] buffer-profile port-region <num> voip downlink 100 uplink 1000
602
When you enable this feature, the transmit port notifies the remote port whenever the fiber cable is either physically disconnected or has failed. When this occurs and the feature is enabled, the device disables the link and turns OFF both LEDs associated with the ports. By default, RFN is enabled. You can configure RFN as follows:
Syntax: gig-default neg-off | auto-gig For more information about the parameters supported with the gig-default command, see Changing the Gbps fiber negotiation mode on page 59.
NOTE
Enable LFS on any device prior to connecting that device with a Brocade BigIron RX device. Brocade BigIron RX devices have LFS enabled by default and it cannot be disabled; any connecting device must have LFS currently enabled to ensure interoperability. When LFS is enabled on an interface, the following Syslog messages are generated when the link goes up or down, or when the TX or RX fiber is removed from one or both sides of the link that has LFS enabled.
Interface ethernet1/1, state down - link down Interface ethernet1/1, state up
When a link fault occurs, the Link and Activity LEDs turn OFF. The Link and Activity LEDs turn ON when there is traffic traversing the link after the fiber is installed.
603
Syntax: [no] link-fault-signal Use the no form of the command to disable LFS. LFS is OFF by default.
The bold text in the above output shows that the LFS-enabled link (port 10/1) is down because of an error on the remote port, as indicated by remote fault. Syntax: show interface ethernet <port> Specify the <port> variable in one of the following formats:
FSX, FSX 800, and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
.
Brocade#show interfaces brief Port Link State Dupl Speed Trunk Tag Pvid Pri MAC Name 10/1 Err-LFS None None None None No 1 0 0012.f227.79d8
The bold text in the above output indicates that there is an error on the LFS-enabled link on port 10/1 and the link is down. Syntax: show interfaces brief
604
605
606
Chapter
Metro Features
17
Table 113 lists the individual Brocade FastIron switches and the metro features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 113
T
Feature
FWS
FCX
ICX 6610
Topology groups Metro Ring Protocol 1 (MRP 1) Metro Ring Protocol 2 (MRP 2) Extended MRP ring IDs from 1 1023 Virtual Switch Redundancy Protocol (VSRP) VSRP-Aware security features VSRP and MRP signaling VSRP Fast Start VSRP timer scaling
Topology groups
A topology group is a named set of VLANs that share a Layer 2 topology. Topology groups simplify configuration and enhance scalability of Layer 2 protocols by allowing you to run a single instance of a Layer 2 protocol on multiple VLANs. You can use topology groups with the following Layer 2 protocols:
Topology groups simplify Layer 2 configuration and provide scalability by enabling you to use the same instance of a Layer 2 protocol for multiple VLANs. For example, if a Brocade device is deployed in a Metro network and provides forwarding for two MRP rings that each contain 128 VLANs, you can configure a topology group for each ring. If a link failure in a ring causes a topology change, the change is applied to all the VLANs in the ring topology group. Without topology groups, you would need to configure a separate ring for each VLAN.
607
Topology groups
Master VLAN The master VLAN contains the configuration information for the Layer 2
protocol. For example, if you plan to use the topology group for MRP, the topology group master VLAN contains the ring configuration information.
Member VLANs The member VLANs are additional VLANs that share ports with the master
VLAN. The Layer 2 protocol settings for the ports in the master VLAN apply to the same ports in the member VLANs. A change to the master VLAN Layer 2 protocol configuration or Layer 2 topology affects all the member VLANs. Member VLANs do not independently run a Layer 2 protocol.
Member VLAN groups A VLAN group is a named set of VLANs. The VLANs within a VLAN
group have the same ports and use the same values for other VLAN parameters. When a Layer 2 topology change occurs on a port in the master VLAN, the same change is applied to that port in all the member VLANs that contain the port. For example, if you configure a topology group whose master VLAN contains ports 1/1 and 1/2, a Layer 2 state change on port 1/1 applies to port 1/1 in all the member VLANs that contain that port. However, the state change does not affect port 1/1 in VLANs that are not members of the topology group.
Control port A control port is a port in the master VLAN, and is therefore controlled by the
Layer 2 protocol configured in the master VLAN. The same port in all the member VLANs is controlled by the master VLAN Layer 2 protocol. Each member VLAN must contain all of the control ports and can contain additional ports.
Free port A free port is not controlled by the master VLAN Layer 2 protocol. The master VLAN
can contain free ports. (In this case, the Layer 2 protocol is disabled on those ports.) In addition, any ports in the member VLANs that are not also in the master VLAN are free ports.
NOTE
Since free ports are not controlled by the master port Layer 2 protocol, they are assumed to always be in the Forwarding state.
You can configure up to 256 topology groups. Each group can control up to 4096 VLANs. A
VLAN cannot be controlled by more than one topology group.
The topology group must contain a master VLAN and can also contain individual member
VLANs, VLAN groups, or a combination of individual member VLANs and VLAN groups.
If you add a new master VLAN to a topology group that already has a master VLAN, the new
master VLAN replaces the older master VLAN. All member VLANs and VLAN groups follow the Layer 2 protocol settings of the new master VLAN.
608
Topology groups
If you remove the master VLAN (by entering no master-vlan <vlan-id>), the software selects the
new master VLAN from member VLANs. A new candidate master VLAN will be in configured order to a member VLAN so that the first added member VLAN will be a new candidate master VLAN. Once you save and reload, a member-vlan with the youngest VLAN ID will be the new candidate master. The new master VLAN inherits the Layer 2 protocol settings of the older master VLAN.
Once you add a VLAN as a member of a topology group, all the Layer 2 protocol information on
the VLAN is deleted.
NOTE
NOTE
If you add a new master VLAN to a topology group that already has a master VLAN, the new master VLAN replaces the older master VLAN. All member VLANs and VLAN groups follow the Layer 2 protocol settings of the new master VLAN. Syntax: [no] member-vlan <vlan-id> The <vlan-id> parameter specifies a VLAN ID. The VLAN must already be configured. Syntax: [no] member-group <num> The <num> specifies a VLAN group ID. The VLAN group must already be configured.
609
Topology groups
Once you add a VLAN or VLAN group as a member of a topology group, all the Layer 2 protocol configuration information for the VLAN or group is deleted. For example, if STP is configured on a VLAN and you add the VLAN to a topology group, the STP configuration is removed from the VLAN. Once you add the VLAN to a topology group, the VLAN uses the Layer 2 protocol settings of the master VLAN. If you remove a member VLAN or VLAN group from a topology group, you will need to reconfigure the Layer 2 protocol information in the VLAN or VLAN group.
NOTE
This example shows STP information for VLAN 4. The line shown in bold type indicates that the VLAN STP configuration is controlled by VLAN 2. This information indicates that VLAN 4 is a member of a topology group and VLAN 2 is the master VLAN in that topology group.
610
TABLE 114
Field
master-vlan
L2 protocol
STP allows a maximum of seven nodes. Metro rings can easily contain more nodes than this. STP has a slow reconvergence time, taking many seconds or even minutes. MRP can detect
and heal a break in the ring in sub-second time.
611
FIGURE 40
Switch B
Switch D
Customer A
The ring in this example consists of four MRP nodes (Brocade switches). Each node has two interfaces with the ring. Each node also is connected to a separate customer network. The nodes forward Layer 2 traffic to and from the customer networks through the ring. The ring interfaces are all in one port-based VLAN. Each customer interface can be in the same VLAN as the ring or in a separate VLAN. One node is configured as the master node of the MRP ring. One of the two interfaces on the master node is configured as the primary interface; the other is the secondary interface. The primary interface originates Ring Health Packets (RHPs), which are used to monitor the health of the ring. An RHP is forwarded on the ring to the next interface until it reaches the secondary interface of the master node. The secondary interface blocks the packet to prevent a Layer 2 loops.
612
The above configurations can be configured as MRP masters or MRP members (for different
rings).
Brocade does not recommend configuring more than 15 MRP instances on FCX devices. Also,
due to hardware limitations on this platforms, configuring 40 or more MRP instances may cause errors.
If you configure MRP on a device running Layer 3 software, then restart the device running
Layer 2 software, the MRP configuration gets deleted.
FIGURE 41
613
Master Node
Port1/1
Port4/1
Ring 1
Port1/2 Port4/2
Ring 2
Master Node
Ring 3
In this example, two nodes are each configured with two MRP rings. Any node in a ring can be the master for its ring. A node also can be the master for more than one ring.
FIGURE 42
614
Example 1
Example 2
S1
Port1/1 VLAN 2
S1 Ring 1
Port2/2 VLAN 2
S2
Ring 2
Ring 1
Ring 2 S3
S4 Ring 3
On each node that will participate in the ring, you specify the ring ID and the interfaces that will be used for ring traffic. In a multiple ring configuration, a ring ID determines its priority. The lower the ring ID, the higher priority of a ring. A ring ID is also used to identify the interfaces that belong to a ring.
FIGURE 43
T S1
1 Ring 1 1
2 2
S2
1 1 1
2 2
C = customer port
For example, in Figure 43, the ID of all interfaces on all nodes on Ring 1 is 1 and all interfaces on all nodes on Ring 2 is 2. Port 1/1 on node S1 and Port 2/2 on S2 have the IDs of 1 and 2 since the interfaces are shared by Rings 1 and 2.
615
The ring ID is also used to determine an interface priority. Generally, a ring ID is also the ring priority and the priority of all interfaces on that ring. However, if the interface is shared by two or more rings, then the highest priority (lowest ID) becomes the priority of the interface. For example, in Figure 43, all interfaces on Ring 1, except for Port 1/1 on node S1 and Port 2/2 on node S2 have a priority of 1. Likewise, all interfaces on Ring 2, except for Port 1/1 on node S1 and Port 2/2 on node S2 have a priority of 2. Port 1/1 on S1 and Port 2/2 on S2 have a priority of 1 since 1 is the highest priority (lowest ID) of the rings that share the interface. If a node has interfaces that have different IDs, the interfaces that belong to the ring with the highest priority become regular ports. Those interfaces that do not belong to the ring with the highest priority become tunnel ports. In Figure 43, nodes S1 and S2 have interfaces that belong to Rings 1 and 2. Those interfaces with a priority of 1 are regular ports. The interfaces with a priority of 2 are the tunnel ports since they belong to Ring 2, which has a lower priority than Ring 1.
Ring initialization
The ring shown in Figure 40 shows the port states in a fully initialized ring without any broken links. Figure 44 shows the initial state of the ring, when MRP is first enabled on the ring switches. All ring interfaces on the master node and member nodes begin in the Preforwarding state (PF).
FIGURE 44
616
Customer A
PF
Switch B
PF
PF F Switch C Customer A PF Primary port on Master node sends RHP 1 All ports start in Preforwarding state.
Customer A
PF
Switch D
PF
Customer A
MRP uses Ring Health Packets (RHPs) to monitor the health of the ring. An RHP is an MRP protocol packet. The source address is the MAC address of the master node and the destination MAC address is a protocol address for MRP. The Master node generates RHPs and sends them on the ring. The state of a ring port depends on the RHPs.
Preforwarding (PF) The interface can forward RHPS but cannot forward data. All ring ports
begin in this state when you enable MRP.
617
Forwarding (F) The interface can forward data as well as RHPs. An interface changes from
Preforwarding to Forwarding when the port preforwarding time expires. This occurs if the port does not receive an RHP from the Master, or if the forwarding bit in the RHPs received by the port is off. This indicates a break in the ring. The port heals the ring by changing its state to Forwarding. The preforwarding time is the number of milliseconds the port will remain in the Preforwarding state before changing to the Forwarding state, even without receiving an RHP.
Blocking (B) The interface cannot forward data. Only the secondary interface on the Master
node can be Blocking. When MRP is enabled, all ports begin in the Preforwarding state. The primary interface on the Master node, although it is in the Preforwarding state like the other ports, immediately sends an RHP onto the ring. The secondary port on the Master node listens for the RHP.
If the secondary port receives the RHP, all links in the ring are up and the port changes its state
to Blocking. The primary port then sends another MRP with its forwarding bit set on. As each of the member ports receives the RHP, the ports changes their state to Forwarding. Typically, this occurs in sub-second time. The ring very quickly enters the fully initialized state.
If the secondary port does not receive the RHP by the time the preforwarding time expires, a
break has occurred in the ring. The port changes its state to Forwarding. The member ports also change their states from Preforwarding to Forwarding as their preforwarding timers expire. The ring is not intact, but data can still travel among the nodes using the links that are up. Figure 45 shows an example.
FIGURE 45
618
RHP 2 Customer A Forwarding bit is on. Each port changes from Preforwarding to Forwarding when it receives this RHP.
PF
Switch B
PF F Switch C Customer A PF Secondary port receives RHP 1 and changes to Blocking Primary port then sends RHP 2 with forwarding bit on
Customer A
PF
Switch D
PF
Customer A
Each RHP also has a sequence number. MRP can use the sequence number to determine the round-trip time for RHPs in the ring. Refer to Metro Ring Protocol diagnostics on page 628.
FIGURE 46
619
1 1
T 2 S1
1,2
Ring 2
2 1,2
2 2
S2 T 2
2 S4
S3
Port 2/1 on Ring 1 master node is the primary interface of the master node. The primary interface forwards an RHP packet on the ring. Since all the interfaces on Ring 1 are regular ports, the RHP packet is forwarded to all the interfaces until it reaches Port 2/2, the secondary interface of the master node. Port 2/2 then blocks the packet to complete the process. On Ring 2, Port 3/1, is the primary interface of the master node. It sends an RHP packet on the ring. Since all ports on S4 are regular ports, the RHP packet is forwarded on those interfaces. When the packet reaches S2, the receiving interface is a tunnel port. The port compares the packet priority to its priority. Since the packet priority is the same as the tunnel port priority, the packet is forwarded up the link shared by Rings 1 and 2. When the RHP packet reaches the interface on node S2 shared by Rings 1 and 2, the packet is forwarded since its priority is less than the interface priority. The packet continues to be forwarded to node S1 until it reaches the tunnel port on S1. That tunnel port determines that the RHP packet priority is equal to the port priority and forwards the packet. The RHP packet is forwarded to the remaining interfaces on Ring 2 until it reaches port 3/2, the secondary interface of the master node. Port 3/2 then blocks the packet to prevent a loop. When the RHP packet from Ring 2 reached S2, it was also forwarded from S2 to S3 on Ring 1 since the port on S2 has a higher priority than the RHP packet. The packets is forwarded around Ring 1 until it reaches port 2/2, Ring 1 the secondary port. The RHP packet is then blocked by that port.
620
FIGURE 47
Customer A
Switch B
F F Switch C Customer A
Switch D
Customer A
621
If a break in the ring occurs, MRP heals the ring by changing the states of some of the ring interfaces:
Blocking interface The Blocking interface on the Master node has a dead timer. If the dead
time expires before the interface receives one of its ring RHPs, the interface changes state to Preforwarding. Once the secondary interface changes state to Preforwarding:
If the interface receives an RHP, the interface changes back to the Blocking state and
resets the dead timer.
If the interface does not receive an RHP for its ring before the Preforwarding time expires,
the interface changes to the Forwarding state, as shown in Figure 47.
If an RHP reaches the Master node secondary interface, the ring is intact. The secondary
interface changes to Blocking. The Master node sets the forwarding bit on in the next RHP. When the restored interfaces receive this RHP, they immediately change state to Forwarding.
If an RHP does not reach the Master node secondary interface, the ring is still broken. The
Master node does not send an RHP with the forwarding bit on. In this case, the restored interfaces remain in the Preforwarding state until the preforwarding timer expires, then change to the Forwarding state. If the link between shared interfaces breaks (Figure 48), the secondary interface on Ring 1 master node changes to a preforwarding state. The RHP packet sent by port 3/1 on Ring 2 is forwarded through the interfaces on S4, then to S2. The packet is then forwarded through S2 to S3, but not from S2 to S1 since the link between the two nodes is not available. When the packet reaches Ring 1 master node, the packet is forwarded through the secondary interface since it is currently in a preforwarding state. A secondary interface in preforwarding mode ignores any RHP packet that is not from its ring. The secondary interface changes to blocking mode only when the RHP packet forwarded by its primary interface is returned. The packet then continues around Ring 1, through the interfaces on S1 to Ring 2 until it reaches Ring 2 master node. Port 3/2, the secondary interface on Ring 2 changes to blocking mode since it received its own packet, then blocks the packet to prevent a loop.
622
FIGURE 48
1
Port2/2 changes to preforwarding Master node (primary interface) Port2/1
1 1
Ring 1
T 2 S1 1,2
2 2
Ring 2
1 1 1 1
X1,2
S2 T 2
2 2 S4 2
S3
RHP packets follow this flow until the link is restored; then the RHP packet returns to it normal flow as shown in Figure 46.
FIGURE 49
623
Customer A VLAN 30 Switch B ====== ring 1 interfaces 1/1, 1/2 topology group 2 master VLAN 2 (1/1, 1/2) member VLAN 30 (1/1, 1/2, 2/1) member VLAN 40 (1/1, 1/2, 4/1)
Customer B VLAN 40
Port2/1 Port1/2
Port4/1 Port1/1
Switch B
Switch D Switch D ====== ring 1 interfaces 1/1, 1/2 topology group 2 master VLAN 2 (1/1, 1/2) member VLAN 30 (1/1, 1/2, 2/1) member VLAN 40 (1/1, 1/2, 4/1)
Port1/2 Port2/1
Port1/1 Port4/1
Customer A VLAN 30
Customer B VLAN 40
Notice that each customer has their own VLAN. Customer A has VLAN 30 and Customer B has VLAN 40. Customer A host attached to Switch D can reach the Customer A host attached to Switch B at Layer 2 through the ring. Since Customer A and Customer B are on different VLANs, they will not receive each other traffic. You can configure MRP separately on each customer VLAN. However, this is impractical if you have many customers. To simplify configuration when you have a lot of customers (and therefore a lot of VLANs), you can use a topology group. A topology group enables you to control forwarding in multiple VLANs using a single instance of a Layer 2 protocol such as MRP. A topology group contains a master VLAN and member VLANs. The master VLAN contains all the configuration parameters for the Layer 2 protocol (STP, MRP, or VSRP). The member VLANs use the Layer 2 configuration of the master VLAN.
624
In Figure 49, VLAN 2 is the master VLAN and contains the MRP configuration parameters for ring 1. VLAN 30 and VLAN 40, the customer VLANs, are member VLANs in the topology group. Since a topology group is used, a single instance of MRP provides redundancy and loop prevention for both the customer VLANs. If you use a topology group:
The master VLAN must contain the ring interfaces. The ports must be tagged, since they will
be shared by multiple VLANs.
The member VLAN for a customer must contain the two ring interfaces and the interfaces for
the customer. Since these interfaces are shared with the master VLAN, they must be tagged. Do not add another customer interfaces to the VLAN. For more information about topology groups, refer to Topology groups on page 607. Refer to MRP CLI example on page 631 for the configuration commands required to implement the MRP configuration shown in Figure 49.
NOTE
There are no new commands or parameters to configure MRP with shared interfaces (MRP Phase 2).
Disable one of the ring interfaces. This prevents a Layer 2 loop from occurring while you are
configuring the devices for MRP.
Add an MRP ring to a port-based VLAN. When you add a ring, the CLI changes to the
configuration level for the ring, where you can perform the following tasks.
Optionally, specify a name for the ring. On the master node only, enable the device to be the master for the ring. Each ring can
have only one master node.
Specify the MRP interfaces. Each device has two interfaces to an MRP ring. Optionally, change the hello time and the preforwarding time. These parameters control
how quickly failover occurs following a change in the state of a link in the ring.
Enable the ring. Optionally, add the ring VLAN to a topology group to add more VLANs to the ring. If you use a
topology group, make sure you configure MRP on the group master VLAN. Refer to Topology groups on page 607.
Re-enable the interface you disabled to prevent a Layer 2 loop. Once MRP is enabled, MRP will
prevent the Layer 2 loop.
On FCX devices, when configuring MRP-1 or MRP-2 rings on a VLAN, using the metro-rings
command in addition to the metro-ring command is highly recommended. Since these devices do not support mac-range filtering, the metro-rings command greatly reduces the number of FDB entries.
625
NOTE
These commands configure an MRP ring on VLAN 2. The ring ID is 1, the ring name is CustomerA, and this node (this Brocade device) is the master for the ring. The ring interfaces are 1/1 and 1/2. Interface 1/1 is the primary interface and 1/2 is the secondary interface. The primary interface will initiate RHPs by default. The ring takes effect in VLAN 2.
Brocade(config)#vlan 2 Brocade(config-vlan-2)#metro-ring 1 Brocade(config-vlan-2-mrp-1)#name CustomerA Brocade(config-vlan-2-mrp-1)#ring-interface ethernet 1/1 ethernet 1/2 Brocade(config-vlan-2-mrp-1)#enable Brocade(config-vlan-2-mrp-1)#metro-ring 2 Brocade(config-vlan-2-mrp-2)#name CustomerB Brocade(config-vlan-2-mrp-2)#ring-interface ethernet 1/1 ethernet 1/2 Brocade(config-vlan-2-mrp-2)#enable
Syntax: [no] metro-ring <ring id> The <ring-id> parameter specifies the ring ID. In the FWS, the ring ID can be a value from 1 255. Otherwise, the <ring-id> can be from 1 1023; ID 256 is reserved for VSRP. On FWS, FCX, and ICX devices, enter the metro-rings in addition to the metro-ring command as shown below.
Brocade(config)#vlan 2 Brocade(config-vlan-2)#metro-rings 1 2 Brocade(config-vlan-2)#metro-ring 1 Brocade(config-vlan-2-mrp-1)#name CustomerA Brocade(config-vlan-2-mrp-1)#ring-interface ethernet 1/1 ethernet 1/2 Brocade(config-vlan-2-mrp-1)#enable Brocade(config-vlan-2-mrp-1)#metro-ring 2 Brocade(config-vlan-2-mrp-2)#name CustomerB Brocade(config-vlan-2-mrp-2)#ring-interface ethernet 1/1 ethernet 1/2 Brocade(config-vlan-2-mrp-2)#enable
Syntax: [no] metro-rings <ring id> <ring id>. . . The <ring id> variables identify the metro rings you want to configure on the VLAN. Syntax: [no] name <string> The <string> parameter specifies a name for the ring. The name is optional, but it can be up to 20 characters long and can include blank spaces. If you use a name that has blank spaces, enclose the name in double quotation marks (for example: Customer A). Syntax: [no] master
626
Configures this node as the master node for the ring. Enter this command only on one node in the ring. The node is a member (non-master) node by default. Syntax: [no] ring-interface ethernet <primary-if> ethernet <secondary-if> The ethernet <primary-if> parameter specifies the primary interface. On the master node, the primary interface is the one that originates RHPs. Ring control traffic and Layer 2 data traffic will flow in the outward direction from this interface by default. On member nodes, the direction of traffic flow depends on the traffic direction selected by the master node. Therefore, on a member node, the order in which you enter the interfaces does not matter. The ethernet <secondary-if> parameter specifies the secondary interface. To take advantage of every interface in a Metro network, you can configure another MRP ring and either configure a different Master node for the ring or reverse the configuration of the primary and secondary interfaces on the Master node. Configuring multiple rings enables you to use all the ports in the ring. The same port can forward traffic one ring while blocking traffic for another ring. Syntax: [no] enable The enable command enables the ring.
NOTE
These commands change the hello time to 200 ms and change the preforwarding time to 400 ms. Syntax: [no] hello-time <ms> Syntax: [no] preforwarding-time <ms> The <ms> specifies the number of milliseconds. For the hello time, you can specify from 100 1000 (one second). The default hello time is 100 ms. The preforwarding time can be from 200 5000 ms, but must be at least twice the value of the hello time and must be a multiple of the hello time. The default preforwarding time is 300 ms. A change to the hello time or preforwarding time takes effect as soon as you enter the command. Configuration notes for changing the hello and preforwarding times
The preforwarding time must be at least twice the value of the hello time and must be a
multiple of the hello time.
If UDLD is also enabled on the device, Brocade recommends that you set the MRP
preforwarding time slightly higher than the default of 300 ms; for example, to 400 or 500 ms.
You can use MRP ring diagnostics to determine whether you need to change the hello time and
preforwarding time. Refer to Metro Ring Protocol diagnostics.
627
NOTE
This command is valid only on the master node.
Syntax: show metro <ring-id> diag This display shows the following information.
TABLE 115
Field
Ring id Diag state
628
TABLE 115
Field
If the recommended hello time and preforwarding time are different from the actual settings and you want to change them, refer to Metro Ring Protocol configuration on page 625.
Master vlan 2
Syntax: show metro [<ring-id>] This display shows the following information.
629
TABLE 116
Field
Ring id State
Ring role
Master vlan
The topology group ID. The interval, in milliseconds, at which the Forwarding port on the ring master node sends Ring Hello Packets (RHPs). The number of milliseconds an MRP interface that has entered the Preforwarding state will wait before changing to the Forwarding state. If a member port in the Preforwarding state does not receive an RHP within the Preforwarding time (Prefwing time), the port assumes that a topology change has occurred and changes to the Forwarding state. The secondary port on the Master node changes to Blocking if it receives an RHP, but changes to Forwarding if the port does not receive an RHP before the preforwarding time expires. NOTE: A member node Preforwarding interface also changes from Preforwarding to Forwarding if it receives an RHP whose forwarding bit is on.
Ring interfaces
The device two interfaces with the ring. NOTE: If the interfaces are trunk groups, only the primary ports of the groups are listed.
Interface role
The interface role can be one of the following: primary Master node The interface generates RHPs. Member node The interface forwards RHPs received on the other interface (the secondary interface). secondary The interface does not generate RHPs. Master node The interface listens for RHPs. Member node The interface receives RHPs.
Forwarding state
Whether MRP Forwarding is enabled on the interface. The forwarding state can be one of the following: blocking The interface is blocking Layer 2 data traffic and RHPs disabled The interface is down forwarding The interface is forwarding Layer 2 data traffic and RHPs preforwarding The interface is listening for RHPs but is blocking Layer 2 data traffic
630
TABLE 116
Field
Active interface
Shows if the interface is a regular port or a tunnel port. The number of RHPs sent on the interface. NOTE: This field applies only to the master node. On non-master nodes, this field contains 0. This is because the RHPs are forwarded in hardware on the non-master nodes.
RHPs rcvd
The number of RHPs received on the interface. NOTE: On most Brocade devices, this field applies only to the master node. On non-master nodes, this field contains 0. This is because the RHPs are forwarded in hardware on the non-master nodes. However, on the FastIron devices, the RHP received counter on non-master MRP nodes increment. This is because, on FastIron devices, the CPU receives a copy of the RHPs forwarded in hardware.
The number of Topology Change RHPs received on the interface. A Topology Change RHP indicates that the ring topology has changed. The number of MRP interface state changes that have occurred. The state can be one of the states listed in the Forwarding state field. Shows if the interface is a regular port or a tunnel port.
NOTE
For simplicity, the figure shows the VLANs on only two switches. The CLI examples implement the ring on all four switches.
631
The following commands configure the customer VLANs. The customer VLANs must contain both the ring interfaces as well as the customer interfaces.
Brocade(config)#vlan 30 Brocade(config-vlan-30)#tag ethernet Brocade(config-vlan-30)#tag ethernet Brocade(config-vlan-30)#exit Brocade(config)#vlan 40 Brocade(config-vlan-40)#tag ethernet Brocade(config-vlan-40)#tag ethernet Brocade(config-vlan-40)#exit 1/1 to 1/2 2/1
The following commands configure topology group 1 on VLAN 2. The master VLAN is the one that contains the MRP configuration. The member VLANs use the MRP parameters of the master VLAN. The control interfaces (the ones shared by the master VLAN and member VLAN) also share MRP state.
Brocade(config)#topology-group 1 Brocade(config-topo-group-1)#master-vlan 2 Brocade(config-topo-group-1)#member-vlan 30 Brocade(config-topo-group-1)#member-vlan 40
632
VSRP
Brocade(config)#vlan 30 Brocade(config-vlan-30)#tag ethernet 1/1 Brocade(config-vlan-30)#tag ethernet 2/1 Brocade(config-vlan-30)#exit Brocade(config)#vlan 40 Brocade(config-vlan-40)#tag ethernet 1/1 Brocade(config-vlan-40)#tag ethernet 4/1 Brocade(config-vlan-40)#exit Brocade(config)#topology-group 1 Brocade(config-topo-group-1)#master-vlan Brocade(config-topo-group-1)#member-vlan Brocade(config-topo-group-1)#member-vlan
to 1/2
to 1/2
2 30 40
VSRP
Virtual Switch Redundancy Protocol (VSRP) is a Brocade proprietary protocol that provides redundancy and sub-second failover in Layer 2 and Layer 3 mesh topologies. Based on the Brocade Virtual Router Redundancy Protocol Extended (VRRP-E), VSRP provides one or more backups for a Layer 2 Switch or Layer 3 Switch. If the active Layer 2 Switch or Layer 3 Switch becomes unavailable, one of the backups takes over as the active device and continues forwarding traffic for the network. The FastIron family of switches support full VSRP as well as VSRP-awareness. A Brocade device that is not itself configured for VSRP but is connected to a Brocade device that is configured for VSRP, is VSRP aware. You can use VSRP for Layer 2, Layer 3, or for both layers. On Layer 3 Switches, Layer 2 and Layer 3 share the same VSRP configuration information. On Layer 2 Switches, VSRP applies only to Layer 2.
633
VSRP
FIGURE 50
VSRP Master F F F
optional link B
VSRP Backup B B
VSRP Aware
VSRP Aware
VSRP Aware
Hello packets
In this example, two Brocade devices are configured as redundant paths for VRID 1. On each of the devices, a Virtual Router ID (VRID) is configured on a port-based VLAN. Since VSRP is primarily a Layer 2 redundancy protocol, the VRID applies to the entire VLAN. However, you can selectively remove individual ports from the VRID if needed. Following Master election (described below), one of the Brocade devices becomes the Master for the VRID and sets the state of all the VLAN ports to Forwarding. The other device is a Backup and sets all the ports in its VRID VLAN to Blocking. If a failover occurs, the Backup becomes the new Master and changes all its VRID ports to the Forwarding state. Other Brocade devices can use the redundant paths provided by the VSRP devices. In this example, three Brocade devices use the redundant paths. A Brocade device that is not itself configured for VSRP but is connected to a Brocade device that is configured for VSRP, is VSRP aware. In this example, the three Brocade devices connected to the VSRP devices are VSRP aware. A Brocade device that is VSRP aware can failover its link to the new Master in sub-second time, by changing the MAC address associated with the redundant path. When you configure VSRP, make sure each of the non-VSRP Brocade devices connected to the VSRP devices has a separate link to each of the VSRP devices.
634
VSRP
Layer 2 only The Layer 2 links are backed up but specific IP addresses are not backed up. Layer 2 and Layer 3 The Layer 2 links are backed up and a specific IP address is also backed
up. Layer 3 VSRP is the same as VRRP-E. However, using VSRP provides redundancy at both layers at the same time. Layer 2 Switches support Layer 2 VSRP only. Layer 3 Switches support Layer 2 and Layer 3 redundancy. You can configure a Layer 3 Switch for either Layer 2 only or Layer 2 and Layer 3. To configure for Layer 3, specify the IP address you are backing up.
NOTE
If you want to provide Layer 3 redundancy only, disable VSRP and use VRRP-E.
Layer 2 Switches The Layer 2 Switch with the higher management IP address becomes the
Master.
If neither of the switches has a management IP address, then the switch with the higher
MAC address becomes the Master. (VSRP compares the MAC addresses of the ports configured for the VRID, not the base MAC addresses of the switches.)
Layer 3 Switches The Layer 3 Switch whose virtual routing interface has a higher IP address
becomes the master.
VSRP failover
Each Backup listens for Hello messages from the Master. The Hello messages indicate that the Master is still available. If the Backups stop receiving Hello messages from the Master, the election process occurs again and the Backup with the highest priority becomes the new Master. Each Backup waits for a specific period of time, the Dead Interval, to receive a new Hello message from the Master. If the Backup does not receive a Hello message from the Master by the time the Dead Interval expires, the Backup sends a Hello message of its own, which includes the Backup's VSRP priority, to advertise the Backup's intent to become the Master. If there are multiple Backups for the VRID, each Backup sends a Hello message. When a Backup sends a Hello message announcing its intent to become the Master, the Backup also starts a hold-down timer. During the hold-down time, the Backup listens for a Hello message with a higher priority than its own.
If the Backup receives a Hello message with a higher priority than its own, the Backup resets
its Dead Interval and returns to normal Backup status.
635
VSRP
If the Backup does not receive a Hello message with a higher priority than its own by the time
the hold-down timer expires, the Backup becomes the new Master and starts forwarding Layer 2 traffic on all ports. If you increase the timer scale value, each timer value is divided by the scale value. To achieve sub-second failover times, you can change the scale to a value up to 10. This shortens all the VSRP timers to 10 percent of their configured values.
FIGURE 51
VSRP priority
VSRP Master F F F
optional link B
VSRP Backup B B
VSRP Aware
VSRP Aware
VSRP Aware
However, if one of the VRID ports goes down on one of the Backups, that Backup priority is reduced. If the Master priority is reduced enough to make the priority lower than a Backup priority, the VRID fails over to the Backup. Figure 52 shows an example.
636
VSRP
FIGURE 52
VSRP Backup B
Link down
optional link B F
VSRP Master F F
X
VSRP Aware VSRP Aware VSRP Aware
You can reduce the sensitivity of a VSRP device to failover by increasing its configured VSRP priority. For example, you can increase the configured priority of the VSRP device on the left in Figure 52 to 150. In this case, failure of a single link does not cause failover. The link failure caused the priority to be reduced to 100, which is still equal to the priority of the other device. This is shown in Figure 53.
FIGURE 53
VSRP Master F
Link down
optional link F B
VSRP Backup B B
X
VSRP Aware VSRP Aware VSRP Aware
Track ports Optionally, you can configure track ports to be included during VSRP priority calculation. In VSRP, a track port is a port that is not a member of the VRID VLAN, but whose state is nonetheless considered when the priority is calculated. Typically, a track port represents the exit side of traffic received on the VRID ports. By default, no track ports are configured.
637
VSRP
When you configure a track port, you assign a priority value to the port. If the port goes down, VSRP subtracts the track port priority value from the configured VSRP priority. For example, if the you configure a track port with priority 20 and the configured VSRP priority is 100, the software subtracts 20 from 100 if the track port goes down, resulting in a VSRP priority of 80. The new priority value is used when calculating the VSRP priority. Figure 54 shows an example.
FIGURE 54
VSRP Master
Track port is up
optional link F B
VSRP Backup B B
VSRP Aware
VSRP Aware
VSRP Aware
In Figure 54, the track port is up. SInce the port is up, the track priority does not affect the VSRP priority calculation. If the track port goes down, the track priority does affect VSRP priority calculation, as shown in Figure 55.
FIGURE 55
X
Track link is down
VSRP Backup B B B
optional link F
VSRP Master F F
VSRP Aware
VSRP Aware
VSRP Aware
638
VSRP
If the port number is the same as the port that previously received a Hello message, the
VSRP-aware device assumes that the message came from the same VSRP Master that sent the previous message.
If the port number does not match, the VSRP-aware device assumes that a VSRP failover has
occurred to a new Master, and moves the MAC addresses learned on the previous port to the new port. The VRID records age out if unused. This can occur if the VSRP-aware device becomes disconnected from the Master. The VSRP-aware device will wait for a Hello message for the period of time equal to the following. VRID Age = Dead Interval + Hold-down Interval + (3 x Hello Interval) The values for these timers are determined by the VSRP device sending the Hello messages. If the Master uses the default timer values, the age time for VRID records on the VSRP-aware devices is as follows. 3 + 3 + (3 x 1) = 9 seconds In this case, if the VSRP-aware device does not receive a new Hello message for a VRID in a given VLAN, on any port, the device assumes the connection to the Master is unavailable and removes the VRID record.
Define the specific authentication parameters that a VSRP-aware device will use on a VSRP
backup switch. The authentication parameters that you define will not age out.
Define a list of ports that have authentic VSRP backup switch connections. For ports included
in the list, the VSRP-aware switch will process VSRP hello packets using the VSRP-aware security configuration. Conversely, for ports not included in the list, the VSRP-aware switch will not use the VSRP-aware security configuration.
639
VSRP
If VSRP hello packets do not meet the acceptance criteria, the VSRP-aware device forwards the packets normally, without any VSRP-aware security processing. To configure VSRP-Aware Security features, refer to Configuring security features on a VSRP-aware device on page 645.
VSRP parameters
Table 117 lists the VSRP parameters.
TABLE 117
Parameter
Protocol
VSRP parameters
Description
VSRP state NOTE: On a Layer 3 Switch, you must disable VSRP to use VRRP-E or VRRP.
Default
Enabled
The ID of the virtual switch you are creating by configuring multiple devices as redundant links. You must configure the same VRID on each device that you want to use to back up the links. The value used by the software to calculate all VSRP timers. Increasing the timer scale value decreases the length of all the VSRP timers equally, without changing the ratio of one timer to another.
None
page 642
Timer scale
page 644
Interface parameters
Authentication type The type of authentication the VSRP devices use to validate VSRP packets. On Layer 3 Switches, the authentication type must match the authentication type the VRID port uses with other routing protocols such as OSPF. No authentication The interfaces do not use authentication. Simple The interface uses a simple text-string as a password in packets sent on the interface. If the interface uses simple password authentication, the VRID configured on the interface must use the same authentication type and the same password. NOTE: MD5 is not supported. VSRP-Aware Security Parameters VSRP-Aware Authentication type The type of authentication the VSRP-aware devices will use on a VSRP backup switch: No authentication The device does not accept incoming packets that have authentication strings. Simple The device uses a simple text-string as the authentication string for accepting incoming packets. Not configured page 645 No authentication page 644
VRID parameters
VSRP device type Whether the device is a VSRP Backup for the VRID. All VSRP devices for a given VRID are Backups. Not configured page 642
640
VSRP
TABLE 117
Parameter
VSRP ports
Default
All ports in the VRID VLAN
VRID IP address
None
page 646
Backup priority
A numeric value that determines a Backup preferability for becoming the Master for the VRID. During negotiation, the device with the highest priority becomes the Master. In VSRP, all devices are Backups and have the same priority by default. If two or more Backups are tied with the highest priority, the Backup with the highest IP address becomes the Master for the VRID. When you save a Backup configuration, the software can save the configured VSRP timer values or the VSRP timer values received from the Master. Saving the current timer values instead of the configured ones helps ensure consistent timer usage for all the VRID devices. NOTE: The Backup always gets its timer scale value from the Master.
page 646
page 647
The maximum number of hops a VSRP Hello packet can traverse before being dropped. You can specify from 1 255. The amount of time between Hello messages from the Master to the Backups for a given VRID. The interval can be from 1 84 seconds. The amount of time a Backup waits for a Hello message from the Master for the VRID before determining that the Master is no longer active. If the Master does not send a Hello message before the dead interval expires, the Backups negotiate (compare priorities) to select a new Master for the VRID. The amount of time between Hello messages from a Backup to the Master. The message interval can be from 60 3600 seconds. You must enable the Backup to send the messages. The messages are disabled by default on Backups. The current Master sends Hello messages by default.
page 647
One second
page 648
Dead interval
page 648
page 648
641
VSRP
TABLE 117
Parameter
Hold-down interval
Default
3 seconds
Track priority
page 649
Track port
None
page 650
Enabled
page 650
Disabled
page 642
RIP parameters
Suppression of RIP advertisements A Layer 3 Switch that is running RIP normally advertises routes to a backed up VRID even when the Layer 3 Switch is not currently the active Layer 3 Switch for the VRID. Suppression of these advertisements helps ensure that other Layer 3 Switches do not receive invalid route paths for the VRID. NOTE: This parameter is valid only on Layer 3 Switches. Disabled (routes are advertised) page 650
Configure a port-based VLAN containing the ports for which you want to provide VSRP service.
NOTE
If you already have a port-based VLAN but only want to use VSRP on a sub-set of the VLANs ports, you can selectively remove ports from VSRP service in the VLAN. Refer to Removing a port from the VRID VLAN on page 646.
Configure a VRID: Specify that the device is a backup. Since VSRP, like VRRP-E, does not have an owner,
all VSRP devices are backups. The active device for a VRID is elected based on the VRID priority, which is configurable.
642
VSRP
Syntax: [no] vsrp vrid <num> The <num> parameter specifies the VRID and can be from 1 255. Syntax: [no] backup [priority <value>] [track-priority <value>] This command is required. In VSRP, all devices on which a VRID are configured are Backups. The Master is then elected based on the VSRP priority of each device. There is no owner device as there is in VRRP. For information about the command optional parameters, refer to the following:
Changing the backup priority on page 646 Changing the default track priority setting on page 649
Syntax: [no] activate or Syntax: enable | disable
Syntax: [no] router vsrp Since VRRP and VRRP-E do not apply to Layer 2 Switches, there is no need to disable VSRP and there is no command to do so. The protocol is always enabled.
643
VSRP
Timer scale
1 2
Timer value
1 second 0.5 seconds 3 seconds 1.5 seconds 60 seconds 30 seconds 3 seconds 1.5 second
Dead interval
1 2
1 2
Hold-down interval
1 2
NOTE
The Backups always use the value of the timer scale received from the Master, and the value from the Master will be written in the configuration file. To change the timer scale, enter a command such as the following at the global CONFIG level of the CLI.
Brocade(config)# scale-timer 2
This command changes the scale to 2. All VSRP, VRRP, and VRRP-E timer values will be divided by 2. Syntax: [no] scale-timer <num> The <num> parameter specifies the multiplier. You can specify a timer scale from 1 10.
Configuring authentication
If the interfaces on which you configure the VRID use authentication, the VSRP packets on those interfaces also must use the same authentication. VSRP supports the following authentication types:
No authentication The interfaces do not use authentication. Simple The interfaces use a simple text-string as a password in packets sent on the
interface. If the interfaces use simple password authentication, the VRID configured on the interfaces must use the same authentication type and the same password. To configure a simple password, enter a command such as the following at the VLAN configuration level.
Brocade(config-vlan-10)#vsrp auth-type simple-text-auth ourpword
644
VSRP
Syntax: [no] vsrp auth-type no-auth | simple-text-auth <auth-data> The auth-type no-auth parameter indicates that the VRID and the interface it is configured on do not use authentication. The auth-type simple-text-auth <auth-data> parameter indicates that the VRID and the interface it is configured on use a simple text password for authentication. The <auth-data> value is the password, and can be up to eight characters. If you use this parameter, make sure all interfaces on all the devices supporting this VRID are configured for simple password authentication and use the same password.
Syntax: vsrp-aware vrid <vrid number> simple text auth <string> Specifying no authentication for VSRP hello packets The following configuration specifies no authentication as the preferred VSRP-aware security method. In this case, the VSRP device will not accept incoming packets that have authentication strings.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#vsrp-aware vrid 2 no-auth
Syntax: vsrp-aware vrid <vrid number> no-auth The following configuration specifies no authentication for VSRP hello packets received on ports 1/1, 1/2, 1/3, and 1/4 in VRID 4. For these ports, the VSRP device will not accept incoming packets that have authentication strings.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#vsrp-aware vrid 4 no-auth port-list ethe 1/1 to 1/4
Syntax: vsrp-aware vrid <vrid number> no-auth port-list <port range> <vrid number> is a valid VRID (from 1 to 255). no-auth specifies no authentication as the preferred VSRP-aware security method. The VSRP device will not accept incoming packets that have authentication strings. simple-text-auth <string> specifies the authentication string for accepting VSRP hello packets, where <string> can be up to 8 characters. port-list <port range> specifies the range of ports to include in the configuration.
645
VSRP
There is no risk of a loop occurring, such as when the port is attached directly to an end host. You plan to use a port in an MRP ring.
To remove a port from a VRID, enter a command such as the following at the configuration level for the VRID.
Brocade(config-vlan-200-vrid-1)#no include-port ethernet 1/2
Syntax: [no] include-port ethernet [<slotnum>/]<portnum> The <slotnum> parameter is required on chassis devices. The <portnum> parameter specifies the port you are removing from the VRID. The port remains in the VLAN but its forwarding state is not controlled by VSRP. If you are configuring a chassis device, specify the slot number as well as the port number (<slotnum>/<portnum>).
NOTE
Failover applies to both Layer 2 and Layer 3. To specify an IP address to back up, enter a command such as the following at the configuration level for the VRID.
Brocade(config-vlan-200-vrid-1)#ip-address 10.10.10.1
NOTE
646
VSRP
The backup priority is used for election of the Master. The VSRP Backup with the highest
priority value for the VRID is elected as the Master for that VRID. The default priority is 100. If two or more Backups are tied with the highest priority, the Backup with the highest IP address becomes the Master for the VRID.
The track priority is used with the track port feature. Refer to VSRP priority calculation on
page 636 and Changing the default track priority setting on page 649. To change the backup priority, enter a command such as the following at the configuration level for the VRID.
Brocade(config-vlan-200-vrid-1)#backup priority 75
Syntax: [no] backup [priority <value>] [track-priority <value>] The priority <value> parameter specifies the backup priority for this interface and VRID. Specify a value as follows:
For VRRP, specify a value from 3 254. The default is 100. For VSRP and VRRP-E, specify a value from 6 255. The default is 100.
For a description of the track-priority <value> parameter, refer to Changing the default track priority setting on page 649.
The Backups always use the value of the timers received from the Master. To configure a Backup to save the VSRP timer values received from the Master instead of the timer values configured on the Backup, enter the following command. Saving the current timer values instead of the configured ones helps ensure consistent timer usage for all the VRID devices.
Brocade(config-vlan-200-vrid-1)#save-current-values
NOTE
An MRP ring is considered to be a single hop, regardless of the number of nodes in the ring.
647
VSRP
To change the TTL for a VRID, enter a command such as the following at the configuration level for the VRID.
Brocade(config-vlan-200-vrid-1)#initial-ttl 5
Syntax: [no] initial-ttl <num> The <num> parameter specifies the TTL and can be from 1 255. The default TTL is 2.
Syntax: [no] hello-interval <num> The <num> parameter specifies the interval and can be from 1 84 seconds. The default is 1 second.
NOTE
The default Dead interval is three times the Hello interval plus one-half second. Generally, if you change the Hello interval, you also should change the Dead interval on the Backups.
If you change the timer scale, the change affects the actual number of seconds.
NOTE
Syntax: [no] dead-interval <num> The <num> parameter specifies the interval and can be from 1 84 seconds. The default is 3 seconds.
NOTE
If you change the timer scale, the change affects the actual number of seconds.
648
VSRP
When a Backup is enabled to send Hello messages, the Backup sends a Hello message to the Master every 60 seconds by default. You can change the interval to be up to 3600 seconds. To change the Backup Hello interval, enter a command such as the following at the configuration level for the VRID.
Brocade(config-vlan-200-vrid-1)#backup-hello-interval 180
Syntax: [no] backup-hello-interval <num> The <num> parameter specifies the message interval and can be from 60 3600 seconds. The default is 60 seconds.
NOTE
If you change the timer scale, the change affects the actual number of seconds.
Syntax: [no] hold-down-interval <num> The <num> parameter specifies the hold-down interval and can be from 1 84 seconds. The default is 3 seconds. If you change the timer scale, the change affects the actual number of seconds.
NOTE
To change the default track priority, use the backup priority <value> track-priority <value>
command, described below.
To override the default track priority for a specific track port, use the track-port command.
Refer to Specifying a track port setting on page 650. To change the track priority, enter a command such as the following at the configuration level for the VRID.
Brocade(config-vlan-200-vrid-1)#backup priority 100 track-priority 2
649
VSRP
Syntax: [no] track-port ethernet [<slotnum>/]<portnum> | ve <num> [priority <num>] The priority <num> parameter changes the VSRP priority of the interface. If this interface goes down, the VRID VSRP priority is reduced by the amount of the track port priority you specify here. The priority <num> option changes the priority of the specified interface, overriding the default track port priority. To change the default track port priority, use the backup track-priority <num> command.
NOTE
650
VSRP
You can prevent the Backups from advertising route information for the backed up interface by enabling suppression of the advertisements. This parameter applies only if you specified an IP address to back up and is valid only on Layer 3 Switches. To suppress RIP advertisements, enter the following commands.
Brocade(config)#router rip Brocade(config-rip-router)#use-vrrp-path
NOTE
VSRP-aware interoperablilty
The vsrp-aware tc-vlan-flush command should be used in network configurations in which the Brocade switch operates as the VSRP-Aware device connecting to a Brocade BigIron RX, NetIron XMR, or NetIron MLX configured as a VSRP Master. The command is available at the VLAN level, and is issued per a specific VRID, as shown here for VRID 11.
Brocade(config-vlan-10)#vsrp-aware vrid 11 tc-vlan-flush
Syntax: vsrp-aware vrid <num> tc-vlan-flush When this command is enabled, MAC addresses will be flushed at the VLAN level, instead of at the port level. MAC addresses will be flushed for every topology change (TC) received on the VSRP-aware ports. When you configure the vsrp-aware tc-vlan-flush command on a VSRP-aware device, and the device receives VSRP hello packets from the VSRP master, VSRP authentication is automatically configured. However, if the VSRP-aware device does not receive VSRP hello packets from the VSRP master when the vsrp-aware tc-vlan-flush command is configured, you must manually configure VSRP authentication. For more information on configuring VSRP authentication, refer to Configuring authentication on page 644. When this command is enabled, the results of the show vsrp-aware vlan command resemble the following.
Brocade(config-vlan-10)#vsrp-aware vrid 11 tc-vlan-flush Brocade(config-vlan-10)#show vsrp aware vlan 10 Aware Port Listing VLAN ID VRID Last Port Auth Type Mac-Flush Age 10 11 N/A no-auth Configured Enabled 00:00:00.0
Configuration information and current parameter values for a VRID or VLAN The interfaces on a VSRP-aware device that are active for the VRID
651
VSRP
Syntax: show vsrp [vrid <num> | vlan <vlan-id>] This display shows the following information when you use the vrid <num> or vlan <vlan-id> parameter. For information about the display when you use the aware parameter, refer to Displaying the active interfaces for a VRID on page 654.
TABLE 118
Field
VRID parameters
VRID state The VRID for which the following information is displayed.
This device VSRP state for the VRID. The state can be one of the following: initialize The VRID is not enabled (activated). If the state remains initialize after you activate the VRID, make sure that the VRID is also configured on the other routers and that the routers can communicate with each other.
NOTE: If the state is initialize and the mode is incomplete, make sure you have specified the IP address for the VRID. standby This device is a Backup for the VRID. master This device is the Master for the VRID. Administrative-status The administrative status of the VRID. The administrative status can be one of the following: disabled The VRID is configured on the interface but VSRP or VRRP-E has not been activated on the interface. enabled VSRP has been activated on the interface.
652
VSRP
TABLE 118
Field
Advertise-backup
Preempt-mode
save-current
NOTE: For the following fields: Configured indicates the parameter value configured on this device. Current indicates the parameter value received from the Master. Unit indicates the formula used tor calculating the VSRP priority and the timer scales in effect for the VSRP timers. A timer true value is the value listed in the Configured or Current field divided by the scale value. priority The device preferability for becoming the Master for the VRID. During negotiation, the Backup with the highest priority becomes the Master. If two or more Backups are tied with the highest priority, the Backup interface with the highest IP address becomes the Master for the VRID. The number of seconds between Hello messages from the Master to the Backups for a given VRID. The configured value for the dead interval. The dead interval is the number of seconds a Backup waits for a Hello message from the Master for the VRID before determining that the Master is no longer active. If the Master does not send a Hello message before the dead interval expires, the Backups negotiate (compare priorities) to select a new Master for the VRID. NOTE: If the value is 0, then you have not configured this parameter. hold-interval The number of seconds a Backup that intends to become the Master will wait before actually beginning to forward Layer 2 traffic for the VRID. If the Backup receives a Hello message with a higher priority than its own before the hold-down interval expires, the Backup remains in the Backup state and does not become the new Master. The number of hops a Hello message can traverse after leaving the device before the Hello message is dropped. NOTE: An MRP ring counts as one hop, regardless of the number of nodes in the ring. next hello sent in The amount of time until the Master dead interval expires. If the Backup does not receive a Hello message from the Master by the time the interval expires, either the IP address listed for the Master will change to the IP address of the new Master, or this Layer 3 Switch itself will become the Master. NOTE: This field applies only when this device is a Backup. Member ports The ports in the VRID.
hello-interval dead-interval
initial-ttl
653
VSRP
TABLE 118
Field
Syntax: show vsrp aware This display shows the following information when you use the aware parameter. For information about the display when you use the vrid <num> or vlan <vlan-id> parameter, refer to Displaying VRID information on page 652.
TABLE 119
Field
VLAN ID VRID Last Port
654
VSRP
Syntax: [no] restart-ports <seconds> This command shuts down all the ports that belong to the VLAN when a failover occurs. All the ports will have the specified VRID. To configure a single port on a VSRP-configured device to shut down when a failover occurs, then restart after a period of time, enter the following command.
Brocade(config)#interface ethernet 1/1 Brocade(config-if-e1000-1/1)#restart-vsrp-port 5
Syntax: [no] restart-vsrp-port <seconds> In both commands, the <seconds> parameter instructs the VSRP Master to shut down its port for the specified number of seconds before it starts back up. Enter a value between 1 120 seconds. The default is 1 second.
Displaying ports that Have the VSRP fast start feature enabled
The show vsrp vrid command shows the ports on which the VSRP fast start feature is enabled.
Brocade#show vsrp vrid 100 VLAN 100 auth-type no authentication VRID 100 ======== State Administrative-status Advertise-backup Preempt-mode save-current master enabled disabled true false Parameter Configured Current Unit/Formula priority 100 50 (100-0)*(2.0/4.0) hello-interval 1 1 sec/1 dead-interval 3 3 sec/1 hold-interval 3 3 sec/1 initial-ttl 2 2 hops next hello sent in 00:00:00.3 Member ports: ethe 2/5 to 2/8 Operational ports: ethe 2/5 ethe 2/8 Forwarding ports: ethe 2/5 ethe 2/8 Restart ports: 2/5(1) 2/6(1) 2/7(1) 2/8(1)
The "Restart ports:" line lists the ports that have the VSRP fast start enabled, and the downtime for each port. Refer to Table 118 on page 652 to interpret the remaining information on the display.
655
VSRP
FIGURE 56
Path 2
MRP Member
MRP Member
MRP
MRP Member
Host
MRP Member
MRP
MRP Member
Host
VSRP Master
MRP Member
MRP Member
VSRP Backup
VSRP Master
MRP Master
VSRP
VSRP
Device 1
Device 1
If a VSRP failover from master to backup occurs, VSRP needs to inform MRP of the topology change; otherwise, data from the host continues along the obsolete learned path and never reach the VSRP-linked device, as shown in Figure 57.
FIGURE 57
Path 2
MRP Member
MRP Member
MRP
MRP Member
Host
MRP Member
MRP
MRP Member
Host
VSRP
VSRP
Device 1
Device 1
A signaling process for the interaction between VSRP and MRP ensures that MRP is informed of the topology change and achieves convergence rapidly. When a VSRP node fails, a new VSRP master is selected. The new VSRP master finds all MRP instances impacted by the failover. Then each MRP instance does the following:
656
VSRP
The MRP node sends out an MRP PDU with the mac-flush flag set three times on the MRP ring. The MRP node that receives this MRP PDU empties all the MAC entries from its interfaces that
participate on the MRP ring.
The MRP node then forwards the MRP PDU with the mac-flush flag set to the next MRP node
that is in forwarding state. The process continues until the Master MRP node secondary (blocking) interface blocks the packet. Once the MAC address entries have been flushed, the MAC table can be rebuilt for the new path from the host to the VSRP-linked device (Figure 58).
FIGURE 58
Path 2
MRP Member
MRP Member
MRP
MRP Member
Host
MRP Member
MRP
MRP Member
Host
VSRP Backup
MRP Member
VSRP Backup
MRP Master
VSRP
VSRP
Device 1
Device 1
657
VSRP
658
Chapter
18
Table 120 lists the individual Brocade FastIron switches and the Power over Ethernet (PoE) features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where noted.
TABLE 120
SXS
Feature
PoE+ (802.3at)
No
Yes
Yes
PoE (802.3af) Detection of PoE power requirements advertised through CDP Maximum power level for a PoE power consuming device Power class for PoE power consuming device Maximum power budget per PoE interface module In-line power priority for a PoE port PoE firmware upgrade via CLI
1. 2.
Supported on PoE-enabled interface modules installed in a chassis with PoE power supply. HPoE and PoE+ are used interchangeably and mean the same.
659
IP technology devices. The 802.3at specification expands the standards to support higher power levels for more demanding powered devices, such as video IP phones, pan-tilt-zoom cameras and high-power outdoor antennas for wireless access points. Except where noted, this document will use the term PoE to refer to both PoE and PoE+. Table 120 lists the FastIron devices and modules that support PoE, PoE+, or both. PoE technology eliminates the need for an electrical outlet and dedicated UPS near IP powered devices. With power sourcing equipment such as a Brocade FastIron PoE device, power is consolidated and centralized in the wiring closets, improving the reliability and resiliency of the network. Because PoE can provide Power over Ethernet cable, power is continuous, even in the event of a power failure.
Power-sourcing device or Power-sourcing equipment (PSE) - This is the source of the power, or
the device that integrates the power onto the network. Power sourcing devices and equipment have embedded PoE technology. The Brocade FastIron PoE device is a power sourcing device.
IP powered device (PD) or power-consuming device - This is the Ethernet device that requires
power and is situated on the end of the cable opposite the power sourcing equipment.
Endspan - Power is supplied through the Ethernet ports on a power sourcing device. With the
Endspan solution, power can be carried over the two data pairs (Alternative A) or the two spare pairs (Alternative B).
Midspan - Power is supplied by an intermediate power sourcing device placed between the
switch and the PD. With the Midspan solution, power is carried over the two spare pairs (Alternative B). With both methods, power is transferred over four conductors, between the two pairs. 802.3afand 802.3at-compliant PDs are able to accept power from either set of pairs. Brocade PoE devices use the Endspan method, compliant with the 802.3af and 802.3at standards. The Endspan and Midspan methods are described in more detail in the following sections. All 802.3af- and 802.3at-compliant power consuming devices are required to support both application methods defined in the 802.3af and 802.3at specification.
NOTE
660
With the Endspan solution, there are two supported methods of delivering power. In Alternative A, four wires deliver data and power over the network. Specifically, power is carried over the live wire pairs that deliver data, as illustrated in Figure 59. In Alternative B, the four wires of the spare pairs are used to deliver power over the network. Brocade PoE devices support Alternative A. The Endspan method is illustrated in Figure 59.
FIGURE 59
10
11 12
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
CONSOLE
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
41 42
43 44
45 46
47 48
49F
LINK
50F
ACT
IP phone
Power and data signals travel along the same pairs of wires at different frequencies.
661
FIGURE 60
10
11 12
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
CONSOLE
1 2
3 4
5 6
7 8
9 10
11 12
13 14
15 16
17 18
19 20
21 22
23 24
25 26
27 28
29 30
31 32
33 34
35 36
37 38
39 40
41 42
43 44
45 46
47 48
Switch
49F
LINK
50F
ACT
Intermediate device
Power travels on unused spare pairs while data travels on other wire pairs.
IP phone
PoE autodiscovery
PoE autodiscovery is a detection mechanism that identifies whether or not an installed device is 802.3af- or 802.3at-compatible. When you plug a device into an Ethernet port that is capable of providing inline power, the autodiscovery mechanism detects whether or not the device requires power and how much power is needed. The autodiscovery mechanism also has a disconnect protection mechanism that shuts down the power once a PD has been disconnected from the network or when a faulty PD has been detected. This feature enables safe installation and prevents high-voltage damage to equipment. PoE autodiscovery is achieved by periodically transmitting current or test voltages that can detect when a PD is attached to the network. When an 802.3af- or 802.3at-compatible device is plugged into a PoE or PoE+ port, the PD reflects test voltage back to the power sourcing device (the Brocade device), ultimately causing the power to be switched on. Devices not compatible with 802.3af do not reflect test voltage back to the power sourcing device.
Power class
A power class determines the amount of power a PD receives from a PSE. When a valid PD is detected, the Brocade PoE device performs power classification by inducing a specific voltage and measuring the current consumption of the PD. Depending on the measured current, the appropriate class is assigned to the PD. PDs that do not support classification are assigned a class of 0 (zero). Table 121 shows the different power classes and their respective power consumption needs.
662
TABLE 121
Class
0 1 2 3 4
Power specifications
The 802.3af (PoE) standard limits power to 15.4 watts (44 to 50 volts) from the power sourcing device, in compliance with safety standards and existing wiring limitations. Though limited by the 802.3af standard, 15.4 watts of power was ample for most PDs, which consumed an average of 5 to 12 watts of power (IP phones, wireless LAN access points, and network surveillance cameras each consume an average of 3.5 to 9 watts of power). The newer 802.3at (PoE+) standard nearly doubles the power, providing 30 watts (52 or 54 volts) from the power sourcing device. The PoE power supply provides power to the PoE circuitry block, and ultimately to PoE power-consuming devices. The number of PoE power-consuming devices that one PoE power supply can support depends on the number of watts required by each power-consuming device. Each PoE power supply can provide either 1080 or 2380 watts of power, and each PoE port supports a maximum of either 15.4 or 30 watts of power per power-consuming device. For example, if each PoE power-consuming device attached to a FastIron PoE device consumes 10 watts of power, one 1080 watt power supply will power up to 108 PoE ports. You can install a second PoE power supply for additional PoE power. Power supply specifications are covered in the Brocade FastIron X Series Chassis Hardware Installation Guide and in the Brocade FastIron CX Hardware Installation Guide.
663
When a PoE power supply is installed in the chassis When a PoE power supply is removed from the chassis
These events are described in detail in the following sections.
NOTE
A PoE power supply upgrade does not persist beyond a single power cycle. Therefore, an upgrade will occur automatically each time a power supply is re-inserted in the chassis. You can use the show inline power detail command to display detailed information about the PoE power supplies installed in a FastIron PoE device. For more information refer to Displaying detailed information about PoE power supplies on page 678.
CAUTION The SX-POE-AC-PWR power supply is designed exclusively for use with the Brocade FSX PoE devices. The power supply produces extensive power to support 802.3af and 802.3at applications. Installing the power supply in a device other than the Brocade FSX PoE device will cause extensive damage to your equipment.
If all power supplies are 54 volts-capable, then all power supplies will be configured to operate at 54 volts. In this case, the system will not display or log a warning message.
664
When the system is next reloaded, the power supply voltage will be selected as described in the section Voltage selection during bootup on page 664.
However, if the system is currently providing power to one or more PDs, the system will not upgrade the voltage level. When the system is next reloaded, the power supply voltage will be selected as described in the section Voltage selection during bootup on page 664.
Voice over IP (VoIP) phones Wireless LAN access points IP surveillance cameras
The following sections briefly describe these IP powered devices.
665
VoIP
Voice over IP (VoIP) is the convergence of traditional telephony networks with data networks, utilizing the existing data network infrastructure as the transport system for both services. Traditionally, voice is transported on a network that uses circuit-switching technology, whereas data networks are built on packet-switching technology. To achieve this convergence, technology has been developed to take a voice signal, which originates as an analog signal, and transport it within a digital medium. This is done by devices, such as VoIP telephones, which receive the originating tones and place them in UDP packets, the size and frequency of which is dependant on the coding / decoding (CODEC) technology that has been implemented in the VoIP telephone or device. The VoIP control packets use the TCP/IP format.
IP surveillance cameras
IP surveillance technology provides digital streaming of video over Ethernet, providing real-time, remote access to video feeds from cameras. The main benefit of using IP surveillance cameras on the network is that you can view surveillance images from any computer on the network. If you have access to the Internet, you can securely connect from anywhere in the world to view a chosen facility or even a single camera from your surveillance system. By using a Virtual Private Network (VPN) or the company intranet, you can manage password-protected access to images from the surveillance system. Similar to secure payment over the Internet, images and information are kept secure and can be viewed only by approved personnel.
NOTE
NOTE
You can install PoE firmware only on one switch at a time. Therefore, to install PoE firmware on a stacking unit, you need to install it individually on every switch of the stack.
The CLI syntax to install PoE firmware is different on FSX and FCX platforms.
NOTE
FSX platform
To install PoE firmware on a FSX platform, enter a command such as the following.
Brocade#inline power install-firmware module 1 fsx_poe_07400.fw tftp 10.120.54.161
Syntax: inline power install-firmware module <slot> tftp <ip-address> <filename> Slot refers to the slot of the PoE module. ip-address refers to the IP address of the TFTP server.
666
Syntax: inline power install-firmware stack-unit <unit-number> tftp <ip-address> <filename> Stack-unit refers to the unit-id of the switch. If the switch is not a part of the stack, the unit number will be the default value. The default value for stack-unit is 1. ip-address refers to the IP address of the tftp server. Filename refers to the name of the file, including the pathname. If you want to install firmware on a stack, you need to install firmware on one switch at a time with the above command.
TABLE 122
Product
FESX FSX 800 FSX 1600
FSX 800 with SX-FI648PP module FSX 1600 with SX-FI648PP module FCX ICX 6610 ICX 6430 ICX 6450
1. The firmware files are specific to these devices only and are not interchangeable. For example, you cannot load FCX PoE firmware on a FSX device, and vice versa.
Installing PoE firmware 1. Place the PoE firmware on a TFTP server to which the Brocade device has access. 2. Copy the PoE firmware from the TFTP server into the switch. To do so, enter a command such as the following.
Brocade#inline power install-firmware module 1 fsx_poe_07400.fw tftp 10.120.54.161
The process of PoE installation begins. You should see output similar to the following.
PoE Info: Loading firmware from TFTP file fsx_poe_07400.fw........ PoE Info: Firmware in PoE module(s) in slot 1 will be installed now. PoE Warning: Upgrading firmware in slot 1....DO NOT HOTSWAP OR POWER DOWN THE MODULE.
667
PoE Info: FW Download on slot 1 module 1...(re)sending download command... PoE Info: FW Download on slot 1 module 1...TPE response received. PoE PoE PoE PoE Info: Info: Info: Info: FW FW FW FW Download Download Download Download on on on on slot slot slot slot 1 1 1 1 module module module module 1...(re)sending erase command... 1...erase command...accepted. 1...erasing firmware memory... 1...erasing firmware memory...completed
PoE Info: FW Download on slot 1 module 1...(re)sending program command... PoE Info: FW Download on slot 1 module 1...sending program command...accepted. PoE Info: FW Download on slot 1 module 1...programming firmware...takes ~ 10 minutes.... PoE PoE PoE PoE PoE PoE PoE PoE PoE PoE PoE Info: Info: Info: Info: Info: Info: Info: Info: Info: Info: Info: Firmware Download on slot 1.....10 percent completed. Firmware Download on slot 1.....20 percent completed. Firmware Download on slot 1.....30 percent completed. Firmware Download on slot 1.....40 percent completed. Firmware Download on slot 1.....50 percent completed. Firmware Download on slot 1.....60 percent completed. Firmware Download on slot 1.....70 percent completed. Firmware Download on slot 1.....80 percent completed. Firmware Download on slot 1.....90 percent completed. Firmware Download on slot 1.....100 percent completed. FW Download on slot 1 module 1...programming firmware...completed.
3. After downloading the firmware into the controller, the controller resets and reboot with the new PoE firmware, You should see output similar to the following.
PoE Info: FW Download on slot 1 module 1...upgrading firmware...completed. Module will be reset. PoE Info: Resetting module 1 in slot 1.... PoE Info: Resetting module 1 in slot 1....completed. PoE Info: Programming Brocade PoE Info: Programming Brocade module 1 in slot 1.... PoE Info: Programming Brocade 1 in slot 1. PoE Info: Programming Brocade module 1 in slot 1. PoE Info: Programming Brocade slot 1. PoE Info: Programming Brocade defaults on module 1 in slot 1..... defaults. Step 1: Writing port defaults on Defaults: Step 2: Writing PM defaults on module defaults. Step 3: Writing user byte 0xf0 on defaults. Step 4: Saving settings on module 1 in defaults on module 1 in slot 1.....completed.
NOTE
If you are attempting to transfer a file using TFTP but have received an error message, refer to Diagnostic error codes and remedies for TFTP transfers on page 93.
668
After entering the above commands, the console displays the following message.
Brocade(config-if-e1000-1/1)#PoE Info: Power enabled on port 1/1.
Syntax: [no] inline power Use the no form of the command to disable the port from receiving inline power. Inline power should not be configured between two switches as it may cause unexpected behavior.
NOTE
NOTE
FastIron PoE and PoE+ devices can automatically detect whether or not a power consuming device is 802.3af- or 802.3at-compliant.
To disable support for legacy power consuming devices on a stackable device, enter the following command at the stack unit CONFIG level of the CLI.
Brocade(config-unit-2)# no legacy-inline-power
On chassis devices, you can disable support for legacy power consuming devices per slot. To disable legacy support on all ports in slot 2, enter the following command at the global CONFIG level of the CLI.
Brocade(config)# no legacy-inline-power 2
The no legacy-inline-power command does not require a software reload if it is entered prior to connecting the PDs. If the command is entered after the PDs are connected, the configuration must be saved (write memory) and the software reloaded after the change is placed into effect. Syntax: [no] legacy-inline-power [<slotnum>]
NOTE
669
To re-enable support for legacy power consuming devices after it has been disabled, enter the legacy-inline-power command (without the no parameter). The <slotnum> variable is required on chassis devices when disabling or re-enabling legacy support on a slot. Use the show run command to view whether support for PoE legacy power consuming devices is enabled or disabled.
NOTE
Syntax: [no] cdp run Use the no form of the command to disable the detection of CDP power requirements.
670
Setting the maximum power level for a PoE power- consuming device
There are two ways to configure the power level for a PoE or PoE+ power consuming device.
The first method is discussed in this section. The other method is provided in the section Setting the power class for a PoE power- consuming device on page 672. For each PoE port, you can configure either a maximum power level or a power class. You cannot configure both. You can, however, configure a maximum power level on one port and a power class on another port.
The Brocade PoE or PoE+ device will adjust the power on a port only if there are available
power resources. If power resources are not available, the following message will display on the console and in the Syslog:
PoE: Failed power allocation of 30000 mwatts on port 1/1/21. Will retry when more power budget.
These commands enable inline power on interface ethernet 1 in slot 1 and set the PoE power level to 14,000 milliwatts (14 watts). Syntax: inline power power-limit <power level> The <power level> variable is the maximmum power level in number of milliwatts. The following values are supported:
PoE Enter a value from 1000 through 15,400. The default is 15,400. PoE+ Enter a value from 1000 through 30,000. The default is 30,000.
NOTE
Do not configure a power level higher than 15,400 for standard PoE PDs, which support a maximum of 15,400 milliwatts. Setting the power level higher than 15,400 could damage the PD. For information about resetting the maximum power level, refer to Resetting PoE parameters on page 675.
671
TABLE 123
Class
0 1 2 3 4
The power class sets the maximum power level for a power consuming device. Alternatively,
you can set the maximum power level as instructed in the section Setting the maximum power level for a PoE power- consuming device on page 670. For each PoE port, you can configure either a power class or a maximum power level. You cannot configure both. You can, however, configure a power level on one port and a power class on another port.
The power class includes any power loss through the cables. For example, a PoE port with a
power class of 3 (15.4 watts) will receive a maximum of 12.95 watts of power after 2.45 watts of power loss through the cable. This is compliant with the IEEE 802.3af and 802.3at specifications for delivering inline power. Devices that are configured to receive less PoE power, for example, class 1 devices (4.0 watts), will experience a lower rate of power loss through the cable.
The Brocade PoE or PoE+ device will adjust the power on a port only if there are available
power resources. If power resources are not available, the following message will display on the console and in the Syslog:
PoE: Failed power allocation of 30000 mwatts on port 1/1/21. Will retry when more power budget.
672
These commands enable inline power on interface ethernet 1 in slot 1 and set the power class to 2. Syntax: inline power power-by-class <class value> The <class value> variable is the power class. Enter a value between 0 and 4. The default is 0. Table 123 shows the different power classes and their respective maximum power allocations. Do not configure a class value of 4 on a PoE+ port on which a standard PoE PD is connected. Standard PoE PDs support a maximum of 15.4 watts. Setting the power class value to 4 (30 watts) could damage the PD. For information about resetting the power class, refer to Resetting PoE parameters on page 675.
NOTE
This command allocates 150000 milliwatts (150 watts) to the PoE interface module in slot 7. The command takes effect immediately. The results are displayed in the power budget column in the show inline power detail output. The configuration (inline power budget 150000 module 7) is displayed in the show running-config output. Syntax: inline power budget <num> module <slot> The <num> variable is the number of milliwatts to allocate to the module. Enter a value from 0 through 65535000. The <slot> variable specifies the where the PoE or PoE+ module resides in the chassis.
673
slot number then by port number, provided enough power is available for the ports. For example, PoE port 1/11 should receive power before PoE port 2/1. However, if PoE port 1/11 needs 12 watts of power and PoE port 2/1 needs 10 watts of power, and 11 watts of power become available on the device, the FastIron PoE device will allocate the power to port 2/1 because it does not have sufficient power for port 1/11. You can configure an inline power priority on PoE ports, whereby ports with a higher inline power priority will take precedence over ports with a low inline power priority. For example, if a new PoE port comes online and the port is configured with a high priority, if necessary (if power is already fully allocated to power consuming devices), the FastIron PoE device will remove power from a PoE port or ports that have a lower priority and allocate the power to the PoE port that has the higher value. Ports that are configured with the same inline power priority are given precedence based on the slot number and port number in ascending order, provided enough power is available for the port. For example, if both PoE port 1/2 and PoE port 2/1 have a high inline power priority value, PoE port 1/2 will receive power before PoE port 2/1. However, if PoE port 1/2 needs 12 watts of power and PoE port 2/1 needs 10 watts of power, and 11 watts of power become available on the device, the FastIron PoE device will allocate the power to PoE port 2/1 because it does not have sufficient power for port 1/2. By default, all ports are configured with a low inline power priority.
Command syntax for setting the inline power priority for a PoE port
To configure an inline power priority for a PoE port on a FastIron PoE device, enter commands such as the following.
Brocade#configure terminal Brocade(config)# interface ethernet 1/1 Brocade(config-if-e1000-1/1)# inline power priority 2
These commands enable inline power on interface ethernet 1 in slot 1 and set the inline power priority level to high. Syntax: [no] inline power priority <priority num> The priority <priority num> parameter is the inline power priority number. The default is 3 (low priority). You can specify one of the following values:
674
NOTE
To change a PoE port power priority from high to low (the default value) and keep the current maximum configured power level of 3000, enter commands such as the following.
Brocade# configure terminal Brocade(config)# interface ethernet 1/1 Brocade(config-if-e1000-1/1)# inline power priority 3 power-limit 3000
You must specify both the inline power priority and the maximum power level (power-limit command), even though you are keeping the current configured maximum power level at 3000. If you do not specify the maximum power level, the device will apply the default value. Also, you must specify the inline power priority before specifying the power limit.
Example 2Changing a port power class from 2 to 3
To change a port power class from 2 (7 watts maximum) to 3 (15.4 watts maximum) and keep the current configured power priority of 2, enter commands such as the following.
Brocade#configure terminal Brocade(config)# interface ethernet 1/1 Brocade(config-if-e1000-1/1)# inline power priority 2 power-by-class 3
You must specify both the power class and the inline power priority, even though you are not changing the power priority. If you do not specify the power priority, the device will apply the default value of 3 (low priority). Also, you must specify the inline power priority before specifying the power class.
675
Brocade#show inline power Power Capacity: Power Allocations: Total is 2160000 mWatts. Current Free is 18800 mWatts. Requests Honored 769 times
... some lines omitted for brevity... Admin Oper ---Power(mWatts)--- PD Type PD Class Pri Fault/ State State Consumed Allocated Error -------------------------------------------------------------------------4/1 On On 5070 9500 802.3af n/a 3 n/a 4/2 On On 1784 9500 Legacy n/a 3 n/a 4/3 On On 2347 9500 802.3af n/a 3 n/a 4/4 On On 2441 9500 Legacy n/a 3 n/a 4/5 On On 6667 9500 802.3af Class 3 3 n/a 4/6 On On 2723 9500 802.3af Class 2 3 n/a 4/7 On On 2347 9500 802.3af n/a 3 n/a 4/8 On On 2347 9500 802.3af n/a 3 n/a 4/9 On On 2347 9500 802.3af n/a 3 n/a 4/10 On On 4976 9500 802.3af Class 3 3 n/a 4/11 On On 4882 9500 802.3af Class 3 3 n/a 4/12 On On 4413 9500 802.3af Class 1 3 n/a 4/13 On On 7793 9500 802.3af n/a 3 n/a 4/14 On On 7512 9500 802.3af n/a 3 n/a 4/15 On On 8075 9500 802.3af n/a 3 n/a 4/16 On On 4131 9500 802.3af Class 1 3 n/a 4/17 On On 2347 9500 802.3af n/a 3 n/a 4/18 On Off 0 9500 n/a n/a 3 n/a 4/19 On On 5352 9500 Legacy n/a 3 n/a 4/20 On On 7981 9500 802.3af n/a 3 n/a 4/21 On On 12958 13000 802.3af Class 3 3 n/a 4/22 On On 12958 13000 802.3af Class 3 3 n/a 4/23 On On 13052 13000 802.3af Class 3 3 n/a 4/24 On On 12864 13000 802.3af Class 3 3 n/a -------------------------------------------------------------------------Total 137367 242000 ... some lines omitted for brevity... Grand Total 1846673 2127400 Port
Syntax: show inline power [<port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
676
Table 124 provides definitions for the show inline power command.
TABLE 124
Column
Oper State
The number of current, actual milliwatts that the PD is consuming. The number of milliwatts allocated to the port. This value is either the default or configured maximum power level, or the power class that was automatically detected by the device. The type of PD connected to the port. This value can be one of the following: 802.3at The PD connected to this port is 802.3at-compliant.802.3af The PD connected to this port is 802.3af-compliant. Legacy The PD connected to this port is a legacy product (not 802.3af-compliant). N/A Power over Ethernet is configured on this port, and one of the following is true: The device connected to this port is a non-powered device. No device is connected to this port. The port is in standby or denied mode (waiting for power).
PD Type
PD Class
Determines the maximum amount of power a PD receives. Table 123 shows the different power classes and their respective maximum power allocations. This field can also be Unknown, meaning the device attached to the port cannot advertise its power class. NOTE: If an 802.3at PD with a class 4 value is connected, the Brocade FastIron switch will not be able to do the power negotiation since these switches cannot handle the 802.3at LLDP.
Pri
The port in-line power priority, which determines the order in which the port will receive power while in standby mode (waiting for power). Ports with a higher priority will receive power before ports with a low priority. This value can be one of the following: 3 Low priority 2 High priority 1 Critical priority
677
TABLE 124
Column
Fault/Error
Total
Grand Total
678
To following is an example of the show inline power detail command output on an FCX HPOE switch.
Brocade#FCX#show inline power detail Power Supply Data On stack 1: ++++++++++++++++++ Power Supply #1: Max Curr: 7.5 Amps Voltage: 54.0 Volts Capacity: 410 Watts POE Details Info. On Stack 1 : General PoE Data: +++++++++++++++++ Firmware Version -------02.1.0 Cumulative Port State Data: +++++++++++++++++++++++++++ #Ports #Ports #Ports #Ports #Ports #Ports #Ports Admin-On Admin-Off Oper-On Oper-Off Off-Denied Off-No-PD Off-Fault ------------------------------------------------------------------------45 3 0 48 0 45 0 Cumulative Port Power Data: +++++++++++++++++++++++++++ #Ports #Ports #Ports Power Power Pri: 1 Pri: 2 Pri: 3 Consumption Allocation ----------------------------------------------0 0 45 0.0 W 0.0 W Power Supply Data On stack 2: ++++++++++++++++++ Power Supply Data: ++++++++++++++++++ Power Supply #1: Max Curr: Voltage: Capacity:
POE Details Info. On Stack 2 : General PoE Data: +++++++++++++++++ Firmware Version -------02.1.0
679
... continued from previous page... Cumulative Port State Data: +++++++++++++++++++++++++++ #Ports #Ports #Ports #Ports #Ports #Ports #Ports Admin-On Admin-Off Oper-On Oper-Off Off-Denied Off-No-PD Off-Fault ------------------------------------------------------------------------20 4 0 24 0 20 0 Cumulative Port Power Data: +++++++++++++++++++++++++++ #Ports #Ports #Ports Power Power Pri: 1 Pri: 2 Pri: 3 Consumption Allocation ----------------------------------------------20 0 0 0.0 W 0.0 W Power Supply Data On stack 3: ++++++++++++++++++ Power Supply #1: Max Curr: Voltage: Capacity:
POE Details Info. On Stack 3 : General PoE Data: +++++++++++++++++ Firmware Version -------02.1.0 Cumulative Port State Data: +++++++++++++++++++++++++++ #Ports #Ports #Ports #Ports #Ports #Ports #Ports Admin-On Admin-Off Oper-On Oper-Off Off-Denied Off-No-PD Off-Fault ------------------------------------------------------------------------22 2 0 24 0 22 0 Cumulative Port Power Data: +++++++++++++++++++++++++++ #Ports #Ports #Ports Power Power Pri: 1 Pri: 2 Pri: 3 Consumption Allocation ----------------------------------------------0 10 12 0.0 W 0.0 W
680
To following is an example of the show inline power detail command output on a FastIron X Series PoE switch.
Brocade#show inline power detail Power Supply Data: ++++++++++++++++++ PoE+ Max Operating Voltage: 54 V Power Supply #1: Model Number: Serial Number: Firmware Ver: Test Date: H/W Status: Max Curr: Voltage: Capacity: PoE Capacity: Consumption:
32004000 093786124716 1.6 9/12/09 (mm/dd/yy) 807 50.0 Amps 54.0 Volts 2500 Watts 2260 Watts 2095 Watts
General PoE Data: +++++++++++++++++ Slot Firmware Version -------------3 Device 1: 02.1.0 4 Device 1: 02.1.0 6 02.1.0 7 Device 1: 02.1.0 8 02.1.0
Cumulative Port State Data: +++++++++++++++++++++++++++ Slot #Ports #Ports #Ports #Ports #Ports #Ports #Ports Admin-On Admin-Off Oper-On Oper-Off Off-Denied Off-No-PD Off-Fault ------------------------------------------------------------------------------3 48 0 48 0 0 0 0 4 48 0 48 0 0 0 0 6 24 0 0 24 0 24 0 7 48 0 4 44 44 0 0 8 24 0 0 24 0 24 0 ------------------------------------------------------------------------------Total:192 0 100 92 44 48 0
681
... continued from previous page... Cumulative Port Power Data: +++++++++++++++++++++++++++ Slot #Ports #Ports #Ports Power Power Power Pri: 1 Pri: 2 Pri: 3 Consumption Allocation Budget -----------------------------------------------------------------3 0 0 48 513.90 W 739.200 W 65535.0 W 4 0 0 48 1346.497 W 1440.0 W 65535.0 W 6 0 0 24 0.0 W 0.0 W 65535.0 W 7 0 0 48 43.72 W 61.600 W 65535.0 W 8 0 0 24 0.0 W 0.0 W 65535.0 W -----------------------------------------------------------------Total:0 0 192 1902.659 W 2240.800 W 327675.0 W
Syntax: show inline power detail Table 125 provides definitions for the statistics displayed in the show inline power detail command.
TABLE 125
Column
Model Number
The manufacturing part number of the PoE power supply. Possible values are: 32016000 32007000
Serial Number Firmware Ver Test Date H/W Status Max Curr Voltage Capacity PoE Capacity Consumption
The serial number of the PoE power supply, for example, AA100730213. The PoE power supply firmware version. The PoE power supply firmware test date in the format mm/dd/yyyy. The PoE power supply hardware status code. This field is used by Brocade Technical Support for troubleshooting. The PoE power supply maximum current capacity. The PoE power supply current input voltage. The PoE power supply total power capacity (in watts). The PoE power supply PoE power capacity (in watts). The total number of watts consumed by PoE power consuming devices and PoE modules in the system, plus any internal or cable power loss. NOTE: Under thelower total inline power consumption level by Powered Devices (PDs) on FastIron SX devices, the power consumption displayed by the power supply units (PSUs) is inaccurately displayed as lower than the actual power consumption of the PSUs due to the sensitivity limitations of power supply measurements.
682
TABLE 125
Column
Field definitions for the show inline power detail command (Continued)
Definition
The Interface module / slot number firmware version.
NOTE: When you enable a port using the CLI, it may take 12 or more seconds before the operational state of that port is displayed correctly in the show inline power output. Slot #Ports Admin-On #Ports Admin-Off #Ports Oper-On #Ports Oper-Off #Ports Off-Denied #Ports Off-No-PD #Ports Off-Fault Total Cumulative port power data Slot #Ports Pri: 1 #Ports Pri: 2 #Ports Pri: 3 Power Consumption Power Allocation The Interface module / slot number. The number of PoE ports on the Interface module that have a PoE port priority of 1. The number of PoE ports on the Interface module that have a PoE port priority of 2. The number of PoE ports on the Interface module that have a PoE port priority of 3. The total number of watts consumed by PoE power consuming devices, plus any cable loss. The number of watts allocated to the Interface module PoE ports. This value is the sum of the ports default or configured maximum power levels, or power classes automatically detected by the FastIron PoE device. The power budget allocated to the slot. The default value is 65535 watts. Any other value indicates that the power budget was configured using the CLI command inline power budget. The totals for all of the fields in the Cumulative Port Power Data report. The Interface module / slot number. The number of ports on the Interface module on which the inline power command was issued. The number of ports on the Interface module on which the inline power command was not issued. The number of ports on the Interface module that are receiving inline power from the PoE power supply. The number of ports on the Interface module that are not receiving inline power from the PoE power supply. The number of ports on the Interface module that were denied power because of insufficient power. The number of ports on the Interface module to which no PDs are connected. The number of ports on the Interface module that are not receiving power because of a subscription overload. The totals for all of the fields in the Cumulative Port State Data report.
Power Budget
Total
683
684
Chapter
19
Table 126 lists the individual Brocade FastIron switches and the Uni-Directional Link Detection (UDLD) and protected link group features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 126
Feature
FWS
FCX
ICX 6610
Uni-directional Link Detection (UDLD) (Link keepalive) UDLD on tagged ports Protected link groups
UDLD overview
Uni-Directional Link Detection (UDLD) monitors a link between two Brocade devices and brings the ports on both ends of the link down if the link goes down at any point between the two devices. This feature is useful for links that are individual ports and for trunk links. Figure 61 shows an example.
FIGURE 61
UDLD example
When link keepalive is enabled, the feature brings down the FastIron ports connected to the failed link.
FastIron Switch
FastIron Switch
X
Normally, a Brocade device load balances traffic across the ports in a trunk group. In this example, each Brocade device load balances traffic across two ports. Without the UDLD feature, a link failure on a link that is not directly attached to one of the Brocade devices is undetected by the Brocade devices. As a result, the Brocade devices continue to send traffic on the ports connected to the failed link.
685
UDLD overview
When UDLD is enabled on the trunk ports on each Brocade device, the devices detect the failed link, disable the ports connected to the failed link, and use the remaining ports in the trunk group to forward the traffic. Ports enabled for UDLD exchange proprietary health-check packets once every second (the keepalive interval). If a port does not receive a health-check packet from the port at the other end of the link within the keepalive interval, the port waits for two more intervals. If the port still does not receive a health-check packet after waiting for three intervals, the port concludes that the link has failed and takes the port down.
A VLAN is specified when UDLD is configured The port belongs to the configured VLAN as tagged member All the devices across the UDLD link are in the same VLAN
For configuration details, refer to Enabling UDLD for tagged ports on page 687.
When UDLD is enabled on a trunk port, trunk threshold is not supported. Dynamic trunking is not supported. If you want to configure a trunk group that contains ports
on which UDLD is enabled, you must remove the UDLD configuration from the ports. After you create the trunk group, you can re-add the UDLD configuration.
If MRP is also enabled on the device, Brocade recommends that you set the MRP
preforwarding time slightly higher than the default of 300 ms; for example, to 400 or 500 ms. Refer to Changing the hello and preforwarding times on page 627.
Enabling UDLD
This section shows how to configure UDLD for untagged control packets. To configure UDLD for tagged control packets, refer to Enabling UDLD for tagged ports.
NOTE
686
UDLD overview
To enable UDLD on a port, enter a command such as the following at the global CONFIG level of the CLI.
Brocade(config)#link-keepalive ethernet 0/1/1
To enable the feature on a trunk group, enter commands such as the following.
Brocade(config)#link-keepalive ethernet 0/1/1 ethernet 0/1/2 Brocade(config)#link-keepalive ethernet 0/1/3 ethernet 0/1/4
Syntax: [no] link-keepalive ethernet <port> [to <port> | ethernet <port>] This command is not supported if you downgrade the device to FCX 6.0 or FSX5.1. In this case, use the following command to configure multiple ports: Syntax: [no] link-keepalive ethernet <port> [ethernet <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
This command enables UDLD on port 1/18 and allows UDLD control packet tagged with VLAN 22 to be received and sent on port 1/18. Syntax: [no] link-keepalive ethernet <port> [vlan <vlan-ID>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
For the <vlan-ID> variable, enter the ID of the VLAN that the UDLD control packets can contain to be received and sent on the port. If a VLAN ID is not specified, then UDLD control packets are sent out of the port as untagged packets. You must configure the same VLANs that will be used for UDLD on all devices across the network; otherwise, the UDLD link cannot be maintained.
NOTE
687
UDLD overview
Syntax: [no] link-keepalive interval <num> The <num> parameter specifies how often the ports send a UDLD packet. You can specify from 1 60, in 100 ms increments. The default is 5 (500 ms).
Syntax: [no] link-keepalive retries <num> The <num> parameter specifies the maximum number of times the port will try the health check. You can specify a value from 3 64. The default is 7.
TABLE 127
Field
688
UDLD overview
TABLE 127
Field
If a port is disabled by UDLD, the change also is indicated in the output of the show interfaces brief command. An example is given below.
Brocade#show interfaces brief Port 1/1 1/2 1/3 1/4 Link Up Down Down Down State LK-DISABLE None None None Dupl None None None None Speed None None None None Trunk None None None None Tag No No No No Priori level0 level0 level0 level0 MAC Name 00e0.52a9.bb00 00e0.52a9.bb01 00e0.52a9.bb02 00e0.52a9.bb03
If the port was already down before you enabled UDLD for the port, the port state is listed as None. Syntax: show interfaces brief
TABLE 128
Field
Current State
689
UDLD overview
TABLE 128
Field
Local System ID Remote System ID Packets sent Packets received Transitions Port blocking Link-vlan BM disabled
The show interface ethernet command also displays the UDLD state for an individual port. In addition, the line protocol state listed in the first line will say down if UDLD has brought the port down. An example is given below.
Brocade#show interface ethernet 1/1 FastEthernet1/1 is down, line protocol is down, link keepalive is enabled Hardware is FastEthernet, address is 00e0.52a9.bbca (bia 00e0.52a9.bbca) Configured speed auto, actual unknown, configured duplex fdx, actual unknown Member of L2 VLAN ID 1, port is untagged, port state is DISABLED STP configured to ON, priority is level0, flow control enabled mirror disabled, monitor disabled Not member of any active trunks Not member of any configured trunks No port name 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants, DMA received 0 packets 19 packets output, 1216 bytes, 0 underruns Transmitted 0 broadcasts, 19 multicasts, 0 unicasts 0 output errors, 0 collisions, DMA transmitted 19 packets
In this example, the port has been brought down by UDLD. Notice that in addition to the information in the first line, the port state on the fourth line of the display is listed as DISABLED.
Syntax: clear link-keepalive statistics This command clears the Packets sent, Packets received, and Transitions counters in the show link keepalive ethernet [<slotnum>/]<portnum> display.
690
A static active port (an active port that you explicitly configured) pre-empts other ports in the
protected link group. So, if a static active link comes back up after a failure, the Brocade device will revert to this link as the active link.
A dynamic active port (an active port assigned by the software) is non-pre-emptive. Therefore,
if a dynamic active link comes back up after a failure, the Brocade device does not revert to this link, but continues carrying traffic on the current active link.
NOTE
691
FastIron WS and Brocade FCX Series devices support protected link groups consisting of Gbps
fiber ports, 10/100/1000 copper ports, and 10/100 ports, or any combination thereof. These devices do not support protected link groups on 10-GbE ports.
This feature is supported with tagged and untaggedports. This feature is supported with trunk ports. The protected link groups feature is not supported with LACP. There is no restriction on the properties of ports in a protected link group. For example, member ports can be in the same VLAN or in different VLANs. connecting the switches together are part of a protected link group, you must configure two connecting ports (one port on each switch) as active ports of the protected link group. The following example illustrates this scenario.
When two switches are connected together with links in a protected link group, and the ports
Port1/1 Port1/2
active port
Port1/3 Port1/4
active port
Switch 1
Switch 2
Switch 2
Brocade(config)# protected-link-group 1 e 1/12 e 1/15 Brocade(config)# protected-link-group 1 active-port 1/12
2. Optionally specify which port will be the active port for the protected link group. Enter a command such as the following.
Brocade(config)#protected-link-group 10 active-port 1
692
NOTE
If you do not explicitly configure an active port, the Brocade device automatically assigns one as the first port in the protected link group to come up. These commands configure port e1 as the active port and ports e2 e4 as standby ports. If port 1 goes down, the Brocade device enables the first available standby port, and switches the traffic to that port. Since the above configuration consists of a statically configured active port, the active port pre-empts other ports in the protected link group. Refer to About active ports on page 691. Syntax: [no] protected-link-group <group-ID> ethernet <port> to <port> The <group-ID> parameter specifies the protected link group number. Enter a number from 1 32. Each ethernet <port> to <port> specifies the ports in the protected link group. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
[no] protected-link-group <group-ID> active-port ethernet <port> The <group-ID> parameter specifies the protected link group number. Enter a number from 1 32. The active-port ethernet <port> defines the active port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
Viewing information about protected link groups You can use the following show commands to view information about protected link groups:
693
TABLE 129
Field
Group ID
Member Port(s) Configured Active Port Current Active Port Standby Port(s)
The show interface brief command also displays information about protected link groups.
Example
Brocade#show int brief e 3 to 4 Port Link State Dupl Speed Trunk Tag Priori MAC Name 3 Up Inactive Full Auto None Yes level0 0012.f2a8.7140 4 Up Forward Full 1G None Yes level0 0012.f2a8.7140
In the above output, the State of port 3 is Inactive, which means port 3 is an inactive port in a protected link group. For active ports in a protected link group, the State will be Active. Syntax: show interface brief ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
The show interface command also displays information about protected link groups.
Brocade#show int e 3 GigabitEthernet3 is up, line protocol is up, link keepalive is enabled Hardware is GigabitEthernet, address is 0012.f2a8.7140 (bia 0012.f2a8.7142) Configured speed auto, actual 1Gbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual MDIX Member of 3 L2 VLANs, port is tagged, port state is protected-link-inactive BPDU guard is Disabled, ROOT protect is Disabled Link Error Dampening is Disabled STP configured to ON, priority is level0 .... some lines ommitted for brevity
In the above output, the port state is protected-link-inactive which means port 3 is an inactive port in a protected link group. Syntax: show interface ethernet <port> Specify the <port> variable in one of the following formats:
694
FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
695
696
Chapter
20
Table 130 lists the individual Brocade FastIron switches and the trunk groups and dynamic link aggregation features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 130
Feature
FWS
FCX
ICX 6610
Trunk groups Trunk threshold for static trunk groups Flexible trunk group membership Option to include Layer 2 in trunk hash calculation 802.3ad link aggregation (dynamic trunk groups) Link Aggregation Control Protocol (LACP) Single link LACP Single link static trunk Singleton LACP trunk
NOTE
You can use both types of trunking on the same device. However, you can use only one type of trunking for a given port. For example, you can configure port 1/1 as a member of a static trunk group or you can enable 802.3ad link aggregation on the port, but you cannot do both. Figure 62 shows an example of a configuration that uses trunk groups.
697
FIGURE 62
FESX
Gigabit Backbone
Trunk Group Server
...
Power Users Dedicated 100 Mbps
FSX1
FSX2
Trunk Group
The ports in a trunk group make a single logical link. Therefore, all the ports in a trunk group must be connected to the same device at the other end.
NOTE
698
FIGURE 63
Trunk group between a server and a Brocade compact Layer 2 switch or Layer 3 switch
Multi-homing Server Multi-homing adapter has the same IP and MAC address Tr unk Group
FastIron Switch
...
TABLE 131
Model
FCX624 FCX648 FESX624 FESX648 FSX 800 FSX 1600 FWS624 FWS648 ICX 6430 ICX 6450 ICX 6610
1.
On FastIron X Series devices, multi-slot trunk groups are supported on 1-GbE and 10-GbE ports. The valid number of slots in a multi-slot trunk group is as follows: First Generation IPv4 devices - 2, 3, or 4 slots Second Generation IPv6 devices - 2, 3, 4, 5, 6, 7, or 8 slots Third-generation devices - 2 to 12 slots
In a hardware configuration with a 48-port 10/100/1000 Mbps (RJ45) Ethernet PoE interface
module (SX-FI48GPP) and IPv4 and IPv6 interface modules or management modules with user ports, legacy ports and 48 Gbps copper ports cannot be members of the same trunk group.
699
The FastIron SX chassis supports up to 12 ports per trunk (both static and LACP) and a
maximum of 255 trunk groups only when the following interface modules are installed in the chassis:
SX-FI48GPP48-port 10/100/1000 Mbps Ethernet PoE interface module SX-FI24GPP24-port Gigabit Ethernet copper interface module SX-FI24HF24-port Gigabit Ethernet fiber interface module SX-FI2XG2-port 10 Gigabit Ethernet interface module SX-FI8XG8-port 10 Gigabit Ethernet interface module
You cannot configure a port as a member of a trunk group if 802.3ad link aggregation is
enabled on the port.
Unlike the FES and other Brocade devices, trunk groups on devices listed in Table 131 are not
classified as switch trunk groups or server trunk groups.
Trunking is supported on 10-GbE ports. You cannot combine 1-Gbps and 10-Gbps ports in the same trunk group. For FastIron WS devices, mixed speed static and dynamic (LACP) trunks are not allowed and if
configured will not come up. In these devices, the first four ports are 1 Gbps, the remaining ports are 10/100 Mbps. With both static and LACP trunking, all members of the trunk should be either the 1 Gbps ports or the 10/100 Mbps ports.
Port assignment on a module need not be consecutive. The port range can contain gaps. For
example, you can configure ports 1, 3, and 4 (excluding 2). Refer to Support for flexible trunk group membership on page 703.
Although the FastIron devices have port ranges, they do not apply to trunk groups. You can select any port to be the primary port of the trunk group. Make sure the device on the other end of the trunk link can support the same number of ports
in the link. For example, if you configure a 3-port trunk group on the FESX and the other end is a different type of switch, make sure the other switch can support a 3-port trunk group.
All the ports must be connected to the same device at the other end. All trunk group member properties must match the lead port of the trunk group with respect to
the following parameters:
Port tag type (untagged or tagged port) Statically configured port speed and duplex QoS priority
To change port parameters, you must change them on the primary port. The software automatically applies the changes to the other ports in the trunk group.
700
NOTE
If a stack unit fails or is removed from the stack, its static trunk configuration becomes a
reserved configuration on the Active Controller. Any remaining ports of the static trunk in the IronStack continue to function.
When a new stack unit is added to an IronStack, the new unit receives running configuration
and trunk-related information, including a list of ports that are up and are members of a trunk, from the Active Controller.
Before merging two IronStack devices, make sure that there are no static trunks configured
between them. This can result in self-looped ports.
When an IronStack device with static trunks partitions into multiple IronStacks, loops and
forwarding errors may occur. In these cases, user intervention is required to remove the loops.
701
FIGURE 64
2 424F
424C
424C
424C
424C
424C
424F
Odd Even
Lnk Odd Even Lnk 424C POE 424F Lnk Odd Even
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
Figure 65 shows examples of two chassis devices connected by multi-slot trunk groups.
702
FIGURE 65
2
424F
2
424F
424C
424C
424C
424C
424C
424C
424C
424C
424C
424F
424C
424F
Odd Even
Odd Even
Lnk
FastIron SuperX
424C
FastIron SuperX
424C
Odd Even
POE
Lnk
Lnk
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
2 424F
424C
424C
424C
424C
424C
424F
Odd Even
FastIron SuperX
424C
Even Lnk
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
AC OK
DC OK
ALM
EJECT SYS
FIGURE 66
1F 1F
Lnk Act
2F
3F
4F
Console
2F
3F
4F
Console
Stack 1 2 3 4 5 6 7 8
Lnk-Act
Odd Even PoE Lnk Act
Stack 1 2 3 4 5 6 7 8
Lnk-Act
Odd Even PoE
25
Lnk
26
FGS-2XG
25
Lnk
26
FGS-2XG
Act Act
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
1F 1F
Lnk Act
2F
3F
4F
Console
2F
3F
4F
Console
Stack 1 2 3 4 5 6 7 8
Lnk-Act
Odd Even PoE Lnk Act
Stack 1 2 3 4 5 6 7 8
Lnk-Act
Odd Even PoE
25
Lnk
26
FGS-2XG
25
Lnk
26
FGS-2XG
Act Act
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
1F
Lnk Act
2F
3F
4F
Console
Stack 1 2 3 4 5 6 7 8
1F
Lnk-Act
Odd Even PoE Lnk Act
2F
3F
4F
Console
Stack 1 2 3 4 5 6 7 8
Lnk-Act
Odd Even PoE
49
Lnk
50
49
Lnk
50
Act Act
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
1F
Lnk Act
2F
3F
4F
Console
Stack 1 2 3 4 5 6 7 8
1F
Lnk-Act
Odd Even PoE Lnk Act
2F
3F
4F
Console
Stack 1 2 3 4 5 6 7 8
Lnk-Act
Odd Even PoE
49
Lnk
50
49
Lnk
50
Act Act
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
703
For FCX devices only, flexible trunk group membership is supported from Web Management, but not from SNMP. For all other FastIron devices, this feature is not supported from Web Management or SNMP. For configuration details, refer to CLI syntax for configuring non-consecutive ports in a trunk group on page 707.
NOTE
NOTE
NOTE
Table 132 and Table 133 do not include unknown unicast, multicast, and broadcast traffic. Refer to Load balancing for unknown unicast, multicast, and broadcast traffic.
704
Table 132 shows how the FastIron X Series devices load balance traffic across the ports in a trunk group.
TABLE 132
Traffic type
Layer 2 Bridged non-IP Layer 2 Bridged TCP/UDP Layer 2 Bridged IP (non-TCP/UDP) Layer 3 Routed traffic
Table 133 describes how the FastIron stackable devices load balance traffic.
TABLE 133
Traffic type
Layer 2 Bridged Non-IP Layer 2 Bridged IPv4 TCP/UDP Layer 2 Bridged IPv4 Non-TCP/UDP Layer 2 Bridged IPv6 TCP/UDP Layer 2 Bridged IPv6 Non-TCP/UDP Layer 3 Routed traffic
NOTE
The trunk hash-options include-layer2 command adds Layer 2 information (text in bold) to the following load-balancing parameters:
Non-IP: Source and destination MAC addresses IPv4 TCP/UDP: Source and destination IP addresses, and source and destination TCP/UDP
ports, Source MAC, Destination MAC
IPv4 Non-TCP/UDP: Source and destination IP addresses, Source MAC, Destination MAC IPv6 TCP/UDP: Source and destination IP addresses, source and destination TCP and UDP
ports, and flow label, Source MAC, Destination MAC
IPv6 Non-TCP/UDP: Source and destination TCP and UDP ports, and flow label, Source MAC,
Destination MAC
705
NOTE
If you connect the cables before configuring the trunk groups and rebooting, the traffic on the ports can create a spanning tree loop. 2. Configure the trunk group on one of the two Layer 2 switches or Layer 3 switches involved in the configuration.
NOTE
Downtime is incurred when adding a new port to a trunk group. It is suggested that you schedule the addition of ports to a trunk group to minimize downtime and its impact to the production network. 3. Save the configuration changes to the startup-config file. 4. Dynamically place the new trunk configuration into effect by entering the trunk deploy command at the global CONFIG level of the CLI. 5. If the device at the other end of the trunk group is another Layer 2 switch or Layer 3 switch, repeat steps 2 through 4 for the other device. 6. When the trunk groups on both devices are operational, reconnect the cables to those ports that are now configured as trunk groups, starting with the first port (lead port) of each trunk group. 7. To verify the link is operational, use the show trunk command.
Syntax: [no] trunk ethernet <primary-port> to <port> [ethernet <primary-port> to <port>] Syntax: trunk deploy Each ethernet parameter introduces a port group.
706
The <primary-port> variable specifies the primary port. Notice that each port group must begin with a primary port. The primary port of the first port group specified (which must be the group with the lower port numbers) becomes the primary port for the entire trunk group. Specify the <primary-port> and <port> variables in one of the following formats:
FWS and FCX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
You can list all of the ports individually, use the keyword to to specify ranges of ports, or use a combination of both.
This creates a 4-port trunk group with the following members. members 1/7, 1/9, 1/11, and 1/21. To configure a 4-port trunk with non-consecutive ports on a FastIron stackable device, enter a command such as the following.
Brocade(config)#trunk ethernet 1/1/7 ethernet 1/1/9 ethernet 1/1/11 ethernet 1/1/21
This creates a 4-port trunk group with the following members. members 1/1/7, 1/1/9, 1/1/11, and 1/1/21. Syntax: [no] trunk ethernet <port> ethernet <port> | to ethernet <port>... The <port> variable specifies an individual port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
You can enter the ethernet <port> parameter multiple times to specify a list. The to keyword indicates that you are specifying a range of ports. Specify the lower port number in the range first, then to, then the higher port number in the range.
707
NOTE
The text shown in italics in the following CLI example shows messages echoed to the screen in answer to the CLI commands entered.
Brocade(config)#trunk Trunk will be created Brocade(config)#write Brocade(config)#trunk e 1/5 to 1/8 in next trunk deploy memory deploy
To configure the trunk group link between FSX2 and the server, enter the following commands.
Brocade(config)#trunk Trunk will be created Brocade(config)#write Brocade(config)#trunk e 1/2 to 1/4 in next trunk deploy memory deploy
NOTE
The trunk deploy command dynamically places trunk configuration changes into effect, without a software reload.
Example 2: Configuring a trunk group that spans two Ethernet modules in a chassis device
This section shows how to configure a trunk group that spans two modules in a chassis device. Multi-slot trunk groups are supported on 1-GbE ports, 10-GbE ports, as well as on static and LACP trunk ports. For multi-slot trunk group rules, refer to Table 135 on page 722. To configure a trunk group consisting of two groups of ports, 1/1 to 1/2 on module 1 and 4/5 to 4/6 on module 4, enter the following commands.
Brocade(config)#trunk Trunk will be created Brocade(config)#write Brocade(config)#trunk ethernet 1/1 to 1/2 ethernet 4/5 to 4/6 in next trunk deploy memory deploy
The trunk deploy command dynamically places trunk configuration changes into effect, without a software reload.
NOTE
708
If you disable a module that is part of a multi-slot trunk group, the corresponding trunk ports will go down, but the remaining ports in the trunk will remain up and running. However, when you re-enable the module, all of the trunk ports will go down and then come back up. In other words, trunk ports are redeployed when a module is re-enabled.
NOTE
Example 3: Configuring a multi-slot trunk group with one port per module
You can select one port per module in a multi-slot trunk group. This feature is supported on 1-GbE and 10-GbE ports, as well as on static and LACP trunk ports. For multi-slot trunk group rules, refer to Table 135 on page 722. To configure a 2-port multi-slot trunk group consisting of port 1/1 on module 1 and port 2/1 on module 2, enter the following commands.
Brocade(config)#trunk Trunk will be created Brocade(config)#write Brocade(config)#trunk ethernet 1/1 to 1/1 ethernet 2/1 to 2/1 in next trunk deploy memory deploy
NOTE
The trunk deploy command dynamically places trunk configuration changes into effect, without a software reload.
If you disable a module that is part of a multi-slot trunk group, the corresponding trunk ports will remain up and running. However, when you re-enable the module, all of the trunk ports will go down and then come back up. In other words, trunk ports are redeployed when a module is re-enabled.
NOTE
The commands configure a trunk group consisting of 10 Gbps Ethernet ports 1/1 and 2/1, and then deploy the trunk group. The trunk configuration does not take effect until you deploy it.
709
Naming a trunk port Disabling or re-enabling a trunk port Deleting a static trunk group (applies to static trunks only) Specifying the minimum number of ports in a trunk group (applies to static trunks only) Monitoring a trunk port Configuring outbound rate shaping on a trunk port Enabling sFlow forwarding on an individual port in a trunk Setting the sFlow sampling rate on an individual port in a trunk
Depending on the operational state of LACP-enabled ports, at any time these ports may join a trunk group, change trunk group membership, exit a trunk group, or possibly never join a trunk group. Therefore, before configuring trunking options on LACP-enabled ports (for example, naming the port, disabling the port, and so on), verify the actual trunk group port membership using the show trunk command. To view the status of LACP, use the show link-aggregate command.
NOTE
710
This command assigns the name customer1 to port 4/2 in the trunk group consisting of ports 4/1 to 4/4. Syntax: [no] port-name <ASCII string> ethernet <port> The <ASCII string> variable specifies the port name. The name can be up to 49 characters long. The <port>variable is a valid port in the trunk group. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
NOTE
Syntax: [no] config-trunk-ind Syntax: [no] disable ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
The config-trunk-ind command enables configuration of individual ports in the trunk group. If you do not use this command, the disable and enable commands will be valid only for the primary port in the trunk group and will disable or enable all ports in the trunk group. You need to enter the config-trunk-ind command only once in a trunk group. After you enter the command, all applicable port configuration commands apply to individual ports only.
711
If you enter no config-trunk-ind, all port configuration commands are removed from the individual ports and the configuration of the primary port is applied to all the ports. Also, once you enter the no config-trunk-ind command, the enable, disable, and monitor commands are valid only on the primary port and apply to the entire trunk group. To enable an individual port in a trunk group, enter commands such as the following at the trunk group configuration level.
Brocade(config-trunk-4/1-4/4)#config-trunk-ind Brocade(config-trunk-4/1-4/4)#enable ethernet 4/2
NOTE
Syntax: enable ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
Disabling or re-enabling a range or list of trunk ports The disable port-name command disables the port. The states of other ports in the trunk group are not affected. If you have configured a name for the trunk port, you can specify the port name, as shown in the following example.
Brocade(config-trunk-4/1-4/4)#config-trunk-ind Brocade(config-trunk-4/1-4/4)#disable port-name customer1
Syntax: disable port-name <portname> To disable a range of ports in a trunk group, enter commands such as the following.
Brocade(config)#trunk ethernet 2/1 to 2/4 Brocade(config-trunk-2/1-2/4)#config-trunk-ind Brocade(config-trunk-2/1-2/4)#disable ethernet 2/3 to 2/4
This command disables ports 2/3 and 2/4 in trunk group 2/1 to 2/4. To disable a list of ports, enter a command such as the following.
Brocade(config-trunk-2/1-2/4)#disable ethernet 2/1 ethernet 2/3 ethernet 2/4
This command disables ports 2/1, 2/3, and 2/4 in the trunk group.
712
You can specify a range and a list on the same command line. For example, to re-enable some trunk ports, enter a command such as the following.
Brocade(config-trunk-2/1-2/4)#enable ethernet 2/1 to 2/2 ethernet 2/4
Syntax: [no] disable ethernet <port> to <port> | ethernet <port> Syntax: [no] enable ethernet <port> to <port> | ethernet <port> The <port> variable specifies an individual port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
You can enter the ethernet <port> parameter multiple times to specify a list. The to keyword indicates that you are specifying a range. Specify the lower port number in the range first, then to, then the higher port number in the range.
NOTE
To delete an LACP trunk group, use the no link-aggregate active | passive command. To delete a trunk group, use the no form of the command you used to create the trunk group. For example, to remove one of the trunk groups configured in the previous examples, enter the following command.
Brocade(config)#no trunk ethernet 1/1 to 1/2 ethernet 3/3 to 3/4
Syntax: no trunk ethernet <port> to <port> [ethernet <port> to <port>]... The <port> variable specifies an individual port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
You can enter the ethernet <port> parameter multiple times to specify a list. The to keyword indicates that you are specifying a range of ports. Specify the lower port number in the range first, then to, then the higher port number in the range.
713
For example, the following commands establish a trunk group consisting of four ports, and then establish a threshold for this trunk group of three ports.
Brocade(config)#trunk e 3/31 to 3/34 Brocade(config-trunk-3/31-3/34)#threshold 3
In this example, if the number of active ports drops below three, then all the ports in the trunk group are disabled. Syntax: [no] threshold <number> The <number> variable specifies a threshold number from 2 (default) up to the number of ports in a trunk group. The total number of threshold ports must be greater than 1.
NOTE
When using the no threshold command, it is not necessary to enter a number. Configuration notes for specifying ports in a static trunk group Specifying ports in a trunk group is supported on static trunk groups only. It is not supported on LACP trunk groups.
When unidirectional link detection (UDLD) is enabled on a trunk port, the trunk threshold is not
supported.
The disable module command can be used to disable the ports on a module. However, on 10
Gbps modules, the disable module command does not cause the remote connection to be dropped. If a trunk group consists of 10 Gbps ports, and you use the disable module command to disable ports in the trunk group, which then causes the number of active ports in the trunk group to drop below the threshold value, the trunk group is not disabled.
If you establish a threshold for a trunk used in conjunction with Metro Ring Protocol (MRP) on
10 Gbps interfaces, then you must also enable Link Fault Signaling (LFS).
If you specify a threshold for a trunk group, the other end of the trunk group must also have the
same threshold configuration.
714
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The to keyword indicates that you are specifying a range of ports. Specify the lower port number in the range first, then to, then the higher port number in the range. The show trunk command does not display any form of trunk when links are up. Table 134 describes the information displayed by the show trunk command.
NOTE
TABLE 134
Field
Trunk ID HW Trunk ID Duplex
The mode of the port, which can be one of the following: None The link on the primary trunk port is down. Full The primary port is running in full-duplex. Half The primary port is running in half-duplex. The speed set for the port. The value can be one of the following: None The link on the primary trunk port is down. 10 The port speed is 10 Mbps. 100 The port speed is 100 Mbps. 1 Gbps The port speed is 1000 Mbps.
NOTE: This field and the following fields apply only to operational trunk groups. Speed
715
TABLE 134
Field
Tag Priority Active Ports Ports Link_Status LACP_Status
Load Sharing
The number of traffic flows currently being load balanced on the trunk ports. All traffic exchanged within the flow is forwarded on the same trunk port. For information about trunk load sharing, refer to Trunk group load sharing on page 704.
For a trunk group with members 1/1/7 to 1/1/9, the output from the show mac command resembles the following.
Brocade#show mac Total active entries from all ports = 1 MAC-Address Port Type Index 0007.e910.c201 1/1/7-1/1/9 Dynamic 2920
716
NOTE
Active mode When you enable a port for active link aggregation, the Brocade port can
exchange standard LACP Data Unit (LACPDU) messages to negotiate trunk group configuration with the port on the other side of the link. In addition, the Brocade port actively sends LACPDU messages on the link to search for a link aggregation partner at the other end of the link, and can initiate an LACPDU exchange to negotiate link aggregation parameters with an appropriately configured remote port.
Passive mode When you enable a port for passive link aggregation, the Brocade port can
exchange LACPDU messages with the port at the remote end of the link, but the Brocade port cannot search for a link aggregation port or initiate negotiation of an aggregate link. Thus, the port at the remote end of the link must initiate the LACPDU exchange. Brocade recommends that you disable or remove the cables from the ports you plan to enable for dynamic link aggregation. Doing so prevents the possibility that LACP will use a partial configuration to talk to the other side of a link. A partial configuration does not cause errors, but does sometimes require LACP to be disabled and re-enabled on both sides of the link to ensure that a full configuration is used. It is easier to disable a port or remove its cable first. This applies both for active link aggregation and passive link aggregation. The following rules apply to units in an IronStack:
NOTE
With LACP trunk configurations, the LACP system ID is the MAC address of the Active Controller.
If the LACP system ID changes, the entire trunk flaps and an STP reconvergence occurs.
Link aggregation can be used to form multi-slot aggregate links on stack units, but the link
aggregation keys must match for the port groups on each stack unit. For example, to configure an aggregate link containing ports 1/1/1 through 1/1/4, and 3/1/5 through 3/1/8, you must change the link aggregation key on one or both port groups so that the key is the same for all eight ports. Refer to IronStack LACP trunk group configuration example.
717
This command sequence changes the key for ports 1/1/1 through 1/1/4 and 3/1/5 through 3/1/8 to 10000. Because all ports in an aggregate link must have the same key, this example forms a multi-slot aggregate link for ports 1/1/1 through 1/1/4 and 3/1/5 through 3/1/8.
718
FIGURE 67
Brocade ports enabled for link aggregation follow the same rules as ports configured for trunk groups.
The examples assume that link aggregation is enabled on all of the links between the Brocade device on the left and the device on the right (which can be either a Brocade device or another vendor device). The ports that are members of aggregate links in the examples are following the configuration rules for trunk links on Brocade devices. The Brocade rules apply to a Brocade device even if the device at the other end is from another vendor and uses different rules. Refer to Trunk group rules on page 699.
719
Configuration notes and limitations for configuring IronStack LACP trunk groups
This section lists the configuration considerations and limitations for dynamic link aggregation.
The dynamic link aggregation (802.3ad) implementation allows any number of ports up to
eight to be aggregated into a link.
The default key assigned to an aggregate link is based on the port type (1 Gbps port or 10
Gbps port). The device assigns different keys to 10 Gbps ports than to 1 Gbps ports so that ports with different physical capabilities will not be able to form a trunk. The trunks that will be formed by link aggregation will strictly adhere to the static trunking rules on the stackable devices. Be careful in selecting keys if you are manually configuring link aggregation keys. Make sure that the possible trunks that you expect to be formed conform to the static trunking rules.
NOTE
When you enable link aggregation (LACP) on a group of Brocade ports, you must also assign a
unique key (other than the default key) to all of the ports in the aggregate link.
If a stack unit fails, or is removed from the stack, its LACP configuration becomes a reserved configuration on the Active Controller. Any remaining ports of the dynamic trunk in the IronStack continue to function. ports, which are detected and corrected by the Spanning Tree Protocol (STP).
Merging two IronStacks with a dynamic trunk configured between them results in self-looped When an IronStack with dynamic trunks partitions into multiple IronStacks, the protocol will
take care of splitting the dynamic trunk in the partner. No user intervention is required.
720
You cannot use 802.3ad link aggregation on a port configured as a member of a static trunk
group.
The dynamic link aggregation (802.3ad) implementation on FastIron X Series devices allows
different numbers of ports to be aggregated in a link, depending on the IP version (IPv6 or IPv4) and the software version running on the device. For details, refer to Table 131 on page 699.
The default key assigned to an aggregate link is based on the port type (1 Gbps port or 10
Gbps port). The Brocade device assigns different keys to 10 Gbps ports than to 1 Gbps ports so that ports with different physical capabilities will not be able to form a trunk. The trunks that will be formed by link aggregation will strictly adhere to the static trunking rules on the Brocade device. Be careful in selecting keys if you are manually configuring link aggregation keys. Make sure that the possible trunks that you expect to be formed conform to the static trunking rules.
NOTE
When the FastIron X Series device dynamically adds or changes a trunk group, the show trunk
command displays the trunk as both configured and active. However, the show running-config or write terminal command does not contain a trunk command defining the new or changed trunk group.
If the FastIron X Series device places a port into a trunk group as a secondary port, all
configuration information except information related to link aggregation is removed from the port. For example, if port 1/3 has an IP interface, and the link aggregation feature places port 1/3 into a trunk group consisting of ports 1/1 through 1/4, the IP interface is removed from the port.
If the FastIron X Series device (Layer 3) is running OSPF or BGP4, the device causes these
protocols to reset when a dynamic link change occurs. The reset includes ending and restarting neighbor sessions with OSPF and BGP4 peers, and clearing and relearning dynamic route entries and forwarding cache entries. Although the reset causes a brief interruption, the protocols automatically resume normal operation.
You can enable link aggregation on 802.1Q tagged ports (ports that belong to more than one
port-based VLAN), as well as on untagged ports.
721
FIGURE 68
Table 135 shows examples of the ports from Figure 68 that will be eligible for an aggregate link based on individual port states.
TABLE 135
722
As shown in Table 135, all or a subset of the ports within a port range will be eligible for formation into an aggregate link based on port states. Notice that the sets of ports that are eligible for the aggregate link must be valid static trunk configurations.
NOTE
Configuration commands for link aggregation differ depending on whether you are using the default link aggregation key automatically assigned by the software, or if you are assigning a different, unique key. For more information about keys, refer to Key on page 725. Using the default key assigned by the software
Brocade(config)#interface ethernet 1/1 Brocade(config-if-e1000-1/1)#link-aggregate active Brocade(config)#interface ethernet 1/2 Brocade(config-if-e1000-1/2)#link-aggregate active
The commands in this example enable the active mode of link aggregation on ports 1/1 and 1/2. The ports can send and receive LACPDU messages. Note that these ports will use the default key, because one has not been explicitly configured. In conformance with the 802.3ad specification, the default key assigned to an aggregate link is based on the port type (1 Gbps port or 10 Gbps port). The Brocade device assigns different keys to 10 Gbps ports than to 1 Gbps ports so that ports with different physical capabilities will not be able to form a trunk. Assigning a unique key
Brocade(config)#interface ethernet 1/1 Brocade(config-if-e1000-1/1)#link-aggregate Brocade(config-if-e1000-1/1)#link-aggregate Brocade(config)#interface ethernet 1/2 Brocade(config-if-e1000-1/2)#link-aggregate Brocade(config-if-e1000-1/2)#link-aggregate configure key 10000 active configure key 10000 active
NOTE
The commands in this example assign the key 10000 and enable the active mode of link aggregation on ports 1/1 and 1/2. The ports can send and receive LACPDU messages.
NOTE
As shown in the example, when configuring a key, you must assign the key prior to enabling link aggregation. The following commands enable passive link aggregation on ports 1/5 through 1/8.
Brocade(config)#interface ethernet 1/5 to 1/8 Brocade(config-mif-1/5-1/8)#link-aggregate passive
The commands in this example enable the passive mode of link aggregation on ports 1/5 through 1/8. These ports wait for the other end of the link to contact them. After this occurs, the ports can send and receive LACPDU messages.
723
Syntax: [no] link-aggregate active | passive | off Syntax: [no] link-aggregate configure [system-priority <num>] | [port-priority <num>] | [key <num>]
NOTE
For more information about keys, including details about the link-aggregate and link-aggregate configure commands, refer to Key on page 725.
How changing the VLAN membership of a port affects trunk groups and dynamic keys
When you change a port VLAN membership and the port is currently a member of a trunk group, the following changes occur to the trunk group:
The Brocade device tears down the existing trunk group. All ports in the trunk group get a new key. The new key group aggregates into a new trunk group.
When you change a port VLAN membership, and the port is not a member of a trunk group, the following changes occur:
The port gets a new key depending on changes to the port VLAN tag type, as follows: - Tagged to Tagged VLAN The primary port of the trunk group gets a new key. - Tagged to Untagged VLAN The port gets the default key for untagged ports. - Untagged to Tagged VLAN If the Brocade device finds a port with matching port
properties, the port gets that port key. If it does not find one, the port gets a new key.
Untagged to Untagged VLAN The port gets a new key depending on whether it is in the default VLAN. If there is a trunk group associated with the key, it is not affected.
All other ports keep their existing keys. The new key groups try to aggregate into trunk groups.
724
System priority
The system priority parameter specifies the link aggregation priority on the Brocade device relative to the devices at the other ends of the links on which link aggregation is enabled. A higher value indicates a lower priority. You can specify a priority from 0 through 65535. The default is 1. If you are connecting the Brocade device to another vendor device and the link aggregation feature is not working, set the system priority on the Brocade device to a lower priority (a higher priority value). In some cases, this change allows the link aggregation feature to operate successfully between the two devices.
NOTE
Port priority
The port priority parameter determines the active and standby links. When a group of ports is negotiating with a group of ports on another device to establish a trunk group, the Brocade port with the highest priority becomes the default active port. The other ports (with lower priorities) become standby ports in the trunk group. You can specify a priority from 0 through 65535. A higher value indicates a lower priority. The default is 1.
NOTE
The primary port in the port group becomes the default active port. The primary port is the lowest-numbered port in a valid trunk port group.
Timeout
You can specify a timeout mode, which determines how fast ports are removed from a trunk. Refer to Configuring link aggregation parameters on page 728 for more information.
Key
Every port that is link aggregation-enabled has a key. The key identifies the group of potential trunk ports to which the port belongs. Ports with the same key are called a key group and are eligible to be in the same trunk group. When you enable link aggregation on an untagged port, the software assigns a default key to the port. For tagged ports, you must manually configure link aggregation keys. Refer to Configuring keys for ports with link aggregation enabled on page 728. All ports within an aggregate link must have the same key. However, if the device has ports that are connected to two different devices, and the port groups allow the ports to form into separate aggregate links with the two devices, then each group of ports can have the same key while belonging to separate aggregate links with different devices. Figure 69 on page 726 shows an example.
725
FIGURE 69
Port1/1 Port1/2
System ID: dddd.eeee.ffff All these ports have the same key, but are in two separate aggregate links with two other devices.
Port1/3
Notice that the keys between one device and another do not need to match. The only requirement for key matching is that all the ports within an aggregate link on a given device must have the same key. Devices that support multi-slot trunk groups can form multi-slot aggregate links using link aggregation. However, the link aggregation keys for the groups of ports on each module must match. For example, if you want to allow link aggregation to form an aggregate link containing ports 1/1 through 1/4 and 3/5 through 3/8, you must change the link aggregation key on one or both groups of ports so that the key is the same on all eight ports. Figure 70 on page 727 shows an example of a multi-slot aggregate link.
726
FIGURE 70
System ID: aaaa.bbbb.cccc Ports 1/1 - 1/4: Key 0 Ports 3/5 - 3/8: Key 0
By default, the device ports are divided into 4-port groups. The software dynamically assigns a unique key to each 4-port group. If you need to divide a 4-port group into two 2-port groups, change the key in one of the groups so that the two 2-port groups have different keys. For example, if you plan to use ports 1/1 and 1/2 in VLAN 1, and ports 1/3 and 1/4 in VLAN 2, change the key for ports 1/3 and 1/4.
The command in this example shows the key and other link aggregation information for port 1/1. To display link aggregation information, including the key for all ports on which link aggregation is enabled, enter the following command at any level of the CLI.
727
Brocade#show link-aggregate System ID: 0004.8055.b200 Long timeout: 90, default: 90 Short timeout: 3, default: 3 Port [Sys P] [Port P] [ Key ] [Act][Tio][Agg][Syn][Col][Dis][Def][Exp][Ope] 1/1 1 1 10000 Yes S Agg Syn Col Dis Def No Dwn 1/2 1 1 10000 Yes S Agg Syn Col Dis Def No Dwn 2/1 1 1 10000 Yes S Agg Syn Col Dis Def No Dwn 2/2 1 1 10000 Yes S Agg Syn Col Dis Def No Dwn 4/1 1 1 480 Yes S Agg Syn Col Dis Def No Dwn 4/2 1 1 480 Yes S Agg Syn Col Dis Def No Dwn 4/3 1 1 480 Yes S Agg Syn Col Dis Def No Dwn 4/4 1 1 480 Yes S Agg Syn Col Dis Def No Dwn 4/17 1 1 481 Yes S Agg Syn Col Dis Def No Ope 4/18 1 1 481 Yes S Agg Syn Col Dis Def No Ope 4/19 1 1 481 Yes S Agg Syn Col Dis Def No Ope 4/20 1 1 481 Yes S Agg Syn Col Dis Def No Ope
Syntax: show link-aggregate [ethernet <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
NOTE
For key configuration only, configuration commands differ depending on whether or not link aggregation is enabled on the ports. Configuring a port group key if link aggregation is disabled Use the following command sequence to change the key for ports that do not have link aggregation enabled, and for all other link aggregation parameters (for example, system priority, port priority). For example, to change the software-assigned key for a port group to another value, enter commands similar to the following.
Brocade(config)#interface ethernet 1/1 to 1/4 Brocade(config-mif-1/1-1/4)#link-aggregate configure key 10000 Brocade(config-mif-1/1-1/4)#interface ethernet 3/5 to 3/8 Brocade(config-mif-3/5-3/8)#link-aggregate configure key 10000
Configuring keys for ports with link aggregation enabled As shown in the following command sequence, to change the key on ports that already have link aggregation enabled, you must first turn off link aggregation, configure the new key, and then re-enable link aggregation.
728
Brocade(config)#interface ethernet 1/1 to 1/4 Brocade(config-mif-1/1-1/4)#link-aggregate off Brocade(config-mif-1/1-1/4)#link-aggregate configure key 10000 Brocade(config-mif-1/1-1/4)#link-aggregate active Brocade(config-mif-1/1-1/4)#interface ethernet 3/5 to 3/8 Brocade(config-mif-3/5-3/8)#link-aggregate off Brocade(config-mif-3/5-3/8)#link-aggregate configure key 10000 Brocade(config-mif-3/5-3/8)#link-aggregate active
These commands change the key for ports 1/1 through 1/4 and 3/5 through 3/8 to 10000. Because all ports in an aggregate link must have the same key, the command in this example enables ports 1/1 through 1/4 and 3/5 through 3/8 to form a multi-slot aggregate link. Syntax: [no] link-aggregate configure [system-priority <num>] | [port-priority <num>] | [key <num>] The system-priority <num> parameter specifies the Brocade device link aggregation priority. A higher value indicates a lower priority. You can specify a priority from 0 through 65535. The default is 1. The port-priority <num> parameter specifies an individual port priority within the port group. A higher value indicates a lower priority. You can specify a priority from 0 through 65535. The default is 1. The key <num> parameter identifies the group of ports that are eligible to be aggregated into a trunk group. The software automatically assigns a key to each group of ports. The software assigns the keys in ascending numerical order, beginning with 0. You can change a port group key to a value from 10000 through 65535. Configuring port timeout You can control the time it takes to remove ports from a trunk with link aggregation enabled by configuring the link aggregated port with a short timeout mode. Once a port is configured with a timeout mode, it will remain in that timeout mode whether it is up or down or whether it is part of a trunk. All ports in a trunk should have the same timeout mode, which is checked when link aggregation is enabled on ports. To configure a port with a short timeout mode, enter a command such as the following.
Brocade(config)#interface ethernet8/1 Brocade(config-if-e1000-8/1)#link-aggregate configure timeout short
Syntax: [no] link-aggregate configure timeout [short] If the timeout mode is not configured for a port and link aggregation is enabled, the port starts with a short timeout mode. Once a trunk is formed, the timeout mode is changed to the long timeout mode. The value for long and short is displayed in the output for the show link-aggregate command.
NOTE
LACP short timeout mode is not supported on FESX combination copper ports. If these ports are configured with a short timeout mode, the ports will flap and will not be aggregated into a trunk group.
729
Both ports in the aggregate link have the same key. LACP brings the port back up. The port joins a trunk group.
The command in this example shows the link aggregation information for port 1/1. To display the link aggregation information for all ports on which link aggregation is enabled, enter the following command at any level of the CLI.
730
Brocade#show link-aggregate System ID: 00e0.52a9.bb00 Long timeout: 120, default: 120 Short timeout: 3, default: 3 Port [Sys P] [Port P] [ Key ] [Act][Tio][Agg][Syn][Col][Dis][Def][Exp][Ope] 1/1 1 1 0 No L Agg Syn No No Def Exp Ope 1/2 1 1 0 No L Agg Syn No No Def Exp Ina 1/3 1 1 0 No L Agg Syn No No Def Exp Ina 1/4 1 1 0 No L Agg Syn No No Def Exp Blo 1/5 1 1 1 No L Agg No No No Def Exp Ope 1/6 1 1 1 No L Agg No No No Def Exp Ope 1/7 1 1 1 No L Agg No No No Def Exp Dwn 1/8 1 1 1 No L Agg No No No Def Exp Dwn
Syntax: show link-aggregate [ethernet <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
Ports that are configured as part of an aggregate link must also have the same key. For more information about assigning keys, refer to Key on page 725. The show link-aggregate command shows the following information.
NOTE
TABLE 136
Field
System ID Short timeout Long timeout Port Sys P Port P Key
Act
731
TABLE 136
Field
Tio
Agg
Syn
Col
Dis
Def
Exp
Ope
Ope (operational) - The port is operating normally. Ina (inactive) - The port is inactive because the port on the other side of the link is down or has stopped transmitting LACP packets. Blo (blocked) - The port is blocked because the adjacent port is not configured with link aggregation or because it is not able to join a trunk group. To unblock the port and bring it to an operational state, enable link aggregation on the adjacent port and ensure that the ports have the same key.
732
Displaying link aggregation and port status information for FastIron stackable devices
To display link aggregation information for devices in an IronStack, enter the show link-aggregate command. The output for an Ironstack resembles the following.
Brocade(config)#show link-aggregate System ID: 0012.f2e5.a200 Long timeout: 120, default: 120 Short timeout: 3, default: 3 Port [Sys P] [Port P] [ Key ] [Act][Tio][Agg][Syn][Col][Dis][Def][Exp][Ope] 1/1/1 1 1 13000 Yes L Agg Syn Col Dis No No Ope 2/1/1 1 1 13000 Yes L Agg Syn Col Dis No No Ope 3/1/1 1 1 13000 Yes L Agg Syn Col Dis No No Ope 4/1/1 1 1 13000 Yes L Agg Syn Col Dis No No Ope
NOTE
733
Single link LACP is not supported on ports that have unidirectional link detection (UDLD)
Syntax: [no] link-aggregate configure When single link LACP is configured, the show link-aggregate command displays the following information.
Brocade#show link-aggregate System ID: 00e0.5200.0118 Long timeout: 120, default: 120 Short timeout: 3, default: 3 Port [Sys P] [Port P] [ Key ] [Act][Tio][Agg][Syn][Col][Dis][Def][Exp][Ope] 2/1 1 1 1 Yes S Agg Syn No No Def Exp Ina 2/2 1 1 1 Yes S Agg Syn No No Def Exp Ina 2/3 1 1 singleton Yes S Agg Syn No No Def Exp Ina 2/4 1 1 singleton Yes S Agg Syn No No Def Exp Dwn
If the singleton keyword is configured on the port, the Key column displays singleton. Refer to Description of show link-aggregate command output on page 731 to interpret the information on the displayed output. Also, when ports are logically brought up or down while the singleton keyword is configured on the port, the following syslog messages are generated.
Logical link on interface ethernet <slot#/port#> is up. Logical link on interface ethernet <slot#/port#> is down.
734
Chapter
VLANs
21
Table 137 lists the individual Brocade FastIron switches and the virtual LAN (VLAN) features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 137
Feature
FWS
FCX
ICX 6610
VLAN Support 4096 maximum VLANs 802.1Q with tagging 802.1Q-in-Q tagging 802.1Q-in-Q tag profiles Dual-mode VLANs Port-based VLANs Uplink Ports Within a Port-Based VLAN Protocol VLANs (AppleTalk, IPv4, dynamic IPv6, and IPX Layer 3 Subnet VLANs (Appletalk, IP subnet network, and IPX) VLAN groups Multi-range VLANs Private VLANs (PVLANs)
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Super Aggregated VLANs VLAN Q-in-Q Tagging (tag-type 8100 over 8100 encapsulation)
Yes Yes
Yes Yes
Yes Yes
Yes Yes
735
VLAN overview
VLAN overview
The following sections provide details about the VLAN types and features supported on the FastIron family of switches.
Types of VLANs
This section describes the VLAN types supported on Brocade devices.
Layer 2 port-based VLAN a set of physical ports that share a common, exclusive Layer 2
broadcast domain
Layer 3 protocol VLANs a subset of ports within a port-based VLAN that share a common,
exclusive broadcast domain for Layer 3 broadcasts of the specified protocol type
IP subnet VLANs a subset of ports in a port-based VLAN that share a common, exclusive
subnet broadcast domain for a specified IP subnet
IPv6 VLANs a subset of ports in a port-based VLAN that share a common, exclusive network
broadcast domain for IPv6 packets
IPX network VLANs a subset of ports in a port-based VLAN that share a common, exclusive
network broadcast domain for a specified IPX network
AppleTalk cable VLANs a subset of ports in a port-based-based VLAN that share a common,
exclusive network broadcast domain for a specified AppleTalk cable range When a FastIron device receives a packet on a port that is a member of a VLAN, the device forwards the packet based on the following VLAN hierarchy:
If the port belongs to an IP subnet VLAN, IPX network VLAN, or AppleTalk cable VLAN and the
packet belongs to the corresponding IP subnet, IPX network, or AppleTalk cable range, the device forwards the packet to all the ports within that VLAN.
If the packet is a Layer 3 packet but cannot be forwarded as described above, but the port is a
member of a Layer 3 protocol VLAN for the packet protocol, the device forwards the packet on all the Layer 3 protocol VLAN ports.
If the packet cannot be forwarded based on either of the VLAN membership types listed above,
but the packet can be forwarded at Layer 2, the device forwards the packet on all the ports within the receiving port port-based VLAN. Protocol VLANs differ from IP subnet, IPX network, and AppleTalk VLANs in an important way. Protocol VLANs accept any broadcast of the specified protocol type. An IP subnet, IPX network, or AppleTalk VLAN accepts only broadcasts for the specified IP subnet, IPX network, or AppleTalk cable range. Protocol VLANs are different from IP subnet, IPX network, and AppleTalk cable VLANs. A port-based VLAN cannot contain both an IP subnet, IPX network, or AppleTalk cable VLAN and a protocol VLAN for the same protocol. For example, a port-based VLAN cannot contain both an IP protocol VLAN and an IP subnet VLAN.
NOTE
736
VLAN overview
NOTE
FIGURE 71
737
VLAN overview
When you add a port-based VLAN, the device removes all the ports in the new VLAN from DEFAULT-VLAN.
Configuring port-based VLANs Port-based VLANs allow you to provide separate spanning tree protocol (STP) domains or broadcast domains on a port-by-port basis. This section describes how to perform the following tasks for port-based VLANs using the CLI:
Create a VLAN Delete a VLAN Modify a VLAN Change a VLAN priority Enable or disable STP on the VLAN
Figure 72 shows a simple port-based VLAN configuration using a single Brocade Layer 2 switch. All ports within each VLAN are untagged. One untagged port within each VLAN is used to connect the Layer 2 switch to a Layer 3 switch (in this example, a FSX) for Layer 3 connectivity between the two port-based VLANs.
FIGURE 72
738
VLAN overview
FSX
interface e 1 IP Subnet 1 IPX Network 1 Appletalk Cable-Range 100 Appletalk Zone Prepress interface e 2 IP Subnet 2 IPX Network 2 Appletalk Cable-Range 200 Appletalk Zone CTP
Port1
Port9
Ports 2 - 8 IP Subnet 1 IPX Network 1 Appletalk Cable-Range 100 Appletalk Zone Prepress
To create the two port-based VLANs shown in Figure 72, enter the following commands.
Brocade(config)# vlan 222 Brocade(config-vlan-222)# Brocade(config-vlan-222)# Brocade(config-vlan-333)# by port untagged ethernet 1 to 8 vlan 333 by port untagged ethernet 9 to 16
Syntax: vlan <vlan-id> by port Syntax: untagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> | ethernet [<slotnum>/]<portnum>]
739
VLAN overview
Figure 73 shows a more complex port-based VLAN configuration using multiple Layer 2 switches and IEEE 802.1Q VLAN tagging. The backbone link connecting the three Layer 2 switches is tagged. One untagged port within each port-based VLAN on FESX-A connects each separate network wide Layer 2 broadcast domain to the router for Layer 3 forwarding between broadcast domains. The STP priority is configured to force FESX-A to be the root bridge for VLANs RED and BLUE. The STP priority on FESX-B is configured so that FESX-B is the root bridge for VLANs GREEN and BROWN.
FIGURE 73
FSX
IP Subnet1 IPX Net 1 Atalk 100.1 Zone A Port17 IP Subnet2 IPX Net 2 Atalk 200.1 Zone B Port18 IP Subnet3 IPX Net 3 Atalk 300.1 Zone C Port19 IP Subnet4 IPX Net 4 Atalk 400.1 Zone D Port20
FESX-A
VLAN 3 Port 5-8 IP Sub2 IPXnet2 AT 200 Zone B VLAN 4 VLAN 5 Port 9-12 Port 13-16 IP Sub3 IP Sub4 IPXnet3 IPXnet4 AT 300 AT 400 Zone C Zone D
FESX-B
VLAN 2 Port 1-4 IP Sub1 IPXnet1 AT 100 Zone A VLAN 3 Port 5-8 IP Sub2 IPXnet2 AT 200 Zone B VLAN 4 VLAN 5 Port 9-12 Port 13-16 IP Sub3 IP Sub4 IPXnet3 IPXnet4 AT 300 AT 400 Zone C Zone D VLAN 2 Port 1-4 IP Sub1 IPXnet1 AT 100 Zone A
FESX-C
VLAN 3 Port 5-8 IP Sub2 IPXnet2 AT 200 Zone B VLAN 4 VLAN 5 Port 9-12 Port 13-16 IP Sub3 IP Sub4 IPXnet3 IPXnet4 AT 300 AT 400 Zone C Zone D
To configure the Port-based VLANs on the FESX Layer 2 switches in Figure 73, use the following method.
740
VLAN overview
Brocade-A(config-vlan-4)# Brocade-A(config-vlan-4)# Brocade-A(config-vlan-4)# Brocade-A(config-vlan-4)# Brocade-A(config-vlan-4)# Brocade-A(config-vlan-5)# Brocade-A(config-vlan-5)# Brocade-A(config-vlan-5)# Brocade-A(config-vlan-5)# Brocade-A(config-vlan-5)# Brocade-A# write memory
untagged ethernet 9 to 12 ethernet 19 tagged ethernet 25 to 26 spanning-tree spanning-tree priority 500 vlan 5 name RED untagged ethernet 13 to 16 ethernet 20 tagged ethernet 25 to 26 spanning-tree spanning-tree priority 500 end
741
VLAN overview
Syntax: vlan <vlan-id> by port Syntax: untagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> | ethernet [<slotnum>/]<portnum>] Syntax: tagged ethernet [<slotnum>/]<portnum> [to <[<slotnum>/]portnum> | ethernet [<slotnum>/]<portnum>] Syntax: [no] spanning-tree Syntax: spanning-tree [ethernet [<slotnum>/]<portnum> path-cost <value> priority <value>] forward-delay <value> hello-time <value> maximum-age <time> priority <value>
3. Enter the following commands to exit the CONFIG level and save the configuration to the system-config file on flash memory.
Brocade-A(config)# Brocade-A(config)# end Brocade-A# write memory Brocade-A#
742
VLAN overview
2. Access the level of the CLI for configuring port-based VLAN 4 by entering the following command.
Brocade-A(config)# Brocade-A(config)# vlan 4 Brocade-A(config-vlan-4)#
4. Enter the following commands to exit the VLAN CONFIG mode and save the configuration to the system-config file on flash memory.
Brocade-A(config-vlan-4)# Brocade-A(config-vlan-4)# end Brocade-A# write memory
You can remove all the ports from a port-based VLAN without losing the rest of the VLAN configuration. However, you cannot configure an IP address on a virtual routing interface unless the VLAN contains ports. If the VLAN has a virtual routing interface, the virtual routing interface IP address is deleted when the ports associated with the interface are deleted. The rest of the VLAN configuration is retained.
Multi-range VLAN
The multi-range VLAN feature allows users to use a single command to create and configure multiple VLANs. These VLANs can be continuous, for example from 2 to 7 or discontinuous, for example, 2 4 7. The maximum number of VLANs you can create or configure with a single command is 64. Creating a multi-range VLAN To create more than one VLAN with a single command, you can specify the VLAN number and range. Syntax: [no] vlan <num> to <num> The <num> parameter specifies the VLAN ID. To create a continuous range of VLANs, enter command such as the following.
Brocade(config)#vlan 2 to 7 Brocade(config-mvlan-2-7)#
NOTE
Syntax: [no] vlan <num> to <num> To create discontinuous VLANs, enter command such as the following.
Brocade(config)#vlan 2 4 7 Brocade(config-mvlan-2*7)#exit
Syntax: [no] vlan <num> <num> <num> You can also create continuous and discontinuous VLANs. To create continuous and discontinuous VLANs, enter command such as the following.
743
VLAN overview
Brocade(config)#vlan 2 to 7 20 25 Brocade(config-mvlan-2*25)#
Syntax: [no] vlan <num> to <num> <num> Deleting a multi-range VLAN You can also delete multiple VLANs with a single command. To delete a continuous range of VLANs, enter command such as the following.
Brocade(config)#no vlan 2 to 7
Syntax: [no] vlan <num> to <num> To delete discontinuous VLANs, enter command such as the following.
Brocade(config)#no vlan 2 4 7
Syntax: [no] vlan <num> <num> <num> You can also delete continuous and discontinuous VLANs. To delete continuous and discontinuous VLANs, enter command such as the following.
Brocade(config)#no vlan 2 to 7 20 25
Syntax: [no] vlan <num> to <num> <num> If a single multi-range VLAN command contains more than 64 VLANs, the CLI does not add the VLAN IDs but instead displays an error message. An example is given below.
Brocade(config)#vlan 100 to 356 ERROR -can't have more than 64 vlans at a time in a multi-range vlan command
Configuring a multi-range VLAN You can configure multiple VLANs with a single command from the multi-range VLAN configuration level. For example, if you want to add tagged ethernet port 1/1/1 in the VLAN 16 17 20 21 22 23 24, enter the following commands.
Brocade(config)#vlan 16 17 20 to 24 Brocade(config-mvlan-16*24)#tag e 1/1/1 Brocade(config-mvlan-16*24)#
The first command will take you to the multi-range VLAN configuration mode. The second command will add tagged ethernet port 1/1/1 in the specified VLANs, VLAN 16 17 20 21 22 23 and 24.
744
VLAN overview
The following VLAN parameters can be configured with the specified VLAN range.
Command
atalk-proto clear decnet-proto end exit ip-proto ipv6-proto ipx-proto mac-vlan-permit monitor
Explanation
Set AppleTalk protocol VLAN Clear table/statistics/keys Set decnet protocol VLAN End Configuration level and goto Privileged level Exit current level Set IP protocol VLAN Set IPv6 protocol VLAN Set IPX protocol VLAN Define port to be used for MAC Based VLan Monitor Ingress Traffic on this VLAN(Enable VLAN Mirroring) IGMP snooping on this VLAN Set netbios protocol VLAN Undo/disable commands Set other protocol VLAN Exit to User level Show system information Set spanning tree for this VLAN Configure static MAC for this VLAN 802.1Q tagged port Define uplink ports and enable uplink switching Configure VSRP Configure VSRP Aware parameters Write running configuration to flash or terminal
multicast netbios-proto no other-proto quit show spanning-tree static-mac-address tagged uplink-switch vsrp vsrp-aware write
In FSX and FESX platforms, the mac-vlan-permit command is not available in the multi-range vlan configuration mode. The VLAN parameters configured for the VLAN range are written in the configuration file of the individual VLANs. These VLAN parameters can also be removed or modified from the individual VLANs. In the following example, as the first step, create VLANs 16 17 20 21 22 23 24. Further, as the second step, add Ethernet port 1/1/1 in all the VLANs. As the third step, enabled 802.1w spanning tree on all these VLANs.
Brocade(config)#vlan 16 17 20 to 24 Brocade(config-mvlan-16*24)#tag e 1/1/1 Brocade(config-mvlan-16*24)# Added tagged port(s) ethe 1/1/1 to port-vlan16. Added tagged port(s) ethe 1/1/1 to port-vlan 17. Added tagged port(s) ethe 1/1/1 to port-vlan 20. Added tagged port(s) ethe 1/1/1 to port-vlan 21.
NOTE
745
VLAN overview
Added tagged port(s) ethe 1/1/1 to port-vlan 22. Added tagged port(s) ethe 1/1/1 to port-vlan 23. Added tagged port(s) ethe 1/1/1 to port-vlan 24. Brocade(config-mvlan-16*24)#span 802-1w
The Ethernet port e 1/1/1 and spanning tree 802.1w is added to the database of each VLAN separately. You can verify the configuration with the show running-config command. See the example below.
Brocade(config-mvlan-16*24)#show run Current configuration: ! ! output omitted ! ! vlan 1 name DEFAULT-VLAN by port ! vlan 16 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 17 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 20 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 21 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 22 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 23 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 24 by port tagged ethe 1/1/1 spanning-tree 802-1w ! ! output omitted ! !
Now you can modify any one or some of the VLANs. See the example below.
746
VLAN overview
In the following example, disable the spanning tree 802.1w on VLANs 22,23 and 24, And, verify with show running-config output that the spanning tree 802.1w is disabled on specified VLANs, VLAN 22, 23 and 24 and not on the VLANs 16, 17, 20 and 21.
Brocade(config)#vlan 22 to 24 Brocade(config-mvlan-22-24)#no span 8 Brocade(config-mvlan-22-24)#exit
output omitted ! ! vlan 1 name DEFAULT-VLAN by port ! vlan 16 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 17 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 20 by port tagged ethe 1/1/1 spanning-tree 802-1w ! vlan 21 by port tagged ethe 1/1/1 spanning-tree 802-1w vlan 22 by port tagged ethe 1/1/1 ! vlan 23 by port tagged ethe 1/1/1 ! vlan 24 by port tagged ethe 1/1/1
output omitted
Multi-range VLAN show commands This section describes the show commands for multi-range VLAN parameters. In the multi-range VLAN mode, some of the Show commands are also available. The output of the Show commands in multi-range VLAN mode displays the information related to the specific VLANs only. See the example below. In the following example, the first command will change the interface configuration level to the multi-range VLAN mode for the VLANs 4, 5 and 6. In the multi-range VLAN mode, enter the command show 802.1w. The output will display the information of STP for VLANs 4, 5 and 6
Brocade(config)#vlan 4 to 6
747
VLAN overview
Brocade(config-mvlan-4-6)#show 802-1w --- VLAN 4 [ STP Instance owned by VLAN 4 ] ---------------------------Bridge IEEE 802.1W Parameters: Bridge Identifier hex 8000002022227700 Bridge MaxAge sec 20 Bridge Hello sec 2 Bridge Force FwdDly Version sec 15 Default tx Hold cnt 3 Max Age sec 20 Fwd Dly sec 15 Hel lo sec 2
Port IEEE 802.1W Parameters: <--- Config Params --><-------------- Current state -----------------> Pri PortPath P2P Edge Role State Designa- Designated Cost Mac Port ted cost bridge 128 20000 F F DESIGNATED FORWARDING 0 8000002022227700
--- VLAN 5 [ STP Instance owned by VLAN 5 ] ---------------------------Bridge IEEE 802.1W Parameters: Bridge Identifier hex 8000002022227700 Bridge MaxAge sec 20 Bridge Hello sec 2 Bridge Force FwdDly Version sec 15 Default tx Hold cnt 3 Max Age sec 20 Fwd Dly sec 15 Hel lo sec 2
Port IEEE 802.1W Parameters: <--- Config Params --><-------------- Current state -----------------> Pri PortPath P2P Edge Role State Designa- Designated Cost Mac Port ted cost bridge 128 20000 F F DESIGNATED FORWARDING 0 8000002022227700
--- VLAN 6 [ STP Instance owned by VLAN 6 ] ---------------------------Bridge IEEE 802.1W Parameters: Bridge Identifier hex 8000002022227700 Bridge MaxAge sec 20 Bridge Hello sec 2 Bridge Force FwdDly Version sec 15 Default tx Hold cnt 3 Max Age sec 20 Fwd Dly sec 15 Hel lo sec 2
748
VLAN overview
<--- Config Params --><-------------- Current state -----------------> Pri PortPath P2P Edge Role State Designa- Designated Cost Mac Port ted cost bridge 128 20000 F F DESIGNATED FORWARDING 0 8000002022227700
The following show parameters can be viewed for the specified VLAN range from the multi-range VLAN configuration mode.The output of these commands displays information about the specified VLANs only.
TABLE 138
Command
802-1w mac-address span vlan vsrp
AppleTalk The device sends AppleTalk broadcasts to all ports within the AppleTalk protocol
VLAN.
IP The device sends IP broadcasts to all ports within the IP protocol VLAN. IPv6 The device sends IPv6 broadcasts to all ports within the IPv6 protocol VLAN. IPX The device sends IPX broadcasts to all ports within the IPX protocol VLAN. DECnet The device sends DECnet broadcasts to all ports within the DECnet protocol VLAN. NetBIOS The device sends NetBIOS broadcasts to all ports within the NetBIOS protocol VLAN. Other The device sends broadcasts for all protocol types other than those listed above to all ports within the VLAN.
Figure 74 shows an example of Layer 3 protocol VLANs configured within a Layer 2 port-based VLAN.
749
VLAN overview
FIGURE 74
User-configured protocol VLAN, IP sub-net VLAN, IPX network VLAN, or Apple Talk cable VLAN
You can add Layer 3 protocol VLANs or IP sub-net, IPX network, and AppleTalk cable VLANs to port-based VLANs. Layer 3 VLANs cannot span Layer 2 port-based VLANs. However, Layer 3 VLANs can overlap within a Layer 2 port-based VLAN.
750
VLAN overview
ISR eliminates the need for an external router by allowing you to route between VLANs using virtual routing interfaces (ves). A virtual routing interface is a logical port on which you can configure Layer 3 routing parameters. You configure a separate virtual routing interface on each VLAN that you want to be able to route from or to. For example, if you configure two IP subnet VLANs on a Layer 3 switch, you can configure a virtual routing interface on each VLAN, then configure IP routing parameters for the subnets. Thus, the Layer 3 switch forwards IP subnet broadcasts within each VLAN at Layer 2 but routes Layer 3 traffic between the VLANs using the virtual routing interfaces. The Layer 3 switch uses the lowest MAC address on the device (the MAC address of port 1 or 1/1) as the MAC address for all ports within all virtual routing interfaces you configure on the device. The routing parameters and the syntax for configuring them are the same as when you configure a physical interface for routing. The logical interface allows the Layer 3 switch to internally route traffic between the protocol-based VLANs without using physical interfaces. All the ports within a protocol-based VLAN must be in the same port-based VLAN. The protocol-based VLAN cannot have ports in multiple port-based VLANs, unless the ports in the port-based VLAN to which you add the protocol-based VLAN are 802.1Q tagged. You can configure multiple protocol-based VLANs within the same port-based VLAN. In addition, a port within a port-based VLAN can belong to multiple protocol-based VLANs of the same type or different types. For example, if you have a port-based VLAN that contains ports 1 10, you can configure port 5 as a member of an AppleTalk protocol VLAN, an IP protocol VLAN, and an IPX protocol VLAN, and so on.
NOTE
IP subnet VLAN An IP subnet broadcast domain for a specific IP subnet. IPX network VLAN An IPX network broadcast domain for a specific IPX network. AppleTalk cable VLAN An AppleTalk broadcast domain for a specific cable range.
You can configure these types of VLANs on Layer 3 switches only. The Layer 3 switch sends broadcasts for the IP subnet, IPX network, or AppleTalk cable range to all ports within the IP subnet, IPX network, or AppleTalk cable VLAN at Layer 2. The Layer 3 switch routes packets between VLANs at Layer 3. To configure an IP subnet, IPX network, or AppleTalk cable VLAN to route, you must add a virtual routing interface to the VLAN, then configure the appropriate routing parameters on the virtual routing interface. The Layer 3 switch routes packets between VLANs of the same protocol. The Layer 3 switch cannot route from one protocol to another.
NOTE
751
VLAN overview
IP subnet VLANs are not the same thing as IP protocol VLANs. An IP protocol VLAN sends all IP broadcasts on the ports within the IP protocol VLAN. An IP subnet VLAN sends only the IP subnet broadcasts for the subnet of the VLAN. You cannot configure an IP protocol VLAN and an IP subnet VLAN within the same port-based VLAN. This note also applies to IPX protocol VLANs and IPX network VLANs, and to AppleTalk protocol VLANs and AppleTalk cable VLANs.
NOTE
Default VLAN
By default, all the ports on a FastIron device are in a single port-based VLAN. This VLAN is called the DEFAULT-VLAN and is VLAN number 1. FastIron devices do not contain any protocol VLANs or IP subnet, IPX network, or AppleTalk cable VLANs by default. Figure 75 shows an example of the default Layer 2 port-based VLAN.
FIGURE 75
By default, all ports belong to a single port-based VLAN, DEFAULT-VLAN. Thus, all ports belong to a single Layer 2 broadcast domain.
752
VLAN overview
When you configure a port-based VLAN, one of the configuration items you provide is the ports that are in the VLAN. When you configure the VLAN, the Brocade device automatically removes the ports that you place in the VLAN from DEFAULT-VLAN. By removing the ports from the default VLAN, the Brocade device ensures that each port resides in only one Layer 2 broadcast domain. Information for the default VLAN is available only after you define another VLAN. Some network configurations may require that a port be able to reside in two or more Layer 2 broadcast domains (port-based VLANs). In this case, you can enable a port to reside in multiple port-based VLANs by tagging the port. Refer to the following section. If your network requires that you use VLAN ID 1 for a user-configured VLAN, you can reassign the default VLAN to another valid VLAN ID. Refer to Assigning a different VLAN ID to the default VLAN on page 764.
NOTE
802.1Q tagging
802.1Q tagging is an IEEE standard that allows a networking device to add information to a Layer 2 packet in order to identify the VLAN membership of the packet. Brocade devices tag a packet by adding a four-byte tag to the packet. The tag contains the tag value, which identifies the data as a tag, and also contains the VLAN ID of the VLAN from which the packet is sent.
The default tag value is 8100 (hexadecimal). This value comes from the 802.1Q specification.
You can change this tag value on a global basis on Brocade devices if needed to be compatible with other vendors equipment.
The VLAN ID is determined by the VLAN on which the packet is being forwarded.
Figure 76 shows the format of packets with and without the 802.1Q tag. The tag format is vendor-specific. To use the tag for VLANs configured across multiple devices, make sure all the devices support the same tag format.
753
VLAN overview
FIGURE 76
Destination Address
6 bytes
Source Address
6 bytes
Type Field
2 bytes
Up to 1500 bytes
4 bytes
Data Field
Up to 1496 bytes
CRC
4 bytes
Ethernet II
Destination Address
Source Address
Length Field
Data Field
CRC
IEEE 802.3
Destination Address
6 bytes
Source Address
6 bytes
802.1q Tag
4 bytes
Type Field
2 bytes
Up to 1500 bytes
4 bytes
Data Field
Up to 1496 bytes
CRC
4 bytes
Destination Address
Source Address
802.1q Tag
Length Field
Data Field
CRC
Octet 1
Octet 2
Octet 4
ID (12 bits)
If you configure a VLAN that spans multiple devices, you need to use tagging only if a port connecting one of the devices to the other is a member of more than one port-based VLAN. If a port connecting one device to the other is a member of only a single port-based VLAN, tagging is not required. If you use tagging on multiple devices, each device must be configured for tagging and must use the same tag value. In addition, the implementation of tagging must be compatible on the devices. The tagging on all Brocade devices is compatible with other Brocade devices. Figure 77 shows an example of two devices that have the same Layer 2 port-based VLANs configured across them. Notice that only one of the VLANs requires tagging.
754
VLAN overview
FIGURE 77
T T
T Segment 1 T
T T
Segment 2
Segment 1 Tagging is required for the ports on Segment 1 because the ports are in multiple port-based VLANs. Without tagging, a device receiving VLAN traffic from the other device would not be sure which VLAN the traffic is for.
Segment 2 Tagging is not required for the ports on Segment 2 because each port is in only one port-based VLAN.
FastIron X Series devices support one value for tag-type, which is defined at the global level. FastIron WS and Brocade FCX Series devices support one value for tag-type, which is defined
at the global level, and one value for tag-profile, which is defined at the global and interface level of the CLI.
755
VLAN overview
802.1 Q-in-Q tagging for FastIron WS and Brocade FCX Series devices The following enhancements allow the FastIron WS and Brocade FCX Series devices, including those in an IronStack, to use Q-in-Q and SAV, by allowing the changing of a tag profile for ports:
In addition to the default tag type 0x8100, you can now configure one additional global tag
profile with a number from 0xffff.
Tag profiles on a single port, or a group of ports can be configured to point to the global tag
profile. For example applications and configuration details, refer to 802.1Q-in-Q tagging configuration on page 801. To configure a global tag profile, enter the following command in the configuration mode.
Brocade(config)# tag-profile 9500
Syntax: [no] tag-profile <tag-no> <tag-no> - the number of the tag, can be 0x8100 (default), or 0xffff To direct individual ports or on a range of ports to this tag profile, enter commands similar to the following.
Brocade(config)# interface ethernet 1/1/1 Brocade(config-if-e1000-1/1/1)# tag-profile enable Brocade(config-mif-1/1/1,1/2/1)# tag-profile enable
STP is disabled by default on Brocade Layer 3 switches. STP is enabled by default on Brocade Layer 2 switches.
Also by default, each port-based VLAN has a separate instance of STP. Thus, when STP is globally enabled, each port-based VLAN on the device runs a separate spanning tree. You can enable or disable STP on the following levels:
Port-based VLAN Affects all ports within the specified port-based VLAN.
STP is a Layer 2 protocol. Thus, you cannot enable or disable STP for individual protocol VLANs or for IP subnet, IPX network, or AppleTalk cable VLANs. The STP state of a port-based VLAN containing these other types of VLANs determines the STP state for all the Layer 2 broadcasts within the port-based VLAN. This is true even though Layer 3 protocol broadcasts are sent on Layer 2 within the VLAN.
756
VLAN overview
It is possible that STP will block one or more ports in a protocol VLAN that uses a virtual routing interface to route to other VLANs. For IP protocol and IP subnet VLANs, even though some of the physical ports of the virtual routing interface are blocked, the virtual routing interface can still route so long as at least one port in the virtual routing interface protocol VLAN is not blocked by STP. If you enable Single STP (SSTP) on the device, the ports in all VLANs on which STP is enabled become members of a single spanning tree. The ports in VLANs on which STP is disabled are excluded from the single spanning tree. For more information, refer to Chapter 27, Spanning Tree Protocol.
757
VLAN overview
FIGURE 78
Use virtual routing interfaces for routing between Layer 3 protocol VLANs
User-configured protocol VLAN, IP sub-net VLAN, IPX network VLAN, or AppleTalk cable VLAN
VE 1
VE 3
VE 4
VE 2
Layer 2 and Layer 3 traffic within a VLAN is bridged at Layer 2. Layer 3 traffic between protocol VLANs is routed using virtual interfaces (VE). To route to one another, each protocol VLAN must have a virtual interface.
758
VLAN overview
Dynamic ports
Dynamic ports are added to a VLAN when you create the VLAN. However, if a dynamically added port does not receive any traffic for the VLAN protocol within ten minutes, the port is removed from the VLAN. However, the port remains a candidate for port membership. Thus, if the port receives traffic for the VLAN protocol, the device adds the port back to the VLAN. After the port is added back to the VLAN, the port can remain an active member of the VLAN up to 20 minutes without receiving traffic for the VLAN protocol. If the port ages out, it remains a candidate for VLAN membership and is added back to the VLAN when the VLAN receives protocol traffic. At this point, the port can remain in the VLAN up to 20 minutes without receiving traffic for the VLAN protocol, and so on. Unless you explicitly add a port statically or exclude a port, the port is a dynamic port and thus can be an active member of the VLAN, depending on the traffic it receives. You cannot configure dynamic ports in an AppleTalk cable VLAN. The ports in an AppleTalk cable VLAN must be static. However, ports in an AppleTalk protocol VLAN can be dynamic or static. Figure 79 shows an example of a VLAN with dynamic ports. Dynamic ports not only join and leave the VLAN according to traffic, but also allow some broadcast packets of the specific protocol to leak through the VLAN. Refer to Broadcast leaks on page 761.
NOTE
759
VLAN overview
FIGURE 79
VLAN with dynamic portsall ports are active when you create the VLAN
A = active port C = candidate port When you add ports dynamically, all the ports are added when you add the VLAN.
SUBNET Ports in a new protocol VLAN that do not receive traffic for the VLAN protocol age out after 10 minutes and become candidate ports. Figure 80 shows what happens if a candidate port receives traffic for the VLAN protocol.
FIGURE 80
VLAN with dynamic portscandidate ports become active again if they receive protocol traffic
Ports that time out remain candidates for membership in the VLAN and become active again if they receive traffic for the VLANs protocol, IP sub-net, IPX network, or AppleTalk cable range. When a candidate port rejoins a VLAN, the timeout for that port becomes 20 minutes. Thus, the port remains an active member of the VLAN even if it does not receive traffic for 20 minutes. After that, the port becomes a candidate port again.
760
VLAN overview
Static ports
Static ports are permanent members of the protocol VLAN. The ports remain active members of the VLAN regardless of whether the ports receive traffic for the VLAN protocol. You must explicitly identify the port as a static port when you add it to the VLAN. Otherwise, the port is dynamic and is subject to aging out.
Excluded ports
If you want to prevent a port in a port-based VLAN from ever becoming a member of a protocol, IP subnet, IPX network, or AppleTalk cable VLAN configured in the port-based VLAN, you can explicitly exclude the port. You exclude the port when you configure the protocol, IP subnet, IPX network, or AppleTalk cable VLAN. Excluded ports do not leak broadcast packets. Refer to Broadcast leaks on page 761.
Broadcast leaks
A dynamic port becomes a member of a Layer 3 protocol VLAN when traffic from the VLAN's protocol is received on the port. After this point, the port remains an active member of the protocol VLAN, unless the port does not receive traffic from the VLAN's protocol for 20 minutes. If the port does not receive traffic for the VLAN's protocol for 20 minutes, the port ages out and is no longer an active member of the VLAN. To enable a host that has been silent for awhile to send and receive packets, the dynamic ports that are currently members of the Layer 3 protocol VLAN "leak" Layer 3 broadcast packets to the ports that have aged out. When a host connected to one of the aged out ports responds to a leaked broadcast, the port is added to the protocol VLAN again. To "leak" Layer 3 broadcast traffic, an active port sends 1/8th of the Layer 3 broadcast traffic to the inactive (aged out) ports. Static ports do not age out and do not leak broadcast packets.
761
VLAN overview
Port-based VLANs are at the lowest level of the hierarchy. Layer 3 protocol-based VLANs, IP, IPv6, IPX, AppleTalk, Decnet, and NetBIOS are at the middle
level of the hierarchy.
IP subnet, IPX network, and AppleTalk cable VLANs are at the top of the hierarchy.
You cannot have a protocol-based VLAN and a subnet or network VLAN of the same protocol type in the same port-based VLAN. For example, you can have an IPX protocol VLAN and IP subnet VLAN in the same port-based VLAN, but you cannot have an IP protocol VLAN and an IP subnet VLAN in the same port-based VLAN, nor can you have an IPX protocol VLAN and an IPX network VLAN in the same port-based VLAN. As a Brocade device receives packets, the VLAN classification starts from the highest level VLAN first. Therefore, if an interface is configured as a member of both a port-based VLAN and an IP protocol VLAN, IP packets coming into the interface are classified as members of the IP protocol VLAN because that VLAN is higher in the VLAN hierarchy.
NOTE
A port can belong to multiple, overlapping Layer 2 port-based VLANs only if the port is a tagged
port. Packets sent out of a tagged port use an 802.1Q-tagged frame.
When both port and protocol-based VLANs are configured on a given device, all protocol VLANs
must be strictly contained within a port-based VLAN. A protocol VLAN cannot include ports from multiple port-based VLANs. This rule is required to ensure that port-based VLANs remain loop-free Layer 2 broadcast domains.
IP protocol VLANs and IP subnet VLANs cannot operate concurrently on the system or within
the same port-based VLAN.
IPX protocol VLANs and IPX network VLANs cannot operate concurrently on the system or
within the same port-based VLAN.
If you first configure IP and IPX protocol VLANs before deciding to partition the network by IP
subnet and IPX network VLANs, then you need to delete those VLANs before creating the IP subnet and IPX network VLANs.
One of each type of protocol VLAN is configurable within each port-based VLAN on the Layer 2
switch.
Multiple IP subnet and IPX network VLANs are configurable within each port-based VLAN on
the Layer 2 switch.
Removing a configured port-based VLAN from a Brocade Layer 2 switch or Layer 3 switch
automatically removes any protocol-based VLAN, IP subnet VLAN, AppleTalk cable VLAN, or IPX network VLAN, or any Virtual Ethernet router interfaces defined within the Port-based VLAN.
762
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
Brocade calls the ability to route between VLANs with virtual routing interfaces Integrated Switch Routing (ISR). There are some important concepts to understand before designing an ISR backbone. Virtual router interfaces can be defined on port-based, IP protocol, IP subnet, IPX protocol, IPX network, AppleTalk protocol, and AppleTalk cable VLANs. To create any type of VLAN on a Brocade Layer 3 switch, Layer 2 forwarding must be enabled. When Layer 2 forwarding is enabled, the Layer 3 switch becomes a Switch on all ports for all non-routable protocols. If the router interfaces for IP, IPX, or AppleTalk are configured on physical ports, then routing occurs independent of the Spanning Tree Protocol (STP). However, if the router interfaces are defined for any type VLAN, they are virtual routing interfaces and are subject to the rules of STP.
763
If your backbone consists of virtual routing interfaces all within the same STP domain, it is a bridged backbone, not a routed one. This means that the set of backbone interfaces that are blocked by STP will be blocked for routed protocols as well. The routed protocols will be able to cross these paths only when the STP state of the link is FORWARDING. This problem is easily avoided by proper network design. When designing an ISR network, pay attention to your use of virtual routing interfaces and the spanning-tree domain. If Layer 2 switching of your routed protocols (IP, IPX, AppleTalk) is not required across the backbone, then the use of virtual routing interfaces can be limited to edge switch ports within each router. Full backbone routing can be achieved by configuring routing on each physical interface that connects to the backbone. Routing is independent of STP when configured on a physical interface. If your ISR design requires that you switch IP, IPX, or Appletalk at Layer 2 while simultaneously routing the same protocols over a single backbone, then create multiple port-based VLANs and use VLAN tagging on the backbone links to separate your Layer 2 switched and Layer 3 routed networks. There is a separate STP domain for each port-based VLAN. Routing occurs independently across port-based VLANs or STP domains. You can define each end of each backbone link as a separate tagged port-based VLAN. Routing will occur independently across the port-based VLANs. Because each port-based VLAN STP domain is a single point-to-point backbone connection, you are guaranteed to never have an STP loop. STP will never block the virtual router interfaces within the tagged port-based VLAN, and you will have a fully routed backbone.
Syntax: [no] default-vlan-d <vlan-id> You must specify a valid VLAN ID that is not already in use. For example, if you have already defined VLAN 10, do not try to use 10 as the new VLAN ID for the default VLAN. Valid VLAN IDs are numbers from 1 4095.
764
does not change the properties of the default VLAN. Changing the name allows you to use the VLAN ID 1 as a configurable VLAN.
NOTE
NOTE
You must save the configuration (write mem) and reload the software to place the change into effect. The above configuration changes the VLAN ID of 4091 to 10. After saving the configuration and reloading the software, you can configure VLAN 4091 as you would any other VLAN. Syntax: [no] reserved-vlan-map vlan 4091 | 4092 new-vlan <vlan-id> For <vlan-id>, enter a valid VLAN ID that is not already in use. For example, if you have already defined VLAN 20, do not try to use 20 as the new VLAN ID. Valid VLAN IDs are numbers from 1 4090, 4093, and 4095. VLAN ID 4094 is reserved for use by the Single Spanning Tree feature.
Viewing reassigned VLAN IDs for reserved VLANs 4091 and 4092
To view the assigned VLAN IDs for reserved VLANs 4091 and 4092, use the show reserved-vlan-map command. The reassigned VLAN IDs also display in the output of the show running-config and show config commands. The following shows example output for the show reserved-vlan-map command.
Brocade # show reserved-vlan-map Reserved Purpose Default CPU VLAN 4091 All Ports VLAN 4092
Re-assign 10 33
Current 10 33
765
The following table defines the fields in the output of the show reserved-vlan-map command.
TABLE 139
Field
If you reassign a reserved VLAN without saving the configuration and reloading the software, the reassigned VLAN ID will display in the Re-assign column. However, the previously configured or default VLAN ID will display in the Current column until the configuration is saved and the device reloaded.
NOTE
2. Access the level of the CLI for configuring port-based VLAN 3 by entering the following command.
Brocade-A(config)# Brocade-A(config)# vlan 3 Brocade-A(config-vlan-3)#
3. From VLAN 3 configuration level of the CLI, enter the following command to enable STP on all tagged and untagged ports associated with VLAN 3.
Brocade-B(config-vlan-3)# Brocade-B(config-vlan-3)# spanning-tree Brocade-B(config-vlan-3)#
766
4. Enter the following commands to exit the VLAN CONFIG mode and save the configuration to the system-config file on flash memory.
Brocade-B(config-vlan-3)# Brocade-B(config-vlan-3)# end Brocade-B# write memory Brocade-B#
5. Repeat steps 1 4 on FESX-B. You do not need to configure values for the STP parameters. All parameters have default values as noted below. Additionally, all values will be globally applied to all ports on the system or on the port-based VLAN for which they are defined. To configure a specific path-cost or priority value for a given port, enter those values using the key words in the brackets [ ] shown in the syntax summary below. If you do not want to specify values for any given port, this portion of the command is not required. Syntax: vlan <vlan-id> by port Syntax: [no] spanning-tree Syntax: spanning-tree [ethernet [<slotnum>/]<portnum> path-cost <value> priority <value>] forward-delay <value> hello-time <value> maximum-age <time> priority <value> Bridge STP parameters (applied to all ports within a VLAN):
NOTE
Forward Delay the period of time a bridge will wait (the listen and learn period) before
forwarding data packets. Possible values: 4 30 seconds. Default is 15.
Maximum Age the interval a bridge will wait for receipt of a hello packet before initiating a
topology change. Possible values: 6 40 seconds. Default is 20.
Hello Time the interval of time between each configuration BPDU sent by the root bridge.
Possible values: 1 10 seconds. Default is 2.
Priority a parameter used to identify the root bridge in a network. The bridge with the lowest
value has the highest priority and is the root. Possible values: 1 65,535. Default is 32,678. Port parameters (applied to a specified port within a VLAN): Path Cost a parameter used to assign a higher or lower path cost to a port. Possible values: 1 65535. Default is (1000/Port Speed) for Half-Duplex ports and is (1000/Port Speed)/2 for Full-Duplex ports.
Priority value determines when a port will be rerouted in relation to other ports. Possible
values: 0 255. Default is 128.
767
Three broadcast domains, one for each of three separate IP subnets One for IPX Network 1 One for the Appletalk protocol
Also suppose you want a single router interface to be present within all of these separate broadcast domains, without using IEEE 802.1Q VLAN tagging or any proprietary form of VLAN tagging. Figure 81 shows this configuration.
FIGURE 81
FSX
Port 25
IP-Subnet 1 IP-Subnet 2 IP-Subnet 3 IPX Net 1 Appletalk Cable 100
Port25
768
To configure the VLANs shown in Figure 81, use the following procedure. 1. To permanently assign ports 1 8 and port 25 to IP subnet VLAN 1.1.1.0, enter the following commands.
Brocade(config-vlan-2)# ip-subnet 1.1.1.0/24 name Green Brocade(config-vlan-ip-subnet)# no dynamic Brocade(config-vlan-ip-subnet)# static ethernet 1 to 8 ethernet 25
2. To permanently assign ports 9 16 and port 25 to IP subnet VLAN 1.1.2.0, enter the following commands.
Brocade(config-vlan-3)# ip-subnet 1.1.2.0/24 name Yellow Brocade(config-vlan-ip-subnet)# no dynamic Brocade(config-vlan-ip-subnet)# static ethernet 9 to 16 ethernet 25
3. To permanently assign ports 17 25 to IP subnet VLAN 1.1.3.0, enter the following commands.
Brocade(config-vlan-4)# ip-subnet 1.1.3.0/24 name Brown Brocade(config-vlan-ip-subnet)# no dynamic Brocade(config-vlan-ip-subnet)# static ethernet 17 to 25
4. To permanently assign ports 1 12 and port 25 to IPX network 1 VLAN, enter the following commands.
Brocade(config-ip-subnet)# ipx-network 1 ethernet_802.3 name Blue Brocade(config-ipx-network)# no dynamic Brocade(config-ipx-network)# static ethernet 1 to 12 ethernet 25 Brocade(config-ipx-network)#
Syntax: ip-subnet <ip-addr> <ip-mask> [name <string>] Syntax: ipx-network <ipx-network-number> <frame-encapsulation-type> netbios-allow | netbios-disallow [name <string>] Syntax: ip-proto | ipx-proto | atalk-proto | decnet-proto | netbios-proto | other-proto static | exclude | dynamic ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum>] [name <string>]
769
Suppose you need to provide three separate STP domains across an enterprise campus backbone. The first STP domain (VLAN 2) requires a set of ports at each Layer 2 switch location to be statically mapped to IP only. No other protocols can enter the switches on this set of ports. A second set of ports within STP domain VLAN 2 will be restricted to only IPX traffic. The IP and IPX protocol VLANs will overlap on Port 1 of FESX-A to support both protocols on the same router interface. The IP subnets and IPX network that span the two protocol VLANs will be determined by the FastIron router configuration. The IP and IPX Protocol VLANs ensure that only the ports included in the each Layer 3 protocol VLAN will see traffic from the FastIron router. The second STP domain (VLAN 3) requires that half the ports in the domain are dedicated to IP subnet 1.1.1.0/24 and the other ports are dedicated to IPX network 1. Similar to VLAN 2, Port 9 from VLAN 3 will be used to carry this IP subnet and IPX network to the FastIron router. No other protocols will be allowed to enter the network on VLAN 3. Also, no IP packets with a source address on subnet 1.1.1.0/24 or IPX packets with a source address on network 1 will be allowed to enter the switches on VLAN 3. There is no need to segment Layer 3 broadcast domains within the STP broadcast domain (VLAN 4). The FastIron router will dictate the IP subnets and IPX network that are on VLAN 4. There are no Layer 3 protocol restrictions on VLAN 4; however, the FastIron router is configured to only forward IP and IPX between STP domains.
FIGURE 82
770
FSX
Port1
Port9
Port17
FESX-A V2
V2
V3
V4 V2
FESX-B
VLAN 2
VLAN 3
VLAN 4
To configure the Layer 3 VLANs on the FESX Layer 2 switches in Figure 82, use the following procedure.
2. Enable STP and set the priority to force FESX-A to be the root bridge for VLAN 2.
Brocade-A(config-vlan-2)# spanning-tree Brocade-A(config-vlan-2)# spanning-tree priority 500 Brocade-A(config-vlan-2)#
3. Create the IP and IPX protocol-based VLANs and statically assign the ports within VLAN 2 that will be associated with each protocol-based VLAN.
Brocade-A(config-vlan-2)# ip-proto name Red Brocade-A(config-vlan-ip-proto)# no dynamic Brocade-A(config-vlan-ip-proto)# static e1 to 4 e25 to 26 Brocade-A(config-vlan-ip-proto)# exclude e5 to 8 Brocade-A(config-vlan-ip-proto)# ipx-proto name Blue Brocade-A(config-vlan-ipx-proto)# no dynamic Brocade-A(config-vlan-ipx-proto)# static e1 e5 to 8 e25 to 26 Brocade-A(config-vlan-ipx-proto)# exclude e2 to 4
V3 V4 FESX-C VLAN 2
VLAN 3 VLAN 4
V3 V4
771
4. To prevent machines with non-IP protocols from getting into the IP portion of VLAN 2, create another Layer 3 protocol VLAN to exclude all other protocols from the ports that contains the IP-protocol VLAN. To do so, enter the following commands.
Brocade-A(config-vlan-ipx-proto)# other-proto name Block_other_proto Brocade-A(config-vlan-other-proto)# no dynamic Brocade-A(config-vlan-other-proto)# exclude e1 to 8 Brocade-A(config-vlan-other-proto)#
5. Create port-based VLAN 3. Note that FESX-B will be the root for this STP domain, so you do not need to adjust the STP priority.
Brocade-A(config-vlan-other-proto)# vlan 3 name IP-Sub_IPX-Net_Vlans Brocade-A(config-vlan-3)# untagged e9 to 16 Brocade-A(config-vlan-3)# tagged e25 to 26 Brocade-A(config-vlan-3)# spanning-tree Brocade-A(config-vlan-3)#
7.
Configure the last port-based VLAN 4. You need to set the STP priority for this VLAN because FESX-A will be the root bridge for this VLAN. Because you do not need to partition this STP domain into multiple Layer 3 broadcast domains, this is the only configuration required for VLAN 4.
Brocade-A(config-vlan-other-proto)# vlan 4 name Purple_ALL-Protocols Brocade-A(config-vlan-4)# untagged e17 to 24 Brocade-A(config-vlan-4)# tagged e25 to 26 Brocade-A(config-vlan-4)# spanning-tree Brocade-A(config-vlan-4)# spanning-tree priority 500 Brocade-A(config-vlan-4)#
772
Brocade-B(config-vlan-ipx-proto)# static e5 to 8 e25 to 26 Brocade-B(config-vlan-ipx-proto)# exclude e1 to 4 Brocade-B(config-vlan-other-proto)# vlan 3 name IP-Sub_IPX-Net_VLANs Brocade-B(config-vlan-3)# untagged e9 to 16 Brocade-B(config-vlan-3)# tagged e25 to 26 Brocade-B(config-vlan-3)# spanning-tree Brocade-B(config-vlan-3)# spanning-tree priority 500 Brocade-B(config-vlan-3)# ip-sub 1.1.1.0/24 name Green Brocade-B(config-vlan-ip-subnet)# no dynamic Brocade-B(config-vlan-ip-subnet)# static e9 to 12 e25 to 26 Brocade-B(config-vlan-ip-subnet)# exclude e13 to 16 Brocade-B(config-vlan-ip-subnet)# ipx-net 1 ethernet_802.3 name Brown Brocade-B(config-vlan-ipx-network)# no dynamic Brocade-B(config-vlan-ipx-network)# static e13 to 16 e25 to 26 Brocade-B(config-vlan-ipx-network)# exclude e9 to 12 Brocade-B(config-vlan-ipx-network)# vlan 4 name Purple_ALL-Protocols Brocade-B(config-vlan-4)# untagged e17 to 24 Brocade-B(config-vlan-4)# tagged e25 to 26 Brocade-B(config-vlan-4)# spanning-tree
773
NOTE
NOTE
You can disable VLAN membership aging of dynamically added ports. Refer to Disabling membership aging of dynamic VLAN ports on page 781). To configure an IPv6 VLAN, enter commands such as the following.
Brocade(config)# vlan 2 Brocade(config-vlan-2)# untagged ethernet 1/1 to 1/8 Brocade(config-vlan-2)# ipv6-proto name V6 Brocade(config-ipv6-subnet)# static ethernet 1/1 to 1/6 Brocade(config-ipv6-subnet)# dynamic
The first two commands configure a port-based VLAN and add ports 1/1 1/8 to the VLAN. The remaining commands configure an IPv6 VLAN within the port-based VLAN. The static command adds ports 1/1 1/6 as static ports, which do not age out. The dynamic command adds the remaining ports, 1/7 1/8, as dynamic ports. These ports are subject to aging as described above. Syntax: [no] ipv6-proto [name <string>]
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
Brocade Layer 3 switches offer the ability to create a virtual routing interface within a Layer 2 STP port-based VLAN or within each Layer 3 protocol, IP subnet, or IPX network VLAN. This combination of multiple Layer 2 or Layer 3 broadcast domains, or both, and virtual routing interfaces are the basis for Brocade very powerful Integrated Switch Routing (ISR) technology. ISR is very flexible and can solve many networking problems. The following example is meant to provide ideas by demonstrating some of the concepts of ISR.
774
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
Example
Suppose you want to move routing out to each of three buildings in a network. Remember that the only protocols present on VLAN 2 and VLAN 3 are IP and IPX. Therefore, you can eliminate tagged ports 25 and 26 from both VLAN 2 and VLAN 3 and create new tagged port-based VLANs to support separate IP subnets and IPX networks for each backbone link. You also need to create unique IP subnets and IPX networks within VLAN 2 and VLAN 3 at each building. This will create a fully routed IP and IPX backbone for VLAN 2 and VLAN 3. However, VLAN 4 has no protocol restrictions across the backbone. In fact there are requirements for NetBIOS and DecNet to be bridged among the three building locations. The IP subnet and IPX network that exists within VLAN 4 must remain a flat Layer 2 switched STP domain. You enable routing for IP and IPX on a virtual routing interface only on FESX-A. This will provide the flat IP and IPX segment with connectivity to the rest of the network. Within VLAN 4 IP and IPX will follow the STP topology. All other IP subnets and IPX networks will be fully routed and have use of all paths at all times during normal operation. Figure 83 shows the configuration described above.
FIGURE 83
Building 1 FESX-A
Vlan2 Vlan8 Vlan3 Vlan4
/IPX V4
V5 IP/IPX V4
V5 IP/IPX
Building 2 FESX-B
Vlan2 Vlan8 Vlan3 Vlan4
To configure the Layer 3 VLANs and virtual routing interfaces on the FESX Layer 3 switch in Figure 83, use the following procedure.
V6 IP/IPX V4 V6 IP/IPX V4
V7 IP/IPX V4 V7 IP/IPX V4
V6 IP
FESX-C
Vlan2 Vlan8 Vlan3 Vlan4
V4
Building 3
775
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
The following commands create the port-based VLAN 2. In the previous example, an external FESX defined the router interfaces for VLAN 2. With ISR, routing for VLAN 2 is done locally within each FESX. Therefore, there are two ways you can solve this problem. One way is to create a unique IP subnet and IPX network VLAN, each with its own virtual routing interface and unique IP or IPX address within VLAN 2 on each FESX. In this example, this is the configuration used for VLAN 3. The second way is to split VLAN 2 into two separate port-based VLANs and create a virtual router interface within each port-based VLAN. Later in this example, this second option is used to create a port-based VLAN 8 to show that there are multiple ways to accomplish the same task with ISR. You also need to create the Other-Protocol VLAN within port-based VLAN 2 and 8 to prevent unwanted protocols from being Layer 2 switched within port-based VLAN 2 or 8. Note that the only port-based VLAN that requires STP in this example is VLAN 4. You will need to configure the rest of the network to prevent the need to run STP.
Brocade-A(config-ospf-router)# vlan 2 name IP-Subnet_1.1.2.0/24 Brocade-A(config-vlan-2)# untagged ethernet 1 to 4 Brocade-A(config-vlan-2)# no spanning-tree Brocade-A(config-vlan-2)# router-interface ve1 Brocade-A(config-vlan-2)# other-proto name block_other_protocols Brocade-A(config-vlan-other-proto)# no dynamic Brocade-A(config-vlan-other-proto)# exclude ethernet 1 to 4
Once you have defined the port-based VLAN and created the virtual routing interface, you need to configure the virtual routing interface just as you would configure a physical interface.
Brocade-A(config-vlan-other-proto)# interface ve1 Brocade-A(config-vif-1)# ip address 1.1.2.1/24 Brocade-A(config-vif-1)# ip ospf area 0.0.0.0
776
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
The next thing you need to do is create VLAN 3. This is very similar to the previous example with the addition of virtual routing interfaces to the IP subnet and IPX network VLANs. Also there is no need to exclude ports from the IP subnet and IPX network VLANs on the router.
Brocade-A(config-vif-2)# vlan 3 name IP_Sub_&_IPX_Net_VLAN Brocade-A(config-vlan-3)# untagged ethernet 9 to 16 Brocade-A(config-vlan-3)# no spanning-tree Brocade-A(config-vlan-3)# ip-subnet 1.1.1.0/24 Brocade-A(config-vlan-ip-subnet)# static ethernet 9 to 12 Brocade-A(config-vlan-ip-subnet)# router-interface ve3 Brocade-A(config-vlan-ip-subnet)# ipx-network 1 ethernet_802.3 Brocade-A(config-vlan-ipx-network)# static ethernet 13 to 16 Brocade-A(config-vlan-ipx-network)# router-interface ve4 Brocade-A(config-vlan-ipx-network)# other-proto name block-other-protocols Brocade-A(config-vlan-other-proto)# exclude ethernet 9 to 16 Brocade-A(config-vlan-other-proto)# no dynamic Brocade-A(config-vlan-other-proto)# interface ve 3 Brocade-A(config-vif-3)# ip addr 1.1.1.1/24 Brocade-A(config-vif-3)# ip ospf area 0.0.0.0 Brocade-A(config-vif-3)# interface ve4 Brocade-A(config-vif-4)# ipx network 1 ethernet_802.3 Brocade-A(config-vif-4)#
Now configure VLAN 4. Remember this is a flat segment that, in the previous example, obtained its IP default gateway and IPX router services from an external FESX. In this example, FESX-A will provide the routing services for VLAN 4. You also want to configure the STP priority for VLAN 4 to make FESX-A the root bridge for this VLAN.
Brocade-A(config-vif-4)# vlan 4 name Bridged_ALL_Protocols Brocade-A(config-vlan-4)# untagged ethernet 17 to 24 Brocade-A(config-vlan-4)# tagged ethernet 25 to 26 Brocade-A(config-vlan-4)# spanning-tree Brocade-A(config-vlan-4)# spanning-tree priority 500 Brocade-A(config-vlan-4)# router-interface ve5 Brocade-A(config-vlan-4)# interface ve5 Brocade-A(config-vif-5)# ip address 1.1.3.1/24 Brocade-A(config-vif-5)# ip ospf area 0.0.0.0 Brocade-A(config-vif-5)# ipx network 3 ethernet_802.3 Brocade-A(config-vif-5)#
It is time to configure a separate port-based VLAN for each of the routed backbone ports (Ethernet 25 and 26). If you do not create a separate tagged port-based VLAN for each point-to-point backbone link, you need to include tagged interfaces for Ethernet 25 and 26 within VLANs 2, 3, and 8. This type of configuration makes the entire backbone a single STP domain for each VLAN 2, 3, and 8. This is the configuration used in the example in Configuring IP subnet, IPX network and protocol-based VLANs on page 768. In this scenario, the virtual routing interfaces within port-based VLANs 2, 3, and 8 will be accessible using only one path through the network. The path that is blocked by STP is not available to the routing protocols until it is in the STP FORWARDING state.
Brocade-A(config-vif-5)# vlan 5 name Rtr_BB_to_Bldg.2 Brocade-A(config-vlan-5)# tagged ethernet 25 Brocade-A(config-vlan-5)# no spanning-tree Brocade-A(config-vlan-5)# router-interface ve6 Brocade-A(config-vlan-5)# vlan 6 name Rtr_BB_to_Bldg.3 Brocade-A(config-vlan-6)# tagged ethernet 26 Brocade-A(config-vlan-6)# no spanning-tree Brocade-A(config-vlan-6)# router-interface ve7
777
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
Brocade-A(config-vlan-6)# interface ve6 Brocade-A(config-vif-6)# ip addr 1.1.4.1/24 Brocade-A(config-vif-6)# ip ospf area 0.0.0.0 Brocade-A(config-vif-6)# ipx network 4 ethernet_802.3 Brocade-A(config-vif-6)# interface ve7 Brocade-A(config-vif-7)# ip addr 1.1.5.1/24 Brocade-A(config-vif-7)# ip ospf area 0.0.0.0 Brocade-A(config-vif-7)# ipx network 5 ethernet_802.3 Brocade-A(config-vif-7)#
This completes the configuration for FESX-A. The configuration for FESX-B and C is very similar except for a few issues which are as follows:
IP subnets and IPX networks configured on FESX-B and FESX-C must be unique across the
entire network, except for the backbone port-based VLANs 5, 6, and 7 where the subnet is the same but the IP address must change.
There is no need to change the default priority of STP within VLAN 4. There is no need to include a virtual router interface within VLAN 4. The backbone VLAN between FESX-B and FESX-C must be the same at both ends and requires
a new VLAN ID. The VLAN ID for this port-based VLAN is VLAN 7.
778
Routing between VLANs using virtual routing interfaces (Layer 3 switches only)
Brocade-B(config-vlan-ip-subnet)# ipx-network 7 ethernet_802.3 Brocade-B(config-vlan-ipx-network)# static ethernet 13 to 16 Brocade-B(config-vlan-ipx-network)# router-interface ve4 Brocade-B(config-vlan-ipx-network)# other-proto name block-other-protocols Brocade-B(config-vlan-other-proto)# exclude ethernet 9 to 16 Brocade-B(config-vlan-other-proto)# no dynamic Brocade-B(config-vlan-other-proto)# interface ve 3 Brocade-B(config-vif-3)# ip addr 1.1.7.1/24 Brocade-B(config-vif-3)# ip ospf area 0.0.0.0 Brocade-B(config-vif-3)# interface ve4 Brocade-B(config-vif-4)# ipx network 7 ethernet_802.3 Brocade-B(config-vif-4)# vlan 4 name Bridged_ALL_Protocols Brocade-B(config-vlan-4)# untagged ethernet 17 to 24 Brocade-B(config-vlan-4)# tagged ethernet 25 to 26 Brocade-B(config-vlan-4)# spanning-tree Brocade-B(config-vlan-4)# vlan 5 name Rtr_BB_to_Bldg.1 Brocade-B(config-vlan-5)# tagged ethernet 25 Brocade-B(config-vlan-5)# no spanning-tree Brocade-B(config-vlan-5)# router-interface ve5 Brocade-B(config-vlan-5)# vlan 7 name Rtr_BB_to_Bldg.3 Brocade-B(config-vlan-7)# tagged ethernet 26 Brocade-B(config-vlan-7)# no spanning-tree Brocade-B(config-vlan-7)# router-interface ve6 Brocade-B(config-vlan-7)# interface ve5 Brocade-B(config-vif-5)# ip addr 1.1.4.2/24 Brocade-B(config-vif-5)# ip ospf area 0.0.0.0 Brocade-B(config-vif-5)# ipx network 4 ethernet_802.3 Brocade-B(config-vif-5)# interface ve6 Brocade-B(config-vif-6)# ip addr 1.1.8.1/24 Brocade-B(config-vif-6)# ip ospf area 0.0.0.0 Brocade-B(config-vif-6)# ipx network 8 ethernet_802.3 Brocade-B(config-vif-6)#
779
Brocade-C(config-vlan-other-proto)# no dynamic Brocade-C(config-vlan-other-proto)# exclude ethernet 5 to 8 Brocade-C(config-vlan-other-proto)# interface ve2 Brocade-C(config-vif-2)# ipx net 9 ethernet_802.3 Brocade-C(config-vif-2)# vlan 3 name IP_Sub_&_IPX_Net_VLAN Brocade-C(config-vlan-3)# untagged ethernet 9 to 16 Brocade-C(config-vlan-3)# no spanning-tree Brocade-C(config-vlan-3)# ip-subnet 1.1.10.0/24 Brocade-C(config-vlan-ip-subnet)# static ethernet 9 to 12 Brocade-C(config-vlan-ip-subnet)# router-interface ve3 Brocade-C(config-vlan-ip-subnet)# ipx-network 10 ethernet_802.3 Brocade-C(config-vlan-ipx-network)# static ethernet 13 to 16 Brocade-C(config-vlan-ipx-network)# router-interface ve4 Brocade-C(config-vlan-ipx-network)# other-proto name block-other-protocols Brocade-C(config-vlan-other-proto)# exclude ethernet 9 to 16 Brocade-C(config-vlan-other-proto)# no dynamic Brocade-C(config-vlan-other-proto)# interface ve 3 Brocade-C(config-vif-3)# ip addr 1.1.10.1/24 Brocade-C(config-vif-3)# ip ospf area 0.0.0.0 Brocade-C(config-vif-3)# interface ve4 Brocade-C(config-vif-4)# ipx network 10 ethernet_802.3 Brocade-C(config-vif-4)# vlan 4 name Bridged_ALL_Protocols Brocade-C(config-vlan-4)# untagged ethernet 17 to 24 Brocade-C(config-vlan-4)# tagged ethernet 25 to 26 Brocade-C(config-vlan-4)# spanning-tree Brocade-C(config-vlan-4)# vlan 7 name Rtr_BB_to_Bldg.2 Brocade-C(config-vlan-7)# tagged ethernet 25 Brocade-C(config-vlan-7)# no spanning-tree Brocade-C(config-vlan-7)# router-interface ve5 Brocade-C(config-vlan-7)# vlan 6 name Rtr_BB_to_Bldg.1 Brocade-C(config-vlan-6)# tagged ethernet 26 Brocade-C(config-vlan-6)# no spanning-tree Brocade-C(config-vlan-6)# router-interface ve6 Brocade-C(config-vlan-6)# interface ve5 Brocade-C(config-vif-5)# ip addr 1.1.8.2/24 Brocade-C(config-vif-5)# ip ospf area 0.0.0.0 Brocade-C(config-vif-5)# ipx network 8 ethernet_802.3 Brocade-C(config-vif-5)# interface ve6 Brocade-C(config-vif-6)# ip addr 1.1.5.2/24 Brocade-C(config-vif-6)# ip ospf area 0.0.0.0 Brocade-C(config-vif-6)# ipx network 5 ethernet_802.3 Brocade-C(config-vif-6)#
780
The software does not support dynamically adding ports to AppleTalk cable VLANs. Conceptually, an AppleTalk cable VLAN consists of a single network cable, connected to a single port. Therefore, dynamic addition and removal of ports is not applicable.
NOTE
You cannot route to or from protocol VLANs with dynamically added ports.
NOTE
NOTE
NOTE
These commands create an IP protocol VLAN and disable the VLAN membership aging of ports that are dynamically assigned to the protocol VLAN. Syntax: [no] no-dynamic-aging
781
Enter the no form of the command to disable this feature after it has been enabled. By default, VLAN membership of dynamically assigned ports will age out after a period of time if no packets belonging to that protocol or subnet VLAN are received by the CPU. The output of the show running-config command indicates if the no-dynamic-aging feature is enabled for a specific protocol or subnet VLAN.
Once you dynamically add a port to a protocol VLAN, you cannot configure routing parameters
on the port.
Dynamic VLAN ports are not required or supported on AppleTalk cable VLANs. When protocol VLANs with dynamic ports are configured, the output of the show running-config
command in the Router image will show the dynamic keyword. In the Switch image, the keyword is not shown in the output of the show running-config command.
Syntax: vlan <vlan-id> by port [name <string>] Syntax: untagged ethernet [<slotnum>/]<portnum> to [<slotnum>/]<portnum> or Syntax: untagged ethernet [<slotnum>/]<portnum> ethernet [<slotnum>/]<portnum>
NOTE
Use the first untagged command for adding a range of ports. Use the second command for adding separate ports (not in a range). Syntax: ip-proto [name <string>] Syntax: ipx-proto [name <string>] Syntax: appletalk-cable-vlan <num> [name <string>] Syntax: dynamic
782
The procedure is similar for IPX and AppleTalk protocol VLANs. Enter ipx-proto or atalk-proto instead of ip-proto.
These commands create a port-based VLAN on chassis ports 1/1 1/6 named Mktg-LAN, configure an IP subnet VLAN within the port-based VLAN, and then add ports from the port-based VLAN dynamically. Syntax: vlan <vlan-id> by port [name <string>] Syntax: untagged ethernet [<slotnum>/]<portnum> to [<slotnum>/]<portnum> or Syntax: untagged ethernet [<slotnum>/]<portnum> ethernet [<slotnum>/]<portnum>
NOTE
Use the first untagged command for adding a range of ports. Use the second command for adding separate ports (not in a range). Syntax: ip-subnet <ip-addr> <ip-mask> [name <string>] or Syntax: ip-subnet <ip-addr>/<mask-bits> [name <string>] Syntax: dynamic
These commands create a port-based VLAN on chassis ports 2/1 2/6 named Eng-LAN, configure an IPX network VLAN within the port-based VLAN, and then add ports from the port-based VLAN dynamically. Syntax: vlan <vlan-id> by port [name <string>]
783
Syntax: untagged ethernet [<slotnum>/]<portnum> to [<slotnum>/]<portnum> or Syntax: untagged ethernet [<slotnum>/]<portnum> ethernet [<slotnum>/]<portnum> Use the first untagged command for adding a range of ports. Use the second command for adding separate ports (not in a range). Syntax: ipx-network <network-addr> ethernet_ii | ethernet_802.2 | ethernet_802.3 | ethernet_snap [name <string>] Syntax: dynamic
NOTE
This feature should not be enabled with protocol VLANs or PVLANs in the same VLAN.
784
In this example, 24 ports on a 10/100 module and two Gbps ports on a Gbps module are added to port-based VLAN 10. The two Gbps ports are then configured as uplink ports.
NOTE
NOTE
Before using the method described in this section, refer to VLAN groups and virtual routing interface group on page 788. You might be able to achieve the results you want using the methods in that section instead. Figure 84 shows an example of this type of configuration.
FIGURE 84
FSX Switch
As shown in this example, each VLAN has a separate IP subnet address. If you need to conserve IP subnet addresses, you can configure multiple VLANs with the same IP subnet address, as shown in Figure 85.
785
FIGURE 85
FSX Switch
VLAN 3 VE 2 -Follow VE 1
VLAN 4 VE 3 -Follow VE 1
Each VLAN still requires a separate virtual routing interface. However, all three VLANs now use the same IP subnet address. In addition to conserving IP subnet addresses, this feature allows containment of Layer 2 broadcasts to segments within an IP subnet. For ISP environments where the same IP subnet is allocated to different customers, placing each customer in a separate VLAN allows all customers to share the IP subnet address, while at the same time isolating them from one another Layer 2 broadcasts.
NOTE
You can provide redundancy to an IP subnet address that contains multiple VLANs using a pair of Brocade Layer 3 switches configured for Brocade VRRP (Virtual Router Redundancy Protocol). The Brocade device performs proxy Address Resolution Protocol (ARP) for hosts that want to send IP traffic to hosts in other VLANs that are sharing the same IP subnet address. If the source and destination hosts are in the same VLAN, the Brocade device does not need to use ARP:
If a host attached to one VLAN sends an ARP message for the MAC address of a host in one of
the other VLANs using the same IP subnet address, the Brocade device performs a proxy ARP on behalf of the other host. The Brocade device then replies to the ARP by sending the virtual routing interface MAC address. The Brocade device uses the same MAC address for all virtual routing interfaces. When the host that sent the ARP then sends a unicast packet addressed to the virtual routing interface MAC address, the device switches the packet on Layer 3 to the destination host on the VLAN.
786
NOTE
If the Brocade device ARP table does not contain the requested host, the Brocade device forwards the ARP request on Layer 2 to the same VLAN as the one that received the ARP request. Then the device sends an ARP for the destination to the other VLANs that are using the same IP subnet address.
If the destination is in the same VLAN as the source, the Brocade device does not need to
perform a proxy ARP. To configure multiple VLANs to use the same IP subnet address:
Configure each VLAN, including adding tagged or untagged ports. Configure a separate virtual routing interface for each VLAN, but do not add an IP subnet
address to more than one of the virtual routing interfaces.
Configure the virtual routing interfaces that do not have the IP subnet address to follow the
virtual routing interface that does have the address. To configure the VLANs shown in Figure 85, you could enter the following commands.
Brocade(config)# vlan 1 Brocade(config-vlan-1)# Brocade(config-vlan-1)# Brocade(config-vlan-1)# by port untagged ethernet 1/1 tagged ethernet 1/8 router-interface ve 1
Syntax: router-interface ve <number> The commands above configure port-based VLAN 1. The VLAN has one untagged port (1/1) and a tagged port (1/8). In this example, all three VLANs contain port 1/8 so the port must be tagged to allow the port to be in multiple VLANs. You can configure VLANs to share a Layer 3 protocol interface regardless of tagging. A combination of tagged and untagged ports is shown in this example to demonstrate that sharing the interface does not change other VLAN features. Notice that each VLAN still requires a unique virtual routing interface. The following commands configure port-based VLANs 2 and 3.
Brocade(config-vlan-1)# Brocade(config-vlan-2)# Brocade(config-vlan-2)# Brocade(config-vlan-2)# Brocade(config-vlan-2)# Brocade(config-vlan-3)# Brocade(config-vlan-3)# Brocade(config-vlan-3)# vlan 2 by port untagged ethernet 1/2 tagged ethernet 1/8 router-interface ve 2 vlan 3 by port untagged ethernet 1/5 to 1/6 tagged ethernet 1/8 router-interface ve 3
The following commands configure virtual routing interfaces 2 and 3 to follow the IP subnet address configured on virtual routing interface 1.
Brocade(config-vif-1)# Brocade(config-vif-2)# Brocade(config-vif-2)# Brocade(config-vif-3)# interface ip follow interface ip follow ve ve ve ve 2 1 3 1
787
Because virtual routing interfaces 2 and 3 do not have their own IP subnet addresses but instead are following virtual routing interface a IP address, you still can configure an IPX or AppleTalk interface on virtual routing interfaces 2 and 3.
NOTE
NOTE
The VLAN group feature allows you to create multiple port-based VLANs with identical port
members. Because the member ports are shared by all the VLANs within the group, you must add the ports as tagged ports. This feature not only simplifies VLAN configuration but also allows you to have a large number of identically configured VLANs in a startup-config file on the device flash memory module. Normally, a startup-config file with a large number of VLANs might not fit on the flash memory module. By grouping the identically configured VLANs, you can conserve space in the startup-config file so that it fits on the flash memory module.
The virtual routing interface group feature is useful when you want to configure the same IP
subnet address on all the port-based VLANs within a VLAN group. You can configure a virtual routing interface group only after you configure a VLAN group with the same ID. The virtual routing interface group automatically applies to the VLANs in the VLAN group that has the same ID and cannot be applied to other VLAN groups or to individual VLANs. You can create up to 32 VLAN groups and 32 virtual routing interface groups. A virtual routing interface group always applies only to the VLANs in the VLAN group with the same ID.
NOTE
Depending on the size of the VLAN ID range you want to use for the VLAN group, you might need to allocate additional memory for VLANs. On Layer 3 switches, if you allocate additional memory for VLANs, you also need to allocate the same amount of memory for virtual routing interfaces. This is true regardless of whether you use the virtual routing interface groups. To allocate additional memory, refer to Allocating memory for more VLANs or virtual routing interfaces on page 792.
788
The first command in this example begins configuration for VLAN group 1, and assigns VLANs 2 through 257 to the group. The second command adds ports 1/1 and 1/2 as tagged ports. Because all the VLANs in the group share the ports, you must add the ports as tagged ports. Syntax: vlan-group <num> vlan <vlan-id> to <vlan-id> Syntax: tagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> | ethernet [<slotnum>/]<portnum>] The vlan-group <num> parameter specifies the VLAN group ID and can be from 1 32. The vlan <vlan-id> to <vlan-id> parameters specify a contiguous range (a range with no gaps) of individual VLAN IDs. Specify the low VLAN ID first and the high VLAN ID second. The command adds all of the specified VLANs to the VLAN group. You can add up to 256 VLANs with the command at one time. To add more than 256 VLANs, enter separate commands. For example, to configure VLAN group 1 and add 512 VLANs to the group, enter the following commands.
Brocade(config)# vlan group 1 vlan 2 to 257 Brocade(config-vlan-group-1)# add vlan 258 to 513
NOTE
The device memory must be configured to contain at least the number of VLANs you specify for the higher end of the range. For example, if you specify 2048 as the VLAN ID at the high end of the range, you first must increase the memory allocation for VLANs to 2048 or higher. Additionally, on Layer 3 switches, if you allocate additional memory for VLANs, you also need to allocate the same amount of memory for virtual routing interfaces, before you configure the VLAN groups. This is true regardless of whether you use the virtual routing interface groups. The memory allocation is required because the VLAN groups and virtual routing interface groups have a one-to-one mapping. Refer to Allocating memory for more VLANs or virtual routing interfaces on page 792. If a VLAN within the range you specify is already configured, or if the range contains more than 256 VLANs, the CLI does not add the group but instead displays an error message.
Brocade(config)#vlan-group 1 vlan 2 to 1000 VLAN group 1 is too big. Only 256 vlans are allowed at a time
In this case, create the group by specifying a valid contiguous range. Then add more VLANs to the group after the CLI changes to the configuration level for the group. See the following example.
Brocade(config)#vlan-group 2 vlan 1000 to 1250 Brocade(config-vlan-group-2)#add-vlan 1251 to 1500 Brocade(config-vlan-group-2)#add-vlan 1501 to 1750 Brocade(config-vlan-group-2)#add-vlan 1751 to 2000
You can add or remove individual VLANs or VLAN ranges from the VLAN group at configuration level. For example, if you want to add VLANs 1001 and 1002 to VLAN group 1 and remove VLANs 900 through 1000, enter the following commands.
Brocade(config-vlan-group-1)# add-vlan 1001 to 1002 Brocade(config-vlan-group-1)# remove-vlan 900 to 1000
Syntax: add-vlan <vlan-id> [to <vlan-id>] Syntax: remove-vlan <vlan-id> [to <vlan-id>]
789
The <vlan-id> to <vlan-id> parameters specify a contiguous range (a range with no gaps) of individual VLAN IDs. Specify the low VLAN ID first and the high VLAN ID second. You can add or remove up to 256 VLANs at a time. To add or remove more than 256 VLANs, do so using separate commands. For example, to remove 512 VLANs from VLAN group 1, enter the following commands.
Brocade(config-vlan-group-1)# remove-vlan 400 to 654 Brocade(config-vlan-group-1)# remove-vlan 655 to 910
Syntax: show vlan-group [<group-id>] The <group-id> specifies a VLAN group. If you do not use this parameter, the configuration information for all the configured VLAN groups is displayed.
Configuration notes and feature limitations for virtual routing interface group
When you configure a virtual routing interface group, all members of the group have the same
IP subnet address. This feature is useful in collocation environments where the device has many IP addresses and you want to conserve the IP address space.
The group-router-interface command creates router interfaces for each VLAN in the VLAN
group by using the VLAN IDs of each of the VLANs as the corresponding virtual interface number. Therefore, if a VLAN group contains VLAN IDs greater than the maximum virtual interface number allowed, the group-router-interface command will be rejected.
790
These commands enable VLAN group 1 to have a group virtual routing interface, then configure virtual routing interface group 1. The software always associates a virtual routing interface group only with the VLAN group that has the same ID. In this example, the VLAN group ID is 1, so the corresponding virtual routing interface group also must have ID 1. Syntax: group-router-interface Syntax: interface group-ve <num> Syntax: [no] ip address <ip-addr> <ip-mask> [secondary] or Syntax: [no] ip address <ip-addr>/<mask-bits> [secondary] The router-interface-group command enables a VLAN group to use a virtual routing interface group. Enter this command at the configuration level for the VLAN group. This command configures the VLAN group to use the virtual routing interface group that has the same ID as the VLAN group. You can enter this command when you configure the VLAN group for the first time or later, after you have added tagged ports to the VLAN and so on. The <num> parameter in the interface group-ve <num> command specifies the ID of the VLAN group with which you want to associate this virtual routing interface group. The VLAN group must already be configured and enabled to use a virtual routing interface group. The software automatically associates the virtual routing interface group with the VLAN group that has the same ID. You can associate a virtual routing interface group only with the VLAN group that has the same ID. IPv6 is not supported with group-ve.
NOTE
NOTE
FCX devices do not support ACLs with group-ve.
FastIron devices support group-ve with OSPF, VRRP v2 and VRRP-E v2 protocols only. The syntax and usage for the ip address command is the same as when you use the command at the interface level to add an IP interface.
NOTE
Displaying the VLAN group and virtual routing interface group information
To verify configuration of VLAN groups and virtual routing interface groups, display the running-config file. If you have saved the configuration to the startup-config file, you also can verify the configuration by displaying the startup-config file. The following example shows the running-config information for the VLAN group and virtual routing interface group configured in the previous examples. The information appears in the same way in the startup-config file.
Brocade# show running-config lines not related to the VLAN group omitted... vlan-group 1 vlan 2 to 20 add-vlan 1001 to 1002 tagged ethe 1/1 to 1/2
791
router-interface-group lines not related to the virtual routing interface group omitted... interface group-ve 1 ip address 10.10.10.1 255.255.255.0
If you have enabled display of subnet masks in CIDR notation, the IP address information is shown as follows: 10.10.10.1/24.
NOTE
TABLE 140
VLANs
Default maximum
64
Default maximum
255
Configurable maximum
512
If many of your VLANs will have an identical configuration, you might want to configure VLAN groups and virtual routing interface groups after you increase the system capacity for VLANs and virtual routing interfaces. Refer to VLAN groups and virtual routing interface group on page 788.
NOTE
Syntax: system-max vlan <num> The <num> parameter indicates the maximum number of VLANs. The range of valid values depends on the device you are configuring. Refer to Table 140.
792
Syntax: system-max virtual-interface <num> The <num> parameter indicates the maximum number of virtual routing interfaces. The range of valid values depends on the device you are configuring. Refer to Table 140.
793
FIGURE 86
sub-net 192.168.1.0/24
Each client connected to the edge device is in its own port-based VLAN, which is like an ATM channel. All the clients VLANs are aggregated by the edge device into a single VLAN for connection to the core. The single VLAN that aggregates the clients VLANs is like an ATM path. The device that aggregates the VLANs forwards the aggregated VLAN traffic through the core. The core can consist of multiple devices that forward the aggregated VLAN traffic. The edge device at the other end of the core separates the aggregated VLANs into the individual client VLANs before forwarding the traffic. The edge devices forward the individual client traffic to the clients. For the clients perspective, the channel is a direct point-to-point link. Figure 87 shows an example application that uses aggregated VLANs. This configuration includes the client connections shown in Figure 86.
794
FIGURE 87
. . .
. . .
. . .
. . .
Client 1 192.168.1.69/24
Ports 1/1 - 1/5 Untagged Device A Tag Type 8100
209.157.2.12/24
Port2/1 Tagged Port3/1 Untagged VLAN Aggregation Enabled Device C Tag Type 9100 Port3/2 Untagged
Port2/1 Tagged
VLAN Aggregation Enabled Port3/1 Untagged Port2/1 Tagged Device E Tag Type 8100 Ports 1/1 - 1/5 Untagged
Device D Tag Type 9100 Port3/2 Untagged Port2/1 Tagged Device F Tag Type 8100
192.168.1.129/24
In this example, a collocation service provides private channels for multiple clients. Although the same devices are used for all the clients, the VLANs ensure that each client receives its own Layer 2 broadcast domain, separate from the broadcast domains of other clients. For example, client 1 cannot ping client 5. The clients at each end of a channel appear to each other to be directly connected and thus can be on the same subnet and use network services that require connection to the same subnet. In this example, client 1 is in subnet 192.168.1.0/24 and so is the device at the other end of client 1 channel. Because each VLAN configured on the core devices is an aggregate of multiple client VLANs, the aggregated VLANs greatly increase the number of clients a core device can accommodate.
795
This example shows a single link between the core devices. However, you can use a trunk group to add link-level redundancy.
Super Aggregated VLANs and VSRP are not supported together on the same device.
On each edge device, configure a separate port-based VLAN for each client connected to the
edge device. In each client VLAN:
Add the port connected to the client as an untagged port. Add the port connected to the core device (the device that will aggregate the VLANs) as a
tagged port. This port must be tagged because all the client VLANs share the port as an uplink to the core device.
On each core device: Enable VLAN aggregation. This support allows the core device to add an additional tag to
each Ethernet frame that contains a VLAN packet from the edge device. The additional tag identifies the aggregate VLAN (the path). However, the additional tag can cause the frame to be longer than the maximum supported frame size. The larger frame support allows Ethernet frames up to 1530 bytes long.
For FWS devices, the frame size is limited to 1522, not 1530, bytes. To allow frames larger
than 1522, you must enable jumbo frames. To globally enable jumbo support , enter commands such as the following.
Brocade(config)# jumbo Brocade(config)# write memory Brocade(config)# end Brocade# reload
NOTE
Configure a VLAN tag type (tag ID) that is different than the tag type used on the edge
devices. If you use the default tag type (8100) on the edge devices, set the tag type on the core devices to another value, such as 9100. The tag type must be the same on all the core devices. The edge devices also must have the same tag type but the type must be different from the tag type on the core devices. You can enable the Spanning Tree Protocol (STP) on the edge devices or the core devices, but not both. If you enable STP on the edge devices and the core devices, STP will prevent client traffic from travelling through the core to the other side.
NOTE
796
Syntax: [no] vlan <vlan-id> [by port] Syntax: [no] tagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> | ethernet [<slotnum>/]<portnum>] Syntax: [no] untagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> | ethernet [<slotnum>/]<portnum>] Use the tagged command to add the port that the device uses for the uplink to the core device. Use the untagged command to add the ports connected to the individual clients.
797
The <num> parameter specifies the tag type can be a hexadecimal value from 0 ffff. The default is 8100.
NOTE
In these examples, the configurations of the edge devices (A, B, E, and F) are identical. The configurations of the core devices (C and D) also are identical. The aggregated VLAN configurations of the edge and core devices on one side must be symmetrical (in fact, a mirror image) to the configurations of the devices on the other side. For simplicity, the example in Figure 87 on page 795 is symmetrical in terms of the port numbers. This allows the configurations for both sides of the link to be the same. If your configuration does not use symmetrically arranged port numbers, the configurations should not be identical but must use the correct port numbers.
798
799
BrocadeD(config)# vlan 102 by port BrocadeD(config-vlan-102)# tagged ethernet 4/1 BrocadeD(config-vlan-102)# untagged ethernet 3/2 BrocadeD(config-vlan-102)# exit BrocadeD(config)# write memory
800
BrocadeF(config-vlan-105)# tagged ethernet 2/1 BrocadeF(config-vlan-105)# untagged ethernet 1/5 BrocadeF(config-vlan-105)# exit BrocadeF(config)# write memory
NOTE
FIGURE 88
To customer interface
Untagged
Tagged
DA
SA
8100
Customer VLAN
DA
SA
8100
Provider VLAN
8100
Customer VLAN
In Figure 88, the untagged ports (to customer interfaces) accept frames that have any 802.1Q tag other than the configured tag-type 9100. These packets are considered untagged on this incoming port and are re-tagged when they are sent out of the uplink towards the provider. The 802.1Q tag-type on the uplink port is 8100, so the Brocade device will switch the frames to the uplink device with an additional 8100 tag, thereby supporting devices that only support this method of VLAN tagging.
801
On devices that support port regions, if you configure a port with an 802.1Q tag-type, the
Brocade device automatically applies the 802.1Q tag-type to all ports within the same port region. Likewise, if you remove the 802.1Q tag-type from a port, the Brocade device automatically removes the 802.1Q tag-type from all ports within the same port region.
Q-in-Q and SAV are not supported on the 48-port 10/100/1000 Mbps (RJ45) Ethernet POE
interface module (SX-FI48GPP).
FastIron X Series devices support one configured tag-type per device along with the default
tag-type of 8100. For example, if you configure an 802.1Q tag of 9100 on ports 1 12, then later configure an 802.1Q tag of 5100 on port 15, the device automatically applies the 5100 tag to all ports in the same port region as port 15, and also changes the 802.1Q tag-type on ports 1 12 to 5100.
802.1Q-in-Q tagging and VSRP are not supported together on the same device. In addition to tag-type, FastIron WS and Brocade FCX Series devices support tag-profile. For
more information, refer to Configuring 802.1Q-in-Q tag profiles on page 804.
Note that because ports 11 and 12 belong to the port region 1 12, the 802.1Q tag actually applies to ports 1 12. Syntax: [no] tag-type <num> [ethernet <port> [to <port>]] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
The ethernet <port> to <port> parameter specifies the ports that will use the defined 802.1Q tag. This parameter operates with the following rules:
If you specify a single port number, the 802.1Q tag applies to all ports within the port region.
For example, if you enter the command tag-type 9100 ethernet 1, the Brocade device automatically applies the 802.1Q tag to ports 1 12 because all of these ports are in the same port region. You can use the show running-config command to view how the command has been applied.
802
If you do not specify a port or range of ports, the 802.1Q tag applies to all Ethernet ports on the
device.
FIGURE 89
. . .
. . .
. . .
. . .
Client 1 192.168.1.69/24
Ports 1 - 5 Untagged Device A Tag Type 8100
Client 5 209.157.2.12/24
Ports 1 - 5 Untagged Device B Port6 Tagged Port6 Tagged Tag Type 8100
Port11 Untagged
9100
Port17 Tagged 8100 8100 This is the link over which 802.1Q-in-Q applies. This link can also be replaced by a cloud or core of other vendors devices that use the 802.1Q tag type of 8100.
Port11 Untagged
Port6 Tagged
192.168.1.129/24
803
On individual ports, if tag-profile is enabled, it points to the global tag profile. Tag-profile can also be enabled for provisional ports. Tag-type and tag-profile cannot be configured at the same time. You will see the message
un-configure the tag-type to set the tag-profile. It tag-type is already configured, you will need to unconfigure it and then add the tag-profile.
Do not use the tag-type command in conjunction with the tag-profile command. If a tag-type
has already been configured and you try to use the tag-profile command, you will see an error message telling you to remove the tag-type before you add the tag-profile.
For devices operating in an IronStack topology, when a tag-type for a port is changed, the
tag-type for all of the ports on a stack unit also changes. Because of this limitation, SAV and Q-in-Q cannot be used at the same time on stacking devices.
This command adds a profile in addition to the default profile of 0x8100. Syntax: [no] tag-profile <tag-no> where <tag-no> can be 0x8100 (the default) or 0xffff. To enable the new profile on individual ports, enter commands similar to the following.
Brocade(config)# interface ethernet 1/1/1 Brocade(config-if-e1000-1/1/1)# tag-profile enable Brocade(config-mif-1/1/1,1/2/1)# tag-profile enable
804
FIGURE 90
A private VLAN secures traffic between a primary port and host ports. Traffic between the hosts and the rest of the network must travel through the primary port.
Private VLAN
Port-based VLAN
VLAN 7 primary
Firewall
3/2
3/5
3/6
3/9
3/10
This example uses a PVLAN to secure traffic between hosts and the rest of the network through a firewall. Five ports in this example are members of a PVLAN. The first port (port 3/2) is attached to a firewall. The next four ports (ports 3/5, 3/6, 3/9, and 3/10) are attached to hosts that rely on the firewall to secure traffic between the hosts and the rest of the network. In this example, two of the hosts (on ports 3/5 and 3/6) are in a community PVLAN, and thus can communicate with one another as well as through the firewall. The other two hosts (on ports 3/9 and 3/10), are in an isolated VLAN and thus can communicate only through the firewall. The two hosts are secured from communicating with one another even though they are in the same VLAN. By default, in the FCX platform, the device will forward broadcast, unregistered multicast, and unknown unicast packets from outside sources into the PVLAN. By default, in FastIron platforms other than the FCX, the device will not forward broadcast, unregistered multicast, and unknown unicast packets from outside sources into the PVLAN. If needed, you can override this behavior for broadcast packets, unknown-unicast packets, or both. (Refer to Displaying PVLAN information on page 821.)
805
Primary The primary PVLAN ports are promiscuous. They can communicate with all the
isolated PVLAN ports and community PVLAN ports in the isolated and community VLANs that are mapped to the promiscuous port.
Isolated Broadcasts and unknown unicasts received on isolated ports are sent only to the
promiscuous ports and switch switch ports. They are not flooded to other ports in the isolated VLAN.
NOTE
On ICX 6430 and ICX 6450 devices, however, private VLANs will act as a normal VLAN and will flood unknown destinations, broadcast and multicast traffic to all ports in the VLAN if the primary VLAN does not have the PVLAN mapping that defines the uplink port for the isolated VLAN.
Community Broadcasts and unknown unicasts received on community ports are sent to the
primary port and also are flooded to the other ports in the community VLAN. Each PVLAN must have a primary VLAN. The primary VLAN is the interface between the secured ports and the rest of the network. The PVLAN can have any combination of community and isolated VLANs. As with regular VLANs, PVLANs can span multiple switches. The PVLAN is treated like any other VLAN by the PVLAN-trunk ports. The PVLAN-trunk port is added to both the primary and the secondary VLANs as a tagged member through the pvlan-trunk command. Figure 91 shows an example of a PVLAN network across switches:
Broadcast, unknown unicast or unregistered multicast traffic from the primary VLAN port is
forwarded to all ports in isolated and community VLANs in both the switches.
Broadcast, unknown unicast or unregistered multicast traffic from an isolated port in switch A
is not forwarded to an isolated port in switch A. It will not be forwarded to an isolated port in switch B across the PVLAN-trunk port.
Broadcast, unknown unicast or unregistered multicast traffic from a community port in switch
A will be forwarded to a community port in switch B through the PVLAN-trunk port. It is forwarded to the promiscuous ports and switch switch ports of the primary VLAN.
806
FIGURE 91
PVLAN-Trunk Ports
Firewall Routers
Switch A
1/5 1/10 1/2 1/3 1/20 1/11
Switch B
1/15 1/16
1/12
1/13
807
Figure 92 shows an example PVLAN network with tagged switch-switch link ports.
FIGURE 92
3 4 11
1 10 10
Switch 1 Switch 4
10 10 2 1
Switch 2 Switch 3
3
11
Table 141 lists the differences between PVLANs and standard VLANs.
TABLE 141
Forwarding behavior
All ports within a VLAN constitute a common layer broadcast domain Broadcasts and unknown unicasts are forwarded to all the VLAN ports by default Known unicasts
Standard VLANs
Yes Yes
Yes
808
Normally, in any port-based VLAN, the Brocade device floods unknown unicast, unregistered
multicast, and broadcast packets in hardware, although selective packets, such as IGMP, may be sent only to the CPU for analysis, based on the IGMP snooping configuration. When protocol or subnet VLANs are enabled, or if PVLAN mappings are enabled, the Brocade device will flood unknown unicast, unregistered multicast, and broadcast packets in software. The flooding of broadcast or unknown unicast from the community or isolated VLANs to other secondary VLANs will be governed by the PVLAN forwarding rules. The switching is done in hardware and thus the CPU does not enforce packet restrictions. The hardware forwarding behavior is supported on the FCX and TurboIron platforms only.
There is currently no support for IGMP snooping within PVLANs. In order for clients in PVLANs
to receive multicast traffic, IGMP snooping must be disabled so that all multicast packets are treated as unregistered packets and are flooded in software to all the ports.
The FastIron forwards all known unicast traffic in hardware. This differs from the way the
BigIron implements PVLANs, in that the BigIron uses the CPU to forward packets on the primary VLAN "promiscuous" port. In addition, on the BigIron, support for the hardware forwarding sometimes results in multiple MAC address entries for the same MAC address in the device MAC address table. On the FastIron, multiple MAC entries do not appear in the MAC address table because the FastIron transparently manages multiple MAC entries in hardware.
To configure a PVLAN, configure each of the component VLANs (isolated, community, and
public) as a separate port-based VLAN:
Use standard VLAN configuration commands to create the VLAN and add ports. Identify the PVLAN type (isolated, community, or public) For the primary VLAN, map the other PVLANs to the ports in the primary VLAN
A primary VLAN can have multiple ports. All these ports are active, but the ports that will be
used depends on the PVLAN mappings. Also, secondary VLANs (isolated and community VLANs) can be mapped to multiple primary VLAN ports.
You can configure PVLANs and dual-mode VLAN ports on the same device. However, the
dual-mode VLAN ports cannot be members of PVLANs.
Promiscuous and switch-switch link ports are member ports of the primary VLAN only. All
switch-switch link ports are tagged ports.
Member ports of isolated and community VLANs cannot be member ports of any other VLAN. All member ports that are part of the PVLAN (isolated or secondary) will perform VLAN
classification based on the PVLAN ID (PVID) only (no VLAN classification by port, protocol, ACL and so on, if any).
PVST, when needed in PVLANs, should be enabled on all (primary and secondary) private
VLANs.
809
These commands create port-based VLAN 7, add port 3/2 as an untagged port, identify the VLAN as the primary VLAN in a PVLAN, and map the other secondary VLANs to the ports in this VLAN. To map the secondary VLANs to the primary VLAN and to configure the tagged switch link port, enter commands such as the following.
Brocade(config)# vlan 100 Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# tagged ethernet 1/1/10 to 1/1/11 untagged ethernet 1/1/4 pvlan type primary pvlan mapping 101 ethernet 1/1/4 pvlan mapping 102 ethernet 1/1/4 pvlan pvlan-trunk 101 ethernet 1/1/10 to 1/1/11
These commands create port-based VLAN 100, add port 1/1/10 to 1/1/11 as a tagged port, identify the VLAN as the primary VLAN in a PVLAN, map the other secondary VLANs to the ports in this VLAN, and configure the tagged switch link port. Syntax: untagged ethernet [<stack-unit>/<slotnum>/]<portnum> [to [<stack-unit>/<slotnum>/]<portnum> | ethernet [<stack-unit>/<slotnum>/]<portnum>] or Syntax: tagged ethernet [<stack-unit>/<slotnum>/]<portnum> [to [<stack-unit>/<slotnum>/]<portnum> | ethernet [<stack-unit>/<slotnum>/]<portnum>] Syntax: [no] pvlan type community | isolated | primary Syntax: [no] pvlan mapping <vlan-id> ethernet [<stack-unit>/<slotnum>/]<portnum> Syntax: [no] pvlan pvlan-trunk <vlan-id> ethernet [<stack-unit>/<slotnum>/]<portnum> [to [<stack-unit>/<slotnum>/]<portnum>] The untagged or tagged command adds the ports to the VLAN. The pvlan type command specifies that this port-based VLAN is a PVLAN. Specify primary as the type. The pvlan mapping command identifies the other PVLANs for which this VLAN is the primary. The command also specifies the primary VLAN ports to which you are mapping the other secondary VLANs. The mapping command is not allowed on the secondary VLANs. The parameters of the pvlan mapping command are as follows:
The <vlan-id> parameter specifies another PVLAN. The other PVLAN you want to specify must
already be configured.
The ethernet <portnum> parameter specifies the primary VLAN port to which you are mapping
all the ports in the other PVLAN (the one specified by <vlan-id>). The pvlan pvlan-trunk command identifies the switch-switch link for the PVLAN. There can be more than one switch-switch link for a single community VLAN.
810
A port being added to the isolated VLAN can be either a tagged port or an untagged port. A member port of an isolated VLAN classifies a frame based on PVID only. An isolated port (member of an isolated VLAN) communicates only with the promiscuous port,
if a promiscuous port is configured.
An isolated VLAN must be associated with the primary VLAN for traffic from the isolated port to
be switched. An isolated VLAN is associated with only one primary VLAN and to the same primary VLAN in the entire switched network.
An isolated port communicates only with the configured switch-switch link port if there are no
promiscuous ports configured for the isolated VLAN.
A primary VLAN is associated with only one isolated VLAN. An isolated VLAN can only be
mapped to a promiscuous port and a switch-switch link port that belong to the same primary VLAN.
Link Aggregation Group (LAG) ports are not allowed as member ports of an isolated VLAN.
Community VLANs
A port being added to the community VLAN can be either a tagged port or an untagged port. A member port of a community VLAN classifies a frame based on PVID only. A community VLAN is associated with only one primary VLAN and to the same primary VLAN in
the entire switched network. A primary VLAN is associated with multiple community VLANs.
A community VLAN must be associated with the primary VLAN for traffic from the community
port to be switched.
These commands create port-based VLAN 901, add ports 3/5 and 3/6 to the VLAN as untagged ports, then specify that the VLAN is a community PVLAN. Syntax: untagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> | ethernet [<slotnum>/]<portnum>] or Syntax: tagged ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> | ethernet [<slotnum>/]<portnum>] Syntax: [no] pvlan type community | isolated | primary The untagged ethernet or taggd ethernet command adds the ports to the VLAN.
811
The pvlan type command specifies that this port-based VLAN is a PVLAN and can be of the following types:
community Broadcasts and unknown unicasts received on community ports are sent to the
primary port and also are flooded to the other ports in the community VLAN.
isolated Broadcasts and unknown unicasts received on isolated ports are sent only to the
primary port. They are not flooded to other ports in the isolated VLAN.
primary The primary PVLAN ports are promiscuous. They can communicate with all the
isolated PVLAN ports and community PVLAN ports in the isolated and community VLANs that are mapped to the promiscuous port. Changing from one PVLAN type to another (for example, from primary to community or vice versa) is allowed but the mapping will be removed.
NOTE
NOTE
812
Brocade(config-vlan-903)# pvlan type community Brocade(config-vlan-903)# exit Brocade(config)# vlan 7 Brocade(config-vlan-7)# untagged ethernet 3/2 Brocade(config-vlan-7)# pvlan type primary Brocade(config-vlan-7)# pvlan mapping 901 ethernet 3/2 Brocade(config-vlan-7)# pvlan mapping 902 ethernet 3/2 Brocade(config-vlan-7)# pvlan mapping 903 ethernet 3/2
FCX Switch 2
Brocade(config)# vlan 101 by port Brocade(config-vlan-101)# untagged ethernet 1/1/3 Brocade(config-vlan-101)# pvlan type isolated Brocade(config)# vlan 102 by port Brocade(config-vlan-102)# untagged ethernet 1/1/1 to 1/1/2 Brocade(config-vlan-102)# pvlan type community Brocade(config)# vlan 100 Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# by port tagged ethernet 1/1/10 to 1/1/11 pvlan type primary pvlan pvlan-trunk 102 ethernet 1/1/10 to 1/1/11 pvlan pvlan-trunk 101 ethernet 1/1/10 to 1/1/11
FCX Switch 3
Brocade(config)# vlan 101 by port Brocade(config-vlan-101)# untagged ethernet 1/1/3 Brocade(config-vlan-101)# pvlan type isolated Brocade(config)# vlan 102 by port
813
Brocade(config-vlan-102)# untagged ethernet 1/1/1 to 1/1/2 Brocade(config-vlan-102)# pvlan type community Brocade(config)# vlan 100 Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# by port tagged ethernet 1/1/10 to 1/1/11 pvlan type primary pvlan pvlan-trunk 102 ethernet 1/1/10 to 1/1/11 pvlan pvlan-trunk 101 ethernet 1/1/10 to 1/1/11
FCX Switch 4
Brocade(config)# vlan 101 by port Brocade(config-vlan-101)# untagged ethernet 1/1/3 Brocade(config-vlan-101)# pvlan type isolated Brocade(config)# vlan 102 Brocade(config-vlan-102)# Brocade(config-vlan-102)# Brocade(config)# vlan 100 Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# Brocade(config-vlan-100)# by port untagged ethernet 1/1/1 to 1/1/2 pvlan type community by port tagged ethernet 1/1/10 to 1/1/11 pvlan type primary pvlan pvlan-trunk 102 ethernet 1/1/10 to 1/1/11 pvlan pvlan-trunk 101 ethernet 1/1/10 to 1/1/11
FIGURE 93
814
VLAN 20 Traffic
Untagged Traffic
Hub
FastIron Switch
Port2/10 Untagged
VLAN 20 Traffic
Untagged Traffic
To enable the dual-mode feature on port 2/11 in Figure 93,enter the following commands.
Brocade(config)# vlan 20 Brocade(config-vlan-20)# tagged ethernet 2/11 Brocade(config-vlan-20)# tagged ethernet 2/9 Brocade(config-vlan-20)# interface ethernet 2/11 Brocade(config-if-e1000-2/11)# dual-mode Brocade(config-if-e1000-2/11)# exit
Syntax: [no] dual-mode You can configure a dual-mode port to transmit traffic for a specified VLAN (other than the DEFAULT-VLAN) as untagged, while transmitting traffic for other VLANs as tagged. Figure 94 illustrates this enhancement.
815
FIGURE 94
Hub
FastIron Switch
Port2/9 Tagged, VLAN 20
In Figure 94, tagged port 2/11 is a dual-mode port belonging to VLANs 10 and 20. The default VLAN assigned to this dual-mode port is 10. This means that the port transmits tagged traffic on VLAN 20 (and all other VLANs to which the port belongs) and transmits untagged traffic on VLAN 10. The dual-mode feature allows tagged traffic for VLAN 20 and untagged traffic for VLAN 10 to go through port 2/11 at the same time. A dual-mode port transmits only untagged traffic on its default VLAN (that is, either VLAN 1, or a user-specified VLAN ID), and only tagged traffic on all other VLANs. The following commands configure VLANs 10 and 20 in Figure 94. Tagged port 2/11 is added to VLANs 10 and 20, then designated a dual-mode port whose specified default VLAN is 10. In this configuration, port 2/11 transmits only untagged traffic on VLAN 10 and only tagged traffic on VLAN 20.
Brocade(config)# vlan 10 by port Brocade(config-vlan-10)# untagged ethernet 2/10 Brocade(config-vlan-10)# tagged ethernet 2/11 Brocade(config-vlan-10)# exit Brocade(config)# vlan 20 by port Brocade(config-vlan-20)# tagged ethernet 2/9 Brocade(config-vlan-20)# tagged ethernet 2/11 Brocade(config-vlan-20)# exit Brocade(config)# interface ethernet 2/11 Brocade(config-if-e1000-2/11)# dual-mode 10 Brocade(config-if-e1000-2/11)# exit
If you do not specify a <vlan-id> in the dual mode command, the port default VLAN is set to 1.
The port transmits untagged traffic on the DEFAULT-VLAN.
The dual-mode feature is disabled by default. Only tagged ports can be configured as
dual-mode ports.
In trunk group, either all of the ports must be dual-mode, or none of them can be.
816
The show vlan command displays a separate row for dual-mode ports on each VLAN.
Example
Brocade# show vlan Total PORT-VLAN entries: 3 Maximum PORT-VLAN entries: 16 legend: [S=Slot] PORT-VLAN Untagged Untagged Untagged Tagged Uplink DualMode PORT-VLAN Untagged Tagged Uplink DualMode PORT-VLAN Untagged Tagged Uplink DualMode 1, Name DEFAULT-VLAN, Priority level0, Spanning Ports: (S1) 1 2 3 4 5 6 7 8 Ports: (S2) 1 2 3 4 5 6 7 8 12 13 14 15 Ports: (S2) 20 21 22 23 24 Ports: None Ports: None Ports: None 10, Name [None], Priority level0, Spanning tree Ports: (S2) 10 Ports: None Ports: None Ports: (S2) 11 20, Name [None], Priority level0, Spanning tree Ports: None Ports: (S2) 9 Ports: None Ports: (S2) 11 tree Off 16 17 18 19
Off
Off
NOTE
817
PORT-VLAN 10, Name IP_VLAN, Priority level0, Spanning tree Off Untagged Ports: (S1) 1 2 3 4 5 6 Tagged Ports: None IP-subnet VLAN 1.1.1.0 255.255.255.0, Dynamic port enabled Name: Mktg-LAN Static ports: None Exclude ports: None Dynamic ports: (S1) 1 2 3 4 5 6 PORT-VLAN 20, Name IPX_VLAN, Priority level0, Spanning tree Off Untagged Ports: (S2) 1 2 3 4 5 6 Tagged Ports: None IPX-network VLAN 0000ABCD, frame type ethernet_ii, Dynamic port enabled Name: Eng-LAN Static ports: None Exclude ports: None Dynamic ports: (S2) 1 2 3 4 5 6
In the show vlans output, ports that are tagged but are not dual-mode ports are listed as tagged ports. In the following example display output, ports 7 and 8 are dual-mode ports in port-based VLAN 4. Ports 7 and 8 also belong to port-based VLAN 3, but they are tagged ports only in VLAN 3 and are not configured as dual-mode ports.
818
Brocade# show vlan 4 Total PORT-VLAN entries: 5 Maximum PORT-VLAN entries: 3210 PORT-VLAN 4, Name [None], Priority level0, Spanning tree Off Untagged Ports: None Tagged Ports: 6 9 10 11 Uplink Ports: None DualMode Ports: 7 8 ESX624FE+2XG Router# show vlan 3 Total PORT-VLAN entries: 5 Maximum PORT-VLAN entries: 3210 PORT-VLAN 3, Name [None], Priority level0, Spanning tree Off Untagged Ports: None Tagged Ports: 6 7 8 9 10 Uplink Ports: None DualMode Ports: None
Syntax: show vlans [<vlan-id> | ethernet [<slotnum>/]<portnum>] The <vlan-id> parameter specifies a VLAN for which you want to display the configuration information. The <slotnum> parameter is required on chassis devices. The <portnum> parameter specifies a port. If you use this parameter, the command lists all the VLAN memberships for the port.
The system-max VLAN values (maximum, default, and current ) The default VLAN ID number The total number of VLANs configured on the device The VLAN ID numbers of the VLANs configured on the device
819
Brocade# show vlans ethernet 7/1 Total PORT-VLAN entries: 3 Maximum PORT-VLAN entries: 8 legend: [S=Slot] PORT-VLAN 100, Name [None], Priority level0, Spanning tree Off Untagged Ports: (S7) 1 2 3 4 Tagged Ports: None
Syntax: show vlans [<vlan-id> | ethernet [<slotnum>/]<portnum> The <vlan-id> parameter specifies a VLAN for which you want to display the configuration information. The <slotnum> parameter is required on chassis devices. The <portnum> parameter specifies a port. If you use this parameter, the command lists all the VLAN memberships for the port.
Syntax: show vlan brief ethernet [<slotnum>/]<portnum> The <slotnum> parameter is required on chassis devices.
Syntax: show interfaces ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> [ethernet [<slotnum>/]<portnum>...]] The <slotnum> parameter is required on chassis devices.
820
For untagged ports, the PVID is the VLAN ID number. For dual-mode ports, the PVID is the dual-mode VLAN ID number. For tagged ports without dual-mode, the PVID is always Not Applicable (NA).
Brocade# show Port Link 1 Up 2 Up 3 Up 4 Up 5 Up 6 Down 7 Down 8 Down 9 Down 10 Down interfaces brief State Dupl Speed Forward Full 1G Forward Full 1G Forward Full 1G Forward Full 1G Forward Full 1G None None None None None None None None None None None None None None None Trunk None None None None None None None None None None Tag No Yes Yes Yes No Yes Yes Yes Yes Yes Pvid 1 1 NA NA 2 NA 4 4 NA NA Pri 0 0 0 0 0 0 0 0 0 0 MAC Name 0012.f2a8.4700 a12345678901 0012.f2a8.4701 0012.f2a8.4702 0012.f2a8.4703 0012.f2a8.4704 0012.f2a8.4705 0012.f2a8.4706 0012.f2a8.4707 0012.f2a8.4708 0012.f2a8.4709
Syntax: show interfaces brief [ethernet [<slotnum>/]<portnum> [to [<slotnum>/]<portnum> [ethernet [<slotnum>/]<portnum>...]]] The <slotnum> parameter is required on chassis devices.
Syntax: show pvlan <vid> The <vid> variable specifies the VLAN ID of the PVLAN. If the VLAN ID is not specified, the command displays the default VLAN ID.
821
822
Chapter
Multi-Chassis Trunking
22
Table 142 lists the individual Brocade FastIron switches and the Multi-Chassis Trunking (MCT) features they support.
TABLE 142
Feature
MCTb
FWS
No No No No
FCX
No No No No
ICX 6610
No No No No
Cluster client automatic configuration Cluster operation features xSTP BPDU forwarding
a. MCT ICL and CCEP connectivity is supported only on the following FSX 800 and FSX 1600 modules. SX-FI-24GPP, 24-port Gigabit Ethernet copper interface module with PoE+ SX-FI-24HF, 24-port Gigabit Ethernet fiber interface module SX-FI-2XG, 2-port 10 Gigabit Ethernet interface module SX-FI-8XG, 8-port 10 Gigabit Ethernet interface module SX-FI-48GPP, 48-port Gigabit Ethernet copper interface module with POE+ (2 slot high, 2:1 oversubscribed) b. MCT can operate on an FSX chassis that contains the modules listed in the previous footnote plus legacy modules, provided that CCEP and ICL are configured on the above-mentioned modules. MCT peering is supported only with FSX switches.
823
22
MCT inherits all of the benefits of a trunk group by providing multiple physical links to act as a single logical link. The new available bandwidth is an aggregate of all the links in the group. The traffic is shared across the links in the group using dynamic flow-based load balancing and traffic is moved to a remaining link group in sub-seconds in the event of a failure in one of the links. MCT eliminates the single point of failure that exists at a device level when all links of a trunk terminate on the same device without the overhead associated with spanning tree. MCT diverts a subset of the links to a second device to provide redundancy and sub-second fault detection at the device level.
FIGURE 95
ICL
Trunk Group
CCEP
CEP
Sub-second failover occurs in the event of a link, module, switch fabric, control plane, or device
failure.
Sub-second failover operates at the physical level. Layer 2 and Layer 3 forwarding (when using fast path forwarding) is done at the first hop
regardless of VRRP-E state.
Load balancing is flow-based (does not involve VLANs sharing across network links). Resiliency is supported regardless of the traffic type (Layer 3, Layer 2 or non-IP legacy
protocols).
Interaction with Metro Ring Protocol (MRP) builds larger resilient Layer 2 domains. Device level redundancy is provided in addition to link and modular redundancy. Traffic received from an ICL port is not forwarded to the Cluster Client Edge Ports (CCEPs) if the
MCT peer device has the reach ability to the same cluster client.
824
22
Traffic received from non-ICL ports is forwarded the same way as non-MCT devices. Known unicast, multicast, and broadcast traffic received on Cluster Edge Ports (CEP) or ICL
ports is forwarded to the destination port.
For unknown unicast, multicast, and broadcast traffic received on ICL ports, the forwarding
behavior depends on the peer MCT devices ability to reach the same client.
Unknown unicast, multicast, and broadcast traffic received from CCEP is forwarded as usual,
with the default behavior to flood the entire VLAN.
MCT terminology
MCT cluster: A pair of devices (switches) that is clustered together using MCT to appear as a
single logical device. The devices are connected as peers through an Inter-Chassis Link (ICL).
MCT cluster device: One of the two devices in an MCT cluster. MCT peer device: From the perspective of an MCT cluster device, the other device in the MCT
cluster.
MCT cluster client: A device that connects with MCT cluster devices through static or dynamic
trunks. It can be a switch or an endpoint server host in the single-level MCT topology or another pair of MCT devices in a multi-tier MCT topology.
Inter-Chassis Link (ICL): A single-port or multi-port 1 GbE or 10 GbE interface between the two
MCT cluster devices. It provides the control path for CCP for the cluster and also serves as the data path between the two devices.
MCT VLANs: VLANs on which MCT cluster clients are operating. Any VLAN that has an ICL port
is an MCT VLAN, even though it does not have any clients.
MCT session VLANs: The VLAN used by the MCT cluster for control operations. CCP protocol
runs over this VLAN. The interface can be a single link or a trunk group port. If it is a trunk group port, it should be the primary port of the trunk group. The MCT session VLAN subnet is not distributed in routing protocols using redistribute commands.
MCT keep-alive VLAN: The VLAN that provides a backup control path in the event that ICL goes
down.
Cluster Communication Protocol (CCP): A Brocade proprietary protocol that provides reliable,
point-to-point transport to synchronize information between MCT cluster devices. It is the default MCT control path between the two peer devices. CCP comprises two main components: CCP peer management and CCP client management. CCP peer management deals with establishing, and maintaining a TCP transport session between peers, while CCP client management provides event-based, reliable packet transport to CCP peers.
Cluster Client Edge Port (CCEP): A physical port or trunk group interface on an MCT cluster
device that is connected to client devices.
Cluster Edge Port (CEP): A port on an MCT cluster device that belongs to the MCT VLAN and
connects to an upstream core switch/router, but is neither a CCEP not an ICL.
RBridgeID: RBridgeID is a value assigned to MCT cluster devices and clients to uniquely
identify them, and helps in associating the source MAC address with an MCT device.
825
22
FIGURE 96
Cluster Device 1
Cluster Device 2
OR
CEP CCEP
X
4
OR
Client A
826
22
Unicast traffic from a client through a CCEP to a CEP 1. Traffic originates at the client. 2. Because the link between the client switch and the MCT cluster is a trunk, the traffic travels over one physical link. In the example in Figure 97, the traffic travels over the link towards cluster device 2. The traffic enters the MCT cluster through the CCEP of cluster device 2. 3. Depending on the destination, the traffic may pass over the ICL link to the other cluster device. In the example in Figure 97, the destination is on cluster device 1, so the traffic is forwarded out to the ICL port. 4. The traffic passes out to the destination. Refer to Figure 97.
FIGURE 97
Host B
Cluster Device 1
Cluster Device 2
OR
CEP CCEP
2 2
OR
Client A
827
22
Broadcast, unknown unicast, and multicast (BUM) traffic from a client through a CEP 1. Traffic originates at the client and enters one of the MCT cluster devices through a CEP. 2. The traffic is sent to the peer cluster device through the ICL link and also sent to any local CCEPs and CEPs. Once traffic is received on the peer cluster device, it will be sent to its local CEPs. 3. Traffic does not pass back down to the client through the CCEP. Refer to Figure 98.
FIGURE 98
CEP CCEP
2
X
3
OR
828
22
Unicast traffic from a client through a CEP to another CEP or a CCEP 1. Traffic originates at the client and enters one of the cluster devices through the CEP. 2. Depending on the destination, the traffic may pass over the ICL link to the other cluster device or sent to a local CCEP. 3. The traffic passes out to the destination. Refer to Figure 97.
FIGURE 99
Cluster Device 1
Cluster Device 2
CEP CCEP
2
829
22
Port failure on the cluster device 1. A CCEP on the cluster device that received the unicast or BUM traffic fails. 2. The traffic is automatically redirected to the other MCT cluster device over the ICL and on to its destinations through CCEPs. Refer to Figure 100.
Session VLAN: Provides the control channel for CCP. Brocade recommends keeping only ICL
ports in the session VLAN. A virtual interface is required to be configured on the session VLAN for the router image.
Keep-alive VLAN: Provides a backup control path if the ICL goes down (optional, but strongly
recommended).
MCT VLAN: Serves the customer data traffic. An ICL must belong to every MCT VLAN to provide
a data path between two cluster devices. When an ICL is added to a VLAN, it becomes an MCT VLAN.
830
22
Cluster client automatic configuration is designed for generating new clients, not for updating
an existing client.
A single client span across multiple devices is not supported (cascading MCT). For example,
the configuration of cascading MCT through cluster client automatic configuration is not supported.
Multiple clients on the same device are not supported. LACP client interface auto-detection is supported only for devices running release 7.4 software
and later on FastIron platforms.
RBridgeID collision: When hash collisions occur, cluster client automatic configuration reports
errors, and manual intervention is required. For cluster client automatic configuration to work, the following prerequisites are required on the cluster side:
The cluster must be configured on both MCT cluster devices. An MCT VLAN must be configured on both MCT cluster devices. The trunk group configuration must be removed from the client interfaces. The client interfaces must be up and operational.
VLAN and trunk group configuration must be completed. Link Level Discovery Protocol (LLDP) must be enabled.
Refer to Setting up cluster client automatic configuration on page 837 for detailed instructions on the cluster client automatic configuration process.
LACP on the CCEP. VRRP on the CCEP. MRP and MRP II, with the restriction that the ICL port cannot be the secondary port of the MRP
ring.
Flooding features (VLAN CPU protection, multicast flooding, and so on) on MCT VLANs. Unidirectional Link Detection (UDLD) as independent boxes (configured independently). ARP as independent boxes (configured independently). STP and RSTP.
831
22
Ingress ACLs on all MCT ports. Egress ACLs are supported only on MCT CEPs or ICL ports.
Egress ACLs are not supported on MCT CCEPs.
QoS and MAC filters and profiles with the same configuration on both cluster devices. IPv4 ACLs and rate limits. If the rules are applied on the CCEPs, the same rules must be
applied to the CCEP ports on both cluster devices.
Layer 3 Routing. VE with IP address assignment is supported on CCEPs for VRRP. However,
routing protocols are not enabled on CCEPs.
Static multi-port MAC. Port MAC security, multi-port authentication, and 802.1X, only on CEPs. Static MAC address configuration. Static MAC addresses are programmed on both local and
remote peers as static entries.
DAI and DHCP snooping for clients connected through CEPs. They must be configured
independently on both cluster devices.
If the trusted ports are off the CCEP, the arp inspection trust or dhcp snoop trust command
must be used on the CCEPs and ICL ports.
DHCP and ARP entries are created on both MCT cluster devices if the flow traverses both
the CCEP and ICL.
Hitless failover. If the failover operation is performed with a cluster configuration, the TCP
session is reestablished. The MAC addresses from the cluster peer devices will be revalidated and programmed accordingly.
Hitless upgrade. If the upgrade operation is performed with a cluster configuration, the TCP
session is reestablished. The MAC addresses from the cluster peer devices will be revalidated and programmed accordingly. The following FastIron features are not supported with MCT:
LACP on ICL. MSTP, VSRP, RIP, OSPF, IS-IS, and BGP. IPv6, VRRP-E (IPv6), and VRRPv3. GRE on the ICL VE interfaces. DAI on the CCEPs. Host security features (port MAC security, multi-port authentication, 802.1X, DAI, DHCP snooping) on CCEPs.
832
22
L2/L3 Network
ICL
p1/15-p1/16 CCEP for client 1 p1/5, CCEP for client 2
CCR(0000-0000-0001, VID=10)
MCT cluster
Trunk-1 Client rbridge id 100 (both Brocade-1 and Brocade-2) Trunk-2 Client rbridge id 200 (both Brocade-1 and Brocade-2)
1/1-1/3
1/1-1/2
Client-1
1/3 Client-2
1/3 Pvid=10
PC1, mac=0000-0000-0001
One ICL can be configured per device, and a device can be in only one cluster. The software version in both cluster devices must be exactly the same for the cluster to
function.
An ICL port should not be an untagged member of any VLAN. An ICL is preferably a static trunk
that provides port level redundancy and higher bandwidth for cluster communication.
833
22
An ICL cannot be an LACP trunk (must be either a static trunk or single port). MAC learning is disabled on ICL ports for all VLANs. MDUP synchronizes all MAC entries for VLANs served by an ICL link. The cluster ID should be same on both cluster devices. The cluster RBridgeID should not conflict with any client RBridgeID or the peer RBridgeID. The client RBridgeID is unique and should be the same on the cluster devices. Brocade recommends keeping only ICL ports in the session VLAN during operation. MCT can support up to 12 members per trunk group. An ICL interface cannot be configured as the CCEP in any client. BPDU guard and root guard configuration should be identical on both cluster devices. As Egress PCL is configured on CCEPs, Egress ACL cannot be configured on them. All types of ingress ACLs, DDOS attacks, and so on can still be configured on those ports. keep-alive VLAN provides a backup control path when CCP goes down.
Brocade recommends that you configure a keep-alive VLAN as a separate link (not ICL). The
On a switch image, STP is by default enabled for all the VLANs; however, for MCT, Layer 2
protocols such as STP and RSTP should not be enabled on the session VLAN. Therefore, STP must be disabled explicitly for the session VLAN. STP is automatically disabled in the router image.
Virtual Ethernet (VE) cannot be configured on a session VLAN in a switch image, but an IP
address is needed for the cluster devices to communicate via CCP. Therefore, in a switch image, the configured management IP address is used to establish communication between the cluster devices.
The management IP addresses should be configured in each of the cluster devices in the same
subnet. If the IP addresses are in different subnets, ARP does not resolve the addresses and MCT may not work. The ARP for the peer cluster devices is always learned on the ICL port or trunk, so any management traffic between the two devices will always go through the ICL ports.
Configuring MCT
This section provides basic configuration steps, which should be completed in the specified order. Step 1: Configure trunks (if needed) Step 2: Configure the session VLAN and recommended keep-alive VLAN Step 3: Configure the cluster Step 4: Configure clients After completing these steps, you can verify the configuration by running the show cluster command. Refer to Displaying peer and client states on page 856.
834
22
On the client side, trunk configuration is required for a static trunk only before assigning interfaces as CCEP. It is not necessary to configure trunks for a single client interface or LACP client interface. If needed, configure client side trunks on each cluster device (configuration shown for Client-1 in Figure 101).
Client-1(config)#trunk ethernet 1/1 to 1/3 Client-1(config)#trunk deploy
To create a session VLAN and keep-alive VLAN for Brocade-2, enter the following commands.
Brocade-2(config)#vlan 3001 name MCT-keep-alive Brocade-2(config-vlan-3001)#tagged ethernet 2/10 Brocade-2(config-vlan-3001)#exit Brocade-2(config)# vlan 3000 name Session-VLAN Brocade-2(config-vlan-3000)#tagged ether 2/5 to 2/6 Brocade-2(config-vlan-3000)#no spanning-tree
835
22
To implicitly configure the session VLAN and add the ICL as a tagged member of the VLAN, enter the following commands.
Brocade-1(config)#vlan 1000 name MCT-VLAN-example Brocade-1(config-vlan-1000)#tagged ether 1/4 to 1/5 e 1/7 to 1/8
To configure Brocade-2 for the cluster in the Figure 101 topology, enter the following commands.
Brocade-2(config)# cluster SX 4000 Brocade-2(config-cluster-SX)#rbridge-id 2 Brocade-2(config-cluster-SX)#session-vlan 3000 Brocade-2(config-cluster-SX)#keep-alive-vlan 3001 Brocade-2(config-cluster-SX)#icl SX-MCT ethernet 2/5 Brocade-2(config-cluster-SX)#peer 1.1.1.3 rbridge-id 3 icl SX-MCT Brocade-2(config-cluster-SX)#deploy
836
22
The client RBridgeID must be identical on both of the cluster devices. To configure the client RBridgeID, use the following command. Syntax: [no] rbridge-id <id> To configure the physical port or static trunk as the client CCEP, use the following command. Syntax: [no] client-interface ethernet <slot/port> To configure the LACP client CCEP port (you must specify all LACP ports with this command), use the following command. Syntax: client-interface link-aggregation ethernet <slot/port> to <slot/port> When LACP is automatically enabled on the specified client interfaces, it operates in active mode with the LACP long timeout mode by default. To change the mode for link aggregation, enter the following command. Syntax: [no] client-interface link-aggregation <passive> To change the timeout mode for link aggregation, enter the following command. Syntax: [no] client-interface link-aggregation <timeout-short> To configure Client-1 on Brocade-1 in the Figure 101 topology, enter the following command.
Brocade-1(config-cluster-SX)# client client-1 Brocade-1(config-cluster-SX-client-1)#rbridge-id 100 Brocade-1(config-cluster-SX-client-1)#client-interface link-aggregation ether 1/15 to 1/16 Brocade-1(config-cluster-SX-client-1)deploy
To configure Client-1 on Brocade-2 in the Figure 101 topology, enter the following command.
Brocade-2(config-cluster-SX)# client client-1 Brocade-2(config-cluster-SX-client-2)#rbridge-id 100 Brocade-2(config-cluster-SX-client-2)#client-interface link-aggregation ether 2/9 Brocade-2(config-cluster-SX-client-2)#deploy
To configure Client-2 on Brocade-1 in the Figure 101 topology, enter the following command.
Brocade-1(config-cluster-SX)# client client-2 Brocade-1(config-cluster-SX-client-1)#rbridge-id 200 Brocade-1(config-cluster-SX-client-1)#client-interface ether 1/5 Brocade-1(config-cluster-SX-client-1)#deploy
To configure Client-2 on Brocade-2 in the Figure 101 topology, enter the following command.
Brocade-2(config-cluster-SX)# client client-2 Brocade-2(config-cluster-SX-client-2)#rbridge-id 200 Brocade-2(config-cluster-SX-client-2)#client-interface ether 2/8 Brocade-2(config-cluster-SX-client-2)#deploy
837
22
In the port list, specify all the CCEPs for all potential clients. 2. Start the client auto-detect process on both cluster devices.
Brocade-1(config-cluster-SX)#client-auto-detect start
Within one minute, the system reports information and errors (if there are mismatches such as an LACP configuration mismatch). You can fix the mismatch while the process is running. 3. Check and fix the automatically detected clients.
Brocade-1(config-cluster-SX)#show cluster cluster-SX client-auto-detect cluster cluster-SX 4000 rbridge-id 3 session-vlan 3000 icl SX-MCT ethernet 1/7 peer 1.1.1.2 rbridge-id 2 icl SX-MCT client-auto-config ethe 8/1 to 8/2 ethe 8/5 ethe 8/7 eth 8/9 client-auto-config start deploy client AUTO-FCX624-Router002438769e00 rbridge-id 3593 client-interface link-aggregation ethe 8/1 to 8/2 ethe 8/5 client AUTO-FCX624-Switch008738766700 rbridge-id 2468 client-interface static-trunk ethe 8/7 ethe 8/9 !
At this point, the client configuration does not appear in the running configuration and cannot be modified. Static trunk and LACP configuration are not effective yet. 4. Configure automatically detected clients into the running configuration.
Brocade-1(config-cluster-SX)#client-auto-detect config
NOTE
All automatically configured client information is now published into the running configuration and the static trunk configuration will be generated, created, and deployed. LACP will start. By default, clients are in the non-deployed state and the CCEPs will be put into the disable state. Ports that are successfully programmed as CCEP will be removed from the autoconfig-enabled port list. If the port list is empty, which means all ports are configured into clients successfully, the automatic configuration process will be stopped. The original LLDP configuration will be restored. Otherwise, the automatic configuration process will continue only on the ports still left in the list.
838
22
Use the following command to start the cluster client automatic configuration. Within one minute of the time that each client is discovered, the client is automatically configured and deployed into the running configuration. Make sure that the network connection and configuration are in place before using this command. Syntax: client-auto-detect start [config-deploy-all] Use the following command to stop the current running cluster client automatic configuration process. All auto-detected but unconfigured clients will be cleared. Syntax: client-auto-detect stop
NOTE
Brocade recommends using keep-alive VLANs with the MCT configurations. This will provide a alternative reachability if the ICL interface goes down. However, a keep-alive VLAN should not be configured when bpdu-flood-enable is configured. Refer to BPDU forwarding on page 846.
839
22
Double failures (for example, when the ICL goes down and the client interface goes down on
one of the MCT cluster devices) Multiple failures could drop traffic in this scenario, even if there is a physical path available.
Fast-failover (default) - As soon as the ICL interface goes down the CCP goes down. All the
remote MAC addresses are flushed.
Slow-failover - Even if the ICL interface goes down, the CCP waits for the hold-time before
taking the CCP down. Remote MAC addresses are flushed only when the CCP is down. To disable the fast-failover mode, enter a command such as the following.
Brocade-1(config-cluster-SX)#peer 1.1.1.3 disable-fast-failover
NOTE
Strict mode: When the CCP goes down, the interfaces on both the cluster devices are administratively shut down. In this mode, the client is completely isolated from the network if the CCP is not operational.
Brocade-1(config-cluster-SX)#client-isolation strict
840
22
NOTE
Syntax: [no] keep-alive-vlan <vlan-id> The <vlan_id> variable specifies the VLAN range. Possible values are from 1 to 4089. When the CCP is down, the following results occur.
If the keep-alive VLAN is configured, then CCRR messages are sent every second over that
VLAN.
When CCP is down and the keep-alive VLAN is configured, master/slave selection is based on
following criteria:
If one devices CCEPs are up and the peers CCEPs are down, then the peer with the local
CCEPs down becomes the slave.
Otherwise, the device with the higher RBridgeID becomes the slave. If no packets are received from the peer device for a period of three seconds, then the peer is
considered down.
If the keep-alive VLAN is not configured and both the peer devices are up, then both peers
keep forwarding the traffic independently.
Syntax: [no] peer <peer-ip> timers keep-alive <keep-alive time> hold-time <hold-time> The <peer-ip> parameter should be in the same subnet as the cluster management interface. The <keep-alive time> variable can be from 0 to 21845. The default is 10 seconds. The <hold-time> variable can be from 3 to 65535 and must be at least 3 times the keep-alive time. The default is 90 seconds. The keep-alive VLAN and keep-alive timers are not related. The keep-alive timer is used by CCP.
NOTE
841
22
MAC operations
This section describes MAC address-related configuration operations.
842
22
Cluster Multi-Destination Remote MAC (CMR): A static MAC entry is configured on MCT VLAN on the peer side and there is no associated local configuration. The CMR entry has only the remote MDB. The port list of a CMR entry has an ICL port, and all the client ports from the client list in the remote configuration. When there is local configuration for the same entry, the CMR is converted to CML. MAC aging Only the local MAC entries are aged on a cluster device. The remote MAC address entries are aged based on explicit MDUP messages only. The remote MAC addresses learned through MDUP messages are dynamic addresses with the exception that they never age from FDB. MAC flush If the CEP is down, the MAC addresses are flushed and individual MAC deletion messages are sent to the peer device. If the CCEP local port is down, the MAC addresses are flushed locally and individual MAC deletion messages are sent to the peer device. If the clear mac command is given, all the MDB and FDB are rebuilt. If the clear mac vlan command is given, all the local MDB and FDB are rebuilt for that VLAN. MAC movement happens normally on the local device. CEP to CCEP MAC movement MAC movement normally happens on the local device, and deletes all the other MDBs from the peer to create a new local MDB.
VLAN 20 20 20
Syntax: clear mac Clearing cluster-specific MAC addresses To clear cluster-specific MAC addresses in the system, enter a command such as the following.
843
22
Syntax: clear mac cluster <cluster-id> | <cluster-name> { local | remote } Clearing client-specific MAC addresses To clear client-specific MAC addresses in the system, enter a command such as the following.
Brocade#clear mac cluster AGG-1 client 1 local
Syntax: clear mac cluster <cluster-id> | <cluster-name> client <client-name> { local | remote } Clearing VLAN-specific MAC addresses To clear VLAN-specific MAC addresses in the system, enter a command such as the following.
Brocade#clear mac vlan 2
Syntax: clear mac vlan <vlan_id> Clearing MCT VLAN-specific MAC addresses To clear MCT VLAN-specific MAC addresses in the system, enter a command such as the following.
Brocade#clear mac cluster AGG-1 vlan 1 local
Syntax: clear mac cluster <cluster_id> | <cluster-name> vlan <vlan_id> {local | remote} Clearing cluster client vlan-specific MACs To clear cluster client-specific MAC addresses in the system, enter a command such as the following.
Brocade#clear mac cluster AGG-1 vlan 2 client 1 local
Syntax: clear mac cluster <cluster_id> | <cluster-name> vlan <vlan_id> client <client_name> {local | remote}
844
22
Dynamic trunks
MCT client creates a single dynamic trunk group towards the MCT cluster devices. The dynamic trunk group consists of two trunk groups, each of which is configured on one of the MCT devices. A dynamic trunk group runs Link Aggregation Control Protocol (LACP). For the two dynamic trunk groups of the MCT to behave as a single trunk group from the MCT clients perspective, both of the dynamic trunk groups should have the same LACP system ID and key, referred to as the MCT system ID and MCT key. The LACP system ID in the FSX product normally comes from the port MAC address. To support LACP over MCT, it is necessary to obtain the ID in another way. To do so, MCT uses a pre-defined algorithm. Each MCT cluster device has a unique cluster ID, and one MCT client ID. The LACP key is predefined from the client ID and cluster ID. The user cannot change the key. MCT does not involve stacking, and control protocol synchronization is minimal. The LACP runs independently on the cluster devices.
NOTE
Strict mode loop detection can be enabled on ICL ports. This is because in strict mode, a port is disabled only if a packet is looped back to that same port. Strict mode overcomes specific hardware issues where packets are echoed back to the input port. This process assists in detecting hardware faults on ICL ports. Loop-detection can be enabled on MCT and non-MCT VLANs simultaneously. There is no change in loop detection behavior when enabled on non-MCT VLANs.
845
22
MRP
An ICL interface cannot be configured as an MRP secondary interface or vice versa, because
the ICL cannot be BLOCKING.
STP/RSTP
STP is not recommended to be configured on MCT VLANs at MCT cluster devices. By default,
the spanning tree is disabled in the MCT VLANs. If the network topology may be creating Layer 2 loops through external connections, STP could be enabled on switches outside the MCT cluster to prevent the Layer 2 loop. The MCT cluster devices will perform a pass-through forwarding of STP BPDUs received through its ports in the MCT VLAN.
In rare cases in which the network topology consists of Layer 2 loops outside the MCT cluster
that require STP/RSTP to be enabled on MCT VLANs in the cluster, the CCEPs will always be in the spanning tree disabled state.
The STP/RSTP algorithms have been modified such that ICL never goes to blocking. The ICL
guard mechanism ensures that if ICL is going into a blocking state, then the port on which the superior BPDUs are being received is moved to blocking state and the ICL guard timer starts running on it. This timer runs as long as superior BPDUs are received on this interface. As long as this timer runs on an interface, the superior BPDUs are dropped.
The new BLK_BY_ICL STP state indicates that the superior BPDUs were received on this
interface, which could have led to blocking of the ICL interface, with the result that the CL port guard mechanism has been triggered on this port.
In a 802.1s MSTP deployment, Brocade recommends disabling spanning tree on the MCT
cluster devices at the global level. MSTP cannot be configured on individual cluster devices.
BPDU forwarding
If the network deploys single STP or IEEE 802.1s (MSTP), both the MCT cluster devices must be configured using the bpdu-flood-enable command to flood the single STP/MSTP BPDUs in the SSTP/MSTP domain (forward to all of the ports in the cluster switch irrespective of VLAN.) Syntax: [no] bpdu-flood-enable When bpdu-flood-enable is configured, there should not be any links other than the ICL (including the keep-alive VLAN link) connecting the two MCT cluster devices. If there is an additional link, then the flooded BPDU will cause a loop and high CPU utilization.
Protocol-based VLANs
Protocol and subnet VLANs can be configured on MCT VLANS, however, ICL and CCEPs cannot be configured as dynamic members of protocol based VLANs (and vice versa). ICL and CCEP can either be excluded or static members of protocol based VLANs. CEPs can be configured as dynamic or static, or exclude members of protocol based VLANs.
846
22
In a cluster, both cluster devices should have exactly same protocol VLAN membership with respect to ICL and CCEP. ICL and CCEPs should be configured with same type of protocol/VLAN membership, although there is no such restriction from the CLI.
Uplink switch
Uplink switch is supported on MCT VLANs. ICLs and CCEPs can be configured as uplink-switch ports. Both cluster devices should have exactly same uplink-switch port memberships with respect to the ICL and CCEPs.
MAC - forward entries (mcache entries on MCT VLAN). IGMP/MLD Join/Leave (control packets on MCT VLAN). PIM-SM Join/Prune (control packets on MCT VLAN).
IGMP/MLD snooping
Snooping can be configured globally or at the VLAN level. Each cluster device in the MCT VLAN can be configured either as active or passive. There is no restriction for cluster devices to run active-active or passive-passive configuration. The following commands show configuration commands for the VLAN level (IGMP), VLAN level (MLD), global level (IGMP/MLD), and for PIM-SM. VLAN level (IGMP)
Brocade(config)#vlan 100 Brocade(config-vlan-100)#multicast active/passive
PIM-SM snooping (configured only on a VLAN and requires IGMP snooping to run in a passive mode):
Brocade(config)#vlan 100 Brocade(config-vlan-100)#multicast passive Brocade(config-vlan-100)# multicast pimsm-snooping
847
22
Native control packets (joins/leaves) that are received are processed by protocol code, and
also forwarded out if required.
All control/data traffic is received on ICL. The traffic is forwarded out of CCEP only if the remote
CCEP is down; otherwise, it is dropped by the egress filters on CCEP.
ICL is added as OIF by default whenever the CCEP is involved as either source or receiver. This
provides faster convergence during MCT failover.
For IGMP/MLD joins/leaves: The control packets only received on CCEP are synced to the MCT peer using CCP. The control packets received on CEP are not synced to MCT peer using CCP. Static groups and static router ports configured on CCEP are not synced across to the MCT
peer. For these features to work correctly, they must be manually configured on the respective CCEP of both the cluster nodes.
Local CCEP Down EVENT: Outgoing traffic on local CCEP will now go through ICL and out of the remote CCEP. Incoming traffic on local CCEP will now ingress through the remote CCEP, and then ingress
through ICL locally.
Outgoing traffic on remote CCEP (after egressing through local ICL) will now start going out
of local CCEP.
Incoming traffic from client through ICL (after ingressing on remote CCEP) will now switch
back to local CCEP (this is true only if the client trunk hashing sends the traffic towards local CCEP).
CCP (Cluster communication protocol) Down EVENT: All related information (i.e. IGMP/MLD group, mcache, dynamic router port, pim-sm
snooping entry) that were synced from the peer device will now be marked for aging locally.
CCP (Cluster communication protocol) Up EVENT: All related information (i.e. IGMP/MLD group, mcache, dynamic router port, pim-sm
snooping entry) that were locally learned will be synced to the peer device.
Router ports can be configured on a VLAN or globally. They can be learned dynamically on the
port where the query is received or configured statically.
848
22
Both MCT1 devices must run pimsm-snoop. PIM messages are forwarded by way of hardware. PIM join/prune is synced to the peer cluster device using CCP. PIM prune is processed only if indicated by the peer cluster device. PIM join/prune received natively on ICL is ignored. PIM hello is not synced, but is received natively on ICL. PIM port/source information is refreshed on both cluster devices by syncing PIM messages and ages out if not refreshed.
TABLE 143
Event
No-Join
MCT-2
(*,G)->blackhole (*,G)->ICL [s] (*,G)->CEP [s] (*,G)->CCEP [s], ICL [s] (*,G)->CCEP [s], ICL [s]
a. *ICL: The ICL port is added as default whenever CCEP is in OIF. The data traffic receiving from ICL port will be filtered out by egress filter (dynamically programmed) on CCEPs. b. [s]: denotes sources maintained on port hash-list.
TABLE 144
Event
No-Join
MCT-2
(S,G)->blackhole (S,G)->ICL (S,G)->CEP (S,G)->CCEP, ICL (S,G)->CCEP, ICL
a. *ICL: The ICL port is added as default whenever CCEP is in OIF. The data traffic receiving from ICL port will be filtered out by egress filter (dynamically programmed) on CCEPs.
849
22
TABLE 145
Feature
ip
Session VLAN VE
Yes Yes Yes Yes Yes No Yes No Yes Yes No No No No Yes No No No No No No No No Yes No Yes No No No
Member VLAN VE
Yes Yes Yes Yes Yes No Yes No Yes Yes No Yes Yes Yes Yes No No No No Yes Yes Yes No Yes No Yes Yes Yes No
Design Philosophy
Only features that are relevant for MCT management are supported on session VLAN VE Layer 3 unicast dynamic routing not supported on member VLAN VE
ipv6
IPv6 is not supported for MCT management IPv6 not supported on member VLAN VE
a. Only Ingress ACLs are supported on VLAN VE that have CCEPs. Egress ACLs are not supported on VLAN VE with CCEPs.
850
22
C
CEP
D
CEP
ICL A
CCEP(A) CCEP(B)
Server
CCEP links (Trunk Group) CEP links
Server
Device A
MCT Configuration
! vlan 10 by port tagged ethe 3/1 router-interface ve 10 ! interface ve 10 ip address 10.1.1.1 255.255.255.0 ! cluster L3UC 1 rbridge-id 101 session-vlan 10 icl L3icl ethernet 3/1 peer 10.1.1.2 rbridge-id 102 icl L3icl deploy client s1 rbridge-id 300
851
22
VRRP-E Configuration
! vlan 100 by port tagged ethe 3/1 ethe 3/3 router-interface ve 100 ! router vrrp-extended ! interface ve 100 ip address 100.1.1.1 255.255.255.0 ip vrrp-extended vrid 1 backup priority 255 ip-address 100.1.1.254 enable !
Device B
MCT Configuration
! vlan 10 by port tagged ethe 3/1 router-interface ve 10 ! interface ve 10 ip address 10.1.1.2 255.255.255.0 ! cluster L3UC 1 rbridge-id 102 session-vlan 10 icl L3icl ethernet 3/1 peer 10.1.1.1 rbridge-id 101 icl L3icl deploy client s1 rbridge-id 300 client-interface ethernet 3/25 deploy !
VRRP-E Configuration
! vlan 100 by port tagged ethe 3/1 ethe 3/25 router-interface ve 100 ! router vrrp-extended ! interface ve 100 ip address 100.1.1.2 255.255.255.0 ip vrrp-extended vrid 1 backup ip-address 100.1.1.254 enable !
852
22
Switch S1
! trunk ethe 3 to 4 ! vlan 100 by port tagged ethe 3 to 4 router-interface ve 100 ! interface ve 100 ip address 100.1.1.100 255.255.255.0 !
ARP resolution
ARP resolution is initially done through the ICL if the S1 MAC address is not already known on the CCEP at A. When the MDUP message from the cluster peer device moves the S1 MAC from ICL to CCEP, the ARP is also moved.
853
22
If S1 triggers an ARP request, it generally does so for the default gateway address (virtual IP address if VRRP is deployed). This ARP request can reach A either directly from S1, or through B.
If the ARP request reaches A directly, it replies through the same port on which it learned S1's
MAC address.
If the request is by way of B, S1's ARP response will be learned on the ICL first, then it will move
to the CCEP link when the MDUP message for S1's MAC address is received from B.
Clients
Clients
Device A
VRRP-E master Gateway CCEP
CEP
CEP
Device B
VRRP-E backup Gateway
ICL
CCEP
MCT cluster
Configuration considerations MCT devices must have complete routing information using static routes for Layer 3 forwarding.
854
22
For MCT devices configured with VRRP or VRRP-E, track-port features can be enabled to track
the link status to the core devices so the VRRP or VRRP-E failover can be triggered.
It is not supported to configure several Layer 3 features on VE of the session VLAN. If already
configured, such a VLAN cannot be made the session VLAN.
It is not supported to configure UC/MC routing protocols and the IP follow feature on VEs of
member VLANs. If already configured, such a VLAN cannot be made a member VLAN.
IPv6 configurations are not supported on VEs of session and member VLANs, Route-only ports cannot be used as CCEP and ICL ports. Global route-only configuration is mutually exclusive with MCT cluster configuration. It is not supported to use MCT management interface IPs for tunnel source. It is not supported to configure static and policy based routes using VE on MCT session VLAN. Configurations to redistribute connected routes will not advertise IPs on MCT management interface. neighboring devices.
IP addresses on the MCT management interface should not be used for BGP peers on IP addresses on the MCT management interface should not be used for static configurations
on neighboring devices.
The track port feature should be used for VRRP switchover and controlling the validity of SPF
feature.
Up to 64 VRRP or VRRP-E instances are supported on an MCT cluster; however, with Jumbo
enabled, a maximum of 32 VRRP or VRRP-E instances is supported on an MCT cluster. Brocade recommends disabling ICMP redirect globally to avoid unintended CPU forwarding of traffic when VRRP or VRRP-E is configured. Layer 3 traffic forwarding behaviors When one MCT device acts as a VRRP or VRRP-E master router and the peer device is VRRP or VRRP-E backup, the following behavior will be seen:
NOTE
Packets sent to VRRP-E virtual IP address will be Layer 2-switched to the VRRP-E master device
for routing.
The VRRP-E MAC address will be learned by the other MCT device that acts as backup router. Both data traffic and VRRP-E control traffic received by the VRRP backup from MCT client will
need to travel through ICL unless the short-path forwarding feature is enabled. When both MCT devices act as the VRRP or VRRP-E backup routers, the following behavior will be seen:
Packets sent to VRRP-E virtual IP address will be Layer 2-switched to the VRRP-E master router
for routing.
The VRRP-E MAC address will be learned by both MCT devices acting as backup routers. Both data traffic and VRRP-E control traffic will travel through the links connecting them to the
VRRP master.
855
22
Syntax: [no] short-path-forwarding [revert-priority <value>] Use the supplied priority value as a threshold to determine if the short-path-forwarding behavior should be effective or not. If one or more ports tracked by the track-port command go down, the current priority of VRRP-E will be lowered by a specific amount configured in the track-port command for each port that goes down. Once the current-priority is lower than the threshold, short path forwarding will be temporarily suspended and revert back to the regular VRRP-E forwarding behavior (non-short path forwarding behavior). The reverting behavior is only temporary. If one or more of the already down ports tracked by the track-port command come back, it is possible that the current priority of VRRP-E will be higher than the threshold again and the short-path-forwarding behavior will be resumed.
856
22
Syntax: show cluster <cluster_name/cluster_id> client [<client_name/client_RbridgeID>] Table 146 shows the reasons for local CCEP down.
TABLE 146
857
22
858
22
Mirror disabled, Monitor disabled Not member of any active trunks Not member of any configured trunks No port name IPG MII 96 bits-time, IPG GMII 96 bits-time MTU 1500 bytes, encapsulation Ethernet ICL port for icl1 in cluster id 1 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 0 packets output, 0 bytes, 0 underruns Transmitted 0 broadcasts, 0 multicasts, 0 unicasts 0 output errors, 0 collisions Relay Agent Information option: Disabled show interface ethernet 7/3 GigabitEthernet7/3 is disabled, line protocol is down Hardware is GigabitEthernet, address is 0024.3822.8262 (bia 0024.3822.8262) Configured speed auto, actual unknown, configured duplex fdx, actual unknown Configured mdi mode AUTO, actual unknown Member of L2 VLAN ID 1, port is untagged, port state is DISABLED BPDU guard is Disabled, ROOT protect is Disabled Link Error Dampening is Disabled STP configured to ON, priority is level0 Flow Control is config enabled, oper disabled, negotiation disabled Mirror disabled, Monitor disabled Not member of any active trunks Not member of any configured trunks No port name IPG MII 96 bits-time, IPG GMII 96 bits-time MTU 1500 bytes, encapsulation Ethernet CCEP for client c149_150 in cluster id 1 300 second input rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 0 bits/sec, 0 packets/sec, 0.00% utilization 0 packets input, 0 bytes, 0 no buffer Received 0 broadcasts, 0 multicasts, 0 unicasts 0 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 0 packets output, 0 bytes, 0 underruns Transmitted 0 broadcasts, 0 multicasts, 0 unicasts 0 output errors, 0 collisions Relay Agent Information option: Disabled
859
22
VLAN Root ID ID
Root Root Prio Max He- Ho- Fwd Last Chg Bridge Cost Port rity Age llo ld dly Chang cnt Hex sec sec sec sec sec 10 00000012f2aacf84 4 7/15 8000 20 2 1 15 00243822226e Port STP Parameters: Port Prio Path State Num rity Cost Bridge Hex 7/15 80 4 FWD_BY_MCT 7/21 80 4 BLK_BY_ICL 7/23 80 4 FORWARDING Fwd Design Designated Trans Cost
Address 10 1
Designated Root
1 1 7
0 4 4
VLAN Root ID ID
Root Root Prio Max He- Ho- Fwd Last Chg Bridge Cost Port rity Age llo ld dly Chang cnt Hex sec sec sec sec sec 15 00000012f2aacf84 4 7/15 8000 20 2 1 15 00243822226e Port STP Parameters: Port Prio Path State Num rity Cost Bridge Hex 7/15 80 4 BLK_BY_MCT 7/21 80 4 BLK_BY_ICL 7/23 80 4 FORWARDING Fwd Design Designated Trans Cost
Address 10 1
Designated Root
1 1 7
0 4 4
Syntax: show span [vlan <vlan-id>] | [pvst-mode] | [<num>] | [detail [vlan <vlan-id> [Ethernet [<stack-unit><slotnum>/]<portnum>] | <num>]]
860
22
Brocade# show ip multicast pimsm-snooping vlan 100, has 1 caches. 1 (11.0.0.2 224.10.10.10) has 2 pim join ports out of 2 OIF 7/3 (age=10), 7/5 (age=10), Brocade# show ip multicast pimsm-snooping vlan 100, has 1 caches. 1 (11.0.0.2 224.10.10.10) has 3 pim join ports out of 3 OIF 3/8 (age=0), 3/3 (age=50), 3/7 (age=50),
(*,G) entry:
Brocade# show ip multicast pimsm-snooping vlan 100, has 1 caches. 1 (* 224.10.10.10) has 2 pim join ports out of 2 OIF 7/5 (age=10), 7/3 (age=10), 7/5 has 1 src: 11.0.0.2(10) 7/3 has 1 src: 11.0.0.2(10) Brocade# show ip multicast pimsm-snooping vlan 100, has 1 caches. 1 (* 224.10.10.10) has 3 pim join ports out of 3 OIF 3/3 (age=20), 3/7 (age=20), 3/8 (age=20), 3/3 has 1 src: 11.0.0.2(20) 3/7 has 1 src: 11.0.0.2(20)
Syntax: show ip multicast pimsm-snooping Use the show ip multicast cluster commands to display information about multicast snooping activity. In the following command, YES indicates that reports/leaves were received by locally (processing native control packets).
Brocade(config)#show ip multicast cluster group p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL100 : 1 groups, 1 group-port group p-port ST QR life mode source local 1 225.1.1.1 e5/5 no no 200 EX 0 YES 2 225.1.1.1 e5/10 no no 200 EX 0 YES
In the following command, NO indicates that reports/leaves were received remotely. In this case, a join was received on the CCEP of the MCT peer device. Native control packets were processed by the peer device and then the entries were synched over MDUP to this cluster device.
Brocade(config)#show ip multicast cluster group p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL100 : 1 groups, 1 group-port group p-port ST QR life mode source local 1 225.1.1.1 e1/10 no no 200 EX 0 NO 2 225.1.1.1 e1/10 no no 200 EX 0 NO
The following command displays information about the IGMP multicast mcache. It is used to verify if FDB is programmed when a data packet arrives.
Brocade(config)#show ip multicast mcache Example: (S G) cnt=: cnt is number of SW processed packets OIF: e1/22 TR(e1/32), TR is trunk, e1/32 primary vlan 100, 1 caches. use 1 VIDX 1 (* 230.1.1.10) cnt=673
861
22
The following command displays status about the IGMP router port.
Brocade(config)#show ip multicast cluster vlan 100 Version=2, Intervals: Query=125, Group Age=260, Max Resp=10, Other Qr=260 VL100: cfg V3, vlan cfg passive, 1 grp, 2 (SG) cache, rtr ports, router ports: e5/9(260) 100.100.100.1 (local:1, mct peer:0), e5/4 has 1 groups, This interface is non-Querier (passive) default V3 trunk (local:1, mct peer:0)
Syntax: show ip multicast cluster {group | mcache | vlan <vlan-id>} Use the show ip multicast cluster pimsm-snooping command to display detailed information about multicast snooping activity.
Brocade(config)#show ip multicast cluster pimsm-snooping Example: Port: 7/3 (age, port type, ref_count, owner flag, pruned flag) source: 7/3 has 1 src: 11.0.0.5(age, ref_count, owner flag, pruned flag) owner flag: 0x0: local, 0x1 remote cep, 0x2 remote ccep vlan 100, has 1 caches. 1 (* 224.10.10.10) has 2 pim join ports out of 2 OIF 7/3 (20, ICL, 1, 0x0, 0), 7/5 (20, CCEP, 1, 0x0, 0), 7/3 has 4 src: 11.0.0.5(20, 1, 0x0, 0), 11.0.0.4(20, 1, 0x0, 0), 11.0.0.3(20, 1, 0x0, 0), ...cut 7/5 has 4 src: 11.0.0.5(20, 1, 0x0, 0), 11.0.0.4(20, 1, 0x0, 0), 11.0.0.3(20, 1, 0x0, 0), ...cut
Syntax: show ip multicast cluster pimsm-snooping [group | vlan] The following show ipv6 mld commands have output that is similar to the corresponding show ip multicast commands. MLD multicast group commands:
Brocade(config)#show ipv6 mld cluster group
862
22
L3 Network
1/12
1/11
2/1-2/2
ICL
Session VLAN
2/1-2/2
1/1 3/1 /1-3
-7
1/
21
-2
7/
1/
1-
1/1
/1-
1/1-1/3
Client #1
Client #2
Client 1 - Configuration
This section presents the configuration for client 1 in Table 104.
! vlan 1905 by port tagged ethe 5/1/47 to 5/1/48 ethe 7/1/1 to 7/1/3 ethe 8/1/1 to 8/1/3 ethe 8/1/45 spanning-tree ! ! interface ethernet 7/1/1 link-aggregate configure timeout short link-aggregate configure key 10011 link-aggregate active ! interface ethernet 7/1/2 link-aggregate configure key 10011
7-1
1/5
863
22
link-aggregate configure timeout short link-aggregate active ! interface ethernet 7/1/3 link-aggregate configure link-aggregate configure link-aggregate active ! interface ethernet 8/1/1 link-aggregate configure link-aggregate configure link-aggregate active ! interface ethernet 8/1/2 link-aggregate configure link-aggregate configure link-aggregate active ! interface ethernet 8/1/3 link-aggregate configure link-aggregate configure link-aggregate active !
Client 2- Configuration
This section presents the configuration for client 2 in Table 104.
! vlan 1905 name MAC-scaling-vlan by port tagged ethe 1/1/1 to 1/1/3 ethe 1/1/45 ethe 2/1/47 to 2/1/48 ethe 3/1/1 to 3/1/3 spanning-tree ! ! interface ethernet 1/1/1 link-aggregate configure timeout short link-aggregate configure key 20011 link-aggregate active ! interface ethernet 1/1/2 link-aggregate configure key 20011 link-aggregate configure timeout short link-aggregate active ! interface ethernet 1/1/3 link-aggregate configure key 20011 link-aggregate configure timeout short link-aggregate active ! interface ethernet 3/1/1 link-aggregate configure key 20011 link-aggregate configure timeout short link-aggregate active ! interface ethernet 3/1/2 link-aggregate configure key 20011 link-aggregate configure timeout short link-aggregate active !
864
22
interface ethernet 3/1/3 link-aggregate configure key 20011 link-aggregate configure timeout short link-aggregate active !
865
22
AGG-B(R2) - Configuration
This section presents the configuration for the AGG-B(R2) cluster device in Table 104.
trunk ethe 2/1 to 2/2 ! vlan 2 name session-vlan by port tagged ethe 2/1 to 2/2 router-interface ve 2 ! vlan 3 by port tagged ethe 1/11 router-interface ve 3 ! ! vlan 1905 name MAC-scaling-vlan by port tagged ethe 1/15 to 1/19 ethe 1/21 to 1/23 ethe 2/1 to 2/2 ethe 2/5 ethe 3/1 ! hostname R2 ! interface ve 2 ip address 21.1.1.2 255.255.255.0 ! interface ve 3 ip address 31.1.1.2 255.255.255.0 ! interface ve 4 ip address 101.1.1.2 255.255.255.0 ! cluster MCT1 1 rbridge-id 2 session-vlan 2 keep-alive-vlan 3 icl BH1 ethernet 2/1 peer 21.1.1.1 rbridge-id 1 icl BH1 deploy client client-1 rbridge-id 1901 client-interface link-aggregation ethe 1/21 to 1/23 client-interface link-aggregation passive client-interface link-aggregation timeout-short deploy client client-2 rbridge-id 1902 client-interface link-aggregation ethe 1/17 to 1/19 client-interface link-aggregation passive client-interface link-aggregation timeout-short deploy !
866
22
L3 Network
DIST-A (R3)
DIST-B (R4)
15/2
15/1
1/1
2/1-2/2
1/1 -3 8/1 /13
ICL
Session VLAN
2/1-2/2
7/
Client #1
Client #2
The client configuration is the same as in the single-level example (refer to Single-level MCT example on page 863).
3/1
1/
1-
1/1
/1-
/1-3
1/1
-7
1/
21
-2
7-1
1/5
867
22
868
22
869
22
870
22
871
22
SX800A
5/3
Keep-alive
5/3
SX800B
4/1
1/1/1
1/1/2
S1-SW
872
22
peer 1.0.0.253 rbridge-id 800 icl FI_SX-MCT deploy client S1-SW rbridge-id 777 client-interface ethe 4/1 deploy !
873
22
S1-SW configuration
This example presents the configuration for the S1-SW device in Table 105.
! trunk ethe 1/1/1 to 1/1/2 ! Vlan 110 by port tagged ethe 1/1/1 to 1/1/2 router-interface ve 110 ! interface ve 110 ip address 1.110.0.1 255.255.255.0 !
874
22
MCT1
MCT2
CEP2 (3/8)
CCEP1 (7/5)
CCEP2 (3/7)
Client-1
The following example shows the configuration for multicast snooping for the MCT1 cluster device in Figure 107.
vlan 100 by port tagged ethe 7/3 untagged ethe 7/5 ethe 7/6 multicast passive multicast pimsm-snooping ! vlan 3000 name session by port tagged ethe 7/3 router-interface ve 3000 vlan 3001 name keep-alive-vlan tagged eth 7/4 interface ve 3000 ip address 1.1.1.2 255.255.255.0 ! cluster SX 3000 rbridge-id 2 session-vlan 3000 keep-alive-vlan 3001
875
22
icl SX-MCT ethernet 7/3 peer 1.1.1.3 rbridge-id 3 icl SX-MCT deploy client client-1 rbridge-id 100 client-interface ethernet 7/5 deploy !
The following example shows the configuration for multicast snooping for the MCT2 cluster device in Figure 107.
! vlan 100 by port tagged ethe 3/3 untagged ethe 3/7 ethe 3/8 multicast passive multicast pimsm-snooping ! vlan 3000 name session by port tagged ethe 3/3 router-interface ve 3000 vlan 3001 name keep-alive-vlan tagged eth 3/4 interface ve 3000 ip address 1.1.1.3 255.255.255.0 ! cluster SX 3000 rbridge-id 3 session-vlan 3000 keep-alive-vlan 3001 icl SX-MCT ethernet 3/3 peer 1.1.1.2 rbridge-id 2 icl SX-MCT deploy client client-1 rbridge-id 100 client-interface ethernet 3/7 to 3/8 deploy !
The following example shows the global configuration for multicast snooping for the MCT1 cluster device in Figure 107.
vlan 100 by port tagged ethe 7/3 tagged ethe 7/5 ethe 7/6 ! vlan 1000 by port tagged ethe 7/3 untagged ethe 7/5 ethe 7/6 ! vlan 3000 name session by port tagged ethe 7/3 router-interface ve 3000
876
22
vlan 3001 name keep-alive-vlan tagged eth 7/4 ip multicast active interface ve 3000 ip address 1.1.1.2 255.255.255.0 ! cluster SX 3000 rbridge-id 2 session-vlan 3000 keep-alive-vlan 3001 icl SX-MCT ethernet 7/3 peer 1.1.1.3 rbridge-id 3 icl SX-MCT deploy client client-1 rbridge-id 100 client-interface ethernet 7/5 deploy !
The following example shows the global configuration for multicast snooping for the MCT2 cluster device in Figure 107.
! vlan 100 by port tagged ethe 3/3 tagged ethe 3/7 ethe 3/8 ! vlan 1000 by port tagged ethe 3/3 tagged ethe 3/7 ethe 3/8 ! vlan 3000 name session by port tagged ethe 3/3 router-interface ve 3000 vlan 3001 name keep-alive-vlan tagged eth 3/4 ip multicast passive interface ve 3000 ip address 1.1.1.3 255.255.255.0 ! cluster SX 3000 rbridge-id 3 session-vlan 3000 keep-alive-vlan 3001 icl SX-MCT ethernet 3/3 peer 1.1.1.2 rbridge-id 2 icl SX-MCT deploy client client-1 rbridge-id 100 client-interface ethernet 3/7 to 3/8 deploy
877
22
878
Chapter
GVRP
23
Table 147 lists the individual Brocade FastIron switches and the GARP VLAN Registration Protocol (GVRP) features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 147
Feature
FWS
FCX
ICX 6610
GVRP Configurable GVRP base VLAN ID Leaveall timer Ability to disable VLAN advertising Ability to disable VLAN learning GVRP timers Conversion of a GVRP VLAN to a statically-configured VLAN
GVRP overview
GARP VLAN Registration Protocol (GVRP) is a Generic Attribute Registration Protocol (GARP) application that provides VLAN registration service by means of dynamic configuration (registration) and distribution of VLAN membership information. A Brocade device enabled for GVRP can do the following:
Learn about VLANs from other Brocade devices and configure those VLANs on the ports that
learn about the VLANs. The device listens for GVRP Protocol Data Units (PDUs) from other devices, and implements the VLAN configuration information in the PDUs.
Advertise VLANs configured on the device to other Brocade devices. The device sends GVRP
PDUs advertising its VLANs to other devices. GVRP advertises statically configured VLANs and VLANs learned from other devices through GVRP. GVRP enables a Brocade device to dynamically create 802.1Q-compliant VLANs on links with other devices that are running GVRP. GVRP reduces the chances for errors in VLAN configuration by automatically providing VLAN ID consistency across the network. You can use GVRP to propagate VLANs to other GVRP-aware devices automatically, without the need to manually configure the VLANs on each device. In addition, if the VLAN configuration on a device changes, GVRP automatically changes the VLAN configurations of the affected devices.
879
The Brocade implementation of GARP and GVRP is based on the following standards:
ANSI/IEEE standard 802.1D, 1998 edition IEEE standard 802.1Q, 1998 edition; approved December 8, 1998 IEEE draft P802.1w/D10, March 26, 2001 IEEE draft P802.1u/D9, November 23, 2000 IEEE draft P802.1t/D10, November 20, 2000
Edge Device A
Port2/1 Port1/24 Port4/24 Port8/17 Port6/24 Port4/1
Edge Device B
Port2/24
Port4/1
Port4/24
Port4/1
Edge Device C
Port2/24
Port4/24
In this example, a core device is attached to three edge devices. Each of the edge devices is attached to other edge devices or host stations (represented by the clouds). The effects of GVRP in this network depend on which devices the feature is enabled on, and whether both learning and advertising are enabled. In this type of network (a core device and edge devices), you can have the following four combinations:
Dynamic core and fixed edge Dynamic core and dynamic edge Fixed core and dynamic edge Fixed core and fixed edge
880
GVRP is enabled on all ports. Both learning and advertising are enabled.
NOTE: Since learning is disabled on all the edge devices, advertising on the core device has no effect in this configuration.
GVRP is enabled on port 4/24. Learning is disabled. VLAN 20 Port 2/1 (untagged) Port 4/24 (tagged) VLAN 40 Port 4/1 (untagged) Port 4/24 (tagged)
GVRP is enabled on port 4/1. Learning is disabled. VLAN 20 Port 2/24 (untagged) Port 4/1 (tagged) VLAN 30 Port 4/24 (untagged) Port 4/1 (tagged)
GVRP is enabled on port 4/1. Learning is disabled. VLAN 30 Port 2/24 (untagged) Port 4/1 (tagged) VLAN 40 Port 4/24 (untagged) Port 4/1 (tagged)
In this configuration, the edge devices are statically (manually) configured with VLAN information. The core device dynamically configures itself to be a member of each of the edge device VLANs. The operation of GVRP on the core device results in the following VLAN configuration on the device:
VLAN 20 1/24 (tagged) 6/24 (tagged) VLAN 30 6/24 (tagged) 8/17 (tagged) VLAN 40 1/24 (tagged) 8/17 (tagged)
VLAN 20 traffic can now travel through the core between edge devices A and B. Likewise, VLAN 30 traffic can travel between B and C and VLAN 40 traffic can travel between A and C. If an edge device is moved to a different core port or the VLAN configuration of an edge device is changed, the core device automatically reconfigures itself to accommodate the change. Notice that each of the ports in the dynamically created VLANs is tagged. All GVRP VLAN ports configured by GVRP are tagged, to ensure that the port can be configured for additional VLANs. This example assumes that the core device has no static VLANs configured. However, you can have static VLANs on a device that is running GVRP. GVRP can dynamically add other ports to the statically configured VLANs but cannot delete statically configured ports from the VLANs.
NOTE
881
The maximum number of VLANS supported on a device enabled for GVRP is the same as the
maximum number on a device that is not enabled for GVRP.
To display the maximum number of VLANs allowed on your device, enter the show default
values command. See the vlan row in the System Parameters section. Make sure you allow for the default VLAN (1), the GVRP base VLAN (4093), and the Single STP VLAN (4094). These VLANs are maintained as Registration Forbidden in the GVRP database. Registration Forbidden VLANs cannot be advertised or learned by GVRP.
To increase the maximum number of VLANs supported on the device, enter the
system-max vlan <num> command at the global CONFIG level of the CLI, then save the configuration and reload the software. The maximum number you can specify is listed in the Maximum column of the show default values display.
882
The default VLAN (VLAN 1) is not advertised by the Brocade implementation of GVRP. The
default VLAN contains all ports that are not members of statically configured VLANs or VLANs enabled for GVRP.
NOTE
The default VLAN has ID 1 by default. You can change the VLAN ID of the default VLAN, but only before GVRP is enabled. You cannot change the ID of the default VLAN after GVRP is enabled.
Single STP must be enabled on the device. Brocade implementation of GVRP requires Single
STP. If you do not have any statically configured VLANs on the device, you can enable Single STP as follows.
Brocade(config)#vlan 1 Brocade(config-vlan-1)#exit Brocade(config)#span Brocade(config)#span single
These commands enable configuration of the default VLAN (VLAN 1), which contains all the device ports, and enable STP and Single STP.
All VLANs that are learned dynamically through GVRP are added to the single spanning tree. All ports that are enabled for GVRP become tagged members of the GVRP base VLAN (4093). If
you need to use this VLAN ID for another VLAN, you can change the GVRP VLAN ID. Refer to Changing the GVRP base VLAN ID on page 884. The software adds the GVRP base VLAN to the single spanning tree.
All VLAN ports added by GVRP are tagged. GVRP is supported only for tagged ports or for untagged ports that are members of the default
VLAN. GVRP is not supported for ports that are untagged and are members of a VLAN other than the default VLAN.
To configure GVRP on a trunk group, enable the protocol on the primary port in the trunk group.
The GVRP configuration of the primary port is automatically applied to the other ports in the trunk group.
You can use GVRP on a device even if the device has statically configured VLANs. GVRP does
not remove any ports from the statically configured VLANs, although GVRP can add ports to the VLANS. GVRP advertises the statically configured VLANs. Ports added by GVRP do not appear in the running-config and will not appear in the startup-config file when save the configuration. You can manually add a port to make the port a permanent member of the VLAN. After you manually add the port, the port will appear in the running-config and be saved to the startup-config file when you save the configuration.
VLANs created by GVRP do not support virtual routing interfaces or protocol-based VLANs.
virtual routing interfaces and protocol-based VLANs are still supported on statically configured VLANs even if GVRP adds ports to those VLANs.
You cannot manually configure any parameters on a VLAN that is created by GVRP. For
example, you cannot change STP parameters for the VLAN.
The GVRP timers (Join, Leave, and Leaveall) must be set to the same values on all the devices
that are exchanging information using GVRP.
If the network has a large number of VLANs, the GVRP traffic can use a lot of CPU resources. If
you notice high CPU utilization after enabling GVRP, set the GVRP timers to longer values. In particular, set the Leaveall timer to a longer value. Refer to Changing the GVRP timers on page 886.
GVRP configuration
If you plan to change the GVRP base VLAN ID (4093) or the maximum configurable value for the Leaveall timer (300000 ms by default), you must do so before you enable GVRP.
NOTE
GVRP configuration
To configure a device for GVRP, globally enable support for the feature, then enable the feature on specific ports. Optionally, you can disable VLAN learning or advertising on specific interfaces. You can also change the protocol timers and the GVRP base VLAN ID.
NOTE
This command changes the GVRP VLAN ID from 4093 to 1001. Syntax: [no] gvrp-base-vlan-id <vlan-id> The <vlan-id> parameter specifies the new VLAN ID. You can specify a VLAN ID from 2 4092 or 4095.
NOTE
You must enter this command before enabling GVRP. Once GVRP is enabled, you cannot change the maximum Leaveall timer value.
This command does not change the default value of the Leaveall timer itself. The command only changes the maximum value to which you can set the Leaveall timer. To increase the maximum value you can specify for the Leaveall timer, enter a command such as the following at the global CONFIG level of the CLI.
Brocade(config)#gvrp-max-leaveall-timer 1000000
NOTE
884
GVRP configuration
Syntax: [no] gvrp-max-leaveall-timer <ms> The <ms> parameter specifies the maximum number of ms to which you can set the Leaveall timer. You can specify from 300000 1000000 (one million) ms. The value must be a multiple of 100 ms. The default is 300000 ms.
Enabling GVRP
To enable GVRP, enter commands such as the following at the global CONFIG level of the CLI.
Brocade(config)#gvrp-enable Brocade(config-gvrp)#enable all
The first command globally enables support for the feature and changes the CLI to the GVRP configuration level. The second command enables GVRP on all ports on the device. The following command enables GVRP on ports 1/24, 2/24, and 4/17.
Brocade(config-gvrp)#enable ethernet 1/24 ethernet 2/24 ethernet 4/17
Syntax: [no] gvrp-enable Syntax: [no] enable all | ethernet <port> [ethernet <port> | to <port>] The all keyword enables GVRP on all ports. ethernet <port> specifies a port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
To specify a list of ports, enter each port as ethernet <port> followed by a space. For example, ethernet 1/24 ethernet 6/24 ethernet 8/17 To specify a range of ports, enter the first port in the range as ethernet <port> followed by the last port in the range. For example, ethernet 1/1 to 1/8. You can combine lists and ranges in the same command. For example: enable ethernet 1/1 to 1/8 ethernet 1/24 ethernet 6/24 ethernet 8/17.
This command disables advertising of VLAN information on ports 1/24, 6/24, and 8/17. Syntax: [no] block-applicant all | ethernet <port> [ethernet <port> | to <port>]
NOTE
Leaveall messages are still sent on the GVRP ports. The all keyword disables VLAN advertising on all ports enabled for GVRP.
885
GVRP configuration
ethernet <port> specifies a port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
To specify a list of ports, enter each port as ethernet <port> followed by a space. For example, ethernet 1/24 ethernet 6/24 ethernet 8/17 To specify a range of ports, enter the first port in the range as ethernet <port> followed by the last port in the range. For example, ethernet 1/1 to 1/8. You can combine lists and ranges in the same command. For example: enable ethernet 1/1 to 1/8 ethernet 1/24 ethernet 6/24 ethernet 8/17.
NOTE
The port still advertises VLAN information unless you also disable VLAN advertising. Syntax: [no] block-learning all | ethernet <port> [ethernet <port> | to <port>] The all keyword disables VLAN learning on all ports enabled for GVRP. ethernet <port> specifies a port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
To specify a list of ports, enter each port as ethernet <port> followed by a space. For example, ethernet 1/24 ethernet 6/24 ethernet 8/17 To specify a range of ports, enter the first port in the range as ethernet <port> followed by the last port in the range. For example, ethernet 1/1 to 1/8. You can combine lists and ranges in the same command. For example: enable ethernet 1/1 to 1/8 ethernet 1/24 ethernet 6/24 ethernet 8/17.
886
GVRP configuration
Join The maximum number of milliseconds (ms) a device GVRP interfaces wait before
sending VLAN advertisements on the interfaces. The actual interval between Join messages is randomly calculated to a value between 0 and the maximum number of milliseconds specified for Join messages. You can set the Join timer to a value from 200 one third the value of the Leave timer. The default is 200 ms.
Leave The number of ms a GVRP interface waits after receiving a Leave message on the port
to remove the port from the VLAN indicated in the Leave message. If the port receives a Join message before the Leave timer expires, GVRP keeps the port in the VLAN. Otherwise, the port is removed from the VLAN. When a port receives a Leave message, the port GVRP state is changed to Leaving. Once the Leave timer expires, the port GVRP state changes to Empty. You can set the Leave timer to a value from three times the Join timer one fifth the value of the Leaveall timer. The default is 600 ms.
NOTE
When all ports in a dynamically created VLAN (one learned through GVRP) leave the VLAN, the VLAN is immediately deleted from the device's VLAN database. However, this empty VLAN is still maintained in the GVRP database for an amount of time equal to the following. (number-of-GVRP-enabled-up-ports) * (2 * join-timer) While the empty VLAN is in the GVRP database, the VLAN does not appear in the show vlans display but does still appear in the show gvrp vlan all display.
Leaveall The minimum interval at which GVRP sends Leaveall messages on all GVRP
interfaces. Leaveall messages ensure that the GVRP VLAN membership information is current by aging out stale VLAN information and adding information for new VLAN memberships, if the information is missing. A Leaveall message instructs the port to change the GVRP state for all its VLANs to Leaving, and remove them unless a Join message is received before the Leave timer expires. By default, you can set the Leaveall timer to a value from five times the Leave timer maximum value allowed by software (configurable from 300000 1000000 ms). The default is 10000.
NOTE
The actual interval is a random value between the Leaveall interval and 1.5 * the Leaveall time or the maximum Leaveall time, whichever is lower.
NOTE
You can increase the maximum configurable value of the Leaveall timer from 300000 ms up to 1000000 ms using the gvrp-max-leaveall-timer command. (Refer to Increasing the maximum configurable value of the Leaveall timer on page 884.)
887
This command changes the Join timer to 1000 ms, the Leave timer to 3000 ms, and the Leaveall timer to 15000. Syntax: [no] join-timer <ms> leave-timer <ms> leaveall-timer <ms>
NOTE
When you enter this command, all the running GVRP timers are canceled and restarted using the new times specified by the command.
Syntax: default-timers This command resets the timers to the following values:
These commands convert GVRP-created VLAN 22 containing ports 1/1 through 1/8 into statically-configured VLAN 22. Syntax: [no] vlan <vlan-id> Syntax: [no] tagged ethernet <port> [to <port> | ethernet <port>] Use the same commands to statically add ports that GVRP added to a VLAN.
888
NOTE
After you convert the VLAN, the VLAN name changes from GVRP_VLAN_<vlan-id> to STATIC_VLAN_<vlan-id>. ethernet <port> specifies a port. Specify the <port> variable in one of the following formats:
NOTE
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
To specify a list of ports, enter each port as ethernet <port> followed by a space. For example, ethernet 1/24 ethernet 6/24 ethernet 8/17 To specify a range of ports, enter the first port in the range as ethernet <port> followed by the last port in the range. For example, ethernet 1/1 to 1/8. You can combine lists and ranges in the same command. For example: enable ethernet 1/1 to 1/8 ethernet 1/24 ethernet 6/24 ethernet 8/17.
GVRP configuration information GVRP VLAN information GVRP statistics CPU utilization statistics GVRP diagnostic information
889
=========================================================================== Configuration that is being used: block-learning ethe 1/3 block-applicant ethe 2/7 ethe 2/11 enable ethe 1/1 to 1/7 ethe 2/1 ethe 2/7 ethe 2/11 =========================================================================== Spanning Tree: SINGLE SPANNING TREE Dropped Packets Count: 0 =========================================================================== Number of VLANs in the GVRP Database: 15 Maximum Number of VLANs that can be present: 4095 ===========================================================================
Syntax: show gvrp [ethernet <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
TABLE 148
Field
Protocol state
The ID of the base VLAN used by GVRP. The maximum number of ms to which you can set the Leaveall timer. NOTE: To change the maximum value, refer to Increasing the maximum configurable value of the Leaveall timer on page 884.
890
TABLE 148
Field
GVRP Leave Timer GVRP Leave-all Timer Configuration that is being used Spanning Tree Dropped Packets Count
The value of the Leave timer. The value of the Leaveall timer. The configuration commands used to enable GVRP on individual ports. If GVRP learning or advertising is disabled on a port, this information also is displayed. The type of STP enabled on the device. NOTE: The current release supports GVRP only with Single STP. The number of GVRP packets that the device has dropped. A GVRP packet can be dropped for either of the following reasons: GVRP packets are received on a port on which GVRP is not enabled. NOTE: If GVRP support is not globally enabled, the device does not drop the GVRP packets but instead forwards them at Layer 2. GVRP packets are received with an invalid GARP Protocol ID. The protocol ID must always be 0x0001.
The number of VLANs in the GVRP database. NOTE: This number includes the default VLAN (1), the GVRP base VLAN (4093), and the single STP VLAN (4094). These VLANs are not advertised by GVRP but are maintained as Registration Forbidden. The maximum number of VLANs that can be configured on the device. This number includes statically configured VLANs, VLANs learned through GVRP, and VLANs 1, 4093, and 4094. To change the maximum number of VLANs the device can have, use the system-max vlan <num> command. Refer to Displaying and modifying system parameter default settings on page 577.
To display detailed GVRP information for an individual port, enter a command such as the following.
891
Brocade#show gvrp Port 2/1 GVRP Enabled : GVRP Learning : GVRP Applicant : Port State : Forwarding : VLAN Membership:
ethernet 2/1 YES ALLOWED ALLOWED UP YES [VLAN-ID] 1 2 1001 1003 1004 1007 1009 1501 2507 4001 4093 4094 [MODE] FORBIDDEN FIXED NORMAL NORMAL NORMAL NORMAL NORMAL NORMAL NORMAL NORMAL FORBIDDEN FORBIDDEN
TABLE 149
Field
Port number
VLAN Membership
892
Brocade#show gvrp vlan brief Number of VLANs in the GVRP Database: 7 Maximum Number of VLANs that can be present: 4095 [VLAN-ID] 1 7 11 1001 1003 4093 4094 [MODE] STATIC-DEFAULT STATIC STATIC DYNAMIC DYNAMIC STATIC-GVRP-BASE-VLAN STATIC-SINGLE-SPAN-VLAN [VLAN-INDEX] 0 2 4 7 8 6 5
===========================================================================
Syntax: show gvrp vlan all | brief | <vlan-id> This display shows the following information.
TABLE 150
Field
VLAN-ID MODE
VLAN-INDEX
To display detailed information for a specific VLAN, enter a command such as the following.
Brocade#show gvrp vlan 1001 VLAN-ID: 1001, VLAN-INDEX: 7, STATIC: NO, DEFAULT: NO, BASE-VLAN: NO Timer to Delete Entry Running: NO Legend: [S=Slot] Forbidden Members: None Fixed Members: None Normal(Dynamic) Members: (S2) 1
893
TABLE 151
Field
VLAN-ID VLAN-INDEX STATIC DEFAULT BASE-VLAN
To display detailed information for all VLANs, enter the show gvrp vlan all command.
Syntax: show gvrp statistics all | ethernet <port> Specify the <port> variable in one of the following formats:
894
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
895
TABLE 152
Field
Leave All Received Join Empty Received Join In Received Leave Empty Received Leave In Received Empty Received Leave All Transmitted Join Empty Transmitted Join In Transmitted Leave Empty Transmitted Leave In Transmitted Empty Transmitted Invalid Messages/Attributes Skipped
Failed Registrations
To display GVRP statistics for all ports, enter the show gvrp statistics all command.
896
5Min(%) 0.09 0.00 0.04 0.00 0.00 0.00 0.00 0.00 0.00
15Min(%) 0.22 0.00 0.07 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 9 0 4 0 0 0 0 0 0
If the software has been running less than 15 minutes (the maximum interval for utilization statistics), the command indicates how long the software has been running. An example is given below.
Brocade#show process cpu The system has only been up for 6 seconds. Process Name 5Sec(%) 1Min(%) 5Min(%) ARP 0.01 0.00 0.00 BGP 0.00 0.00 0.00 GVRP 0.00 0.00 0.00 ICMP 0.01 0.00 0.00 IP 0.00 0.00 0.00 OSPF 0.00 0.00 0.00 RIP 0.00 0.00 0.00 STP 0.00 0.00 0.00 VRRP 0.00 0.00 0.00
15Min(%) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 0 0 0 1 0 0 0 0 0
To display utilization statistics for a specific number of seconds, enter a command such as the following.
Brocade#show process cpu 2 Statistics for last 1 sec and 80 ms Process Name Sec(%) Time(ms) ARP 0.00 0 BGP 0.00 0 GVRP 0.01 1 ICMP 0.00 0 IP 0.00 0 OSPF 0.00 0 RIP 0.00 0 STP 0.01 1 VRRP 0.00 0
When you specify how many seconds worth of statistics you want to display, the software selects the sample that most closely matches the number of seconds you specified. In this example, statistics are requested for the previous two seconds. The closest sample available is actually for the previous 1 second plus 80 milliseconds.
897
Syntax: show process cpu [<num>] The <num> parameter specifies the number of seconds and can be from 1 900. If you use this parameter, the command lists the usage statistics only for the specified number of seconds. If you do not use this parameter, the command lists the usage statistics for the previous one-second, one-minute, five-minute, and fifteen-minute intervals.
This command clears the counters for all ports. To clear the counters for a specific port only, enter a command such as the following.
Brocade#clear gvrp statistics ethernet 2/1
Syntax: clear gvrp statistics all | ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
NOTE
Although some of the devices in these configuration examples do not have statically configured VLANs, this is not a requirement. You always can have statically configured VLANs on a device that is running GVRP.
These commands globally enable GVRP support and enable the protocol on all ports.
898
These commands statically configure two port-based VLANs, enable GVRP on port 4/24, and block GVRP learning on the port. The device will advertise the VLANs but will not learn VLANs from other devices. Enter the following commands on edge device B.
Brocade> enable Brocade#configure terminal Brocade(config)#vlan 20 Brocade(config-vlan-20)#untag ethernet 2/24 Brocade(config-vlan-20)#tag ethernet 4/1 Brocade(config-vlan-20)#vlan 30 Brocade(config-vlan-30)#untag ethernet 4/24 Brocade(config-vlan-30)#tag ethernet 4/1 Brocade(config-vlan-30)#exit Brocade(config)#gvrp-enable Brocade(config-gvrp)#enable ethernet 4/1 Brocade(config-gvrp)#block-learning ethernet 4/1
899
These VLAN commands configure VLANs 20, 30, 40, and 50. The GVRP commands enable the protocol on the ports that are connected to the edge devices, and disable VLAN learning on those ports. All the VLANs are advertised by GVRP. Enter the following commands on edge devices A, B, and C.
Brocade> enable Brocade#configure terminal Brocade(config)#gvrp-enable Brocade(config-gvrp)#enable all Brocade(config-gvrp)#block-applicant all
900
Chapter
MAC-based VLANs
24
Table 153 lists the individual Brocade FastIron switches and the MAC-based VLAN features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 153
Feature
FWS
FCX
ICX 6610
MAC-Based VLANs: Source MAC address authentication Policy-based classification and forwarding MAC-based VLANs and 802.1X security on the same port MAC-based VLAN aging Dynamic MAC-Based VLANs
Yes
Yes
Yes
No No No
901
Incoming traffic from a specific source MAC is dropped because authentication failed Incoming traffic from a specific source MAC is classified as untagged into a specific VLAN Incoming traffic from a specific source MAC is classified as untagged into a restricted VLAN
Traffic classification is performed by programming incoming traffic and RADIUS-returned attributes in the hardware. Incoming traffic attributes include the source MAC address and the port on which the feature is enabled. The RADIUS-returned attributes are the VLAN into which the traffic is to be classified, and the QoS priority.
NOTE
This feature drops any incoming tagged traffic on the port, and classifies and forwards untagged traffic into the appropriate VLANs. This feature supports up to a maximum of 32 MAC addresses per physical port, with a default of 2. Once a client MAC address is successfully authenticated and registered, the MAC-to-VLAN association remains until the port connection is dropped, or the MAC entry expires.
902
MAC-based VLAN is not currently supported for trunk ports and LACP. MAC-based VLAN is not supported for VLAN groups, topology groups and dual-mode
configuration.
MAC-based VLAN is not supported together with ACLs or MAC address filters. FastIron devices do not support UDLD link-keepalives on ports with MAC-based VLAN enabled. FastIron devices do not support STP BPDU packets on ports with MAC-based VLAN enabled. MAC-to-VLAN mapping must be associated with VLANs that exist on the switch. Create the VLANs before you configure the MAC-based VLAN feature. under the VLAN configuration.
Ports participating in MAC-based VLANs must first be configured as mac-vlan-permit ports In the RADIUS server configuration file, a MAC address cannot be configured to associate with
more than one VLAN.
This feature does not currently support dynamic assignment of a port to a VLAN. Users must
pre-configure VLANs and port membership before enabling the feature.
Multi-device port authentication filters will not work with MAC-based VLANs on the same port.
TABLE 154
CLI command
CLI level
Interface interface global global interface
mac-auth mac-vlan enable mac-auth mac-vlan disable mac-auth mac-vlan-dyn-activation no mac-auth mac-vlan-dyn-activation no mac-auth mac-vlan
903
TABLE 154
CLI command
CLI level
interface
mac-auth mac-vlan max-mac-entries <num of entries> mac-auth mac-vlan <mac-addr> vlan <vlan id> priority <0-7> clear table-mac-vlan clear table-mac-vlan ethernet <port> show table-mac-vlan
global global
904
mac-vlan-permit ethe 0/1/1 ethe 0/1/3 default-vlan-id 4000 ip address 10.44.3.3 255.255.255.0 ip default-gateway 10.44.3.1 radius-server host 10.44.3.111 radius-server key 1 $-ndUno mac-authentication enable mac-authentication mac-vlan-dyn-activation mac-authentication max-age 60 mac-authentication hw-deny-age 30 mac-authentication auth-passwd-format xxxx.xxxx.xxxx mac-authentication auth-fail-vlan-id 666 interface ethernet 0/1/1 mac-authentication mac-vlan max-mac-entries 5 mac-authentication mac-vlan 0030.4888.b9fe vlan 1 priority 1 mac-authentication mac-vlan enable interface ethernet 0/1/2 mac-authentication mac-vlan max-mac-entries 10 mac-authentication mac-vlan enable mac-authentication auth-fail-action restrict-vlan 222 interface ethernet 0/1/3 mac-authentication mac-vlan enable mac-authentication auth-fail-action restrict-vlan ! end
In the VLANs, configure mac-vlan-permit for each port that will be participating in the
MAC-based VLAN
If a port has been MAC-based VLAN-enabled, but has not been added as mac-vlan-permit in
any of the VLANs, any MAC addresses learned on this port will be blocked in the reserved VLAN. To prevent this, you must create all of the VLANs and add all ports as mac-vlan-permit before enabling MAC-based VLAN on any ports.
Disable any multi-device port authentication on ports you will be using for MAC-to-VLAN
mapping
NOTE
Do not configure MAC-based VLAN on ports that are tagged to any VLAN. Do not use ports on which MAC-based VLAN is configured as tagged ports.
For FCX devices, MAC-based VLAN with 802.1X will not work on the same port if 802.1X has the RADIUS VLAN attribute defined as an untagged VLAN (for example U:1, U:2).
NOTE
MAC-based VLAN is not supported on trunk or LACP ports. Do not configure trunks on MAC-based VLAN-enabled ports.
NOTE
905
TABLE 155
Attribute name
Tunnel-Type
Data type
13 decimal VLAN 6 decimal 802 decimal
Optional or mandatory
Mandatory
Description
RFC 2868.
Tunnel-Medium-Type
65
Mandatory
RFC 2868.
Tunnel-Private-Group-ID
81
Mandatory
RFC 2868. <vlan-id> or U:<vlan -id> a MAC-based VLAN ID configured on the Brocade device.
906
TABLE 156
Attribute name
Data type
decimal
Optional or mandatory
Optional
Description
The QoS attribute specifies the priority of the incoming traffic based on any value between 0 (lowest priority) and 7 (highest priority). Default is 0. Specifies whether 802.1X authentication is performed when MAC-based VLAN is successful for a device. This attribute can be set to one of the following: 0 - Do not perform 802.1X authentication on a device that passes MAC-based VLAN. Set the attribute to zero (0) for devices that do not support 802.1X authentication. 1 - Perform 802.1X authentication when a device passes MAC-based VLAN. Set the attribute to one (1) for devices that support 802.1X authentication. Specifies whether the RADIUS record is valid only for MAC-based VLAN, or for both MAC-based VLAN and 802.1X authentication. This attribute can be set to one of the following: 0 - The RADIUS record is valid only for MAC-based VLAN. Set this attribute to zero (0) to prevent a user from using their MAC address as username and password for 802.1X authentication 1 - The RADIUS record is valid for both MAC-based VLAN and 802.1X authentication.
Foundry-MAC-based VLAN-QoS
Foundry-802_1x-en able
integer
Optional
Foundry-802_1x-val id
integer
Optional
907
aging period ends, the software aging period begins. The software aging period lasts for a configurable amount of time (the default is 120 seconds). After the software aging period ends, the MAC-based VLAN session is flushed, and the MAC address can be authenticated or denied if the Brocade device again receives traffic from that MAC address. For MAC-based dynamic activation If all of the sessions age out on a port, the port is dynamically removed from the VLAN table. When any new session is established, the port is dynamically added back to the VLAN table. If the Brocade device receives a packet from an authenticated MAC address, and the MAC-based VLAN software aging is still in progress (hardware aging has already occurred), a RADIUS message is NOT sent to the RADIUS server. Instead the MAC address is reentered in the hardware along with the parameters previously returned from the RADIUS server. A RADIUS message is sent only when the MAC-based VLAN session ages out from the software. To change the length of the software aging period To change the length of the software aging period for blocked MAC addresses, enter a command such as the following.
Brocade(config)#mac-authentication max-age 180
NOTE
Syntax: [no] mac-authentication max-age <seconds> You can specify from 1 65535 seconds. The default is 120 seconds.
Syntax: mac-authentication disable-aging Enter the command at the global or interface configuration level. The denied-mac-only parameter prevents denied sessions from being aged out, but ages out permitted sessions. The permitted-mac-only parameter prevents permitted (authenticated and restricted) sessions from being aged out and ages denied sessions.
908
NOTE
32 MAC addresses maximum are allowed per port. This total includes both static and dynamic hosts. The default number of allowed MACs is 2.
NOTE
To change the maximum MAC addresses per port, you must first disable MAC-based VLAN on that port.
2. Add each port on which you want MAC-based VLAN enabled as mac-vlan-permit for a specific VLAN.
Brocade(config)#vlan 10 by port Brocade(config-vlan-10)#mac-vlan-permit ethernet 0/1/1 to 0/1/6 added mac-vlan-permit ports ethe 0/1/1 to 0/1/6 to port-vlan 10.
909
2. Add each port on which you want MAC-based VLAN enabled as mac-vlan-permit for a specific VLAN.
Brocade(config)#vlan 10 by port Brocade(config-vlan-10)#mac-vlan-permit ethernet 0/1/1 to 0/1/6
To configure Dynamic MAC-based VLAN to add a specific port to a specific VLAN, enter commands similar to the following.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#mac-vlan-permit e 0/1/35
Syntax: mac-vlan-permit ethernet <stack-unit/slotnum/portnum> To disable Dynamic MAC-based VLAN, enter the following command.
Brocade(config)#no mac-authentication mac-vlan-dyn-activation
If static Mac-Based VLAN is configured on a port, the port will be added only to the VLAN table for which the static MAC-based VLAN configuration exists.
NOTE
910
If the Dynamic MAC-based VLAN is enabled after any MAC-based VLAN sessions are established, all sessions are flushed and the mac-vlan-permit ports are removed from the VLAN. The ports are then added back to the VLAN dynamically after they successfully pass the RADIUS authentication process.
NOTE
Syntax: show table-mac-vlan The following table describes the information in this output.
Field
Port Vlan Accepted Macs Rejected Macs Attempted Macs Static Macs Static Conf Max Macs
Description
The port number where MAC-based VLAN is enabled. Not applicable for this feature, will always display n/a. The number of MAC addresses that have been successfully authenticated (dynamic hosts) combined with the number of active static MAC addresses (static hosts). The number of MAC addresses for which authentication has failed for dynamic hosts. The number of attempts made to authenticate MAC addresses. The number of currently connected active static hosts. The number of static hosts that are configured on the physical port. The maximum number of allowed MAC addresses.
911
Syntax: show table-mac-vlan <mac-address> The following table describes the information in this output.
Field
MAC Address Port Vlan Authenticated
Description
The MAC address for which this information is displayed. The port where MAC-based VLAN is enabled. The VLAN to which the MAC address has been assigned. Yes indicates authentication is successful. No indicates authentication has failed. Inp indicates authentication in progress Rst indicates a restricted VLAN The time at which the MAC address was authenticated. If the clock is set on the Brocade device, then the actual date and time are displayed. If the clock has not been set, then the time is displayed relative to when the device was last restarted. The age of the MAC address entry in the authenticated MAC address list. Indicates if 802.1X authentication is enabled or disabled for the MAC address.
Time
Age Dot1x
Syntax: show table-mac-vlan allowed-mac The following table describes the information in this output.
Field
MAC Address Port Vlan Authenticated
Description
The allowed MAC addresses for which the information is displayed. The port where MAC-based VLAN is enabled. The VLAN to which the MAC address has been assigned. Yes indicates authentication has been successful. Inp indicates authentication is in progress.
912
Field
Time
Description
The time at which each MAC address was authenticated. If the clock is set on the Brocade device, then the actual date and time are displayed. If the clock has not been set, then the time is displayed relative to when the device was last restarted. The age of the MAC address entry in the authenticated MAC address list. Indicates whether 802.1X authentication is enabled or disabled for each MAC address.
Age Dot1x
Syntax: show table-mac-vlan denied-mac The following table describes the information in this output.
Field
MAC Address Port Vlan Authenticated Time Age Dot1x
Description
The denied MAC address for which the information is displayed. The port where MAC-based VLAN is enabled. This field displays VLAN 4092 for blocked hosts, or the restricted VLAN ID if it is configured on the port. No indicates that authentication has failed. Inp indicates that authentication is in progress. The time at which authenticated failed. The age of the MAC address entry in the authenticated MAC address list. Indicates whether 802.1X authentication is disabled (Dis) or enabled (Ena) for this MAC address.
913
Brocade#show table-mac-vlan detailed e 0/1/2 Port : 0/1/2 Dynamic-Vlan Assignment : Disabled RADIUS failure action : Block Traffic Failure restrict use dot1x : No Override-restrict-vlan : Yes Vlan : (MAC-PERMIT-VLAN ) Port Vlan State : DEFAULT 802.1X override Dynamic PVID : NO Original PVID : 1 DOS attack protection : Disabled Accepted Mac Addresses : 32 Rejected Mac Addresses : 0 Authentication in progress : 0 Authentication attempts : 54 RADIUS timeouts : 16817 Num of MAC entries in TCAM : 32 Num of MAC entries in MAC : 32 Aging of MAC-sessions : Enabled Port move-back vlan : Port-configured-vlan Max-Age of sw mac session : 60 seconds hw age for denied mac : 30 seconds MAC Filter applied : No -----------------------------------------------------------------------------MAC Address RADIUS Authenticated Time Age CAM MAC Dot1x Type Pri Index Index -----------------------------------------------------------------------------0000.0200.0012 0.0.0.0 No 00d00h00m00s S12 N/A N/A Dis Dyn 0 0000.0200.0017 0.0.0.0 No 00d00h00m00s S20 N/A N/A Dis Dyn 0 0000.0200.0018 0.0.0.0 No 00d00h00m00s S20 N/A N/A Dis Dyn 0 0000.0100.000a 10.44.3.111 Yes 00d19h38m30s Ena 000b 22d4 Dis Dyn 5 0000.0200.0019 0.0.0.0 No 00d00h00m00s S20 N/A N/A Dis Dyn 0 0000.0200.001a 0.0.0.0 No 00d00h00m00s S20 N/A N/A Dis Dyn 0 0000.0200.001b 0.0.0.0 No 00d00h00m00s S20 N/A N/A Dis Dyn 0 0000.0200.001c 0.0.0.0 No 00d00h00m00s S20 N/A N/A Dis Dyn 0 0000.0200.001d 0.0.0.0 No 00d00h00m00s S20 N/A N/A Dis Dyn 0 -----------------------------------------------------------------------------MAC Address RADIUS Authenticated Time Age CAM MAC Dot1x Type Pri Index Index -----------------------------------------------------------------------------0000.feed.1111 0.0.0.0 No 07d17h00m43s S0 0000 4000 Dis Sta 1 0000.feed.1112 0.0.0.0 No 07d17h01m51s S0 0001 4000 Dis Sta 2 0000.feed.1113 0.0.0.0 No 07d17h03m00s S0 0002 4000 Dis Sta 3
914
Description
The MAC addresses related to the specified interface. The interface for which this information is displayed. The VLAN to which the interface has been assigned. Yes indicates authentication is successful. No indicates authentication has failed. Inp indicates authentication in progress Rst indicates a restricted VLAN The time at which the MAC address was authenticated. If the clock is set on the Brocade device, then the actual date and time are displayed. If the clock has not been set, then the time is displayed relative to when the device was last restarted. The age of the MAC address entry in the authenticated MAC address list. This field displays the index of the CAM entry. The index value will be between 0 and 31. A value of ff indicates that the index is not used. The index of the entry in the hardware MAC table. Indicates whether 802.1X authentication is enabled or disabled for this MAC address.
Time
915
Field
Type Pri
Description
Dyn Indicates a dynamic host. Sta indicates a static host. This field indicates the value set for Foundry-MAC-based VLAN-QoS attribute in the RADIUS configuration for dynamic hosts, if configured. If the Foundry-MAC-based VLAN-QoS attribute is not configured, the value will be zero. For static hosts, the user-configured priority value for the MAC address is displayed.
Index 1048 1832 9772 328 8268 9084 632 3464 11404 12220 3768
VLAN 1 1 1 1 1 1 1 1 1 1 1
NOTE
In this output, (MBV) indicates MAC-based VLAN is enabled. The following table describes the output from this command.
Field
Total active entries MAC Address Port Type Index VLAN
Description
The total number of active entries for all ports. The MAC addresses assigned to this VLAN. The interface for which this information is displayed. Dynamic (MBV) Indicates a dynamic host. Static (MBV) indicates a static host. The index of the entry in the hardware MAC table. The VLAN to which these addresses are assigned.
916
port 0/2/1 port 0/2/1 port 0/2/1 port 0/2/1 port 0/2/1
917
RADIUS Server User: 0030.4875.3f73 (Host B) Tunnel-Private-Group-ID = VLAN2 No profile for MAC 0030.4875.3ff5 (Host C)
Power
1 2
13 14
25 26
37 38
Lnk Act
50F
Host A MAC address is statically mapped to VLAN 1 with priority 1 and is not subjected to RADIUS authentication. When Host B MAC address is authenticated, the Access-Accept message from the RADIUS server specifies that Host B MAC address be placed into VLAN 2. Since Host C MAC address is not present in the RADIUS server, Host C will be rejected by the server and its MAC address will be placed into a restricted VLAN. Below is the configuration for this example.
module 1 fgs-48-port-management-module module 2 fgs-xfp-1-cx4-1-port-10g-module vlan 1 by port untagged ethe 0/1/10 mac-vlan-permit ethe 0/1/1 to 0/1/2 no spanning-tree vlan 2 by port untagged ethe 0/1/30 mac-vlan-permit ethe 0/1/1 to 0/1/2 no spanning-tree vlan 666 name mac_restricted by port untagged ethe 0/1/20 mac-vlan-permit ethe 0/1/1 to 0/1/2 no spanning-tree vlan 4000 name DEFAULT-VLAN by port no spanning-tree vlan 4004 by port mac-vlan-permit ethe 0/1/1 default-vlan-id 4000 ip address 10.44.3.8 255.255.255.0 ip default-gateway 10.44.3.1 radius-server host 10.44.3.111 radius-server key 1 $-ndUno mac-authentication enable mac-authentication max-age 60
918
mac-authentication hw-deny-age 30 mac-authentication auth-passwd-format xxxx.xxxx.xxxx interface ethernet 0/1/1 mac-authentication mac-vlan max-mac-entries 5 mac-authentication mac-vlan 0030.4888.b9fe vlan 1 priority 1 mac-authentication mac-vlan enable ! interface ethernet 0/1/2 mac-authentication mac-vlan max-mac-entries 5 mac-authentication mac-vlan enable ! ! end
The show table-mac-vlan command returns the following results for all ports in this configuration.
Brocade#show table-mac-vlan --------------------------------------------------------------Port Vlan Accepted Rejected Attempted Static Static Max Macs Macs Macs Macs Conf Macs ---------------------------------------------------------------0/1/1 N/A 2 1 0 1 1 5 0/1/2 N/A 0 0 0 0 0 5
The show table-mac-vlan e 0/1/1 command returns the following results for port 0/1/1 in this configuration.
Brocade#show table-mac-vlan e 0/1/1 ------------------------------------------------------------------------------MAC Address Port Vlan Authenticated Time Age CAM MAC Dot1x Type Pri Index Index ------------------------------------------------------------------------------0030.4875.3f73 0/1/1 2 Yes 00d00h00m46s S32 0001 3728 Dis Dyn 4 0030.4888.b9fe 0/1/1 1 Yes 00d00h00m08s Dis 0000 0970 Dis Sta 1 0030.4875.3ff5 0/1/1 666 Rst 01d18h47m58s S8 0002 1ee4 Dis Dyn 0
919
920
Chapter
25
Table 157 lists the individual Brocade FastIron switches and the mirroring features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 157
Feature
FWS
FCX
ICX 6610
Port mirroring and monitoring (mirroring of both inbound and outbound traffic on individual ports) ACL-based mirroring of denied traffic
Yes
Yes
Yes
Yes, on SX-FI48GPP, SX-FI-2XG, and SX-FI8XG modules Yes No Supported on third generation SX modules only
Yes
Yes
Yes
Yes
ACL-based mirroring of permitted traffic MAC address filter-based mirroring VLAN-based mirroring
Yes Yes No
Yes Yes No
Yes Yes No
Yes Yes No
The procedures in this chapter describe how to configure port mirroring on Brocade devices.
921
TABLE 158
.
Port type
ICX
1 per port region 1 per port region No limit 8
Ingress mirror ports Egress mirror ports Ingress monitored ports Egress monitored ports
FastIron X Series devices support multiple ingress and egress mirror ports. For 1 Gbps ports, ports in groups of 12 share one ingress mirror port and one egress mirror port. Therefore, ports 1 and 2 cannot have different mirror ports, but ports 1 and 13 can (port 25, for third-generation modules). Each 10 Gbps port (or each third-generation 10 GbE module) can have one ingress mirror port and one egress mirror port.
NOTE
NOTE
For devices other than the FastIron X Series, it is possible to configure more than eight egress ports, although only the first eight are operational. This is also true for mirrored VLANs - more than eight can be configured, but only the first eight are operational.
If you configure both ACL mirroring and ACL-based rate limiting on the same port, then all
packets that match are mirrored, including the packets that exceed the rate limit.
FWS and FCX Series devices support sFlow and port monitoring together on the same port. FastIron X Series devices support port monitoring and sFlow together on the same device. The
caveat is that port monitoring and sFlow cannot be configured together within the same port region. Refer to About port regions on page 556 for a list of valid port ranges on these devices. This restriction only applies to first- and second-generation modules.
You can configure a mirror port specifically as an ingress port, an egress port, or both. Mirror ports can run at any speed and are not related to the speed of the ingress or egress
monitored ports.
The same port cannot be both a monitored port and the mirror port.
922
The same port can be monitored by one mirror port for ingress traffic and another mirror port
for egress traffic.
The mirror port cannot be a trunk port. The monitored port and its mirror port do not need to belong to the same port-based VLAN: - If the mirror port is in a different VLAN from the monitored port, the packets are tagged
with the monitor port VLAN ID. This does not apply if the mirror port resides on the SX-FI48GPP module. In this case, mirrored packets are not tagged with a monitor port VLAN ID.
If the mirror port is in the same VLAN as the monitored port, the packets are tagged or untagged, depending on the mirror port configuration.
More than one monitored port can be assigned to the same mirror port. If the primary interface of a trunk is enabled for monitoring, the entire trunk is monitored. You
can also enable an individual trunk port for monitoring using the config-trunk-ind command.
With FastIron X Series IPv4 hardware, the following port mirroring functions may not work
across modules when only one switch fabric is present in the system:
Input mirroring Output mirroring Both input mirroring and output mirroring Switch fabric slot configuration (SF1 or SF2) Interface modules configured for port mirroring
For stacked devices, if the ingress and egress analyzer ports are always network ports on the
local device, each device may configure the ingress and egress analyzer port independently. However, if you need to mirror to a remote port, then only one ingress and one egress analyzer port are supported for the enitre system.
For ingress ACL mirroring, the ingress rule for stacked devices also applies. The analyzer port
setting command acl-mirror-port must be specified for each port, even though the hardware only supports one port per device. This applies whether the analyzer port is on the local device or on a remote device. For example, when port mirroring is set to a remote device, any mirroring-enabled ports (ACL, MAC address filter, or VLAN) enabled ports are set globally to a single analyzer port, as shown in the following example.
Brocade(config)# mirror ethernet 1/1/24 Brocade(config)# mirror ethernet 2/1/48 Brocade(config)# interface ethernet 1/1/1 Brocade(config-if-e1000-1/1/1)# monitor ethernet 2/1/48 both
923
The previous command is required even though the analyzer port is already set globally by the port mirroring command.
Brocade(config)# interface ethernet 1/1/3 Brocade(config-if-e1000-1/1/3)# ip access-group 101 Brocade(config-if-e1000-1/1/3)# acl-mirror-port ethernet 2/1/48 Brocade(config-if-e1000-1/1/3)# permit ip any any mirror Brocade(config-if-e1000-1/1/3)# ip access-group 102 Brocade(config-if-e1000-1/1/3)# deny ip any any log
Because of hardware limitations on the SX-FI48GPP interface module, if the monitored port is
on the SX-FI48GPP module, mirrored packets vary slightly from original (monitored) packets, depending on the type of management or interface module on which the mirror port (analyzer) is configured:
When ingress or egress mirroring is enabled between a monitored port on an SX-FI48GPP interface module and a mirror port on an IPv4 interface module, mirrored packets contain CRC errors. All other data in the original and mirrored packets is the same. When ingress or egress mirroring is enabled between a monitored port on an SX-FI48GPP interface module and a mirror port on an IPv4 8-port management module, IPv6 management module, IPv6 interface module, or SX-FI48GPP module, mirrored packets are larger than the original packet by 4 bytes, but do not contain CRC errors. All other data in the original and mirrored packets is the same.
Monitoring a port
To configure port monitoring on an individual port on a Brocade device, enter commands similar to the following.
Brocade(config)#mirror-port ethernet 1/2/4 Brocade(config)#interface ethernet 1/2/11 Brocade(config-if-e1000-11)#monitor ethernet 1/2/4 both
Traffic on port e 1/2/4 is monitored, and the monitored traffic is copied to port e 1/2/11, the mirror port. Syntax: [no] mirror-port ethernet <port> [input | output] Syntax: [no] monitor ethernet <port> both | in | out The <port> variable for mirror-port ethernet specifies the port to which the monitored traffic is copied. The <port> variable for monitor ethernet specifies the port on which traffic is monitored. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
The input and output parameters configure the mirror port exclusively for ingress or egress traffic. If you do not specify one, both types of traffic apply.
924
The both, in, and out parameters specify the traffic direction you want to monitor on the mirror port. There is no default. To display the port monitoring configuration, enter the show monitor and show mirror commands.
Traffic on trunk port e 2/4 is monitored, and the monitored traffic is copied to port e 2/6, the mirror port. The config-trunk-ind command enables configuration of individual ports in the trunk group. You enter the config-trunk-ind command only once in a trunk group. After you enter the command, all applicable port configuration commands apply to individual ports only.
NOTE
If you enter no config-trunk-ind, all port configuration commands are removed from the individual ports and the configuration of the primary port is applied to all the ports. Also, once you enter the no config-trunk-ind command, the enable, disable, and monitor commands are valid only on the primary port and apply to the entire trunk group.
The input or output mirroring port can be on different ports. An IronStack can have one mirroring port that monitors multiple ports, but cannot have
multiple mirror ports for one monitored port.
If the mirror port and the monitored ports are on different stack units, only one active mirror
port is allowed for the entire IronStack.
925
If the mirror port and the monitored ports are on the same port region, multiple active mirror
ports are allowed for the entire IronStack. Devices in an IronStack support 24 ports per port region.
Configuring mirroring for ports on the same stack member in an IronStack example
In this example, the mirror ports are assigned to different monitor ports.
Brocade(config)#mirror-port ethernet 1/1/24 Brocade(config)#mirror-port ethernet 2/1/24 Brocade(config)#mirror-port ethernet 3/1/24 Brocade(config)#mirror-port ethernet 4/1/24 Brocade(config)#interface ethernet 1/1/1 Brocade(config-if-e1000-1/1/1)#monitor ethernet 1/1/24 both Brocade(config)#interface ethernet 2/1/1 Brocade(config-if-e1000-2/1/1)#monitor ethernet 2/1/24 both Brocade(config)#interface ethernet 4/1/1 Brocade(config-if-e1000-4/1/1)#monitor ethernet 4/1/24 both
Creating an ACL-based inbound mirror clause for FWS and FCX devices
The following example shows how to configure an ACL-based inbound mirror clause. 1. Configure the mirror port.
Brocade(config)#mirror-port ethernet 1/1/2
926
To display ACL mirror settings, enter the show access-list all command.
Brocade#show access-list all Extended IP access list 101 permit ip any any mirror
The mirror parameter directs selected traffic to the mirrored port. Traffic mirroring is only supported on Layer 3 ACLs for FastIron X Series devices. You can select traffic to be mirrored using a permit or deny clause on ports on the following interface modules:
On all other interface modules, you can select traffic to be mirrored using only a permit clause.
927
Syntax: [no] ACL-mirror-port ethernet <port> The <port> variable specifies the mirror port to which the monitored port traffic is copied. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
Ports from a port region must be mirrored to the same destination mirror port Port regions, as described in About port regions on page 556, are important when defining a destination mirror port. This is because all traffic mirrored from any single port in a port region is mirrored to the same destination mirror port as traffic mirrored from any other port in the same port region. For example, ports 1/1 to 1/12 are in the same port region. If you configure ports 1/1 and 1/2 to mirror their traffic, they should use the same destination mirror port as shown in the following configuration.
Brocade(config)#interface ethernet 1/1 Brocade(config-if-e10000-1/1)#ACL-mirror-port ethernet 2/3 Brocade(config)#interface ethernet 1/2 Brocade(config-if-e10000-1/2)#ACL-mirror-port ethernet 2/3
If ports within the same port region are mirrored to different destination ports, the configuraton is disallowed, and an error message is generated, as shown in the following example.
Brocade(config)#interface ethernet 1/1 Brocade(config-if-e10000-1/1)#ACL-mirror-port ethernet 4/3 Brocade(config)#interface ethernet 1/2 Brocade(config-if-e10000-1/2)#ACL-mirror-port ethernet 4/7 Error - Inbound Mirror port 4/3 already configured for port region 1/1 - 1/12
When a destination port is configured for any port within a port region, traffic from any ACL with a mirroring clause assigned to any port in that port region is mirrored to that destination port. This will occur even if a destination port is not explicitly configured for the port with the ACL configured. In the following example, an ACL with a mirroring clause (101) is applied to a port (1/1). Another port in the same region (1/3) has a destination port set (4/3). In this example, traffic generated from operation of ACL 101 is mirrored to port 4/3 even though a destination port has not explicitly been defined for traffic from port 1/1.
Brocade(config)#interface ethernet 1/1 Brocade(config-if-e10000-1/1)#ip access-group 101 in Brocade(config)#interface ethernet 1/3 Brocade(config-if-e10000-1/3)#ACL-mirror-port ethernet 4/3
If a destination mirror port is not configured for any ports within the port region where the port-mirroring ACL is configured, the ACL does not mirror the traffic but the ACL is applied to traffic on the port.
NOTE
928
Using this configuration, all trunk traffic is mirrored to port 1/8. Limitations when configuring ACL-based mirroring with trunks The config-trunk-ind command, as described in Disabling or re-enabling a trunk port on page 711, cannot operate with ACL-based mirroring:
If a trunk is configured with the config-trunk-ind command, ACL-based mirroring will not be
allowed.
If the config-trunk-ind command is added to a trunk, any ports that are configured for
ACL-based mirroring will have monitoring removed and the following message is displayed.
Trunk port monitoring, if any, has been removed.
If an individual port is configured for ACL-based mirroring, you cannot add it to a trunk. If you try to add a port that is configured for ACL-based mirroring to a trunk, the following message appears.
Note - ACL-mirror-port configuration is removed from port 2 in new trunk.
If you want to add a port configured for ACL-based mirroring to a trunk, you must first remove the ACL-mirror-port command from the port configuration. You can then add the port to a trunk that can then be configured for ACL-based trunk mirroring. Behavior of ACL-based mirroring when deleting trunks If you delete a trunk that has ACL-based mirroring configured, the ACL-based mirroring configuration is configured on the individual ports that made up the trunk. For example, if a trunk is configured as shown in the following example and is then deleted from the configuration as shown, each of the ports that previously was contained in the trunk is configured for ACL-based mirroring.
Brocade(config)#trunk ethernet 4/1 to 4/2 Brocade(config)#trunk deploy Brocade(config)#interface ethernet 4/1 Brocade(config-if-e10000)#ACL-mirror-port ethernet 5/3
NOTE
The following configuration for ACL-based mirroring on ports 4/1 and 4/2 results from the trunk being deleted.
interface ethernet ACL-mirror-port interface ethernet ACL-mirror-port 4/1 ethernet 5/3 4/2 ethernet 5/3
929
In this configuration, the ACL-mirror-port command is applied to port 4/1, which is a member of ve 10. Because of this, ACL-based mirroring will only apply to VLAN 10 traffic that arrives on ports 4/1 and 4/2. It will not apply to VLAN 10 traffic that arrives on port 5/3 because that port belongs to a port group differant from ports 4/1 and 4/2. This is because if you apply ACL-based mirroring on an entire VE, and enable mirroring in only one port region, traffic that is in the same VE but on a port in a different port region will not be mirrored. To make the configuration apply ACL-based mirroring to VLAN 10 traffic arriving on port 5/3, you must add the following commands to the configuration.
Brocade(config)#interface ethernet 5/3 Brocade(config-if-e10000-5/3)#ACL-mirror-port ethernet 5/1
If a port is in both mirrored and non-mirrored VLANs, only traffic on the port from the mirrored VLAN is mirrored. For example, the following configuration adds VLAN 20 to the previous configuration. In this example, ports 4/1 and 4/2 are in both VLAN 10 and VLAN 20. ACL-based mirroring is only applied to VLAN 10. Consequently, traffic that is on ports 4/1 and 4/2 that belongs to VLAN 20 will not be mirrored.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#tagged ethernet 4/1 to 4/2 Brocade(config-vlan-10)#tagged ethernet 5/3 Brocade(config-vlan-10)#router-interface ve 10 Brocade(config)#vlan 20 Brocade(config-vlan-20)#tagged ethernet 4/1 to 4/2 Brocade(config)#interface ethernet 4/1 Brocade(config-if-e10000-4/1)#ACL-mirror-port ethernet 5/1 Brocade(config)#interface ve 10 Brocade(config-vif-10)#ip address 10.10.10.254/24 Brocade(config-vif-10)#ip access-group 102 in Brocade(config)#access-list 102 permit ip any any mirror
930
NOTE
Configuration notes for defining a mirror port If there is no input mirror port configured, MAC-filter based mirroring does not take effect. It remains in the configuration, but is not activated.
FWS devices support one ingress mirror and one egress mirror per system. These ports are
shared by all mirroring features: port-based mirroring, VLAN-based mirroring, ACL-based mirroring and MAC-based mirroring.
MAC-filter-based mirroring can be enabled on a port at the same time as either port-based
mirroring or VLAN-based mirroring. When port-based mirroring and MAC-filter-based mirroring are enabled on a port at the same time, the preference order is port-based mirroring followed by MAC-based filtering. When VLAN-based mirroring and MAC-filter-based mirroring are enabled on a port at the same time, the preference order is VLAN-based mirroring and MAC-filter-based mirroring.
NOTE
Port-based mirroring and VLAN-based mirroring can not be enabled on a port at the same time.
931
VLAN-based mirroring
In this example, any flow matching the source address (SA) 0000.1111.2222 and the destination address (DA) 0000.2222.3333 is mirrored. Other flows are not mirrored.
VLAN-based mirroring
NOTE
VLAN-based mirroring is supported on FastIron X Series devices equipped with third generation or later modules. Refer to VLAN-based mirroring on FastIron X Series devices on page 934. The VLAN-based mirroring feature allows users to monitor all incoming traffic in one or more VLANs by sending a mirror image of that traffic to a configured mirror port. This feature meets the requirements of CALEA (Communications Assistance for Law Enforcement Act of 1994).
Syntax: [no] monitor ethernet <port> For FCX devices, because it is possible to have multiple mirror ports, monitor ports must specify which mirror port they are monitoring. To disable mirroring on VLAN 20, enter the following commands.
Brocade(config)#vlan 20 Brocade(config-VLAN-20)#no monitor ethernet 1/1/21 Brocade(config-VLAN-20)#end
NOTE
932
VLAN-based mirroring
Brocade#show vlan Total PORT-VLAN entries: 4 Maximum PORT-VLAN entries: 4060 Legend: [Stk=Stack-Unit, S=Slot] PORT-VLAN 1, Name DEFAULT-VLAN, Priority level0, Spanning tree On Untagged Ports: (Stk0/S1) 3 4 5 6 7 8 9 10 11 12 Untagged Ports: (Stk0/S1) 15 16 17 18 19 20 21 22 23 24 Untagged Ports: (Stk0/S1) 27 28 29 30 31 32 33 34 35 36 Untagged Ports: (Stk0/S1) 39 40 41 42 43 44 45 46 47 48 Untagged Ports: (Stk0/S2) 1 2 Tagged Ports: None Uplink Ports: None DualMode Ports: None Mac-Vlan Ports: None Monitoring: Disabled PORT-VLAN 10, Name [None], Priority level0, Spanning tree On Untagged Ports: (Stk0/S1) 1 Tagged Ports: None Uplink Ports: None DualMode Ports: None Mac-Vlan Ports: None Monitoring: Enabled PORT-VLAN 20, Name [None], Priority level0, Spanning tree On Untagged Ports: (Stk0/S1) 2 Tagged Ports: None Uplink Ports: None DualMode Ports: None Mac-Vlan Ports: None Monitoring: Disabled
13 25 37
14 26 38
A VLAN must have at least one port member configured before monitoring can be configured. Multiple VLANs can have monitoring enabled at the same time, and the maximum number of
monitor-configured VLANs is 8.
FWS devices support one ingress and one egress mirror per system. These mirror ports are
shared by all mirroring features; port-based mirroring, VLAN-based mirroring, ACL-based mirroring, and MAC-filter-based mirroring.
The mirror port is subject to the same scheduling and bandwidth management as the other
ports in the system. If the amount of traffic being sent to the mirror port exceeds the available bandwidth, some of that traffic may be dropped.
All incoming traffic (tagged and untagged) in the VLAN is mirrored. mirroring is as-is, and is
not affected by the configuration of the mirror port itself. Incoming tagged traffic is sent out tagged and incoming untagged traffic is sent out untagged, regardless of which VLANs the mirror port belongs to, and whether the mirror port is tagged or untagged.
933
VLAN-based mirroring
NOTE
Egress VLAN-based mirroring is not currently supported on the stacking platforms. The FastIron X Series of modules are capable of monitoring 4096 VLANs. In a chassis environment, this introduces restrictions to the number of ports that can be configured as mirror ports. Because a single VLAN can contain 384 untagged ports (24 per slot) if that VLAN is configured for monitoring, every device must have an identical number of corresponding analyzer ports. However, the egress mirror-port and ingress mirror-port do not have to be the same. You can use two separate ports. This introduces restrictions on port-based mirroring coexisting with VLAN-based mirroring. Port-based mirroring allows for multiple ports to be configured as mirror-ports. However, once a particular port belonging to a particular device is configured for monitoring to a specific mirror-port, no other mirror-port can be used to monitor any other port on that device. This restriction has been extended to VLAN-based mirroring, with one caveat: only one mirror-port in either direction at a time can exist within the system. Refer to About port regions on page 556 for a list of valid port ranges on these devices.
Only the modules that support VLAN-based mirroring should be installed. There can be only one input or output mirror-port configured in the system at a time. The amount of traffic mirrored is limited by the bandwidth of the mirror-port. The maximum amount of egress traffic that can be mirrored is further limited by the bandwidth of the loopback port, which is 10 Gbps.
The monitored VLAN must be created in hardware. An ingress or egress mirror-port must be configured when monitoring the ingress or egress
VLAN traffic.
A maximum of 4096 VLANs can be monitored at a time. A VLAN can be monitored for ingress and egress traffic concurrently. Port mirroring can be configured concurrently with VLAN-based mirroring, but only one
mirror-port can be used for both.
934
VLAN-based mirroring
sFlow can be enabled concurrently with VLAN-based mirroring and port mirroring. VLAN-based mirroring is supported on the default VLAN. If the default VLAN is changed
dynamically, the configuration is not lost.
VLAN-based mirroring on VLAN groups is not supported, but it is supported on topology groups. In the case of enabling VLAN-based monitoring on the interface modules in an MCT-enabled
chassis, the VLAN configuration is not synced across the cluster. Each chassis in the cluster is configured independently for VLAN configuration. One of the concerns about VLAN-based mirroring is the effects of ingress and egress ACLs, as well as rate shaping and rate limiting, on mirrored packets:
Ingress VLAN-based mirroring: Any packets that are coming in from the network on the VLAN
should be mirrored out. Any ingress ACL actions or rate limiting actions do not take precedence in this case.
Egress VLAN-based mirroring: Any packets that are sent out onto the network are not affected
by egress ACLs or rate shaping. Refer to Table 159 for a summary of the effects of ACLs and rate limiting.
TABLE 159
ACL profile
Egress result
Packets egress mirrored at expected (sent) rate Packets egress mirrored at expected (sent) rate Packets egress mirrored at the limited rate Packets egress mirrored at expected (sent) rate
Ingress ACL on port Egress ACL on port Ingress rate limiting on port Egress rate shaping on port
TABLE 160
Packets sent
10000 10000 10000 10000
Table 160 can be summarized into the following two rules, assuming that VLAN-based mirroring and port mirrroring are operating concurrently.
If the VLAN is ingress monitored, and ports belonging to the VLAN are also ingress monitored,
the ingress traffic is only mirrored once and there are no duplicated mirrored packets.
935
VLAN-based mirroring
If the VLAN is egress monitored and ports belonging to the VLAN are also egress monitored,
the egress traffic is mirrored for each egress port, as well as the VLAN, resulting in several duplicated mirrored packets. The count of duplicate packets is computed as (1 + Number of egress mirrored ports in the VLAN) * Number of egress packets. In addition to the previously mentioned rules, the behavior of VLAN-based mirroring is affected by the tag type of the ports belonging to that VLAN, as shown in Table 161.
TABLE 161
As illustrated in Table 161, regardless of the egress port tag type, if a VLAN is egress mirrored, the mirrored traffic is always tagged. This functionality is built into the hardware and is the expected behavior, as the tag acts as an identifier for monitored traffic on the mirror-port (in case the mirror-port belongs to some other VLAN).
For example, to enable outgoing mirroring on VLANs 10 and 20, to mirror port e 6/24, enter the following commands.
Brocade(config)#mirror-port ethernet 6/24 Brocade(config)#vlan 10 Brocade(config-VLAN-10)#monitor ethernet 6/24 output Brocade(config-VLAN-10)#exit Brocade(config)#vlan 20 Brocade(config-VLAN-20)#monitor ethernet 6/24 output Brocade(config-VLAN-20)#end
For example, to enable bidirectional mirroring on VLANs 10 and 20, to mirror port e 6/24, enter the following commands.
Brocade(config)#mirror-port ethernet 6/24
936
VLAN-based mirroring
Brocade(config)#vlan 10 Brocade(config-VLAN-10)#monitor ethernet 6/24 both Brocade(config-VLAN-10)#exit Brocade(config)#vlan 20 Brocade(config-VLAN-20)#monitor ethernet 6/24 both Brocade(config-VLAN-20)#end
937
VLAN-based mirroring
938
Chapter
IP Configuration
26
Table 162 lists the individual Brocade FastIron switches and the IP features they support. These features are supported with the base Layer 3, edge Layer 3 and full Layer 3 software image, except where explicitly noted.
TABLE 162
Feature
Supported IP features
FESX FSX 800 FSX 1600
Yes Yes Yes Yes Yes Yes
FWS
FCX
ICX 6610
BootP/DHCP relay Specifying which IP address will be included in a DHCP/BootP reply packet DHCP Server DHCP Client-Based Auto-Configuration DHCP Client-Based Flash image Auto-update DHCP assist
Equal Cost Multi Path (ECMP) load sharing Yes IP helper Single source address for the following packet types: Telnet TFTP Syslog SNTP TACACS/TACACS+ RADIUS SSH SNMP IPv4 point-to-point GRE IP tunnels Yes Yes
No
Yes
Yes
No
Routes in hardware maximum: FESX6 Up to 256K routes FSX Up to 512K routes FCX Up to 16K routes FWS Up to 1020 routes ICX 6450 - Up to 12,000 routes
Yes
Yes
Yes
939
Basic IP configuration
TABLE 162
Feature
Supported IP features
FESX FSX 800 FSX 1600
Yes Yes
FWS
FCX
ICX 6610
Routing for directly connected IP subnets Virtual Interfaces: Up to 512 virtual interfaces 31-bit subnet mask on point-to-point networks
Yes Yes
Yes Yes
Yes Yes
Yes on devices running full Layer 3 image Yes Yes Yes Yes Yes Yes
No
Yes on devices running full Layer 3 image Yes Yes Yes Yes Yes Yes
Yes on devices running full Layer 3 image Yes Yes Yes Yes Yes Yes
Address Resolution Protocol (ARP) Reverse Address Resolution Protocol (RARP) IP follow Proxy ARP Local proxy ARP Jumbo frames Up to 10,240 bytes, or Up to 10,232 bytes in an IronStack
ICX 6450 only ICX 6450 only ICX 6450 only ICX 6450 only ICX 6450 only Yes
IP MTU (individual port setting) Path MTU discovery ICMP Router Discovery Protocol (IRDP) Domain Name Server (DNS) resolver IP checksum check disable
No No Yes Yes No
References to chassis-based Layer 3 Switches apply to the FSX 800 and FSX 1600.
NOTE
The terms Layer 3 Switch and router are used interchangeably in this chapter and mean the same.
NOTE
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).
940
IP configuration overview
If you are configuring a Layer 3 Switch, refer to Configuring IP addresses on page 958 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 1031 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.
NOTE
OSPF V2 (IPv4) Full RIP V1 and V2 Route-only support (Global configuration level only) Route redistribution 1020 routes in hardware maximum VRRP-E
NOTE
Route exchange protocols: - Routing Information Protocol (RIP) - Open Shortest Path First (OSPF) - Border Gateway Protocol version 4 (BGP4)
941
IP configuration overview
Multicast protocols: - Internet Group Membership Protocol (IGMP) - Protocol Independent Multicast Dense (PIM-DM) - Protocol Independent Multicast Sparse (PIM-SM) - Distance Vector Multicast Routing Protocol (DVMRP) Router redundancy protocols: - Virtual Router Redundancy Protocol Extended (VRRP-E) - Virtual Router Redundancy Protocol (VRRP)
IP interfaces
NOTE
This section describes IPv4 addresses. For information about IPv6 addresses on FastIron X Series devices, refer to IPv6 addressing overview on page 355. For information about IPv6 addresses on all other FastIron devices, refer to IPv6 addressing on page 412. Brocade Layer 3 Switches and Layer 2 Switches allow you to configure IP addresses. On Layer 3 Switches, IP addresses are associated with individual interfaces. On Layer 2 Switches, a single IP address serves as the management access address for the entire device. All Brocade Layer 3 Switches and Layer 2 Switches support configuration and display of IP addresses in classical subnet format (for example: 192.168.1.1 255.255.255.0) and Classless Interdomain Routing (CIDR) format (for example: 192.168.1.1/24). You can use either format when configuring IP address information. IP addresses are displayed in classical subnet format by default but you can change the display format to CIDR. Refer to Changing the network mask display to prefix format on page 1059.
Layer 3 Switches
Brocade Layer 3 Switches allow you to configure IP addresses on the following types of interfaces:
Ethernet ports Virtual routing interfaces (used by VLANs to route among one another) Loopback interfaces
Each IP address on a Layer 3 Switch must be in a different subnet. You can have only one interface that is in a given subnet. For example, you can configure IP addresses 192.168.1.1/24 and 192.168.2.1/24 on the same Layer 3 Switch, but you cannot configure 192.168.1.1/24 and 192.168.1.2/24 on the same Layer 3 Switch. You can configure multiple IP addresses on the same interface. The number of IP addresses you can configure on an individual interface depends on the Layer 3 Switch model. To display the maximum number of IP addresses and other system parameters you can configure on a Layer 3 Switch, refer to Displaying and modifying system parameter default settings on page 577. You can use any of the IP addresses you configure on the Layer 3 Switch for Telnet, Web management, or SNMP access.
942
IP configuration overview
Layer 2 Switches
You can configure an IP address on a Brocade Layer 2 Switch for management access to the Layer 2 Switch. An IP address is required for Telnet access, Web management access, and SNMP access. You also can specify the default gateway for forwarding traffic to other subnets.
RIP
Incoming Port Session Table
Y N
Fwding Cache
IP Route Table
OSPF
BGP4
Outgoing Port
ARP Cache
943
IP configuration overview
Figure 110 shows the following packet flow: 1. When the Layer 3 Switch receives an IP packet, the Layer 3 Switch checks for filters on the receiving interface.1 If a deny filter on the interface denies the packet, the Layer 3 Switch discards the packet and performs no further processing, except generating a Syslog entry and SNMP message, if logging is enabled for the filter. 2. If the packet is not denied at the incoming interface, the Layer 3 Switch looks in the session table for an entry that has the same source IP address and TCP or UDP port as the packet. If the session table contains a matching entry, the Layer 3 Switch immediately forwards the packet, by addressing it to the destination IP address and TCP or UDP port listed in the session table entry and sending the packet to a queue on the outgoing ports listed in the session table. The Layer 3 Switch selects the queue based on the Quality of Service (QoS) level associated with the session table entry. 3. If the session table does not contain an entry that matches the packet source address and TCP or UDP port, the Layer 3 Switch looks in the IP forwarding cache for an entry that matches the packet destination IP address. If the forwarding cache contains a matching entry, the Layer 3 Switch forwards the packet to the IP address in the entry. The Layer 3 Switch sends the packet to a queue on the outgoing ports listed in the forwarding cache. The Layer 3 Switch selects the queue based on the Quality of Service (QoS) level associated with the forwarding cache entry. 4. If the IP forwarding cache does not have an entry for the packet, the Layer 3 Switch checks the IP route table for a route to the packet destination. If the IP route table has a route, the Layer 3 Switch makes an entry in the session table or the forwarding cache, and sends the route to a queue on the outgoing ports:
If the running-config contains an IP access policy for the packet, the software makes an
entry in the session table. The Layer 3 Switch uses the new session table entry to forward subsequent packets from the same source to the same destination.
If the running-config does not contain an IP access policy for the packet, the software
creates a new entry in the forwarding cache. The Layer 3 Switch uses the new cache entry to forward subsequent packets to the same destination. The following sections describe the IP tables and caches:
ARP cache and static ARP table IP route table IP forwarding cache Layer 4 session table
The software enables you to display these tables. You also can change the capacity of the tables on an individual basis if needed by changing the memory allocation for the table.
944
IP configuration overview
ARP cache The ARP cache can contain dynamic (learned) entries and static (user-configured) entries. The software places a dynamic entry in the ARP cache when the Layer 3 Switch learns a device MAC address from an ARP request or ARP reply from the device. The software can learn an entry when the Layer 2 Switch or Layer 3 Switch receives an ARP request from another IP forwarding device or an ARP reply. Here is an example of a dynamic entry:
IP Address 207.95.6.102 MAC Address 0800.5afc.ea21 Type Dynamic Age 0 Port 6
Each entry contains the destination device IP address and MAC address. Static ARP table In addition to the ARP cache, Layer 3 Switches have a static ARP table. Entries in the static ARP table are user-configured. You can add entries to the static ARP table regardless of whether or not the device the entry is for is connected to the Layer 3 Switch. Layer 3 Switches have a static ARP table. Layer 2 Switches do not. The software places an entry from the static ARP table into the ARP cache when the entry interface comes up. Here is an example of a static ARP entry.
Index 1 IP Address 207.95.6.111 MAC Address 0800.093b.d210 Port 1/1
NOTE
Each entry lists the information you specified when you created the entry.
Displaying the ARP cache on page 1064 Layer 3 Switch Displaying the static ARP table on page 1066 Layer 3 Switch only Displaying ARP entries on page 1075 Layer 2 Switch
To configure other ARP parameters, refer to the following sections:
For dynamic entries, refer to the section Displaying and modifying system parameter default
settings on page 577. The <ip-arp> parameter controls the ARP cache size.
Static entries, Changing the maximum number of entries the static ARP table can hold on
page 980 (Layer 3 Switches only). The <ip-static-arp> parameter controls the static ARP table size.
IP route table
The IP route table contains paths to IP destinations.
945
IP configuration overview
Layer 2 Switches do not have an IP route table. A Layer 2 Switch sends all packets addressed to another subnet to the default gateway, which you specify when you configure the basic IP information on the Layer 2 Switch. The IP route table can receive the paths from the following sources:
NOTE
A directly-connected destination, which means there are no router hops to the destination A static IP route, which is a user-configured route A route learned through RIP A route learned through OSPF A route learned through BGP4
When the software receives paths from more than one of the sources listed above, the
software compares the administrative distance of each path and selects the path with the lowest administrative distance. The administrative distance is a protocol-independent value from 1 through 255.
When the software receives two or more best paths from the same source and the paths have
the same metric (cost), the software can load share traffic among the paths based on destination host or network address (based on the configuration and the Layer 3 Switch model). Here is an example of an entry in the IP route table.
Destination 1.1.0.0 NetMask 255.255.0.0 Gateway 99.1.1.2 Port 1/1 Cost 2 Type R
Each IP route table entry contains the destination IP address and subnet mask and the IP address of the next-hop router interface to the destination. Each entry also indicates the port attached to the destination or the next-hop to the destination, the route IP metric (cost), and the type. The type indicates how the IP route table received the route:
To display the IP route table, refer to Displaying the IP route table on page 1068 (Layer 3
Switch only).
To configure a static IP route, refer to Static routes configuration on page 985 (Layer 3
Switch only).
To clear a route from the IP route table, refer to Clearing IP routes on page 1071 (Layer 3
Switch only).
To increase the size of the IP route table for learned and static routes, refer to the section
Displaying and modifying system parameter default settings on page 577:
For learned routes, modify the <ip-route> parameter. For static routes, modify the <ip-static-route> parameter.
946
IP configuration overview
IP forwarding cache
The IP forwarding cache provides a fast-path mechanism for forwarding IP packets. The cache contains entries for IP destinations. When a Brocade Layer 3 Switch has completed processing and addressing for a packet and is ready to forward the packet, the device checks the IP forwarding cache for an entry to the packet destination:
If the cache contains an entry with the destination IP address, the device uses the information
in the entry to forward the packet out the ports listed in the entry. The destination IP address is the address of the packet final destination. The port numbers are the ports through which the destination can be reached.
If the cache does not contain an entry and the traffic does not qualify for an entry in the
session table instead, the software can create an entry in the forwarding cache. Each entry in the IP forwarding cache has an age timer. If the entry remains unused for ten minutes, the software removes the entry. The age timer is not configurable. Here is an example of an entry in the IP forwarding cache.
IP Address 192.168.1.11 Next Hop DIRECT MAC 0000.0000.0000 Type PU Port n/a Vlan Pri 0
Each IP forwarding cache entry contains the IP address of the destination, and the IP address and MAC address of the next-hop router interface to the destination. If the destination is actually an interface configured on the Layer 3 Switch itself, as shown here, then next-hop information indicates this. The port through which the destination is reached is also listed, as well as the VLAN and Layer 4 QoS priority associated with the destination if applicable. To display the IP forwarding cache, refer to Displaying the forwarding cache on page 1067. You cannot add static entries to the IP forwarding cache, although you can increase the number of entries the cache can contain. Refer to the section Displaying and modifying system parameter default settings on page 577.
NOTE
947
IP configuration overview
Routing Information Protocol (RIP) Open Shortest Path First (OSPF) Border Gateway Protocol version 4 (BGP4)
All these protocols provide routes to the IP route table. You can use one or more of these protocols, in any combination. The protocols are disabled by default. For configuration information, refer to the following:
Chapter 29, RIP (IPv4) Chapter 31, OSPF version 2 (IPv4) Chapter 33, BGP (IPv4)
IP multicast protocols
Brocade Layer 3 Switches also support the following Internet Group Membership Protocol (IGMP) based IP multicast protocols:
Protocol Independent Multicast Dense mode (PIM-DM) Protocol Independent Multicast Sparse mode (PIM-SM) Distance Vector Multicast Routing Protocol (DVMRP)
For configuration information, refer to Chapter 36, IP Multicast Protocols.
NOTE
Brocade Layer 2 Switches support IGMP and can forward IP multicast packets. Refer to Chapter 34, IP Multicast Traffic Reduction on Brocade FastIron X Series switches and Chapter 35, IP Multicast Traffic Reduction for FastIron WS and Brocade FCX and ICX Switches.
Virtual Router Redundancy Protocol (VRRP) A standard router redundancy protocol based on
RFC 2338. You can use VRRP to configure Brocade Layer 3 Switches and third-party routers to back up IP interfaces on other Brocade Layer 3 Switches or third-party routers.
948
Routing protocols: - Routing Information Protocol (RIP) refer to Chapter 29, RIP (IPv4) - Open Shortest Path First (OSPF) refer to Chapter 31, OSPF version 2 (IPv4) - Border Gateway Protocol version 4 (BGP4) refer to Chapter 33, BGP (IPv4) Multicast protocols: - Internet Group Membership Protocol (IGMP) refer to Global IP multicast parameters on
page 1511
Protocol Independent Multicast Dense (PIM-DM) refer to PIM Dense on page 1516 Protocol Independent Multicast Sparse (PIM-SM) refer to PIM Sparse on page 1525
Router redundancy protocols: - Virtual Router Redundancy Protocol Extended (VRRP-E) refer to Chapter 39, VRRP and
VRRP-E
Virtual Router Redundancy Protocol (VRRP) refer to Chapter 39, VRRP and VRRP-E
The following tables list the Layer 3 Switch IP parameters, their default values, and where to find configuration information. For information about parameters in other protocols based on IP, such as RIP, OSPF, and so on, refer to the configuration chapters for those protocols.
NOTE
949
To save configuration changes to the startup-config file, enter the write memory command
from the Privileged EXEC level of any configuration level of the CLI.
To save the configuration changes using the Web Management Interface, select the Save link
at the bottom of the dialog. Select Yes when prompted to save the configuration change to the startup-config file on the device flash memory. You also can access the dialog for saving configuration changes by clicking on Command in the tree view, then clicking on Save to Flash. Changes to memory allocation require you to reload the software after you save the changes to the startup-config file. When reloading the software is required to complete a configuration change described in this chapter, the procedure that describes the configuration change includes a step for reloading the software.
TABLE 163
Parameter
IP state
Default
Enabled NOTE: You cannot disable IP.
Format for displaying an IP address and its network mask information. You can enable one of the following: Class-based format; example: 192.168.1.1 255.255.255.0 Classless Interdomain Routing (CIDR) format; example: 192.168.1.1/24
Class-based NOTE: Changing this parameter affects the display of IP addresses, but you can enter addresses in either format regardless of the display setting. The IP address configured on the lowest-numbered loopback interface. If no loopback interface is configured, then the lowest-numbered IP address configured on the device.
page 1059
Router ID
The value that routers use to identify themselves to other routers when exchanging route information. OSPF and BGP4 use router IDs to identify routers. RIP does not use the router ID.
page 970
950
TABLE 163
Parameter
Maximum Transmission Unit (MTU)
Default
1500 bytes for Ethernet II encapsulation 1492 bytes for SNAP encapsulation Enabled
A standard IP mechanism that routers use to learn the Media Access Control (MAC) address of a device on the network. The router sends the IP address of a device in the ARP request and receives the device MAC address in an ARP reply. Lets you specify a maximum number of ARP packets the device will accept each second. If the device receives more ARP packets than you specify, the device drops additional ARP packets for the remainder of the one-second interval. The amount of time the device keeps a MAC address learned through ARP in the device ARP cache. The device resets the timer to zero each time the ARP entry is refreshed and removes the entry if the timer reaches the ARP age. NOTE: You also can change the ARP age on an individual interface basis. Refer to Table 164 on page 953.
page 975
Disabled
page 976
ARP age
Ten minutes
page 977
Proxy ARP
An IP mechanism a router can use to answer an ARP request on behalf of a host, by replying with the router own MAC address instead of the host. An ARP entry you place in the static ARP table. Static entries do not age out. The maximum number of routers (hops) through which a packet can pass before being discarded. Each router decreases a packet TTL by 1 before forwarding the packet. If decreasing the TTL causes the TTL to be 0, the router drops the packet instead of forwarding it. A directed broadcast is a packet containing all ones (or in some cases, all zeros) in the host portion of the destination IP address. When a router forwards such a broadcast, it sends a copy of the packet out each of its enabled IP interfaces. NOTE: You also can enable or disable this parameter on an individual interface basis. Refer to Table 164 on page 953.
Disabled
page 977
No entries 64 hops
Disabled
page 981
The packet format the router treats as a directed broadcast. The following formats can be directed broadcast: All ones in the host portion of the packet destination address. All zeroes in the host portion of the packet destination address.
All ones NOTE: If you enable all-zeroes directed broadcasts, all-ones directed broadcasts remain enabled.
page 982
951
TABLE 163
Parameter
Default
Enabled
Source-routed packet forwarding Internet Control Message Protocol (ICMP) messages ICMP Router Discovery Protocol (IRDP)
Enabled
page 983
Disabled
page 998
An IP mechanism a host can use to request an IP address from a directly attached router when the host boots. An IP address you place in the RARP table for RARP requests from hosts. NOTE: You must enter the RARP entries manually. The Layer 3 Switch does not have a mechanism for learning or dynamically generating RARP entries.
Enabled
page 1001
No entries
page 1002
Maximum BootP relay hops Domain name for Domain Name Server (DNS) resolver DNS default gateway addresses IP load sharing
The maximum number of hops away a BootP server can be located from a router and still be used by the router clients for network booting. A domain name (example: brocade.router.com) you can use in place of an IP address for certain operations such as IP pings, trace routes, and Telnet management connections to the router.
Four
page 1007
None configured
page 964
A list of gateways attached to the router through None configured which clients attached to the router can reach DNSs. A Brocade feature that enables the router to balance traffic to a specific destination across multiple equal-cost paths. IP load sharing uses a hashing algorithm based on the source IP address, destination IP address, protocol field in the IP header, TCP, and UDP information. NOTE: Load sharing is sometimes called Equal Cost Multi Path (ECMP). Enabled
page 964
page 995
952
TABLE 163
Parameter
Maximum IP load sharing paths Origination of default routes
Default
Four
Disabled
None configured
page 994
No entries The lowest-numbered IP address on the interface the packet is sent on.
TABLE 164
Parameter
IP state
Default
Enabled NOTE: You cannot disable IP.
IP address
A Layer 3 network interface address NOTE: Layer 2 Switches have a single IP address used for management access to the entire device. Layer 3 Switches have separate IP addresses on individual interfaces.
None configured1
page 958
Encapsulation type
The format of the packets in which the router encapsulates IP datagrams. The encapsulation format can be one of the following: Ethernet II SNAP
Ethernet II
page 967
953
TABLE 164
Parameter
Default
1500 for Ethernet II encapsulated packets 1492 for SNAP encapsulated packets Ten minutes 1 (one)
Locally overrides the global setting. Refer to Table 163 on page 950. A numeric cost the router adds to RIP routes learned on the interface. This parameter applies only to RIP routes. Locally overrides the global setting. Refer to Table 163 on page 950. Locally overrides the global IRDP settings. Refer to Table 163 on page 950. The router can assist DHCP/BootP Discovery packets from one subnet to reach DHCP/BootP servers on a different subnet by placing the IP address of the router interface that receives the request in the request packet Gateway field. You can override the default and specify the IP address to use for the Gateway field in the packets. NOTE: UDP broadcast forwarding for client DHCP/BootP requests (bootps) must be enabled (this is enabled by default) and you must configure an IP helper address (the server IP address or a directed broadcast to the server subnet) on the port connected to the client.
Directed broadcast forwarding ICMP Router Discovery Protocol (IRDP) DHCP gateway stamp
Disabled Disabled
page 1006
Allows the switch to obtain IP addresses from a DHCP host automatically, for either a specified (leased) or infinite period of time. All FastIron devices can be configured to function as DHCP servers.
Enabled
page 1022
Disabled
page 1007
954
TABLE 164
Parameter
Default
The router helps forward broadcasts for the following UDP application protocols: bootps dns netbios-dgm netbios-ns tacacs tftp time None configured
IP helper address
The IP address of a UDP application server (such as a BootP or DHCP server) or a directed broadcast address. IP helper addresses allow the router to forward requests for certain UDP applications from a client on one subnet to a server on another subnet.
page 1005
1. Some devices have a factory default, such as 209.157.22.154, used for troubleshooting during installation. For Layer 3 Switches, the address is on module 1 port 1 (or 1/1).
955
NOTE
TABLE 165
Parameter
IP address and mask notation
Default
Class-based NOTE: Changing this parameter affects the display of IP addresses, but you can enter addresses in either format regardless of the display setting. None configured1
IP address
A Layer 3 network interface address NOTE: Layer 2 Switches have a single IP address used for management access to the entire device. Layer 3 Switches have separate IP addresses on individual interfaces.
page 1031
Default gateway
The IP address of a locally attached router (or a router attached to the Layer 2 Switch by bridges or other Layer 2 Switches). The Layer 2 Switch and clients attached to it use the default gateway to communicate with devices on other subnets. A standard IP mechanism that networking devices use to learn the Media Access Control (MAC) address of another device on the network. The Layer 2 Switch sends the IP address of a device in the ARP request and receives the device MAC address in an ARP reply. The amount of time the device keeps a MAC address learned through ARP in the device ARP cache. The device resets the timer to zero each time the ARP entry is refreshed and removes the entry if the timer reaches the ARP age.
None configured
page 1031
n/a
ARP age
Ten minutes NOTE: You cannot change the ARP age on Layer 2 Switches.
n/a
956
TABLE 165
Parameter
Time to Live (TTL)
Default
64 hops
Domain name for Domain Name Server (DNS) resolver DNS default gateway addresses Source interface
None configured
page 1032
None configured
page 1032
The management IP address of the Layer 2 Switch. NOTE: This parameter is not configurable on Layer 2 Switches. None configured
n/a
The device can assist DHCP/BootP Discovery packets from one subnet to reach DHCP/BootP servers on a different subnet by placing the IP address of the router interface that forwards the packet in the packet Gateway field. You can specify up to 32 gateway lists. A gateway list contains up to eight gateway IP addresses. You activate DHCP assistance by associating a gateway list with a port. When you configure multiple IP addresses in a gateway list, the Layer 2 Switch inserts the addresses into the DHCP Discovery packets in a round robin fashion.
page 1037
Allows the switch to obtain IP addresses from a DHCP DHCP host automatically, for either a specified (leased) or Client-Based Auto-Configura infinite period of time. tion
Enabled
page 1022
1. Some devices have a factory default, such as 209.157.22.154, used for troubleshooting during installation. For Layer 3 Switches, the address is on port 1 (or 1/1).
957
TABLE 166
Parameter
DHCP gateway stamp
Default
None configured
NOTE
Configuring IP addresses
You can configure an IP address on the following types of Layer 3 Switch interfaces:
Ethernet port Virtual routing interface (also called a Virtual Ethernet or VE) Loopback interface
By default, you can configure up to 24 IP addresses on each interface. You can increase this amount to up to 128 IP subnet addresses per port by increasing the size of the ip-subnet-port table. On FWS devices, you can increase this to 128 IP addresses on each interface. Refer to the section Displaying system parameter default values on page 577. Once you configure a virtual routing interface on a VLAN, you cannot configure Layer 3 interface parameters on individual ports. Instead, you must configure the parameters on the virtual routing interface itself.
NOTE
958
Brocade devices support both classical IP network masks (Class A, B, and C subnet masks, and so on) and Classless Interdomain Routing (CIDR) network prefix masks:
To enter a classical network mask, enter the mask in IP address format. For example, enter
209.157.22.99 255.255.255.0 for an IP address with a Class-C subnet mask.
To enter a prefix network mask, enter a forward slash ( / ) and the number of bits in the mask
immediately after the IP address. For example, enter 209.157.22.99/24 for an IP address that has a network mask with 24 significant bits (ones). By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0). You can change the display to prefix format. Refer to Changing the network mask display to prefix format on page 1059.
You also can enter the IP address and mask in CIDR format, as follows.
Brocade(config-if-1/1)# ip address 192.45.6.1/24
Syntax: [no] ip address <ip-addr> <ip-mask> [ospf-ignore | ospf-passive | secondary] or Syntax: [no] ip address <ip-addr>/<mask-bits> [ospf-ignore | ospf-passive | secondary] The ospf-ignore | ospf-passive parameters modify the Layer 3 Switch defaults for adjacency formation and interface advertisement. Use one of these parameters if you are configuring multiple IP subnet addresses on the interface but you want to prevent OSPF from running on some of the subnets:
ospf-passive This option disables adjacency formation with OSPF neighbors. By default,
when OSPF is enabled on an interface, the software forms OSPF router adjacencies between each primary IP address on the interface and the OSPF neighbor attached to the interface.
ospf-ignore This option disables OSPF adjacency formation and also disables advertisement
of the interface into OSPF. The subnet is completely ignored by OSPF. The ospf-passive option disables adjacency formation but does not disable advertisement of the interface into OSPF. To disable advertisement in addition to disabling adjacency formation, you must use the ospf-ignore option. Use the secondary parameter if you have already configured an IP address within the same subnet on the interface.
NOTE
NOTE
When you configure more than one address in the same subnet, all but the first address are secondary addresses and do not form OSPF adjacencies.
959
All physical IP interfaces on Brocade FastIron Layer 3 devices share the same MAC address. For this reason, if more than one connection is made between two devices, one of which is a Brocade FastIron Layer 3 device, Brocade recommends the use of virtual interfaces. It is not recommended to connect two or more physical IP interfaces between two routers.
NOTE
NOTE
If you configure the Brocade Layer 3 Switch to use a loopback interface to communicate with a BGP4 neighbor, you also must configure a loopback interface on the neighbor and configure the neighbor to use that loopback interface to communicate with the Brocade Layer 3 Switch. Refer to Adding a loopback interface on page 1347. To add a loopback interface, enter commands such as those shown in the following example.
Brocade(config-bgp-router)# exit Brocade(config)# interface loopback 1 Brocade(config-lbif-1)# ip address 10.0.0.1/24
Syntax: interface loopback <num> The <num> parameter specifies the virtual interface number. You can specify from 1 to the maximum number of virtual interfaces supported on the device. To display the maximum number of virtual interfaces supported on the device, enter the show default values command. The maximum is listed in the System Parameters section, in the Current column of the virtual-interface row. Refer to the syntax description in Assigning an IP address to an Ethernet port on page 959.
NOTE
960
To add a virtual interface to a VLAN and configure an IP address on the interface, enter commands such as the following.
Brocade(config)# vlan 2 name IP-Subnet_1.1.2.0/24 Brocade(config-vlan-2)# untag ethernet 1 to 4 Brocade(config-vlan-2)# router-interface ve1 Brocade(config-vlan-2)# interface ve1 Brocade(config-vif-1)# ip address 1.1.2.1/24
The first two commands in this example create a Layer 3 protocol-based VLAN name IP-Subnet_1.1.2.0/24 and add a range of untagged ports to the VLAN. The router-interface command creates virtual interface 1 as the routing interface for the VLAN. Syntax: router-interface ve <num> The <num> variable specifies the virtual interface number. You can enter a number from 1 through 4095. When configuring virtual routing interfaces on a device, you can specify a number from 1 through 4095. However, the total number of virtual routing interfaces that are configured must not exceed the system-max limit of 512. For more information on the number of virtual routing interfaces supported, refer to Allocating memory for more VLANs or virtual routing interfaces on page 792. The last two commands change to the interface configuration level for the virtual interface and assign an IP address to the interface. Syntax: interface ve <num> Refer to the syntax description in Assigning an IP address to an Ethernet port on page 959.
Global Policy Based Routing is not supported when IP Follow is configured. IPv6 is not supported with ip-follow. FastIron devices support ip-follow with OSPF and VRRP protocols only.
Configuration syntax for IP Follow on a virtual routing interface Configure IP Follow by entering commands such as the following.
Brocade(config)# vlan 2 name IP-Subnet_1.1.2.0/24 Brocade(config-vlan-2)# untag ethernet 1 to 4 Brocade(config-vlan-2)# router-interface ve1 Brocade(config-vlan-2)# interface ve 1 Brocade(config-vif-1)# ip address 10.10.2.1/24
961
ve ve ve ve
2 1 3 1
Syntax: [no] ip follow ve <number> For <number>, enter the ID of the virtual routing interface. Use the no form of the command to disable the configuration. Virtual routing interface 2 and 3 do not have their own IP subnet addresses, but are sharing the IP address of virtual routing interface 1.
Deleting an IP address
To delete an IP address, enter the no ip address command.
Brocade(config-if-e1000-1)# no ip address 1.1.2.1
This command deletes IP address 1.1.2.1. You do not need to enter the subnet mask. To delete all IP addresses from an interface, enter the no ip address * command.
Brocade(config-if-e1000-1)# no ip address *
NOTE
10.10.10.1 - Subnet for directed broadcast: {<Network-number>, -1} 10.10.10.0 - Subnet for network address: {<Network-number>, 0}
In a point-to-point link with a 31-bit subnet mask, the previous two addresses are interpreted as host addresses and packets are not rebroadcast.
962
You can also enter the IP address and mask in the Classless Inter-domain Routing (CIDR) format, as follows.
Brocade(config-if-e1000-1/1/5)# ip address 9.9.9.9/31
Syntax: [no] ip address <ip-address> <ip-mask> Syntax: [no] ip address <ip-address>/<subnet mask-bits> The <ip-address> variable specifies the host address. The <ip-mask> variable specifies the IP network mask. The <subnet mask-bits> variable specifies the network prefix mask. To disable configuration for an IPv4 address with a 31-bit subnet mask on any interface, use the no form of the command. You cannot configure a secondary IPv4 address with a 31-bit subnet mask on any interface. The following error message is displayed when a secondary IPv4 address with a 31-bit subnet mask is configured.
Error: Cannot assign /31 subnet address as secondary
Configuration example
Figure 111 shows the usage of 31- and 24-bit subnet masks in configuring IP addresses.
A
1.1.1.0/31
Router
B
1.1.1.1/31 2.2.2.1/24 2.2.2.2/24
C
Router
Router A is connected to Router B as a point-to-point link with 1.1.1.0/31 subnet. There are only two available addresses in this subnet, 1.1.1.0 on Router A and 1.1.1.1 on Router B, Routers B and C are connected by a regular 24-bit subnet. Router C can either be a switch with many hosts belonging to the 2.2.2.2/24 subnet connected to it, or it can be a router. Router A
RouterA(config)# interface ethernet 1/1/1 RouterA(config-if-e1000-1/1/1)# ip address 1.1.1.0/31
Router B
RouterB(config)# interface ethernet 1/1/1 RouterB(config-if-e1000-1/1/1)# ip address 1.1.1.1/31 RouterB(config-if-e1000-1/1/1)# exit
963
Router C
RouterC(config# interface ethernet 1/3/1 RouterC(config-if-e1000-1/3/1)# ip address 2.2.2.2/24
The Layer 2 or Layer 3 switch qualifies the host name by appending a domain name (for example, mary.ds1.company.com). This qualified name is sent to the DNS server for resolution. If there are four DNS servers configured, it is sent to the first DNS server. If the host name is not resolved, it is sent to the second DNS server. If a match is found, a response is sent back to the client with the host IP address. If no match is found, an unknown host message is returned. (Refer to Figure 112.)
964
DNS Server 1
DNS Server 2
1. Client sends a command to ping "mary" 2. FastIron switch sends "mary.eng.company.com to DNS servers for resolution.
DNS Server 3
DNS Server 4
This server has mary.eng.company.com
4. If mary.eng.company.com is in the DNS servers, its IP address is returned. If it is not found, a unknown host message is returned.
3. Beginning with DNS Server 1, DNS Servers are checked in sequential order to see if mary.eng.company.com is configured in the server.
Syntax: [no] ip dns domain-name <domain-name> Enter the domain name for <domain-name>.
Syntax: [no] ip dns server-address <ip-addr> [<ip-addr>] [<ip-addr>] [<ip-addr>] In this example, the first IP address entered becomes the primary DNS address and all others are secondary addresses. Because IP address 201.98.7.15 is the last address listed, it is also the last address consulted to resolve a query.
965
The domain names are tried in the order you enter them Syntax: [no] ip dns domain-list <domain-name>
Syntax: traceroute <host-ip-addr> [maxttl <value>] [minttl <value>] [numeric] [timeout <value>] [source-ip <ip addr>] The only required parameter is the IP address of the host at the other end of the route. After you enter the command, a message indicating that the DNS query is in process and the current gateway address (IP address of the domain name server) being queried appear on the screen.
Type Control-c to abort Sending DNS Query to 209.157.22.199 Tracing Route to IP node 209.157.22.80 To ABORT Trace Route, Please use stop-traceroute command. Traced route to target IP node 209.157.22.80: IP Address Round Trip Time1 Round Trip Time2 207.95.6.30 93 msec 121 msec
In the previousexample, 209.157.22.199 is the IP address of the domain name server (default DNS gateway address), and 209.157.22.80 represents the IP address of the NYC02 host.
NOTE
966
Encapsulation type The format for the Layer 2 packets within which the Layer 3 Switch sends
IP packets.
Maximum Transmission Unit (MTU) The maximum length of IP packet that a Layer 2 packet
can contain. IP packets that are longer than the MTU are fragmented and sent in multiple Layer 2 packets. You can change the MTU globally or an individual ports:
Global MTU The default MTU value depends on the encapsulation type on a port and is 1500 bytes for Ethernet II encapsulation and 1492 bytes for SNAP encapsulation. Port MTU A port default MTU depends on the encapsulation type enabled on the port.
The MAC address of the IP packet destination. In this case, the destination device is directly
connected to the Layer 3 Switch.
The MAC address of the next-hop gateway toward the packet destination. An Ethernet broadcast address.
The entire IP packet, including the source and destination address and other control information and the data, is placed in the data portion of the Layer 2 packet. Typically, an Ethernet network uses one of two different formats of Layer 2 packet:
NOTE
967
Hardware forwarding of Layer 3 jumbo packets Layer 3 IP unicast jumbo packets received on
a port that supports the frame MTU size and forwarded to another port that also supports the frame MTU size are forwarded in hardware. Previous releases support hardware forwarding of Layer 2 jumbo frames only.
ICMP unreachable message if a frame is too large to be forwarded If a jumbo packet has the
Do not Fragment (DF) bit set, and the outbound interface does not support the packet MTU size, the Brocade device sends an ICMP unreachable message to the device that sent the packet. These enhancements apply only to transit traffic forwarded through the Brocade device. Configuration considerations for increasing the MTU The MTU command is applicable to VEs and physical IP interfaces. It applies to traffic routed between networks.
NOTE
You cannot use this command to set Layer 2 maximum frame sizes per interface. The global
jumbo command causes all interfaces to accept Layer 2 frames.
When you increase the MTU size of a port, the increase uses system resources. Increase the
MTU size only on the ports that need it. For example, if you have one port connected to a server that uses jumbo frames and two other ports connected to clients that can support the jumbo frames, increase the MTU only on those three ports. Leave the MTU size on the other ports at the default value (1500 bytes). Globally increase the MTU size only if needed. Forwarding traffic to a port with a smaller MTU size This feature is not supported on FastIron X Series devices. In order to forward traffic from a port with 1500 MTU configured to a port that has a smaller MTU (for example, 750) size, you must apply the mtu-exceed forward global command. To remove this setting, enter the mtu-exceed hard-drop command. MTU-exceed hard-drop is the default state of the router. Syntax:mtu-exceed [ forward | hard-drop ]
NOTE
forward - forwards a packet from a port with a larger MTU to a port with a smaller MTU hard-drop - resets to default, removes the forward function.
968
Globally changing the Maximum Transmission Unit The Maximum Transmission Unit (MTU) is the maximum size an IP packet can be when encapsulated in a Layer 2 packet. If an IP packet is larger than the MTU allowed by the Layer 2 packet, the Layer 3 Switch fragments the IP packet into multiple parts that will fit into the Layer 2 packets, and sends the parts of the fragmented IP packet separately, in different Layer 2 packets. The device that receives the multiple fragments of the IP packet reassembles the fragments into the original packet. You can increase the MTU size to accommodate jumbo packet sizes up to up to 10,232 bytes in an IronStack. Devices that are not part of an IronStack support up to 10,240 bytes. To globally enable jumbo support on all ports of a FastIron device, enter commands such as the following.
Brocade(config)# jumbo Brocade(config)# write memory Brocade(config)# end Brocade# reload
Syntax: [no] jumbo You must save the configuration change and then reload the software to enable jumbo support. Changing the MTU on an individual port By default, the maximum Ethernet MTU sizes are as follows:
NOTE
1500 bytes The maximum for Ethernet II encapsulation 1492 bytes The maximum for SNAP encapsulation
When jumbo mode is enabled, the maximum Ethernet MTU sizes are as follows:
10,240 bytes The maximum for Ethernet II encapsulation 10,240 bytes The maximum for SNAP encapsulation
NOTE
If you set the MTU of a port to a value lower than the global MTU and from 576 through 1499, the port fragments the packets. However, if the port MTU is exactly 1500 and this is larger than the global MTU, the port drops the packets.
NOTE
You must save the configuration change and then reload the software to enable jumbo support. To change the MTU for interface 1/5 to 1000, enter the following commands.
Brocade(config)# interface ethernet 1/5 Brocade(config-if-1/5)# ip mtu 1000 Brocade(config-if-1/5)# write memory Brocade(config-if-1/5)# end Brocade# reload
NOTE
969
The <num> parameter specifies the MTU. Ethernet II packets can hold IP packets from 576 through 1500 bytes long. If jumbo mode is enabled, Ethernet II packets can hold IP packets up to 10,240 bytes long. Ethernet SNAP packets can hold IP packets from 576 through 1492 bytes long. If jumbo mode is enabled, SNAP packets can hold IP packets up to 10,240 bytes long. The default MTU for Ethernet II packets is 1500. The default MTU for SNAP packets is 1492. Path MTU discovery (RFC 1191) support FastIron X Series devices support the path MTU discovery method described in RFC 1191. When the Brocade device receives an IP packet that has its Do not Fragment (DF) bit set, and the packet size is greater than the MTU value of the outbound interface, then the Brocade device returns an ICMP Destination Unreachable message to the source of the packet, with the Code indicating "fragmentation needed and DF set". The ICMP Destination Unreachable message includes the MTU of the outbound interface. The source host can use this information to help determine the maximum MTU of a path to a destination. RFC 1191 is supported on all interfaces.
NOTE
If you change the router ID, all current BGP4 sessions are cleared. By default, the router ID on a Brocade Layer 3 Switch is one of the following:
NOTE
If the router has loopback interfaces, the default router ID is the IP address configured on the
lowest numbered loopback interface configured on the Layer 3 Switch. For example, if you configure loopback interfaces 1, 2, and 3 as follows, the default router ID is 9.9.9.9/24:
If the device does not have any loopback interfaces, the default router ID is the lowest
numbered IP interface configured on the device. If you prefer, you can explicitly set the router ID to any valid IP address. The IP address cannot be in use on another device in the network. Brocade Layer 3 Switches use the same router ID for both OSPF and BGP4. If the router is already configured for OSPF, you may want to use the router ID that is already in use on the router rather than set a new one. To display the router ID, enter the show ip command at any CLI level or select the IP->General links from the Configure tree in the Web Management Interface.
NOTE
970
Syntax: ip router-id <ip-addr> The <ip-addr> can be any valid, unique IP address.
NOTE
You can specify an IP address used for an interface on the Brocade Layer 3 Switch, but do not specify an IP address in use by another device.
NOTE
You can configure the Layer 3 Switch to always use the lowest-numbered IP address on a specific Ethernet, loopback, or virtual interface as the source addresses for these packets. When configured, the Layer 3 Switch uses the same IP address as the source for all packets of the specified type, regardless of the ports that actually sends the packets. Identifying a single source IP address for specified packets provides the following benefits:
If your server is configured to accept packets only from specific IP addresses, you can use this
feature to simplify configuration of the server by configuring the Brocade device to always send the packets from the same link or source address.
If you specify a loopback interface as the single source for specified packets, servers can
receive the packets regardless of the states of individual links. Thus, if a link to the server becomes unavailable but the client or server can be reached through another link, the client or server still receives the packets, and the packets still have the source IP address of the loopback interface. The software contains separate CLI commands for specifying the source interface for specific packets. You can configure a source interface for one or more of these types of packets separately. The following sections show the syntax for specifying a single source IP address for specific packet types.
971
Telnet packets To specify the lowest-numbered IP address configured on a virtual interface as the device source for all Telnet packets, enter commands such as the following.
Brocade(config)# interface loopback 2 Brocade(config-lbif-2)# ip address 10.0.0.2/24 Brocade(config-lbif-2)# exit Brocade(config)# ip telnet source-interface loopback 2
The commands in this example configure loopback interface 2, assign IP address 10.0.0.2/24 to the interface, then designate the interface as the source for all Telnet packets from the Layer 3 Switch. The following commands configure an IP interface on an Ethernet port and designate the address port as the source for all Telnet packets from the Layer 3 Switch.
Brocade(config)# interface ethernet 1/4 Brocade(config-if-1/4)# ip address 209.157.22.110/24 Brocade(config-if-1/4)# exit Brocade(config)# ip telnet source-interface ethernet 1/4
Syntax: [no] ip telnet source-interface ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> variable is required on chassis devices. The <portnum> variable is a valid port number. The <num> variable is a loopback interface or virtual interface number. TACACS/TACACS+ packets To specify the lowest-numbered IP address configured on a virtual interface as the device source for all TACACS/TACACS+ packets, enter commands such as the following.
Brocade(config)# interface ve 1 Brocade(config-vif-1)# ip address 10.0.0.3/24 Brocade(config-vif-1)# exit Brocade(config)# ip tacacs source-interface ve 1
The commands in this example configure virtual interface 1, assign IP address 10.0.0.3/24 to the interface, then designate the interface as the source for all TACACS/TACACS+ packets from the Layer 3 Switch. Syntax: [no] ip tacacs source-interface ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> variable is required on chassis devices. The <portnum> variable is a valid port number. The <num> variable is a loopback interface or virtual interface number. RADIUS packets To specify the lowest-numbered IP address configured on a virtual interface as the device source for all RADIUS packets, enter commands such as the following.
972
Brocade(config)# interface ve 1 Brocade(config-vif-1)# ip address 10.0.0.3/24 Brocade(config-vif-1)# exit Brocade(config)# ip radius source-interface ve 1
The commands in this example configure virtual interface 1, assign IP address 10.0.0.3/24 to the interface, then designate the interface as the source for all RADIUS packets from the Layer 3 Switch. Syntax: [no] ip radius source-interface ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> variable is required on chassis devices. The <portnum> variable is a valid port number. The <num> variable is a loopback interface or virtual interface number. TFTP packets To specify the lowest-numbered IP address configured on a virtual interface as the device source for all TFTP packets, enter commands such as the following.
Brocade(config)# interface ve 1 Brocade(config-vif-1)# ip address 10.0.0.3/24 Brocade(config-vif-1)# exit Brocade(config)# ip tftp source-interface ve 1
The commands in this example configure virtual interface 1, assign IP address 10.0.0.3/24 to the interface, then designate the interface's address as the source address for all TFTP packets. Syntax: [no] ip tftp source-interface ethernet [<slotnum>/<portnum> | loopback <num> | ve <num> The <slotnum> variable is required on chassis devices. The <portnum> variable is a valid port number. The <num> variable is a loopback interface or virtual interface number. The default is the lowest-numbered IP address configured on the port through which the packet is sent. The address therefore changes, by default, depending on the port. Syslog packets To specify the lowest-numbered IP address configured on a virtual interface as the device source for all Syslog packets, enter commands such as the following.
Brocade(config)# interface ve 1 Brocade(config-vif-1)# ip address 10.0.0.4/24 Brocade(config-vif-1)# exit Brocade(config)# ip syslog source-interface ve 1
The commands in this example configure virtual interface 1, assign IP address 10.0.0.4/24 to the interface, then designate the interface's address as the source address for all Syslog packets. Syntax: [no] ip syslog source-interface ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> variable is required on chassis devices.
973
The <portnum> variable is a valid port number. The <num> variable is a loopback interface or virtual interface number. The default is the lowest-numbered IP or IPv6 address configured on the port through which the packet is sent. The address therefore changes, by default, depending on the port. SNTP packets To specify the lowest-numbered IP address configured on a virtual interface as the device source for all SNTP packets, enter commands such as the following.
Brocade(config)# interface ve 1 Brocade(config-vif-1)# ip address 10.0.0.5/24 Brocade(config-vif-1)# exit Brocade(config)# ip sntp source-interface ve 1
The commands in this example configure virtual interface 1, assign IP address 10.0.0.5/24 to the interface, then designate the interface's address as the source address for all SNTP packets. Syntax: [no] ip sntp source-interface ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> variable is required on chassis devices. The <portnum> variable is a valid port number. The <num> variable is a loopback interface or virtual interface number. The default is the lowest-numbered IP or IPv6 address configured on the port through which the packet is sent. The address therefore changes, by default, depending on the port. SSH packets When you specify a single SSH source, you can use only that source address to establish SSH management sessions with the Brocade device. To specify the numerically lowest IP address configured on a loopback interface as the device source for all SSH packets, enter commands such as a the following.
Brocade(config)# interface loopback 2 Brocade(config-lbif-2)# ip address 10.0.0.2/24 Brocade(config-lbif-2)# exit Brocade(config)# ip ssh source-interface loopback 2
NOTE
The commands in this example configure loopback interface 2, assign IP address 10.0.0.2/24 to the interface, then designate the interface as the source for all SSH packets from the Layer 3 Switch. Syntax: [no] ip ssh source-interface ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> parameter is required on chassis devices. The <portnum> parameter is a valid port number. The <num> parameter is a loopback interface or virtual interface number.
974
SNMP packets To specify a loopback interface as the SNMP single source trap, enter commands such as the following.
Brocade(config)# interface loopback 1 Brocade(config-lbif-1)# ip address 10.0.0.1/24 Brocade(config-lbif-1)# exit Brocade(config)# snmp-server trap-source loopback 1
The commands in this example configure loopback interface 1, assign IP address 10.00.1/24 to the loopback interface, then designate the interface as the SNMP trap source for this device. Regardless of the port the Brocade device uses to send traps to the receiver, the traps always arrive from the same source IP address. Syntax: [no] snmp-server trap-source ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> variable is required on chassis devices. The <portnum> variable is a valid port number. The <num> variable is a loopback interface or virtual interface number.
NOTE
Brocade Layer 2 Switches also support ARP. The description in How ARP works also applies to ARP on Brocade Layer 2 Switches. However, the configuration options described later in this section apply only to Layer 3 Switches, not to Layer 2 Switches.
975
To obtain the MAC address required for forwarding a datagram, the Layer 3 Switch does the following:
First, the Layer 3 Switch looks in the ARP cache (not the static ARP table) for an entry that lists
the MAC address for the IP address. The ARP cache maps IP addresses to MAC addresses. The cache also lists the port attached to the device and, if the entry is dynamic, the age of the entry. A dynamic ARP entry enters the cache when the Layer 3 Switch receives an ARP reply or receives an ARP request (which contains the sender IP address and MAC address). A static entry enters the ARP cache from the static ARP table (which is a separate table) when the interface for the entry comes up. To ensure the accuracy of the ARP cache, each dynamic entry has its own age timer. The timer is reset to zero each time the Layer 3 Switch receives an ARP reply or ARP request containing the IP address and MAC address of the entry. If a dynamic entry reaches its maximum allowable age, the entry times out and the software removes the entry from the table. Static entries do not age out and can be removed only by you.
If the ARP cache does not contain an entry for the destination IP address, the Layer 3 Switch
broadcasts an ARP request out all its IP interfaces. The ARP request contains the IP address of the destination. If the device with the IP address is directly attached to the Layer 3 Switch, the device sends an ARP response containing its MAC address. The response is a unicast packet addressed directly to the Layer 3 Switch. The Layer 3 Switch places the information from the ARP response into the ARP cache. ARP requests contain the IP address and MAC address of the sender, so all devices that receive the request learn the MAC address and IP address of the sender and can update their own ARP caches accordingly.
NOTE
The ARP request broadcast is a MAC broadcast, which means the broadcast goes only to devices that are directly attached to the Layer 3 Switch. A MAC broadcast is not routed to other networks. However, some routers, including Brocade Layer 3 Switches, can be configured to reply to ARP requests from one network on behalf of devices on another network. Refer to Enabling proxy ARP on page 977.
If the router receives an ARP request packet that it is unable to deliver to the final destination because of the ARP timeout and no ARP response is received (the Layer 3 Switch knows of no route to the destination address), the router sends an ICMP Host Unreachable message to the source.
NOTE
976
To limit the number of ARP packets the device will accept each second, enter the rate-limit-arp command at the global CONFIG level of the CLI.
Brocade(config)# rate-limit-arp 100
This command configures the device to accept up to 100 ARP packets each second. If the device receives more than 100 ARP packets during a one-second interval, the device drops the additional ARP packets during the remainder of that one-second interval. Syntax: [no] rate-limit-arp <num> The <num> parameter specifies the number of ARP packets and can be from 0 through 100. If you specify 0, the device will not accept any ARP packets.
NOTE
If you want to change a previously configured the ARP rate limiting policy, you must remove the previously configured policy using the no rate-limit-arp <num> command before entering the new policy.
Syntax: ip arp-age <num> The <num> parameter specifies the number of minutes and can be from 0 through 240. The default is 10. If you specify 0, aging is disabled. To override the globally configured IP ARP age on an individual interface, enter a command such as the following at the interface configuration level.
Brocade(config-if-e1000-1/1)# ip arp-age 30
Syntax: [no] ip arp-age <num> The <num> parameter specifies the number of minutes and can be from 0 through 240. The default is the globally configured value, which is 10 minutes by default. If you specify 0, aging is disabled.
977
For example, if Proxy ARP is enabled on a Layer 3 Switch connected to two subnets, 10.10.10.0/24 and 20.20.20.0/24, the Layer 3 Switch can respond to an ARP request from 10.10.10.69 for the MAC address of the device with IP address 20.20.20.69. In standard ARP, a request from a device in the 10.10.10.0/24 subnet cannot reach a device in the 20.20.20.0 subnet if the subnets are on different network cables, and thus is not answered. An ARP request from one subnet can reach another subnet when both subnets are on the same physical segment (Ethernet cable), because MAC-layer broadcasts reach all the devices on the segment. Proxy ARP is disabled by default on Brocade Layer 3 Switches. This feature is not supported on Brocade Layer 2 Switches. You can enable proxy ARP at the Interface level, as well as at the Global CONFIG level, of the CLI. Configuring proxy ARP at the Interface level overrides the global configuration. Enabling proxy ARP globally To enable IP proxy ARP on a global basis, enter the ip proxy-arp command.
Brocade(config)# ip proxy-arp
NOTE
NOTE
To again disable IP proxy ARP on a global basis, enter the no ip proxy-arp command.
Brocade(config)# no ip proxy-arp
Syntax: [no] ip proxy-arp Enabling IP ARP on an interface Configuring proxy ARP at the Interface level overrides the global configuration. To enable IP proxy ARP on an interface, enter the following commands.
Brocade(config)# interface ethernet 5 Brocade(config-if-e1000-5)# ip proxy-arp enable
NOTE
978
When Local Proxy ARP is enabled on a router port, the port will respond to ARP requests for IP addresses within the same subnet, if it has ARP entries for the destination IP addresses in the ARP cache. If it does not have ARP entries for the IP addresses, the port will attempt to resolve them by broadcasting its own ARP requests. Local Proxy ARP is disabled by default. To use Local Proxy ARP, Proxy ARP (ip proxy-arp command) must be enabled globally on the Brocade device. You can enter the CLI command to enable Local Proxy ARP even though Proxy ARP is not enabled, however, the configuration will not take effect until you enable Proxy ARP. Use the show run command to view the ports on which Local Proxy ARP is enabled. To enable Local Proxy ARP, enter commands such as the following.
Brocade(config)# interface ethernet 4 Brocade(config-if-e1000-4)# ip local-proxy-arp
Syntax: [no] ip local-proxy-arp Use the no form of the command to disable Local Proxy ARP.
NOTE
To display the ARP table, refer to Displaying the ARP cache on page 1064. To display the static ARP table, refer to Displaying the static ARP table on page 1066.
To create a static ARP entry, enter a command such as the following.
Brocade(config)# arp 1 192.53.4.2 1245.7654.2348 ethernet 1/2
Syntax: arp <num> <ip-addr> <mac-addr> ethernet <port> The <num> parameter specifies the entry number. You can specify a number from 1 up to the maximum number of static entries allowed on the device. The <ip-addr> parameter specifies the IP address of the device that has the MAC address of the entry. The <mac-addr> parameter specifies the MAC address of the entry. The ethernet <port> command specifies the port number attached to the device that has the MAC address of the entry. Specify the <port> variable in one of the following formats:
979
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
Changing the maximum number of entries the static ARP table can hold Table 167 on page 980 lists the default maximum and configurable maximum number of entries in the static ARP table that are supported on a Brocade Layer 3 Switch. If you need to change the maximum number of entries supported on a Layer 3 Switch, use the method described in this section. The basic procedure for changing the static ARP table size is the same as the procedure for changing other configurable cache or table sizes. Refer to the section Displaying system parameter default values on page 577. To increase the maximum number of static ARP table entries you can configure on a Brocade Layer 3 Switch, enter commands such as the following at the global CONFIG level of the CLI.
Brocade(config)# system-max ip-static-arp 1000 Brocade(config)# write memory Brocade(config)# end Brocade# reload
NOTE
NOTE
You must save the configuration to the startup-config file and reload the software after changing the static ARP table size to place the change into effect. Syntax: system-max ip-static-arp <num> The <num> parameter indicates the maximum number of static ARP entries and can be within one of the ranges shown in Table 167, depending on the software version running on the device.
TABLE 167
Default maximum
Time-To-Live (TTL) threshold Forwarding of directed broadcasts Forwarding of source-routed packets Ones-based and zero-based broadcasts
All these parameters are global and thus affect all IP interfaces configured on the Layer 3 Switch.
980
NOTE
A less common type, the all-subnets broadcast, goes to all directly-attached subnets. Forwarding for this broadcast type also is supported, but most networks use IP multicasting instead of all-subnet broadcasting. Forwarding for all types of IP directed broadcasts is disabled by default. You can enable forwarding for all types if needed. You cannot enable forwarding for specific broadcast types. To enable forwarding of IP directed broadcasts, enter the ip directed-broadcast command.
Brocade(config)# ip directed-broadcast
Syntax: [no] ip directed-broadcast Brocade software makes the forwarding decision based on the router's knowledge of the destination network prefix. Routers cannot determine that a message is unicast or directed broadcast apart from the destination network prefix. The decision to forward or not forward the message is by definition only possible in the last hop router. To disable the directed broadcasts, enter the no ip directed-broadcast command in the CONFIG mode.
Brocade(config)# no ip directed-broadcast
To enable directed broadcasts on an individual interface instead of globally for all interfaces, enter commands such as the following.
Brocade(config)# interface ethernet 1/1 Brocade(config-if-1/1)# ip directed-broadcast
981
Strict source routing requires the packet to pass through only the listed routers. If the Layer 3
Switch receives a strict source-routed packet but cannot reach the next hop interface specified by the packet, the Layer 3 Switch discards the packet and sends an ICMP Source-Route-Failure message to the sender.
NOTE
The Layer 3 Switch allows you to disable sending of the Source-Route-Failure messages. Refer to Disabling ICMP messages on page 983.
Loose source routing requires that the packet pass through all of the listed routers but also
allows the packet to travel through other routers, which are not listed in the packet. The Layer 3 Switch forwards both types of source-routed packets by default. To disable the feature, use either of the following methods. You cannot enable or disable strict or loose source routing separately. To disable forwarding of IP source-routed packets, enter the no ip source-route command.
Brocade(config)# no ip source-route
Syntax: [no] ip source-route To re-enable forwarding of source-routed packets, enter the ip source-route command.
Brocade(config)# ip source-route
NOTE
NOTE
This feature applies only to IP subnet broadcasts, not to local network broadcasts. The local network broadcast address is still expected to be all ones. To enable the Layer 3 Switch for zero-based IP subnet broadcasts in addition to ones-based IP subnet broadcasts, enter the following command.
982
You must save the configuration and reload the software to place this configuration change into effect. Syntax: [no] ip broadcast-zero
NOTE
Echo messages (ping messages) The Layer 3 Switch replies to IP pings from other IP devices. Destination Unreachable messages If the Layer 3 Switch receives an IP packet that it cannot
deliver to its destination, the Layer 3 Switch discards the packet and sends a message back to the device that sent the packet to the Layer 3 Switch. The message informs the device that the destination cannot be reached by the Layer 3 Switch. Disabling replies to broadcast ping requests By default, Brocade devices are enabled to respond to broadcast ICMP echo packets, which are ping requests. To disable response to broadcast ICMP echo packets (ping requests), enter the following command.
Brocade(config)# no ip icmp echo broadcast-request
Syntax: [no] ip icmp echo broadcast-request If you need to re-enable response to ping requests, enter the following command.
Brocade(config)# ip icmp echo broadcast-request
Disabling ICMP destination unreachable messages By default, when a Brocade device receives an IP packet that the device cannot deliver, the device sends an ICMP Unreachable message back to the host that sent the packet. You can selectively disable a Brocade device response to the following types of ICMP Unreachable messages:
Administration The packet was dropped by the Brocade device due to a filter or ACL
configured on the device.
Fragmentation-needed The packet has the Do not Fragment bit set in the IP Flag field, but
the Brocade device cannot forward the packet without fragmenting it.
Host The destination network or subnet of the packet is directly connected to the Brocade
device, but the host specified in the destination IP address of the packet is not on the network.
Port The destination host does not have the destination TCP or UDP port specified in the
packet. In this case, the host sends the ICMP Port Unreachable message to the Brocade device, which in turn sends the message to the host that sent the packet.
983
Protocol The TCP or UDP protocol on the destination host is not running. This message is
different from the Port Unreachable message, which indicates that the protocol is running on the host but the requested protocol port is unavailable.
Source-route-failure The device received a source-routed packet but cannot locate the
next-hop IP address indicated in the packet Source-Route option. You can disable the Brocade device from sending these types of ICMP messages on an individual basis. To do so, use the following CLI method.
NOTE
Disabling an ICMP Unreachable message type does not change the Brocade device ability to forward packets. Disabling ICMP Unreachable messages prevents the device from generating or forwarding the Unreachable messages. To disable all ICMP Unreachable messages, enter the no ip icmp unreachable command.
Brocade(config)# no ip icmp unreachable
Syntax: [no] ip icmp unreachable [host | protocol | administration | fragmentation-needed | port | source-route-fail]
If you enter the command without specifying a message type (as in the example above), all
types of ICMP Unreachable messages listed above are disabled. If you want to disable only specific types of ICMP Unreachable messages, you can specify the message type. To disable more than one type of ICMP message, enter the no ip icmp unreachable command for each messages type.
The host parameter disables ICMP Host Unreachable messages. The port parameter disables ICMP Port Unreachable messages. The protocol parameter disables ICMP Protocol Unreachable messages. The source-route-fail parameter disables ICMP Unreachable (caused by Source-Route-Failure) messages.
To disable ICMP Host Unreachable messages but leave the other types of ICMP Unreachable messages enabled, enter the following commands instead of the command shown above.
Brocade(config)# no ip icmp unreachable host
If you have disabled all ICMP Unreachable message types but you want to re-enable certain types, for example ICMP Host Unreachable messages, you can do so by entering the following command.
Brocade(config)# ip icmp unreachable host
984
FESX and FSX devices do not generate ICMP redirect and network unreachable messages.
NOTE
The device forwards misdirected traffic to the appropriate router, even if you disable the redirect messages. To disable ICMP redirect messages globally, enter the following command at the global CONFIG level of the CLI:
Brocade(config)# no ip icmp redirect
NOTE
Syntax: [no] ip icmp redirects To disable ICMP redirect messages on a specific interface, enter the following command at the configuration level for the interface:
Brocade(config)# interface ethernet 3/11 Brocade(config-if-e1000-3/11)# no ip redirect
Directly-connected networks When you add an IP interface, the Layer 3 Switch automatically
creates a route for the network the interface is in.
RIP If RIP is enabled, the Layer 3 Switch can learn about routes from the advertisements
other RIP routers send to the Layer 3 Switch. If the route has a lower administrative distance than any other routes from different sources to the same destination, the Layer 3 Switch places the route in the IP route table.
OSPF Refer to RIP, but substitute OSPF for RIP. BGP4 Refer to RIP, but substitute BGP4 for RIP. Default network route A statically configured default route that the Layer 3 Switch uses if
other default routes to the destination are not available. Refer to Configuring a default network route on page 994.
Statically configured route You can add routes directly to the route table. When you add a
route to the IP route table, you are creating a static IP route. This section describes how to add static routes to the IP route table.
Standard the static route consists of the destination network address and network mask,
and the IP address of the next-hop gateway. You can configure multiple standard static routes with the same metric for load sharing or with different metrics to provide a primary route and backup routes.
Interface-based the static route consists of the destination network address and network
mask, and the Layer 3 Switch interface through which you want the Layer 3 Switch to send traffic for the route. Typically, this type of static route is for directly attached destination networks.
985
Null the static route consists of the destination network address and network mask, and the
null0 parameter. Typically, the null route is configured as a backup route for discarding traffic if the primary route is unavailable.
The IP address and network mask for the route destination network. The route path, which can be one of the following: - The IP address of a next-hop gateway - An Ethernet port - A virtual interface (a routing interface used by VLANs for routing Layer 3 protocol traffic
among one another)
A null interface. The Layer 3 Switch drops traffic forwarded to the null interface.
The metric for the route The value the Layer 3 Switch uses when comparing this route to
other routes in the IP route table to the same destination. The metric applies only to routes that the Layer 3 Switch has already placed in the IP route table. The default metric for static IP routes is 1.
The administrative distance for the route The value that the Layer 3 Switch uses to compare
this route with routes from other route sources to the same destination before placing a route in the IP route table. This parameter does not apply to routes that are already in the IP route table. The default administrative distance for static IP routes is 1. The default metric and administrative distance values ensure that the Layer 3 Switch always prefers static IP routes over routes from other sources to the same destination.
Multiple static routes to the same destination provide load sharing and redundancy
You can add multiple static routes for the same destination network to provide one or more of the following benefits:
IP load balancing When you add multiple IP static routes for the same destination to different
next-hop gateways, and the routes each have the same metric and administrative distance, the Layer 3 Switch can load balance traffic to the routes destination. For information about IP load balancing, refer to Configuring IP load sharing on page 995.
Path redundancy When you add multiple static IP routes for the same destination, but give
the routes different metrics or administrative distances, the Layer 3 Switch uses the route with the lowest administrative distance by default, but uses another route to the same destination if the first route becomes unavailable. Refer to the following sections for examples and configuration information:
Configuring load balancing and redundancy using multiple static routes to the same
destination on page 990
Configuring standard static IP routes and interface or null static routes to the same
destination on page 991
986
Switch A
e 1/2
Switch B
207.95.7.69/24
The following command configures a static route to 207.95.7.0, using 207.95.6.157 as the next-hop gateway.
Brocade(config)# ip route 207.95.7.0/24 207.95.6.157
When you configure a static IP route, you specify the destination address for the route and the next-hop gateway or Layer 3 Switch interface through which the Layer 3 Switch can reach the route. The Layer 3 Switch adds the route to the IP route table. In this case, Switch A knows that 207.95.6.157 is reachable through port 1/2, and also assumes that local interfaces within that subnet are on the same port. Switch A deduces that IP interface 207.95.7.188 is also on port 1/2. The software automatically removes a static IP route from the IP route table if the port used by that route becomes unavailable. When the port becomes available again, the software automatically re-adds the route to the IP route table.
To configure a static IP route with an Ethernet port instead of a next-hop address, enter a command such as the following.
Brocade(config)# ip route 192.128.2.69 255.255.255.0 ethernet 4/1
The command in the previous example configures a static IP route for destination network 192.128.2.69/24. Since an Ethernet port is specified instead of a gateway IP address as the next hop, the Layer 3 Switch always forwards traffic for the 192.128.2.69/24 network to port 4/1. The command in the following example configures an IP static route that uses virtual interface 3 as its next hop.
987
The command in the following example configures an IP static route that uses port 2/2 as its next hop.
Brocade(config)# ip route 192.128.2.73 255.255.255.0 ethernet 2/2
Syntax: ip route <dest-ip-addr> <dest-mask> <next-hop-ip-addr> | ethernet [<slotnum>/]<portnum> | ve <num> [<metric>] [distance <num>] or Syntax: ip route <dest-ip-addr>/<mask-bits> <next-hop-ip-addr> | ethernet [<slotnum>/]<portnum> | ve <num> [<metric>] [distance <num>] The <dest-ip-addr> is the route destination. The <dest-mask> is the network mask for the route destination IP address. Alternatively, you can specify the network mask information by entering a forward slash followed by the number of bits in the network mask. For example, you can enter 192.0.0.0 255.255.255.0 as 192.0.0.0/.24. The <next-hop-ip-addr> is the IP address of the next-hop router (gateway) for the route. If you do not want to specify a next-hop IP address, you can instead specify a port or interface number on the Layer 3 Switch. The <num> parameter is a virtual interface number. If you instead specify an Ethernet port, the <portnum> is the port number (including the slot number, if you are configuring a Chassis device). In this case, the Layer 3 Switch forwards packets destined for the static route destination network to the specified interface. Conceptually, this feature makes the destination network like a directly connected network, associated with a specific Layer 3 Switch interface.
NOTE
The port or virtual interface you use for the static route next hop must have at least one IP address configured on it. The address does not need to be in the same subnet as the destination network. The <metric> parameter can be a number from 1 through 16. The default is 1. If you specify 16, RIP considers the metric to be infinite and thus also considers the route to be unreachable. The distance <num> parameter specifies the administrative distance of the route. When comparing otherwise equal routes to a destination, the Layer 3 Switch prefers lower administrative distances over higher ones, so make sure you use a low value for your default route. The default is 1. The Layer 3 Switch will replace the static route if the it receives a route with a lower administrative distance. Refer to Administrative distance on page 1259 for a list of the default administrative distances for all types of routes.
NOTE
NOTE
NOTE
You can also assign the default router as the destination by entering 0.0.0.0 0.0.0.0 xxx.xxx.xxx.xxx.
988
Syntax: ip route <ip-addr> <ip-mask> null0 [<metric>] [distance <num>] or Syntax: ip route <ip-addr>/<mask-bits> null0 [<metric>] [distance <num>] To display the maximum value for your device, enter the show default values command. The maximum number of static IP routes the system can hold is listed in the ip-static-route row in the System Parameters section of the display. To change the maximum value, use the system-max ip-static-route <num> command at the global CONFIG level. The <ip-addr> parameter specifies the network or host address. The Layer 3 Switch will drop packets that contain this address in the destination field instead of forwarding them. The <ip-mask> parameter specifies the network mask. Ones are significant bits and zeros allow any value. For example, the mask 255.255.255.0 matches on all hosts within the Class C subnet address specified by <ip-addr>. Alternatively, you can specify the number of bits in the network mask. For example, you can enter 209.157.22.0/24 instead of 209.157.22.0 255.255.255.0. The null0 parameter indicates that this is a null route. You must specify this parameter to make this a null route. The <metric> parameter adds a cost to the route. You can specify from 1 through 16. The default is 1. The distance <num> parameter configures the administrative distance for the route. You can specify a value from 1 through 255. The default is 1. The value 255 makes the route unusable. The last two parameters are optional and do not affect the null route, unless you configure the administrative distance to be 255. In this case, the route is not used and the traffic might be forwarded instead of dropped.
NOTE
989
Configuring load balancing and redundancy using multiple static routes to the same destination
You can configure multiple static IP routes to the same destination, for the following benefits:
IP load sharing If you configure more than one static route to the same destination, and the
routes have different next-hop gateways but have the same metrics, the Layer 3 Switch load balances among the routes using basic round-robin. For example, if you configure two static routes with the same metrics but to different gateways, the Layer 3 Switch alternates between the two routes. For information about IP load balancing, refer to Configuring IP load sharing on page 995.
Backup Routes If you configure multiple static IP routes to the same destination, but give the
routes different next-hop gateways and different metrics, the Layer 3 Switch will always use the route with the lowest metric. If this route becomes unavailable, the Layer 3 Switch will fail over to the static route with the next-lowest metric, and so on. You also can bias the Layer 3 Switch to select one of the routes by configuring them with different administrative distances. However, make sure you do not give a static route a higher administrative distance than other types of routes, unless you want those other types to be preferred over the static route. For a list of the default administrative distances, refer to Administrative distance on page 1259. The steps for configuring the static routes are the same as described in the previous section. The following sections provide examples. To configure multiple static IP routes, enter commands such as the following.
Brocade(config)# ip route 192.128.2.69 255.255.255.0 209.157.22.1 Brocade(config)# ip route 192.128.2.69 255.255.255.0 192.111.10.1
NOTE
The commands in the previous example configure two static IP routes. The routes go to different next-hop gateways but have the same metrics. These commands use the default metric value (1), so the metric is not specified. These static routes are used for load sharing among the next-hop gateways. The following commands configure static IP routes to the same destination, but with different metrics. The route with the lowest metric is used by default. The other routes are backups in case the first route becomes unavailable. The Layer 3 Switch uses the route with the lowest metric if the route is available.
Brocade(config)# ip route 192.128.2.69 255.255.255.0 209.157.22.1 Brocade(config)# ip route 192.128.2.69 255.255.255.0 192.111.10.1 2 Brocade(config)# ip route 192.128.2.69 255.255.255.0 201.1.1.1 3
In this example, each static route has a different metric. The metric is not specified for the first route, so the default (1) is used. A metric is specified for the second and third static IP routes. The second route has a metric of two and the third route has a metric of 3. Thus, the second route is used only of the first route (which has a metric of 1) becomes unavailable. Likewise, the third route is used only if the first and second routes (which have lower metrics) are both unavailable. For complete syntax information, refer to Configuring a static IP route on page 987.
990
Configuring standard static IP routes and interface or null static routes to the same destination
You can configure a null0 or interface-based static route to a destination and also configure a normal static route to the same destination, so long as the route metrics are different. When the Layer 3 Switch has multiple routes to the same destination, the Layer 3 Switch always prefers the route with the lowest metric. Generally, when you configure a static route to a destination network, you assign the route a low metric so that the Layer 3 Switch prefers the static route over other routes to the destination. This feature is especially useful for the following configurations. These are not the only allowed configurations but they are typical uses of this enhancement:
When you want to ensure that if a given destination network is unavailable, the Layer 3 Switch
drops (forwards to the null interface) traffic for that network instead of using alternate paths to route the traffic. In this case, assign the normal static route to the destination network a lower metric than the null route.
When you want to use a specific interface by default to route traffic to a given destination
network, but want to allow the Layer 3 Switch to use other interfaces to reach the destination network if the path that uses the default interface becomes unavailable. In this case, give the interface route a lower metric than the normal static route. You cannot add a null or interface-based static route to a network if there is already a static route of any type with the same metric you specify for the null or interface-based route. Figure 114 shows an example of two static routes configured for the same destination network. In this example, one of the routes is a standard static route and has a metric of 1. The other static route is a null route and has a higher metric than the standard static route. The Layer 3 Switch always prefers the static route with the lower metric. In this example, the Layer 3 Switch always uses the standard static route for traffic to destination network 192.168.7.0/24, unless that route becomes unavailable, in which case the Layer 3 Switch sends traffic to the null route instead.
NOTE
FIGURE 114 Standard and null static routes to the same destination network
991
Two static routes to 192.168.7.0/24: --Standard static route through gateway 192.168.6.157, with metric 1 --Null route, with metric 2
192.168.6.188/24 Switch A
192.168.6.157/24 Switch B
192.168.7.7/24
192.168.7.69/24
Switch A
192.168.6.188/24
192.168.6.157/24
Switch B
192.168.7.7/24
If standard static route is unavailable, Switch A uses the null route (in effect dropping instead of forwarding the packets).
192.168.7.69/24
Null
Figure 115 shows another example of two static routes. In this example, a standard static route and an interface-based static route are configured for destination network 192.168.6.0/24. The interface-based static route has a lower metric than the standard static route. As a result, the Layer 3 Switch always prefers the interface-based route when the route is available. However, if the interface-based route becomes unavailable, the Layer 3 Switch still forwards the traffic toward the destination using an alternate route through gateway 192.168.8.11/24.
992
FIGURE 115 Standard and interface routes to the same destination network
Two static routes to 192.168.7.0/24: --Interface-based route through Port1/1, with metric 1. --Standard static route through gateway 192.168.8.11, with metric 3.
192.168.6.188/24 Port1/1 When route through interface 1/1 is available, Switch A always uses that route.
192.168.6.69/24
192.168.8.11/24 Switch B If route through interface 1/1 becomes unavailable, Switch A uses alternate route through gateway 192.168.8.11/24. Switch C Switch D
To configure a standard static IP route and a null route to the same network as shown in Figure 114 on page 991, enter commands such as the following.
Brocade(config)# ip route 192.168.7.0/24 192.168.6.157/24 1 Brocade(config)# ip route 192.168.7.0/24 null0 3
The first command configures a standard static route, which includes specification of the next-hop gateway. The command also gives the standard static route a metric of 1, which causes the Layer 3 Switch to always prefer this route when the route is available. The second command configures another static route for the same destination network, but the second route is a null route. The metric for the null route is 3, which is higher than the metric for the standard static route. If the standard static route is unavailable, the software uses the null route. For complete syntax information, refer to Configuring a static IP route on page 987. To configure a standard static route and an interface-based route to the same destination, enter commands such as the following.
Brocade(config)# ip route 192.168.6.0/24 ethernet 1/1 1 Brocade(config)# ip route 192.168.6.0/24 192.168.8.11/24 3
The first command configured an interface-based static route through Ethernet port 1/1. The command assigns a metric of 1 to this route, causing the Layer 3 Switch to always prefer this route when it is available. If the route becomes unavailable, the Layer 3 Switch uses an alternate route through the next-hop gateway 192.168.8.11/24.
993
Are the routes from different routing protocols (RIP, OSPF, or BGP4)? If so, use the route
with the lowest IP address.
If the routes are from the same routing protocol, use the route with the best metric. The
meaning of best metric depends on the routing protocol:
RIP The metric is the number of hops (additional routers) to the destination. The best
route is the route with the fewest hops.
OSPF The metric is the path cost associated with the route. The path cost does not
indicate the number of hops but is instead a numeric value associated with each route. The best route is the route with the lowest path cost.
BGP4 The metric is the Multi-exit Discriminator (MED) associated with the route. The
MED applies to routes that have multiple paths through the same AS. The best route is the route with the lowest MED.
Syntax: ip default-network <ip-addr> The <ip-addr> parameter specifies the network address.
994
To verify that the route is in the route table, enter the following command at any level of the CLI.
Brocade# show ip route Total number of IP routes: 2 Start index: 1 B:BGP D:Connected R:RIP Destination NetMask 1 209.157.20.0 255.255.255.0 2 209.157.22.0 255.255.255.0
This example shows two routes. Both of the routes are directly attached, as indicated in the Type column. However, one of the routes is shown as type *D, with an asterisk (*). The asterisk indicates that this route is a candidate default network route.
NOTE
IP load sharing is based on next-hop routing, and not on source routing.
NOTE
The term path refers to the next-hop router to a destination, not to the entire route to a destination. Thus, when the software compares multiple equal-cost paths, the software is comparing paths that use different next-hop routers, with equal costs, to the same destination. In many contexts, the terms route and path mean the same thing. Most of the user documentation uses the term route throughout. The term path is used in this section to refer to an individual next-hop router to a destination, while the term route refers collectively to the multiple paths to the destination. Load sharing applies when the IP route table contains multiple, equal-cost paths to a destination.
Brocade devices also perform load sharing among the ports in aggregate links. Refer to Trunk group load sharing on page 704.
NOTE
IP static routes Routes learned through RIP Routes learned through OSPF
1. IP load sharing is also called Equal-Cost Multi-Path (ECMP) load sharing or just ECMP
995
Directly connected 0 (this value is not configurable) Static IP route 1 (applies to all static routes, including default routes and default network
routes)
Exterior Border Gateway Protocol (EBGP) 20 OSPF 110 RIP 120 Interior Gateway Protocol (IBGP) 200 Local BGP 200 Unknown 255 (the router will not use this route)
Lower administrative distances are preferred over higher distances. For example, if the router receives routes for the same network from OSPF and from RIP, the router will prefer the OSPF route by default. You can change the administrative distances individually. Refer to the configuration chapter for the route source for information. Since the software selects only the path with the lowest administrative distance, and the administrative distance is determined by the path source, IP load sharing does not apply to paths from different route sources. IP load sharing applies only when the IP route table contains multiple paths to the same destination, from the same IP route source. IP load sharing does not apply to paths that come from different sources. Path cost The cost parameter provides a common basis of comparison for selecting from among multiple paths to a given destination. Each path in the IP route table has a cost. When the IP route table contains multiple paths to a destination, the Layer 3 Switch chooses the path with the lowest cost. When the IP route table contains more than one path with the lowest cost to a destination, the Layer 3 Switch uses IP load sharing to select one of the lowest-cost paths.
NOTE
996
The source of a path cost value depends on the source of the path:
IP static route The value you assign to the metric parameter when you configure the route.
The default metric is 1. Refer to Configuring load balancing and redundancy using multiple static routes to the same destination on page 990.
RIP The number of next-hop routers to the destination. OSPF The Path Cost associated with the path. The paths can come from any combination of
inter-area, intra-area, and external Link State Advertisements (LSAs).
NOTE
TABLE 168
See...
FCX
81 8 8 4
1
61 6 6 4
1
This value depends on the value for IP load sharing, and is not separately configurable.
If the IP forwarding sharing cache contains a forwarding entry for the destination, the device
uses the entry to forward the traffic.
997
If the IP load forwarding cache does not contain a forwarding entry for the destination, the
software selects a path from among the available equal-cost paths to the destination, then creates a forwarding entry in the cache based on the calculation. Subsequent traffic for the same destination uses the forwarding entry.
TABLE 169
FESX FSX 800 FSX 1600
6
For optimal results, set the maximum number of paths to a value at least as high as the maximum number of equal-cost paths your network typically contains. For example, if the Layer 3 Switch you are configuring for IP load sharing has six next-hop routers, set the maximum paths value to six.
NOTE
If the setting for the maximum number of paths is lower than the actual number of equal-cost paths, the software does not use all the paths for load sharing for RIP routes. Run the clear ip route command to fix this issue. To change the number of IP load sharing paths, enter a command such as the following.
Brocade(config)# ip load-sharing 6
Syntax: [no] ip load-sharing [<num>] The <num> parameter specifies the number of paths and can be from 2 through 8, depending on the device you are configuring.
If you enable the feature globally, all ports use the default values for the IRDP parameters.
998
If you leave the feature disabled globally but enable it on individual ports, you also can
configure the IRDP parameters on an individual port basis.
NOTE
You can configure IRDP parameters only an individual port basis. To do so, IRDP must be disabled globally and enabled only on individual ports. You cannot configure IRDP parameters if the feature is globally enabled. When IRDP is enabled, the Layer 3 Switch periodically sends Router Advertisement messages out the IP interfaces on which the feature is enabled. The messages advertise the Layer 3 Switch IP addresses to directly attached hosts who listen for the messages. In addition, hosts can be configured to query the Layer 3 Switch for the information by sending Router Solicitation messages. Some types of hosts use the Router Solicitation messages to discover their default gateway. When IRDP is enabled on the Brocade Layer 3 Switch, the Layer 3 Switch responds to the Router Solicitation messages. Some clients interpret this response to mean that the Layer 3 Switch is the default gateway. If another router is actually the default gateway for these clients, leave IRDP disabled on the Brocade Layer 3 Switch.
IRDP parameters
IRDP uses the following parameters. If you enable IRDP on individual ports instead of enabling the feature globally, you can configure these parameters on an individual port basis:
Packet type The Layer 3 Switch can send Router Advertisement messages as IP broadcasts
or as IP multicasts addressed to IP multicast group 224.0.0.1. The packet type is IP broadcast.
Maximum message interval and minimum message interval When IRDP is enabled, the
Layer 3 Switch sends the Router Advertisement messages every 450 600 seconds by default. The time within this interval that the Layer 3 Switch selects is random for each message and is not affected by traffic loads or other network factors. The random interval minimizes the probability that a host will receive Router Advertisement messages from other routers at the same time. The interval on each IRDP-enabled Layer 3 Switch interface is independent of the interval on other IRDP-enabled interfaces. The default maximum message interval is 600 seconds. The default minimum message interval is 450 seconds.
Hold time Each Router Advertisement message contains a hold time value. This value
specifies the maximum amount of time the host should consider an advertisement to be valid until a newer advertisement arrives. When a new advertisement arrives, the hold time is reset. The hold time is always longer than the maximum advertisement interval. Therefore, if the hold time for an advertisement expires, the host can reasonably conclude that the router interface that sent the advertisement is no longer available. The default hold time is three times the maximum message interval.
999
This command enables IRDP on the IP interfaces on all ports. Each port uses the default values for the IRDP parameters. The parameters are not configurable when IRDP is globally enabled.
This example shows how to enable IRDP on a specific port and change the maximum advertisement interval for Router Advertisement messages to 400 seconds. To enable IRDP on individual ports, you must leave the feature globally disabled. Syntax: [no] ip irdp [broadcast | multicast] [holdtime <seconds>] [maxadvertinterval <seconds>] [minadvertinterval <seconds>] [preference <number>] The broadcast | multicast parameter specifies the packet type the Layer 3 Switch uses to send Router Advertisement:
NOTE
broadcast The Layer 3 Switch sends Router Advertisement as IP broadcasts. This is the
default.
multicast The Layer 3 Switch sends Router Advertisement as multicast packets addressed to
IP multicast group 224.0.0.1. The holdtime <seconds> parameter specifies how long a host that receives a Router Advertisement from the Layer 3 Switch should consider the advertisement to be valid. When a host receives a new Router Advertisement message from the Layer 3 Switch, the host resets the hold time for the Layer 3 Switch to the hold time specified in the new advertisement. If the hold time of an advertisement expires, the host discards the advertisement, concluding that the router interface that sent the advertisement is no longer available. The value must be greater than the value of the maxadvertinterval parameter and cannot be greater than 9000. The default is three times the value of the maxadvertinterval parameter. The maxadvertinterval parameter specifies the maximum amount of time the Layer 3 Switch waits between sending Router Advertisements. You can specify a value from 1 to the current value of the holdtime parameter. The default is 600 seconds. The minadvertinterval parameter specifies the minimum amount of time the Layer 3 Switch can wait between sending Router Advertisements. The default is three-fourths (0.75) the value of the maxadvertinterval parameter. If you change the maxadvertinterval parameter, the software automatically adjusts the minadvertinterval parameter to be three-fourths the new value of the maxadvertinterval parameter. If you want to override the automatically configured value, you can specify an interval from 1 to the current value of the maxadvertinterval parameter. The preference <number> parameter specifies the IRDP preference level of this Layer 3 Switch. If a host receives Router Advertisements from multiple routers, the host selects the router interface that sent the message with the highest interval as the host default gateway. The valid range is 0-4294967296 to 0-4294967295. The default is 0.
1000
The entry number the entry sequence number in the RARP table. The MAC address of the boot client. The IP address you want the Layer 3 Switch to give to the client.
When a client sends a RARP broadcast requesting an IP address, the Layer 3 Switch responds to the request by looking in the RARP table for an entry that contains the client MAC address:
If the RARP table contains an entry for the client, the Layer 3 Switch sends a unicast response
to the client that contains the IP address associated with the client MAC address in the RARP table.
If the RARP table does not contain an entry for the client, the Layer 3 Switch silently discards
the RARP request and does not reply to the client.
Location of configured host addresses: - RARP requires static configuration of the host IP addresses on the Layer 3 Switch. The
Layer 3 Switch replies directly to a host request by sending an IP address you have configured in the RARP table.
The Layer 3 Switch forwards BootP and DHCP requests to a third-party BootP/DHCP server that contains the IP addresses and other host configuration information.
Connection of host to boot source (Layer 3 Switch or BootP/DHCP server): - RARP requires the IP host to be directly attached to the Layer 3 Switch. - An IP host and the BootP/DHCP server can be on different networks and on different
routers, so long as the routers are configured to forward (help) the host boot request to the boot server.
You can centrally configure other host parameters on the BootP/DHCP server, in addition to the IP address, and supply those parameters to the host along with its IP address.
To configure the Layer 3 Switch to forward BootP/DHCP requests when boot clients and the boot servers are on different subnets on different Layer 3 Switch interfaces, refer to BootP and DHCP relay parameter configuration on page 1005.
1001
Disabling RARP
RARP is enabled by default. To disable RARP, enter the following command at the global CONFIG level.
Brocade(config)# no ip rarp
This command creates a RARP entry for a client with MAC address 1245.7654.2348. When the Layer 3 Switch receives a RARP request from this client, the Layer 3 Switch replies to the request by sending IP address 192.53.4.2 to the client. Syntax: rarp <number> <mac-addr>.<ip-addr> The <number> parameter identifies the RARP entry number. You can specify an unused number from 1 to the maximum number of RARP entries supported on the device. To determine the maximum number of entries supported on the device, refer to the section Displaying and modifying system parameter default settings on page 577. The <mac-addr> parameter specifies the MAC address of the RARP client. The <ip-addr> parameter specifies the IP address the Layer 3 Switch will give the client in response to the client RARP request.
NOTE
1002
Enable forwarding support for the UDP application port, if forwarding support is not already
enabled.
Configure a helper adders on the interface connected to the clients. Specify the helper
address to be the IP address of the application server or the subnet directed broadcast address for the IP subnet the server is in. A helper address is associated with a specific interface and applies only to client requests received on that interface. The Layer 3 Switch forwards client requests for any of the application ports the Layer 3 Switch is enabled to forward to the helper address. Forwarding support for the following application ports is enabled by default:
bootps (port 67) dns (port 53) tftp (port 69) time (port 37) netbios-ns (port 137) netbios-dgm (port 138) tacacs (port 65)
NOTE
The application names are the names for these applications that the Layer 3 Switch software recognizes, and might not match the names for these applications on some third-party devices. The numbers listed in parentheses are the UDP port numbers for the applications. The numbers come from RFC 1340.
Forwarding support for BootP/DHCP is enabled by default. If you are configuring the Layer 3 Switch to forward BootP/DHCP requests, refer to BootP and DHCP relay parameter configuration on page 1005. You can enable forwarding for other applications by specifying the application port number. You also can disable forwarding for an application. If you disable forwarding for a UDP application, forwarding of client requests received as broadcasts to helper addresses is disabled. Disabling forwarding of an application does not disable other support for the application. For example, if you disable forwarding of Telnet requests to helper addresses, other Telnet support on the Layer 3 Switch is not also disabled.
NOTE
NOTE
1003
NOTE
Syntax: [no] ip forward-protocol udp <udp-port-name> | <udp-port-num> The <udp-port-name> parameter can have one of the following values. For reference, the corresponding port numbers from RFC 1340 are shown in parentheses. If you specify an application name, enter the name only, not the parentheses or the port number shown here:
bootpc (port 68) bootps (port 67) discard (port 9) dns (port 53) dnsix (port 90) echo (port 7) mobile-ip (port 434) netbios-dgm (port 138) netbios-ns (port 137) ntp (port 123) tacacs (port 65) talk (port 517) time (port 37) tftp (port 69)
In addition, you can specify any UDP application by using the application UDP port number. The <udp-port-num> parameter specifies the UDP application port number. If the application you want to enable is not listed above, enter the application port number. You also can list the port number for any of the applications listed above. To disable forwarding for an application, enter a command such as the following.
Brocade(config)# no ip forward-protocol udp snmp
This command disables forwarding of SNMP requests to the helper addresses configured on Layer 3 Switch interfaces.
1004
The commands in this example change the CLI to the configuration level for port 1/2, then add a helper address for server 207.95.7.6 to the port. If the port receives a client request for any of the applications that the Layer 3 Switch is enabled to forward, the Layer 3 Switch forwards the client request to the server. Syntax: ip helper-address <num> <ip-addr> The <num> parameter specifies the helper address number and can be from 1 through 16. The <ip-addr> command specifies the server IP address or the subnet directed broadcast address of the IP subnet the server is in.
Helper address The BootP/DHCP server IP address. You must configure the helper address
on the interface that receives the BootP/DHCP requests from the client. The Layer 3 Switch cannot forward a request to the server unless you configure a helper address for the server.
1005
Gateway address The Layer 3 Switch places the IP address of the interface that received the
BootP/DHCP request in the request packet Gateway Address field (sometimes called the Router ID field). When the server responds to the request, the server sends the response as a unicast packet to the IP address in the Gateway Address field. (If the client and server are directly attached, the Gateway ID field is empty and the server replies to the client using a unicast or broadcast packet, depending on the server.) By default, the Layer 3 Switch uses the lowest-numbered IP address on the interface that receives the request as the Gateway address. You can override the default by specifying the IP address you want the Layer 3 Switch to use.
Hop count Each router that forwards a BootP/DHCP packet increments the hop count by 1.
Routers also discard a forwarded BootP/DHCP request instead of forwarding the request if the hop count is greater than the maximum number of BootP/DHCP hops allows by the router. By default, a Brocade Layer 3 Switch forwards a BootP/DHCP request if its hop count is four or less, but discards the request if the hop count is greater than four. You can change the maximum number of hops the Layer 3 Switch will allow to a value from 1 through 15.
NOTE
Changing the IP address used for stamping BootP and DHCP requests
When the Layer 3 Switch forwards a BootP/DHCP request, the Layer 3 Switch stamps the Gateway Address field. The default value the Layer 3 Switch uses to stamp the packet is the lowest-numbered IP address configured on the interface that received the request. If you want the Layer 3 Switch to use a different IP address to stamp requests received on the interface, use either of the following methods to specify the address. The BootP/DHCP stamp address is an interface parameter. Change the parameter on the interface that is connected to the BootP/DHCP client. To change the IP address used for stamping BootP/DHCP requests received on interface 1/1, enter commands such as the following.
1006
These commands change the CLI to the configuration level for port 1/1, then change the BootP/DHCP stamp address for requests received on port 1/1 to 192.157.22.26. The Layer 3 Switch will place this IP address in the Gateway Address field of BootP/DHCP requests that the Layer 3 Switch receives on port 1/1 and forwards to the BootP/DHCP server. Syntax: ip bootp-gateway <ip-addr>
If the hop count value is equal to or less than the maximum hop count the Layer 3 Switch
allows, the Layer 3 Switch increments the hop count by one and forwards the request.
If the hop count is greater than the maximum hop count the Layer 3 Switch allows, the Layer 3
Switch discards the request. To change the maximum number of hops the Layer 3 Switch allows for forwarded BootP/DHCP requests, use either of the following methods. The BootP and DHCP hop count is not the TTL parameter. To modify the maximum number of BootP/DHCP hops, enter the following command.
Brocade(config)#bootp-relay-max-hops 10
NOTE
This command allows the Layer 3 Switch to forward BootP/DHCP requests that have passed through ten previous hops before reaching the Layer 3 Switch. Requests that have traversed 11 hops before reaching the switch are dropped. Since the hop count value initializes at zero, the hop count value of an ingressing DHCP Request packet is the number of Layer 3 routers that the packet has already traversed. Syntax: bootp-relay-max-hops <1 through 15>
DHCP Server
All FastIron devices can be configured to function as DHCP Servers.
NOTE
The DHCP server is platform independent and has no differences in behavior or configuration across all FastIron platforms (FESX, FSX,FWS, FCX, and ICX). Dynamic Host Configuration Protocol (DHCP) is a computer networking protocol used by devices (DHCP clients) to obtain leased (or permanent) IP addresses. DHCP is an extension of the Bootstrap Protocol (BOOTP). The differences between DHCP and BOOTP are the address allocation and renewal process.
1007
DHCP introduces the concept of a lease on an IP address. Refer to How DHCP Client-Based Auto-Configuration and Flash image update works on page 1024. The DHCP server can allocate an IP address for a specified amount of time, or can extend a lease for an indefinite amount of time. DHCP provides greater control of address distribution within a subnet. This feature is crucial if the subnet has more devices than available IP address. In contrast to BOOTP, which has two types of messages that can be used for leased negotiation, DHCP provides 7 types of messages. Refer to Supported Options for DHCP Servers on page 1027. DHCP allocates temporary or permanent network IP addresses to clients. When a client requests the use of an address for a time interval, the DHCP server guarantees not to reallocate that address within the requested time and tries to return the same network address each time the client makes a request. The period of time for which a network address is allocated to a client is called a lease. The client may extend the lease through subsequent requests. When the client is done with the address, they can release the address back to the server. By asking for an indefinite lease, clients may receive a permanent assignment. In some environments, it may be necessary to reassign network addresses due to exhaustion of the available address pool. In this case, the allocation mechanism reuses addresses with expired leases.
In the event of a controlled or forced switchover, a DHCP client will request from the DHCP
server the same IP address and lease assignment that it had before the switchover. After the switchover, the DHCP Server feature will be automatically re-initialized on the new active controller or management module.
For DHCP client hitless support in an IronStack, the stack mac command must be used to
configure the IronStack MAC address, so that the MAC address does not change in the event of a switchover or failover. If stack mac is not configured, the MAC address/IP address pair assigned to a DHCP client will not match after a switchover or failover. Furthermore, in the Layer 3 router image, if the stack mac configuration is changed or removed and the management port has a dynamic IP address, when a DHCP client tries to renew its lease from the DHCP server, the DHCP server will assign a different IP address.
If any address from the configured DHCP pool is used, for example by the DHCP server, TFTP
server, etc., you must exclude the address from the network pool. For configuration instructions, refer to Specifying addresses to exclude from the address pool on page 1017.
1008
NetBIOS over TCP/IP Name Server - Specifies a list of RFC1001/1002 NBNS name servers
listed in order of preference.
Domain Name Server - Specifies a list of Domain Name System (RFC 1035) name servers
available to the client. Servers are listed in order of preference.
Domain Name - Specifies the domain name the client should use when resolving hostnames
using the Domain Name system.
Router Option - specifies a list of IP addresses for routers on the client subnet. Routers are
listed in order of preference.
Subnet Mask - Specifies the client subnet mask (per RFC950). Vendor Specific Information - Allows clients and servers to exchange vendor-specific
information.
Boot File - Specifies a boot image to be used by the client Next Bootstrap Server - Configures the IP address of the next server to be used for startup by
the client.
TFTP Server - Configures the address or name of the TFTP server available to the client.
A DHCP server assigns and manages IPv4 addresses from multiple address pools, using dynamic address allocation. The DHCP server also contains the relay agent to forward DHCP broadcast messages to network segments that do not support these types of messages.
1009
Yes
DHCP enabled?
Yes
Yes
Host responds?
No
No
No
Use RX Portnum, Ciaddr field, and Giaddr field to select proper address pool
No
Check for requested address from host options parameters (Requested IP Address)
Yes
Requested address available?
Yes
Yes
No
No
Log error in system log and send DHCP NAK to host
DHCP release?
Yes
No Yes
DHCP decline?
Yes
Match found?
No
Send ACK to host with all configured options. Do not include lease expiration or yiaddr
No
Log warning to system log
DHCP inform?
Yes
No
DHCP request accepting assigned address/lease parameters Send ACK to host and listen for request to extend, renew, or release lease
Yes
No
Request to extend or renew lease Renew or extend the lease
1010
2. Create a DHCP Server address pool by entering a command similar to the following.
Brocade(config)# ip dhcp-server pool cabo
3. Configure the DHCP Server address pool by entering commands similar to the following.
Brocade(config-dhcp-cabo)# Brocade(config-dhcp-cabo)# Brocade(config-dhcp-cabo)# Brocade(config-dhcp-cabo)# Brocade(config-dhcp-cabo)# network 172.16.1.0/24 domain-name brocade.com dns-server 172.16.1.2 172.16.1.3 netbios-name-server 172.16.1.2 lease 0 0 5
The following sections describe the default DHCP settings, CLI commands and the options you can configure for the DHCP Server feature.
1011
TABLE 170
Parameter
DHCP server
Lease database expiration time The duration of the lease for an assigned IP address Maximum lease database expiration time DHCP server with option 82 DHCP server unknown circuit-ID for Option 82 IP distribution mechanism
option root-path option router option subnet-mask option broadcastaddress option wins-server option log-servers option bootstrapserver
This section describes the CLI commands that are available in the DHCP Server feature.
1012
TABLE 172
Command
clear ip dhcp-server binding ip dhcp-server enable no ip dhcp-server mgmt ip dhcp-server pool <name>
Deletes a specific, or all leases from the binding database. Refer to Removing DHCP leases on page 1014. Enables the DHCP server feature. Refer to Enabling DHCP Server on page 1014. Disables DHCP server on the management port. Refer to Disabling DHCP Server on the management port on page 1014. Switches to pool configuration mode (config-dhcp-name# prompt) and creates an address pool. Refer to Creating an address pool on page 1015. Enables relay agent echo (Option 82). Refer to Enabling relay agent echo (Option 82) on page 1015. Specifies the IP address of the selected DHCP server. Refer to Configuring the IP address of the DHCP server on page 1015. Displays a specific lease entry, or all lease entries. Refer to Displaying active lease entries on page 1018. Displays a specific address pool or all address pools. Refer to Displaying address-pool information on page 1019. Displays the lease binding database that is stored in flash memory. Refer to Displaying lease-binding information in flash memory on page 1020. Displays a summary of active leases, deployed address pools, undeployed address pools, and server uptime.Displaying summary DHCP server information on page 1021. Specifies a boot image to be used by the client. Refer to Configuring the boot image on page 1016. Deploys an address pool configuration to the server. Refer to Deploying an address pool configuration to the server on page 1016. Specifies the IP address of the default router or routers for a client. Refer to Specifying default routers available to the client on page 1016. Specifies the IP addresses of a DNS server or servers available to the client. Refer to Specifying DNS servers available to the client on page 1016. Configures the domain name for the client. Refer to Configuring the domain name for the client on page 1016. Specifies the lease duration for an address pool. The default is a one-day lease. Refer toConfiguring the lease duration for the address pool on page 1016. Specifies an address or range of addresses to be excluded from the address pool. Refer toSpecifying addresses to exclude from the address pool on page 1017.
ip dhcp-server relay-agent-echo enable ip dhcp-server <server-id> show ip dhcp-server binding [<address>] show ip dhcp-server address-pool <name> show ip dhcp-server flash show ip dhcp-server summary
1013
TABLE 172
Command
next-bootstrap-server <address> tftp-server <address> | name <name> vendor-class <[<ascii> | <ip> | <hex> ]> <value>
To re-enable DHCP Server on the management port after it has been disabled, enter the ip dhcp-server mgmt command:
Brocade(config)# ip dhcp-server mgmt
1014
NOTE
These commands create an address pool named monterey. Syntax: dhcp-server pool <name> Configuration notes for creating an address pool
If the DHCP server address is part of a configured DHCP address pool, you must exclude the
DHCP server address from the network pool. Refer to Specifying addresses to exclude from the address pool on page 1017.
While in DHCP server pool configuration mode, the system will place the DHCP server pool in
pending mode and the DHCP server will not use the address pool to distribute information to clients. To activate the pool, use the deploy command. Refer to Deploying an address pool configuration to the server on page 1016.
1015
In this example, the DHCP client should use the boot image called foxhound. Syntax: bootfile <name>
Syntax: deploy
In this example, the lease duration has been set to one day, four hours, and 32 minutes. You can set a lease duration for just days, just hours, or just minutes, or any combination of the three. Syntax: lease <days> <hours> <minutes>
1016
1017
To configure a TFTP server by specifying its server name, enter a command similar to the following.
Brocade(config-dhcp-cabo)# tftp-server tftp.domain.com
<address> is the IP address of the TFTP server. name configures the TFTP server specified by <server-name>.
If DHCP options 66 (TFTP server name) and 150 (TFTP server IP address) are both configured, the DHCP client ignores option 150 and tries to resolve the TFTP server name (option 66) using DNS.
0d:0h:29m:31s 0d:0h:29m:38s
Automatic Automatic
1018
TABLE 173
Field
IP address
address-pool[s] - If you enter address-pools, the display will show all address pools <name> - Displays information about a specific address pool
The following table describes this output.
1019
TABLE 174
Field
Pool name
Time elapsed since last save Total number of active leases Address pool state IP Address exclusions Pool configured options bootfile dhcp-server-router dns-server domain-name lease netbios-name server network next-bootstrap-server tftp-server
The name of the bootfile The address of the DHCP server router The address of the dns server The name of the domain The identifier for the lease The address of the netbios name server The address of the network The address of the next-bootstrap server The address of the TFTP server
0d:0h:18m:59s 0d:0h:19m:8s
Automatic Automatic
Syntax: show ip dhcp-server flash The following table describes this output.
1020
TABLE 175
Field
IP address
Syntax: show ip dhcp-server summary The following table describes this output.
1021
TABLE 176
Field
Total number of active leases Total number of deployed address-pools Total number of undeployed address-pools Server uptime
TABLE 177
Command
database ftp
NOTE
One lease is granted for each Layer 2 device. if the device is configured with a static IP
address, the DHCP Auto-Configuration feature is automatically disabled.
For a Layer 3 device, one leased address is granted (per device) to the interface that first
receives a response from the DHCP server.
1022
2. If auto-update is enabled, the TFTP flash image is downloaded and updated. The device compares the filename of the requested flash image with the image stored in flash. If the filenames are different, then the device will download the new image from a TFTP server, write the downloaded image to flash, then reload the device or stack. 3. In the final step, TFTP configuration download and update, the device downloads a configuration file from a TFTP server and saves it as the running configuration. Figure 117 shows how DHCP Client-Based Auto Configuration works.
Router: 192.168.1.1 DNS Server: 192.168.1.3 bootfile name: fgs07000.bin DNS Domain Name: test.com TFTP Server IP Address: 192.168.1.5
FGS Switch(config)#show run Current configuration: ! ver 04.2.00b47T7e1 ! module 1 fgs-24-port-copper-base-module ! ! ip dns domain-name test.com ip address 192.168.1.100 255.255.255.0 dynamic ip dns server-address 192.168.1.3 ip dhcp-client lease 174 ip default-gateway 192.168.1.1 ! ! end
Although the DHCP server may provide multiple addresses, only one IP address is installed at a
time.
1023
To enable flash image update (ip dhcp-client auto-update enable command), also enable
auto-configuration (ip dhcp-client enable command).
The image filename to be updated must have the extension .bin. The DHCP option 067 bootfile name will be used for image update if it has the extension .bin. The DHCP option 067 bootfile name will be used for configuration download if it does not have
the extension .bin.
If the DHCP option 067 bootfile name is not configured or does not have the extension .bin,
then the auto-update image will not occur.
1024
New Device
Has IP address? No
Yes
Is IP address valid? No
Yes
Yes
No
No
Yes
Use TFTP server name or server IP address provided by server Use DHCP server address as TFTP server address
Yes
Yes
Merge file with running config (server file takes precedence to resolve conflicts)
IP address is released
Step 1. Validate the IP address and lease negotiation 1. At boot-up, the device automatically checks its configuration for an IP address. 2. If the device does not have a static IP address, it requests the lease of an address from the DHCP server:
If the server responds, it leases an IP address to the device for the specified lease period. If the server does not respond (after four tries) the DHCP Client process is ended.
1025
3. If the device has a dynamic address, the device asks the DHCP server to validate that address. If the server does not respond, the device will continue to use the existing address until the lease expires. If the server responds, and the IP address is outside of the DHCP address pool or has been leased to another device, it is automatically rejected, and the device receives a new IP address from the server. If the existing address is valid, the lease continues.
NOTE
The lease time interval is configured on the DHCP server, not on the client device. The ip dhcp-client lease command is set by the system, and is non-operational to a user. 4. If the existing address is static, the device keeps it and the DHCP Client process is ended. 5. For a leased IP address, when the lease interval reaches the renewal point, the device requests a renewal from the DHCP server:
If the device is able to contact the DHCP server at the renewal point in the lease, the DHCP
server extends the lease. This process can continue indefinitely.
If the device is unable to reach the DHCP server after four attempts, it continues to use the
existing IP address until the lease expires. When the lease expires, the dynamic IP address is removed and the device contacts the DHCP server for a new address. If the device is still unable to contact the DHCP server after four attempts, the process is ended. The TFTP Flash image download and update step
NOTE
This process only occurs when the client device reboots, or when DHCP-client has been disabled and then re-enabled. Once a lease is obtained from the server (described in Step 1. Validate the IP address and lease negotiation on page 1025), the device compares the filename of the requested flash image with the image stored in flash. In a stacking configuration, the device compares the filename with the image stored in the Active controller only.
If the .bin filenames match, then the DHCP client skips the flash image download. If
auto-configuration is enabled, the DHCP client proceeds with downloading the configuration files as described in The TFTP configuration download and update step.
If the .bin filenames are different, then the DHCP client downloads the new image from a TFTP
server, then writes the downloaded image to flash. In a stacking configuration, the device copies the flash image to flash in all stack member units. The code determines which flash (i.e., primary or secondary) to use based on how the device is booted. In a stacking configuration, the member units use the same flash as the Active controller. Once the flash is updated with the newer flash image, the device is reloaded and any member units in a stacking configuration are reloaded as well. If auto-configuration is enabled, the DHCP client then proceeds to download the configuration files described in The TFTP configuration download and update step.
NOTE
In a stacking environment, the DHCP client flash image download waits 5 minutes for all member units to join and update. Then the DHCP client downloads the new image from the TFTP server using the TFTP server IP address (option 150), if it is available. If the TFTP server IP address is not available, the DHCP client requests the TFTP file from the DHCP server.
1026
The TFTP configuration download and update step This process only occurs when the client device reboots, or when Auto-Configuration has been disabled and then re-enabled. 1. When the device reboots, or the Auto-Configuration feature has been disabled and then re-enabled, the device uses information from the DHCP server to contact the TFTP server to update the running-configuration file:
NOTE
If the DHCP server provides a TFTP server name or IP address, the device uses this
information to request files from the TFTP server.
If the DHCP server does not provide a TFTP server name or IP address, the device requests
the configuration files from the DHCP server. 2. The device requests the configuration files from the TFTP server by asking for filenames in the following order:
bootfile name provided by the DHCP server (if configured) hostnameMAC-config.cfg, for example:
FGS624p-Switch001b.ed5e.4d00-config.cfg
<fcx | fgs | fls>-<switch | router>.cfg (applies to Layer 2 or base Layer 3 devices), for
example:
fgs-switch.cfg(FGS fls-switch.cfg(FLS fgs-router.cfg(FGS fls-router.cfg(FLS fcx-switch.cfg(FCX fcx-router.cfg(FCX Layer 2) Layer 2) Base-Layer 3) Base Layer 3) Layer 2) Layer 3)
If the device is successful in contacting the TFTP server and the server has the configuration file, the files are merged. If there is a conflict, the server file takes precedence. If the device is unable to contact the TFTP server or if the files are not found on the server, the TFTP part of the configuration download process ends.
001 - subnetmask 003 - router ip 015 - domain name 006 - domain name server 012 - hostname (optional) 066 - TFTP server name (only used for Client-Based Auto Configuration)
1027
067 - bootfile name 150 - TFTP server IP address (private option, datatype = IP Address)
When DHCP is disabled, and then re-enabled, or if the system is rebooted, the TFTP process
requires approximately three minutes to run in the background before file images can be downloaded manually.
Once a port is assigned a leased IP address, it is bound by the terms of the lease regardless of
the link state of the port.
For a router, you can disable or enable this feature using the following commands.
Brocade(config-if-e1000-0/1/1)# ip dhcp-client enable Brocade(config-if-e1000-0/1/1)# no ip dhcp-client enable
To re-enable auto-update after it has been disabled, use the following command.
Brocade(config)# ip dhcp-client auto-update enabled
1028
The following example shows output from the show ip address command for a Layer 2 device.
Brocade(config)# show ip address IP Address Type Lease Time 10.44.16.116 Dynamic 174
Interface 0/1/1
The following example shows output from the show ip address command for a Layer 3 device.
Brocade(config)# show ip address IP Address Type Lease Time 10.44.3.233 Dynamic 672651 1.0.0.1 Static N/A
The following example shows a Layer 2 device configuration as a result of the show run command.
Brocade(config)# show run Current configuration: ! ver 04.2.00b47T7e1 ! module 1 fls-24-port-copper-base-module ! ! ip address 10.44.16.116 255.255.255.0 dynamic ip dns server-address 10.44.16.41 ip dhcp-client lease 174 ip default-gateway 10.44.16.1 ! ! end
The ip dhcp-client lease entry in the example above applies to FastIron X Series devices only. The following example shows a Layer 3 device configuration as a result of the show run command.
NOTE
1029
Brocade(config)# show run Current configuration: ! ver 04.2.00b47T7e1 ! module 1 fgs-24-port-management-module module 2 fgs-cx4-2-port-10g-module module 3 fgs-xfp-1-port-10g-module ! vlan 1 name DEFAULT-VLAN by port ! ip dns domain-name test.com ip dns server-address 10.44.3.111 interface ethernet 0/1/2 ip address 10.44.3.233 255.255.255.0 dynamic ip dhcp-client lease 691109 ! interface ethernet 0/1/15 ip address 1.0.0.1 255.0.0.0 ip helper-address 1 10.44.3.111 ! end
The ip dhcp-client lease entry in the example above applies to FastIron X Series devices only.
NOTE
DHCPC: Client service found no DHCP server(s) on 3 possible subnet DHCPC: changing 0/1/3 protocol from stopped to running
1030
NOTE
To enter a classical network mask, enter the mask in IP address format. For example, enter
209.157.22.99 255.255.255.0 for an IP address with a Class-C subnet mask.
To enter a prefix network mask, enter a forward slash ( / ) and the number of bits in the mask
immediately after the IP address. For example, enter 209.157.22.99/24 for an IP address that has a network mask with 24 significant bits (ones). By default, the CLI displays network masks in classical IP address format (example: 255.255.255.0). You can change the display to prefix format. Refer to Changing the network mask display to prefix format on page 1059.
Syntax: ip address <ip-addr> <ip-mask> or Syntax: ip address <ip-addr>/<mask-bits> You also can enter the IP address and mask in CIDR format, as follows.
Brocade(config)# ip address 192.45.6.1/24
To specify the Layer 2 Switch default gateway, enter a command such as the following.
Brocade(config)# ip default-gateway 192.45.6.1
1031
When configuring an IP address on a Layer 2 switch that has multiple VLANs, make sure the configuration includes a designated management VLAN that identifies the VLAN to which the global IP address belongs. Refer to Designated VLAN for Telnet management sessions to a Layer 2 Switch on page 120.
NOTE
Syntax: ip dns server-address <ip-addr> [<ip-addr>] [<ip-addr>] [<ip-addr>] In this example, the first IP address in the ip dns server-address... command becomes the primary gateway address and all others are secondary addresses. Because IP address 201.98.7.15 is the last address listed, it is also the last address consulted to resolve a query.
Syntax: traceroute <host-ip-addr> [maxttl <value>] [minttl <value>] [numeric] [timeout <value>] [source-ip <ip addr>] The only required parameter is the IP address of the host at the other end of the route.
1032
After you enter the command, a message indicating that the DNS query is in process and the current gateway address (IP address of the domain name server) being queried appear on the screen.
Type Control-c to abort Sending DNS Query to 209.157.22.199 Tracing Route to IP node 209.157.22.80 To ABORT Trace Route, Please use stop-traceroute command. Traced route to target IP node 209.157.22.80: IP Address Round Trip Time1 Round Trip Time2 207.95.6.30 93 msec 121 msec
In the previous example, 209.157.22.199 is the IP address of the domain name server (default DNS gateway address), and 209.157.22.80 represents the IP address of the NYC02 host.
NOTE
newyork.com 207.95.6.199
nyc01 nyc02
Layer 3 Switch
nyc02
...
nyc01
...
1033
NOTE
Brocade Layer 3 Switches provide BootP/DHCP assistance by default on an individual port basis. Refer to Changing the IP address used for stamping BootP and DHCP requests on page 1006. By allowing multiple subnet DHCP requests to be sent on the same wire, you can reduce the number of router ports required to support secondary addressing as well as reduce the number of DHCP servers required, by allowing a server to manage multiple subnet address assignments.
FIGURE 120 DHCP requests in a network without DHCP Assist on the Layer 2 Switch
Step 3: DHCP Server generates IP addresses for Hosts 1,2,3 and 4. All IP address are assigned in the 192.95.5.1 range. DHCP requests for the other sub-nets were not recognized by 192.95.5.5 the non-DHCP assist router causing 192.95.5.10 incorrect address assignments. 192.95.5.35 192.95.5.30
Router
Step 2: Router assumes the lowest IP address (192.95.5.1) is the gateway address. IP addresses configured on the router interface. Step 1: DHCP IP address requests for Hosts 1, 2, 3 and 4 in Sub-nets 1, 2, 3 and 4. 192.95.5.1 200.95.6.1 202.95.1.1 202.95.5.1
Layer 2 Switch
Host 1
Host 2
192.95.5.x Subnet 1
Host 3
Host 4
202.95.1.x Subnet 3
202.95.5.x Subnet 4
In a network operating without DHCP Assist, hosts can be assigned IP addresses from the wrong subnet range because a router with multiple subnets configured on an interface cannot distinguish among DHCP discovery packets received from different subnets.
1034
For example, in Figure 120, a host from each of the four subnets supported on a Layer 2 Switch requests an IP address from the DHCP server. These requests are sent transparently to the router. Because the router is unable to determine the origin of each packet by subnet, it assumes the lowest IP address or the primary address is the gateway for all ports on the Layer 2 Switch and stamps the request with that address. When the DHCP request is received at the server, it assigns all IP addresses within that range only. With DHCP Assist enabled on a Brocade Layer 2 Switch, correct assignments are made because the Layer 2 Switch provides the stamping service.
FIGURE 121 DHCP requests in a network with DHCP Assist operating on a FastIron Switch
Step 3: Router forwards the DHCP request to the server without touching the gateway address inserted in the packet by the switch. Router Step 2: FastIron stamps each DHCP request with the gateway address of the corresponding subnet of the receiving port.
Interface 14
Layer 2 Switch
Interface 2
Host 1
Host 2
Interface 8
192.95.5.x Subnet 1
Host 3
Host 4
202.95.1.x Subnet 3
202.95.5.x Subnet 4
1035
When the stamped DHCP discovery packet is then received at the router, it is forwarded to the DHCP server. The DHCP server then extracts the gateway address from each request and assigns an available IP address within the corresponding IP subnet (Figure 122). The IP address is then forwarded back to the workstation that originated the request. When DHCP Assist is enabled on any port, Layer 2 broadcast packets are forwarded by the CPU. Unknown unicast and multicast packets are still forwarded in hardware, although selective packets such as IGMP, are sent to the CPU for analysis. When DHCP Assist is not enabled, Layer 2 broadcast packets are forwarded in hardware.
NOTE
The DHCP relay function of the connecting router must be turned on.
NOTE
FIGURE 122 DHCP offers are forwarded back toward the requestors
Step 4: DHCP Server extracts the gateway address from each packet and assigns IP addresses for each host within the appropriate range. DHCP response with IP addresses for Subnets 1, 2, 3 and 4 192.95.5.10 200.95.6.15 202.95.1.35 202.95.5.25
Router
Layer 2 Switch
200.95.6.15
192.95.5.x Subnet 1
202.95.1.35
Host 3 Host 4
202.95.5.25
202.95.1.x Subnet 3
202.95.5.x Subnet 4
1036
When DHCP Assist is enabled on any port, Layer 2 broadcast packets are forwarded by the CPU. Unknown unicast and multicast packets are still forwarded in hardware, although selective packets such as IGMP are sent to the CPU for analysis. When DHCP Assist is not enabled, Layer 2 broadcast packets are forwarded in hardware.
NOTE
To create the configuration indicated in Figure 121 and Figure 122, enter commands such as the following.
Brocade(config)# dhcp-gateway-list 1 192.95.5.1 Brocade(config)# dhcp-gateway-list 2 200.95.6.1 Brocade(config)# dhcp-gateway-list 3 202.95.1.1 202.95.5.1 Brocade(config)# interface ethernet 2 Brocade(config-if-e1000-2)# dhcp-gateway-list 1 Brocade(config-if-e1000-2)# interface ethernet 8 Brocade(config-if-e1000-8)# dhcp-gateway-list 3 Brocade(config-if-e1000-8)# interface ethernet 14 Brocade(config-if-e1000-14)# dhcp-gateway-list 2
NOTE
IPv4 over GRE tunnels. IPv6 over GRE tunnels is not supported. Static and dynamic unicast routing over GRE tunnels Multicast routing over GRE tunnels Hardware forwarding of IP data traffic across a GRE tunnel. Path MTU Discovery (PMTUD)
1037
NOTE
FIGURE 123
Delivery Header
GRE Header
Payload Packet
Checksum
Reserved0
Ver
Protocol Type
Checksum (optional)
Reserved (optional)
Checksum 1 bit. This field is assumed to be zero in this version. If set to 1, this means that
the Checksum (optional) and Reserved (optional) fields are present and the Checksum (optional) field contains valid information.
Reserved0 12 bits. If bits 1 - 5 are non-zero, then a receiver must discard the packet unless
RFC 1701 is implemented. Bits 6 - 12 are reserved for future use and must be set to zero in transmitted packets. This field is assumed to be zero in this version.
1038
Ver 3 bits. The GRE protocol version. This field must be set to zero in this version. Protocol Type 16 bits. The Ethernet protocol type of the packet, as defined in RFC 1700. Checksum (optional) 16 bits. This field is optional. It contains the IP checksum of the GRE
header and the payload packet.
Reserved (optional) 16 bits. This field is optional. It is reserved for Brocade internal use.
RFC 1191, Path MTU Discovery RFC 4459, MTU and Fragmentation Issues with In-the-Network Tunneling
RFC 1191 describes a method for dynamically discovering the maximum transmission unit (MTU) of an arbitrary internet path. When a FastIron device receives an IP packet that has its Do not Fragment (DF) bit set, and the packet size is greater than the MTU value of the outbound interface, then the FastIron device returns an ICMP Destination Unreachable message to the source of the packet, with the code indicating "fragmentation needed and DF set". The ICMP Destination Unreachable message includes the MTU of the outbound interface. The source host can use this information to help determine the minimum MTU of a path to a destination. RFC 4459 describes solutions for issues with large packets over a tunnel. The following methods, from RFC 4459, are supported in Brocade IronWare software:
If a source attempts to send packets that are larger than the lowest MTU value along the path,
PMTUD can signal to the source to send smaller packets. This method is described in Section 3.2 of RFC 4459.
Inner packets can be fragmented before encapsulation, in such a manner that the
encapsulated packet fits in the tunnel path MTU, which is discovered using PMTUD. This method is described in Section 3.4 of RFC 4459. By default, PMTUD is enabled.
On FCX devices, only eight different MTU values can be configured over the whole system.
When the SX-FI48GPP module is installed in the FastIron SX device, the maximum number of different MTU values that can be configured is 16.
On both FCX devices, and the SX-FI-24GPP, SX-FI48GPP, SX-FI-24HF, SX-FI-2XG, and SX-FI-8XG
modules, PMTUD will not be enabled on the device if the maximum number of MTU values has already been configured in the system.
When a new PMTUD value is discovered, and the maximum number of different MTU
values for the system is already configured , the new value will search for the nearest, but smallest MTU value relative to its own value in the system. For example, in a FCX system, the new PMTUD value is 800, and the eight different MTU values configured in the system are 600, 700, 820, 1000, 1100, 1200, 1300, and 1500. The range of MTU values that can be configured is from 576 through 1500. The new PMTUD value 800 cannot be added to the system so the nearest, but smallest MTU value is used. In this example, the MTU value of 700 is considered as the nearest MTU value already configured in the system.
1039
When the new PMTUD value is smaller than all of the eight MTU values configured in the
system, the PMTUD feature is disabled for the tunnel, and the value is not added to the system. For example, the new PMTUD value is 620 which is smaller in value than all of the eight, different MTU path values configured in the system. The following warning message is displayed on the CLI:
Warning - All MTU profiles used, disabling PMTU for tunnel <tunnel_id>; new PMTU was <new pmtu discovered>
untagged ports ports that are enabled by default 10 Gbps and 1 Gbps copper and fiber ports
Note the following hardware limitations for these port types:
On 10 Gbps ports, the port LEDs will be ON (green) when the ports are configured as tunnel loopback ports for GRE tunnels. Also, the LEDs will blink when data packets are forwarded. On 1 Gbps fiber and copper ports, port LEDs will not be ON when the ports are configured as tunnel loopback ports for GRE tunnels, nor will the LEDs blink when data packets are forwarded.
Tunnel loopback ports for GRE tunnels are not applicable on:
tagged ports trunk ports ports that are members of a VE ports that are disabled ports that have an IP address flow control the SX-FI48GPP module
1040
the destination endpoint of the tunnel. The router that terminates the tunnel (i.e., the router where the tunnel endpoint is an ingress interface) de-encapsulates the GRE tunneled packet to retrieve the native multicast data packets. After de-encapsulation, data packets are forwarded in the direction of its receivers, and control packets may be consumed. This creates a PIM-enabled virtual or logical link between the two GRE tunnel endpoints.
NOTE
For the FESX624 device, and the SX-FI624C, SX-FI624P, SX-FI624HF, and the SX-FI62XG modules loopback ports are required for de-encapsulating the GRE tunneled packet. On these hardware devices, when the GRE-encapsulated multicast packet is received, the unicast GRE mechanism takes care of de-encapsulating the packet. The packet then egresses and re-ingresses the tunnel interface loopback port as the native multicast packet. The hardware RPF check is done, not on the tunnel interface directly, but on the loopback port - the hardware compares this port number with the port number configured in the Multicast table (s,g) entry. If they match, the packet is routed. Otherwise it is sent to the CPU for error processing. In unicast, it is permissible for multiple tunnel interfaces to use a single loopback port. However, in multicast, this will not allow the hardware to determine the tunnel interface that the packet was received on in order to do an RPF check. Therefore, when IPv4 Multicast Routing is enabled on a GRE tunnel, the tunnel interface must have a dedicated loopback port.
ACL, QoS, and PBR support for traffic through a GRE tunnel
PBR and ACL filtering for packets terminating on a GRE tunnel is not supported on FCX devices. However, PBR can be used to map IP traffic into a GRE tunnel, but it cannot be used to route GRE traffic. On FCX devices, QoS support for GRE encapsulated packets is limited to copying DSCP values from the inner header onto the outer header.
NOTE
1041
For FastIron SX devices only, traffic coming from a tunnel can be filtered by an ACL both before and after the tunnel is terminated and also redirected by PBR after tunnel is terminated. An ACL classifies and sets QoS for GRE traffic. If the ACL or PBR is applied to the tunnel loopback port, it would apply to the inner IP packet header (the payload packet) after the tunnel is terminated. If the ACL is applied to the tunnel ingress port, then the delivery header (outer header) would be classified or filtered before the tunnel is terminated. Restrictions for using ACLs in conjunction with GRE are noted in the section Configuration considerations for GRE IP tunnels on page 1042. PBR can be configured on tunnel loopback ports for tunnel interfaces with no restrictions. PBR with GRE tunnel is not supported on FSX 800 and FSX 1600 with the SX-FI48GPP module.
NOTE
GRE tunnels are not supported in a mixed hardware configuration with 48-port 10/100/1000
Mbps Ethernet POE (SX-FI48GPP) interface modules, together with IPv6-capable interface modules, or management modules with user ports.
The mix and match mode for GRE and IPv6 tunnels are not supported. Hitless management is supported for GRE tunnels on any FastIron devices. Hitless
management is not supported for IPv6-over-IPv4 tunnels on all FastIron devices. When IPv6 tunnels are configured, the CLI commands that execute a hitless switchover (switch-over-active-role command and the hitless reload command) are disabled.
When GRE is enabled on a Layer 3 switch, the following features are not supported on Virtual
Ethernet (VE) ports, VE member ports (ports that have IP addresses), and GRE tunnel loopback ports:
ACL logging ACL statistics (also called ACL counting) MAC address filters IPv6 filters
NOTE
The above features are supported on VLANs that do not have VE ports.
Whenever multiple IP addresses are configured on a tunnel source, the primary address of the
tunnel is always used for forming the tunnel connections. Therefore, carefully check the configurations when configuring the tunnel destination.
1042
When a GRE tunnel is configured, you cannot configure the same routing protocol on the
tunnel through which you learn the route to the tunnel destination. For example, if the FastIron learns the tunnel destination route through the OSPF protocol, you cannot configure the OSPF protocol on the same tunnel and vice-versa. When a tunnel has OSPF configured, the FastIron cannot learn the tunnel destination route through OSPF. This could cause the system to become unstable.
The tunnel destination cannot be resolved to the tunnel itself or any other local tunnel. This is
called recursive routing. This scenario would cause the tunnel interface to flap and the Syslog message TUN-RECURSIVE-DOWN to be logged. To resolve this issue, create a static route for the tunnel destination.
NOTE
For multicast traffic over a GRE tunnel, each PIM-enabled tunnel interface must have a
dedicated tunnel loopback port.
For unicast traffic, a tunnel loopback port can be oversubscribed, meaning multiple GRE
tunnels (up to the maximum supported) can use the same tunnel loopback port for traffic. When oversubscribed, proper traffic classification on the tunnel loopback port is necessary in order to avoid traffic congestion. In this case, Brocade recommends that you configure the trust level at the DSCP level for QoS by adding an ACL that maps DSCP 46 to priority 5. Otherwise, loss of loopback packets may flap the tunnel interface.
By default, when you create a tunnel loopback port for a GRE tunnel on a port that is part of
the default VLAN, the port will stay in the default VLAN. Before configuring a port as a tunnel loopback port for a GRE tunnel, if the port is in the default VLAN (VLAN 1), first create a VLAN, then add the port to the VLAN. Otherwise, an error message such as the following will appear on the console when you attempt to configure a router interface for the default VLAN.
ERROR: Router-interface cannot be applied because of GRE loopback port 1/2
Configuration of tunnel loopback ports are not applicable on the SX-FI48GPP interface module.
1043
TABLE 178
Required tasks
1 2
Configuration tasks
Create a tunnel interface Configure the source address or source interface for the tunnel interface Configure the destination address of the tunnel interface Enable GRE encapsulation on the tunnel interface
Creating a tunnel interface on page 1045 Configuring the source address or source interface for a tunnel interface on page 1045 Configuring the destination address for a tunnel interface on page 1046 Enabling GRE encapsulation on a tunnel interface on page 1046
3 4
NOTE: Step 4 must be performed before step 6. 5 If packets need to be terminated in hardware, configure a tunnel loopback port for the tunnel interface Configure an IP address for the tunnel interface If a route to the tunnel destination (configured in Step 3) does not already exist, create a static route and specify that the route is through the tunnel interface. Not assigned Tunnel loopback ports for GRE tunnels on page 1040
NOTE: Step 5 is not applicable to FCX devices. 6 7 Not assigned Not assigned Configuring an IP address for a tunnel interface on page 1048 Configuring a static route to a tunnel destination on page 1048
Optional tasks
1 Change the maximum transmission unit (MTU) value for the tunnel interface Change the number of GRE tunnels supported on the device Enable and configure GRE link keepalive on the tunnel interface Change the Path MTU Discovery (PMTUD) configuration on the GRE tunnel interface Enable support for IPv4 multicast routing 1476 bytes or 10194 bytes (jumbo mode) Support for 32 GRE tunnels Disabled Enabled Disabled Changing the MTU value for a tunnel interface on page 1049 Changing the maximum number of tunnels supported on page 1049 Configuring GRE link keepalive on page 1050 Configuring Path MTU Discovery (PMTUD) on page 1050 Enabling IPv4 multicast routing over a GRE tunnel on page 1051
2 3 4 5
Naming the tunnel interface (CLI command port-name) for configuration details, refer to
Assigning a port name on page 40.
Changing the Maximum Transmission Unit (MTU) (CLI command ip mtu) for configuration
details, refer to Changing the MTU on an individual port on page 969.
1044
Increasing the cost of routes learned on the port (CLI command ip metric) for configuration
details, refer to Changing the cost of routes learned on a port on page 1197. After performing the configuration steps listed in Table 178, you can view the GRE configuration and observe the routes that use GRE tunnels. For details, refer to Displaying GRE tunneling information on page 1053.
Syntax: [no] interface tunnel <tunnel-number> The <tunnel-number> is a numerical value that identifies the tunnel being configured.
NOTE
You can also use the port-name command to name the tunnel. To do so, follow the configuration instructions In Assigning a port name on page 40.
NOTE
The source interface should be the port number of the interface configured on a physical, loopback, or VE interface. The source interface should have at least one IP address configured on it. Otherwise, the interface will not be added to the tunnel configuration and an error message similar to the following will be displayed:
ERROR - Tunnel source interface 3/1 has no configured IP address.
To configure the source interface for a specific tunnel interface, enter commands such as the following.
Brocade(config)# interface tunnel 1 Brocade(config-tnif-1)# tunnel source ethernet 3/1
Syntax: [no] tunnel source <ip-address> | ethernet <portnum> | ve <number> | loopback <number> The <ip-address> variable is the source IP address being configured for the specified tunnel.
1045
The ethernet <portnum> variable is the source slot (chassis devices only) and port number of the physical interface being configured for the specified tunnel, for example 3/1. The ve <number> variable is the VE interface number being configured for the specified tunnel.
If you attempt to delete an IP address without first removing the tunnel source, the console will display an error message, as shown in the following example.
Brocade# config terminal Brocade(config)# interface ethernet 1/3 Brocade(config-if-e1000-1/3)# no ip address 45.1.83.15/24 Error - Please remove tunnel source from tnnl 8 before removing IP address
The previous error message will also display on the CLI when an interface is part of a VLAN. A VLAN cannot be deleted until the tunnel source is first removed.
NOTE
Syntax: [no] tunnel destination <ip-address> The <ip-address> variable is the destination IP address being configured for the specified tunnel. Ensure a route to the tunnel destination exists on the tunnel source device. Create a static route if necessary. For configuration details, refer to Configuring a static route to a tunnel destination on page 1048.
NOTE
1046
gre specifies that the tunnel will use GRE encapsulation (IP protocol 47). ip specifies that the tunneling protocol is IPv4.
NOTE
Before configuring a new GRE tunnel, the system should have at least one slot available for adding the default tunnel MTU value to the system tables. Depending on the configuration, the default tunnel MTU range is ((1500 or 10218) - 24) . To check for slot availability, or to see if the MTU value is already configured in the IP table, use the show ip mtu command. For more information on the show ip mtu command, refer to Displaying multicast protocols and GRE tunneling information on page 1056.
NOTE
Syntax: [no] tunnel loopback <portnum> The <portnum> is the slot (chassis devices) and port number of the tunnel loopback port for the specified tunnel interface, for example 3/1.
1047
NOTE
Syntax: [no] ip address <ip-address> The <ip-address> is the IP address being configured for the specified tunnel interface.
The <ip-address> variable is the IP address of the tunnel interface. The <tunnel-ID> variable is a valid tunnel number or name.
1048
NOTE
Syntax: ip mtu <packet-size> The <packet-size> variable specifies the maximum size in bytes for the packets transiting the tunnel. Enter a value from 576 through 1476. The default value is 1476. To prevent packet loss after the 24 byte GRE header is added, make sure that any physical interface that is carrying GRE tunnel traffic has an IP MTU setting at least 24 bytes greater than the tunnel MTU setting. This configuration is only allowed on the system if the tunnel mode is set to GRE.
NOTE
You must save the configuration (write memory) and reload the software to place the change into effect. Syntax: system-max gre-tunnels <number> The <number> variable specifies the number of GRE tunnels that can be supported on the device. The permissible range is 16 64. The system-max gre-tunnels command determines the interface range that is supported for an interface tunnel. For example, if the system-max value is reduced, it is possible that the configured interfaces may be rejected after a system reload.
NOTE
1049
These commands configure the device to wait for 4 consecutive lost keepalive packets before bringing the tunnel down. There will be a 12 second interval between each packet. Note that when the tunnel comes up, it would immediately (within one second) send the first keepalive packet. Syntax: [no] keepalive <seconds> <retries> Use the no form of the command to disable the keepalive option. The <seconds> variable specifies the number of seconds between each initiation of a keepalive message. The range for this interval is 2 32767 seconds. The default value is 10 seconds. The <retries> variable specifies the number of times that a packet is sent before the system places the tunnel in the DOWN state. Possible values are from 1 through 255. The default number of retries is 3. Use the show interface tunnel and show ip tunnel traffic commands to view the GRE link keepalive configuration,. For details, refer to Displaying GRE tunneling information on page 1053.
NOTE
1050
To re-enable PMTUD after it has been disabled, enter the following command:
Brocade(config-tnif-1)# no tunnel path-mtu-discovery disable
Syntax: [no] tunnel path-mtu-discovery disable Changing the age timer for PMTUD By default, when PMTUD is enabled on a tunnel interface, the path MTU is reset to its original value every 10 minutes. If desired, you can change the reset time (default age timer) to a value of up to 30 minutes. To do so, enter a command such as the following on the GRE tunnel interface.
Brocade(config-tnif-1)# tunnel path-mtu-discovery age-timer 20
This command configures the device to wait for 20 minutes before resetting the path MTU to its original value. Syntax: [no] tunnel path-mtu-discovery age-timer <minutes> | infinite For <minutes>, enter a value from 10 to 30. Enter infinite to disable the timer. Clearing the PMTUD dynamic value To reset a dynamically-configured MTU on a tunnel Interface back to the configured value, enter the following command.
Brocade(config)# clear ip tunnel pmtud 1
Syntax: clear ip tunnel pmtud <tunnel-ID> The <tunnel-ID> variable is a valid tunnel number or name. Viewing PMTUD configuration details Use the show interface tunnel command to view the PMTUD configuration and to determine whether PMTUD has reduced the size of the MTU. For details about the show interface tunnel command, refer to Displaying GRE tunneling information on page 1053.
NOTE
For the FESX624 module, and the SX-FI624C, SX-FI624P, SX-FI624HF, and the SX-FI62XG modules, each PIM-enabled tunnel interface must have a dedicated tunnel loopback port. This differs from GRE tunnels that support unicast traffic only. For unicast traffic, multiple GRE tunnels can use the same tunnel loopback port for traffic.
1051
Enabling PIM-SM on a GRE tunnel To enable PIM-SM on a GRE tunnel interface, enter commands such as the following:
Brocade(config)# interface tunnel 10 Brocade(config-tnif-10)# ip pim-sparse
Syntax: [no] ip pim-sparse Use the no form of the command to disable PIM-SM on the tunnel interface. Enabling PIM-DM on a GRE tunnel interface To enable PIM-DM on a GRE tunnel interface, enter commands such as the following:
Brocade(config)# interface tunnel 10 Brocade(config-tnif-10)# ip pim
Syntax: [no] ip pim Use the no form of the command to disable PIM-DM on the tunnel interface.
FastIron A
10.10.1.0/24
10.10.3.1
Internet
10.10.3.0
10.10.3.2
10.10.2.0/24
FastIron B
Port 5/1
131.108.5.2
The following shows the configuration commands for the example shown in Figure 125. The configuration examples for FastIron A and FastIron B applies only to FastIron SX devices.
NOTE
1052
show ip interface show ip route show ip interface tunnel show ip tunnel traffic show interface tunnel show statistics tunnel
The following shows an example output of the show ip interface command, which includes information about GRE tunnels.
Brocade# show ip interface Interface IP-Address Tunnel 1 10.10.3.1 OK? YES Method NVRAM Status up Protocol up
1053
Syntax: show ip interface The show ip route command displays routes that are pointing to a GRE tunnel as shown in the following example.
Brocade# show ip route Total number of IP routes: 3, avail: 79996 (out of max 80000) B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default Destination NetMask Gateway Port 1 7.1.1.0 255.255.255.0 0.0.0.0 7 2 7.1.2.0 255.255.255.0 7.1.1.3 7 3 10.34.3.0 255.255.255.0 0.0.0.0 tn3
Cost 1 1 1
Type D S D
For field definitions, refer to Table 186 on page 1070. Syntax: show ip route The show ip interface tunnel command displays the link status and IP address configuration for an IP tunnel interface as shown in the following example.
Brocade# show ip interface tunnel 1 Interface Tunnel 1 port state: UP ip address: 21.21.21.2 subnet mask: 255.255.255.0 encapsulation: GRE, mtu: 1476, metric: 1 directed-broadcast-forwarding: disabled proxy-arp: disabled ip arp-age: 10 minutes No Helper Addresses are configured No inbound ip access-list is set No outgoing ip access-list is set
Syntax: show ip interface tunnel [<tunnel-ID>] The <tunnel-ID> variable is a valid tunnel number or name. The show interface tunnel command displays the GRE tunnel configuration.
Brocade# show int tunnel 3 Tunnel3 is up, line protocol is up Hardware is Tunnel Tunnel source 7.1.1.1 Tunnel destination is 7.1.2.3 Tunnel loopback is not configured Port name is customer1001 Internet address is 10.34.3.2/24, MTU 1476 bytes, encapsulation GRE Keepalive is Enabled : Interval 10, No.of Retries 3 Total Keepalive Pkts Tx: 2, Rx: 2 Path MTU Discovery: Enabled, MTU is 1476 bytes
Syntax: show interface tunnel [<tunnel-ID>] This display shows the following information.
TABLE 179
Field
1054
TABLE 179
Field
Tunnel loopback Port name Internet address MTU encapsulation GRE Keepalive Interval No. of Retries
The show ip tunnel traffic command displays the link status of the tunnel and the number of keepalive packets received and sent on the tunnel.
Brocade# show ip tunnel traffic IP GRE Tunnels Tunnel Status Packet Received 1 up/up 362 3 up/up 0 10 down/down 0
Packet Sent 0 0 0
KA recv 362 0 0
KA sent 362 0 0
Syntax: show ip tunnel traffic The show statistics tunnel [<tunnel-ID>] command displays GRE tunnel statistics for a specific tunnel ID number. The following shows an example output for tunnel ID 1.
Brocade(config-tnif-10)#show statistics tunnel 1 IP GRE Tunnels Tunnel Status Packet Received Packet Sent 1 up/up 87120 43943
KA recv 43208
KA sent 43855
Syntax: show statistics tunnel [<tunnel-ID>] The <tunnel-ID> variable specifies the tunnel ID number. This display shows the following information.
1055
TABLE 180
Field
Tunnel Status
show ip pim interface show ip pim nbr show ip pim mcache show ip pim flow show statistics show ip mtu
All other show commands that are supported currently for Ethernet, VE, and IP loopback interfaces, are also supported for tunnel interfaces. To display information for a tunnel interface, specify the tunnel in the format tn <num>. For example, show interface tn 1. In some cases, the Ethernet port that the tunnel is using will be displayed in the format tn<num>:e<port>. The following shows an example output of the show ip pim interface command. The lines in bold highlight the GRE tunnel-specific information.
Brocade# show ip pim interface Interface e1 PIM Dense: V2 TTL Threshold: 1, Enabled, DR: itself Local Address: 10.10.10.10 Interface tn1 PIM Dense: V2 TTL Threshold: 1, Enabled, DR: 1.1.1.20 on tn1:e2 Local Address: 1.1.1.10 Neighbor: 1.1.1.20
NOTE
1056
The following shows an example output of the show ip pim nbr command. The line in bold shows the GRE tunnel-specific information.
Brocade# show ip pim nbr Total number of neighbors: 1 on 1 ports Port Phy_p Neighbor Holdtime Age tn1 tn1:e2 1.1.1.20 180 60
UpTime 1740
Syntax: show ip pim nbr The following shows an example output of the show ip pim mcache command. The line in bold shows the GRE tunnel-specific information.
Brocade# show ip pim mcache 230.1.1.1 1 (10.10.10.1 230.1.1.1) in e1 (e1), cnt=629 Source is directly connected L3 (HW) 1: tn1:e2(VL1) fast=1 slow=0 pru=1 graft age=120s up-time=8m HW=1 L2-vidx=8191 has mll
Syntax: show ip pim mcache <ip-address> The following shows an example output of the show ip pim flow command. The text in bold highlights the GRE tunnel-specific information.
Brocade# show ip pim flow 230.1.1.1 Multicast flow (10.10.10.1 230.1.1.1): Vidx for source vlan forwarding: 8191 (Blackhole, no L2 clients) Hardware MC Entry hit on devices: 0 1 2 3 MC Entry[0x0c008040]: 00014001 000022ee 0ffc0001 00000000 --- MLL contents read from Device 0 --MLL Data[0x018c0010]: 0021ff8d 00000083 00000000 00000000 First : Last:1, outlif:60043ff1 00000000, TNL:1(e2) 1 flow printed
Syntax: show ip pim flow The following shows an example output of the show statistics command. The following statistics demonstrate an example where the encapsulated multicast traffic ingresses a tunnel endpoint on port e 2, egresses and re-ingresses as native multicast traffic on the loopback port e 4, and is then forwarded to the outbound interface e 1.
Brocade# show statistics Port 1 2 3 4 In Packets 0 1668 0 1668 Out Packets 1670 7 0 1668 In Errors 0 0 0 0 Out Errors 0 0 0 0
Syntax: show statistics The show ip mtu command can be used to see if there is space available for the ip_default_mtu_24 value in the system, or if the MTU value is already configured in the IP table. The following shows an example output of the show ip mtu command.
1057
Brocade(config-tnif-10)#show ip mtu idx size usage ref-count 0 10218 1 default 1 800 0 1 2 900 0 1 3 750 0 1 4 10194 1 1 5 10198 0 1
To reset a dynamically-configured MTU on a tunnel Interface back to the configured value, enter a command such as the following.
Brocade(config)#clear ip tunnel pmtud 3
Syntax: clear ip tunnel [pmtud <tunnel-ID> | stat <tunnel-ID>] Use the pmtud option to reset a dynamically-configured MTU on a tunnel Interface back to the configured value. Use the stat option to clear tunnel statistics. The <tunnel-ID> variable is a valid tunnel number or name. Use the clear statistics tunnel [<tunnel-ID>] command to clear GRE tunnel statistics for a specific tunnel ID number. To clear GRE tunnel statistics for tunnel ID 3, enter a command such as the following.
Brocade(config)# clear statistics tunnel 3
Syntax: clear statistics tunnel [<tunnel-ID>] The <tunnel-ID> variable specifies the tunnel ID number.
1058
NOTE
This option does not affect how information is displayed in the Web Management Interface. To enable CIDR format for displaying network masks, entering the following command at the global CONFIG level of the CLI.
Brocade(config)# ip show-subnet-length
CPU utilization statistics refer to Displaying CPU utilization statistics on page 1061. IP interfaces refer to Displaying IP interface information on page 1063. ARP entries refer to Displaying ARP entries on page 1064. Static ARP entries refer to Displaying ARP entries on page 1064. IP forwarding cache refer to Displaying the forwarding cache on page 1067. IP route table refer to Displaying the IP route table on page 1068. IP traffic statistics refer to Displaying IP traffic statistics on page 1071.
The following sections describe how to display this information. In addition to the information described below, you can display the following IP information. This information is described in other parts of this guide:
1059
Syntax: show ip
NOTE
This command has additional options, which are explained in other sections in this guide, including the sections following this one. This display shows the following information.
TABLE 181
Field Global settings
ttl
The Time-To-Live (TTL) for IP packets. The TTL specifies the maximum number of router hops a packet can travel before reaching the Brocade router. If the packet TTL value is higher than the value specified in this field, the Brocade router drops the packet. To change the maximum TTL, refer to Changing the TTL threshold on page 981. The ARP aging period. This parameter specifies how many minutes an inactive ARP entry remains in the ARP cache before the router ages out the entry. To change the ARP aging period, refer to Changing the ARP aging period on page 977. The maximum number of hops away a BootP server can be located from the Brocade router and still be used by the router clients for network booting. To change this value, refer to Changing the maximum number of hops to a BootP relay server on page 1007. The 32-bit number that uniquely identifies the Brocade router. By default, the router ID is the numerically lowest IP interface configured on the router. To change the router ID, refer to Changing the router ID on page 970. The IP-related protocols that are enabled on the router. The IP-related protocols that are disabled on the router.
arp-age
bootp-relay-max-ho ps
router-id
enabled disabled
Static routes
Index IP Address Subnet Mask The row number of this entry in the IP route table. The IP address of the route destination. The network mask for the IP address.
1060
TABLE 181
Field
Policies
Index Action The policy number. This is the number you assigned the policy when you configured it. The action the router takes if a packet matches the comparison values in the policy. The action can be one of the following: deny The router drops packets that match this policy. permit The router forwards packets that match this policy. The source IP address the policy matches. The destination IP address the policy matches.
The IP protocol the policy matches. The protocol can be one of the following: ICMP IGMP IGRP OSPF TCP UDP
Port
The Layer 4 TCP or UDP port the policy checks for in packets. The port can be displayed by its number or, for port types the router recognizes, by the well-known name. For example, TCP port 80 can be displayed as HTTP. NOTE: This field applies only if the IP protocol is TCP or UDP. The comparison operator for TCP or UDP port names or numbers. NOTE: This field applies only if the IP protocol is TCP or UDP.
Operator
1061
Brocade# show process cpu Process Name 5Sec(%) 1Min(%) ACL 0.00 0.00 ARP 0.01 0.01 BGP 0.00 0.00 DOT1X 0.00 0.00 GVRP 0.00 0.00 ICMP 0.00 0.00 IP 0.00 0.00 L2VLAN 0.01 0.00 OSPF 0.00 0.00 RIP 0.00 0.00 STP 0.00 0.00 VRRP 0.00 0.00
5Min(%) 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
15Min(%) 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.01 0.00 0.00 0.00 0.00
If the software has been running less than 15 minutes (the maximum interval for utilization statistics), the command indicates how long the software has been running. Here is an example.
Brocade# show process cpu The system has only been up for 6 seconds. Process Name 5Sec(%) 1Min(%) 5Min(%) ACL 0.00 0.00 0.00 ARP 0.01 0.01 0.01 BGP 0.00 0.00 0.00 DOT1X 0.00 0.00 0.00 GVRP 0.00 0.00 0.00 ICMP 0.00 0.00 0.00 IP 0.00 0.00 0.00 L2VLAN 0.01 0.00 0.00 OSPF 0.00 0.00 0.00 RIP 0.00 0.00 0.00 STP 0.00 0.00 0.00 VRRP 0.00 0.00 0.00
15Min(%) 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.01 0.00 0.00 0.00 0.00
To display utilization statistics for a specific number of seconds, enter a command such as the following.
Brocade# show process cpu 2 Statistics for last 1 sec and 80 ms Process Name Sec(%) Time(ms) ACL 0 0.00 ARP 1 0.01 BGP 0 0.00 DOT1X 0 0.00 GVRP 0 0.00 ICMP 0 0.00 IP 0 0.00 L2VLAN 1 0.01 OSPF 0 0.00 RIP 0 0.00 STP 0 0.00 VRRP 0 0.00
1062
When you specify how many seconds worth of statistics you want to display, the software selects the sample that most closely matches the number of seconds you specified. In this example, statistics are requested for the previous two seconds. The closest sample available is actually for the previous 1 second plus 80 milliseconds. Syntax: show process cpu [<num>] The <num> parameter specifies the number of seconds and can be from 1 through 900. If you use this parameter, the command lists the usage statistics only for the specified number of seconds. If you do not use this parameter, the command lists the usage statistics for the previous one-second, one-minute, five-minute, and fifteen-minute intervals.
Syntax: show ip interface [ethernet [<slotnum>/]<portnum>] | [loopback <num>] | [ve <num>] This display shows the following information.
TABLE 182
Field
Interface IP-Address
OK? Method
Whether the IP address has been configured on the interface. Whether the IP address has been saved in NVRAM. If you have set the IP address for the interface in the CLI or Web Management Interface, but have not saved the configuration, the entry for the interface in the Method field is manual. The link status of the interface. If you have disabled the interface with the disable command, the entry in the Status field will be administratively down. Otherwise, the entry in the Status field will be either up or down. Whether the interface can provide two-way communication. If the IP address is configured, and the link status of the interface is up, the entry in the protocol field will be up. Otherwise the entry in the protocol field will be down.
Status
Protocol
1063
To display detailed IP information for a specific interface, enter a command such as the following.
Brocade# show ip interface ethernet 1/1 Interface Ethernet 1/1 port state: UP ip address: 192.168.9.51 subnet mask: 255.255.255.0 encapsulation: ETHERNET, mtu: 1500, metric: 1 directed-broadcast-forwarding: disabled proxy-arp: disabled ip arp-age: 10 minutes Ip Flow switching is disabled No Helper Addresses are configured. No inbound ip access-list is set No outgoing ip access-list is set
Age 0 3 0 0 0
Port 6 6 6 6 6
Syntax: show arp [ethernet [<slotnum>/]<portnum> | mac-address <xxxx.xxxx.xxxx> [<mask>] | <ip-addr> [<ip-mask>]] [<num>] The <slotnum> parameter is required on chassis devices. The <portnum> parameter lets you restrict the display to entries for a specific port. The mac-address <xxxx.xxxx.xxxx> parameter lets you restrict the display to entries for a specific MAC address. The <mask> parameter lets you specify a mask for the mac-address <xxxx.xxxx.xxxx> parameter, to display entries for multiple MAC addresses. Specify the MAC address mask as fs and 0s, where fs are significant bits. The <ip-addr> and <ip-mask> parameters let you restrict the display to entries for a specific IP address and network mask. Specify the IP address masks in standard decimal mask format (for example, 255.255.0.0).
1064
The <ip-mask> parameter and <mask> parameter perform different operations. The <ip-mask> parameter specifies the network mask for a specific IP address, whereas the <mask> parameter provides a filter for displaying multiple MAC addresses that have specific values in common. The <num> parameter lets you display the table beginning with a specific entry number. The entry numbers in the ARP cache are not related to the entry numbers for static ARP table entries. This display shows the following information. The number in the left column of the CLI display is the row number of the entry in the ARP cache. This number is not related to the number you assign to static MAC entries in the static ARP table.
NOTE
NOTE
TABLE 183
Field
Total number of ARP Entries Maximum capacity IP Address MAC Address Type
The total number of ARP entries supported on the device. The IP address of the device. The MAC address of the device. The ARP entry type, which can be one of the following: Dynamic The Layer 3 Switch learned the entry from an incoming packet. Static The Layer 3 Switch loaded the entry from the static ARP table when the device for the entry was connected to the Layer 3 Switch. DHCP The Layer 3 Switch learned the entry from the DHCP binding address table. NOTE: If the type is DHCP, the port number will not be available until the entry gets resolved through ARP.
Age
The number of minutes the entry has remained unused. If this value reaches the ARP aging period, the entry is removed from the table. To display the ARP aging period, refer to Displaying global IP configuration information on page 1060. To change the ARP aging interval, refer to Changing the ARP aging period on page 977. NOTE: Static entries do not age out. The port on which the entry was learned. NOTE: If the ARP entry type is DHCP, the port number will not be available until the entry gets resolved through ARP.
Port
Status
The status of the entry, which can be one of the following: Valid This a valid ARP entry. Pend The ARP entry is not yet resolved.
1065
Displaying the static ARP table To display the static ARP table instead of the ARP cache, enter the following command at any CLI level.
Brocade# show ip static-arp Static ARP table size: 512, configurable from 512 to 1024 Index IP Address MAC Address Port 1 207.95.6.111 0800.093b.d210 1/1 3 207.95.6.123 0800.093b.d211 1/1
This example shows two static entries. Note that because you specify an entry index number when you create the entry, it is possible for the range of index numbers to have gaps, as shown in this example.
NOTE
The entry number you assign to a static ARP entry is not related to the entry numbers in the ARP cache. Syntax: show ip static-arp [ethernet [<slotnum>/]<portnum> | mac-address <xxxx.xxxx.xxxx> [<mask>] | <ip-addr> [<ip-mask>]] [<num>] The <slotnum> parameter is required on chassis devices. The <portnum> parameter lets you restrict the display to entries for a specific port. The mac-address <xxxx.xxxx.xxxx> parameter lets you restrict the display to entries for a specific MAC address. The <mask> parameter lets you specify a mask for the mac-address <xxxx.xxxx.xxxx> parameter, to display entries for multiple MAC addresses. Specify the MAC address mask as fs and 0s, where fs are significant bits. The <ip-addr> and <ip-mask> parameters let you restrict the display to entries for a specific IP address and network mask. Specify the IP address masks in standard decimal mask format (for example, 255.255.0.0). The <ip-mask> parameter and <mask> parameter perform different operations. The <ip-mask> parameter specifies the network mask for a specific IP address, whereas the <mask> parameter provides a filter for displaying multiple MAC addresses that have specific values in common. The <num> parameter lets you display the table beginning with a specific entry number.
NOTE
1066
TABLE 184
Field
Vlan
Pri 0 0 0
Syntax: show ip cache [<ip-addr>] | [<num>] The <ip-addr> parameter displays the cache entry for the specified IP address. The <num> parameter displays the cache beginning with the row following the number you enter. For example, to begin displaying the cache at row 10, enter the following command. show ip cache 9 The show ip cache command displays the following information.
TABLE 185
Field
IP Address Next Hop
MAC
1067
TABLE 185
Field
Type
R:RIP S:Static Gateway 99.1.1.2 99.1.1.2 99.1.1.2 99.1.1.2 99.1.1.2 99.1.1.2 99.1.1.2 99.1.1.2 99.1.1.2 99.1.1.2
O:OSPF *:Candidate default Port Cost Type 1/1 2 R 1/1 2 R 1/1 2 R 1/1 2 R 1/1 2 R 1/1 2 R 1/1 2 R 1/1 2 R 1/1 2 R 1/1 2 S
Syntax: show ip route [<ip-addr> [<ip-mask>] [longer] [none-bgp]] | <num> | bgp | direct | ospf | rip | static The <ip-addr> parameter displays the route to the specified IP address. The <ip-mask> parameter lets you specify a network mask or, if you prefer CIDR format, the number of bits in the network mask. If you use CIDR format, enter a forward slash immediately after the IP address, then enter the number of mask bits (for example: 209.157.22.0/24 for 209.157.22.0 255.255.255.0). The longer parameter applies only when you specify an IP address and mask. This option displays only the routes for the specified IP address and mask. Refer to the following example. The none-bgp parameter displays only the routes that did not come from BGP4. The <num> option display the route table entry whose row number corresponds to the number you specify. For example, if you want to display the tenth row in the table, enter 10.
1068
The bgp option displays the BGP4 routes. The direct option displays only the IP routes that are directly attached to the Layer 3 Switch. The ospf option displays the OSPF routes. The rip option displays the RIP routes. The static option displays only the static IP routes. The default routes are displayed first. Here is an example of how to use the direct option. To display only the IP routes that go to devices directly attached to the Layer 3 Switch, enter the following command.
Brocade# show ip route direct Start index: 1 B:BGP D:Connected R:RIP Destination NetMask 209.157.22.0 255.255.255.0
Notice that the route displayed in this example has D in the Type field, indicating the route is to a directly connected device. Here is an example of how to use the static option. To display only the static IP routes, enter the following command.
Brocade# show ip route static Start index: 1 B:BGP D:Connected R:RIP Destination NetMask 192.144.33.11 255.255.255.0
S:Static O:OSPF *:Candidate default Gateway Port Cost Type 209.157.22.12 1/1 2 S
Notice that the route displayed in this example has S in the Type field, indicating the route is static. Here is an example of how to use the longer option. To display only the routes for a specified IP address and mask, enter a command such as the following.
Brocade# show ip route 209.159.0.0/16 longer Starting index: 1 B:BGP D:Directly-Connected R:RIP S:Static O:OSPF Destination NetMask Gateway Port Cost Type 52 53 54 55 56 57 58 59 60 209.159.38.0 209.159.39.0 209.159.40.0 209.159.41.0 209.159.42.0 209.159.43.0 209.159.44.0 209.159.45.0 209.159.46.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 255.255.255.0 207.95.6.101 207.95.6.101 207.95.6.101 207.95.6.101 207.95.6.101 207.95.6.101 207.95.6.101 207.95.6.101 207.95.6.101 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1/1 1 1 1 1 1 1 1 1 1 S S S S S S S S S
This example shows all the routes for networks beginning with 209.159. The mask value and longer parameter specify the range of network addresses to be displayed. In this example, all routes within the range 209.159.0.0 209.159.255.255 are listed. The summary option displays a summary of the information in the IP route table. The following is an example of the output from this command.
1069
Example
Brocade# show ip route summary IP Routing Table - 35 entries: 6 connected, 28 static, 0 RIP, 1 OSPF, 0 BGP, 0 ISIS, 0 MPLS Number of prefixes: /0: 1 /16: 27 /22: 1 /24: 5 /32: 1
Syntax: show ip route summary In this example, the IP route table contains 35 entries. Of these entries, 6 are directly connected devices, 28 are static routes, and 1 route was calculated through OSPF. One of the routes has a zero-bit mask (this is the default route), 27 have a 22-bit mask, 5 have a 24-bit mask, and 1 has a 32-bit mask. The following table lists the information displayed by the show ip route command.
TABLE 186
Field
Destination NetMask Gateway
1070
Clearing IP routes
If needed, you can clear the entire route table or specific individual routes. To clear all routes from the IP route table, enter the following command.
Brocade# clear ip route
To clear route 209.157.22.0/24 from the IP routing table, enter the clear ip route command.
Brocade# clear ip route 209.157.22.0/24
1071
TABLE 187
Field IP statistics
received sent forwarded filtered fragmented reassembled bad header no route
The total number of IP packets received by the device. The total number of IP packets originated and sent by the device. The total number of IP packets received by the device and forwarded to other devices. The total number of IP packets filtered by the device. The total number of IP packets fragmented by this device to accommodate the MTU of this device or of another device. The total number of fragmented IP packets that this device re-assembled. The number of IP packets dropped by the device due to a bad packet header. The number of packets dropped by the device because there was no route. The number of packets dropped by the device because the value in the Protocol field of the packet header is unrecognized by this device. This information is used by Brocade customer support. The number of packets dropped due to error types other than those listed above.
ICMP statistics
The ICMP statistics are derived from RFC 792, Internet Control Message Protocol, RFC 950, Internet Standard Subnetting Procedure, and RFC 1256, ICMP Router Discovery Messages. Statistics are organized into Sent and Received. The field descriptions below apply to each. total errors unreachable time exceed parameter source quench redirect echo echo reply timestamp timestamp reply addr mask addr mask reply irdp advertisement irdp solicitation The total number of ICMP messages sent or received by the device. This information is used by Brocade customer support. The number of Destination Unreachable messages sent or received by the device. The number of Time Exceeded messages sent or received by the device. The number of Parameter Problem messages sent or received by the device. The number of Source Quench messages sent or received by the device. The number of Redirect messages sent or received by the device. The number of Echo messages sent or received by the device. The number of Echo Reply messages sent or received by the device. The number of Timestamp messages sent or received by the device. The number of Timestamp Reply messages sent or received by the device. The number of Address Mask Request messages sent or received by the device. The number of Address Mask Replies messages sent or received by the device. The number of ICMP Router Discovery Protocol (IRDP) Advertisement messages sent or received by the device. The number of IRDP Solicitation messages sent or received by the device.
UDP statistics
1072
TABLE 187
Field
received sent no port input errors
TCP statistics
The TCP statistics are derived from RFC 793, Transmission Control Protocol. active opens passive opens failed attempts active resets passive resets input errors in segments out segments retransmission The number of TCP connections opened by sending a TCP SYN to another device. The number of TCP connections opened by this device in response to connection requests (TCP SYNs) received from other devices. This information is used by Brocade customer support. The number of TCP connections this device reset by sending a TCP RESET message to the device at the other end of the connection. The number of TCP connections this device reset because the device at the other end of the connection sent a TCP RESET message. This information is used by Brocade customer support. The number of TCP segments received by the device. The number of TCP segments sent by the device. The number of segments that this device retransmitted because the retransmission timer for the segment had expired before the device at the other end of the connection had acknowledged receipt of the segment.
RIP statistics
The RIP statistics are derived from RFC 1058, Routing Information Protocol. requests sent requests received responses sent responses received unrecognized bad version The number of requests this device has sent to another RIP router for all or part of its RIP routing table. The number of requests this device has received from another RIP router for all or part of this device RIP routing table. The number of responses this device has sent to another RIP router request for all or part of this device RIP routing table. The number of responses this device has received to requests for all or part of another RIP router routing table. This information is used by Brocade customer support. The number of RIP packets dropped by the device because the RIP version was either invalid or is not supported by this device.
bad addr family The number of RIP packets dropped because the value in the Address Family Identifier field of the packet header was invalid. bad req format bad metrics bad resp format resp not from rip port The number of RIP request packets this router dropped because the format was bad. This information is used by Brocade customer support. The number of responses to RIP request packets dropped because the format was bad. This information is used by Brocade customer support.
1073
TABLE 187
Field
resp from loopback packets rejected
Global IP settings refer to Displaying global IP configuration information on page 1074. ARP entries refer to Displaying ARP entries on page 1075. IP traffic statistics refer to To display IP traffic statistics on a Layer 2 Switch, enter the show
ip traffic command at any CLI level. on page 1076.
TABLE 188
Field
IP configuration
Switch IP address Subnet mask Default router address The management IP address configured on the Layer 2 Switch. Specify this address for Telnet or Web management access. The subnet mask for the management IP address. The address of the default gateway, if you specified one.
1074
TABLE 188
Field
TABLE 189
Field
The port on which the entry was learned. The number of minutes the entry has remained unused. If this value reaches the ARP aging period, the entry is removed from the cache. The VLAN the port that learned the entry is in. NOTE: If the MAC address is all zeros, this field shows a random VLAN ID, since the Layer 2 Switch does not yet know which port the device for this entry is attached to.
1075
Syntax: show ip traffic The show ip traffic command displays the following information.
TABLE 190
Field IP statistics
received sent fragmented reassembled bad header no route
The total number of IP packets received by the device. The total number of IP packets originated and sent by the device. The total number of IP packets fragmented by this device to accommodate the MTU of this device or of another device. The total number of fragmented IP packets that this device re-assembled. The number of IP packets dropped by the device due to a bad packet header. The number of packets dropped by the device because there was no route. The number of packets dropped by the device because the value in the Protocol field of the packet header is unrecognized by this device. This information is used by Brocade customer support. The number of packets that this device dropped due to error types other than the types listed above.
1076
TABLE 190
Field ICMP statistics
The ICMP statistics are derived from RFC 792, Internet Control Message Protocol, RFC 950, Internet Standard Subnetting Procedure, and RFC 1256, ICMP Router Discovery Messages. Statistics are organized into Sent and Received. The field descriptions below apply to each. total errors unreachable time exceed parameter source quench redirect echo echo reply timestamp timestamp reply addr mask addr mask reply The total number of ICMP messages sent or received by the device. This information is used by Brocade customer support. The number of Destination Unreachable messages sent or received by the device. The number of Time Exceeded messages sent or received by the device. The number of Parameter Problem messages sent or received by the device. The number of Source Quench messages sent or received by the device. The number of Redirect messages sent or received by the device. The number of Echo messages sent or received by the device. The number of Echo Reply messages sent or received by the device. The number of Timestamp messages sent or received by the device. The number of Timestamp Reply messages sent or received by the device. The number of Address Mask Request messages sent or received by the device. The number of Address Mask Replies messages sent or received by the device.
irdp advertisement The number of ICMP Router Discovery Protocol (IRDP) Advertisement messages sent or received by the device. irdp solicitation The number of IRDP Solicitation messages sent or received by the device.
UDP statistics
received sent no port input errors The number of UDP packets received by the device. The number of UDP packets sent by the device. The number of UDP packets dropped because the packet did not contain a valid UDP port number. This information is used by Brocade customer support.
TCP statistics
The TCP statistics are derived from RFC 793, Transmission Control Protocol. current active tcbs tcbs allocated tcbs freed tcbs protected active opens passive opens failed attempts active resets The number of TCP Control Blocks (TCBs) that are currently active. The number of TCBs that have been allocated. The number of TCBs that have been freed. This information is used by Brocade customer support. The number of TCP connections opened by this device by sending a TCP SYN to another device. The number of TCP connections opened by this device in response to connection requests (TCP SYNs) received from other devices. This information is used by Brocade customer support. The number of TCP connections this device reset by sending a TCP RESET message to the device at the other end of the connection.
1077
TABLE 190
Field
To clear disable hardware ip checksum check on all ports, enter the following command.
Brocade# )# no disable-hw-ip-checksum-check ethernet 13 disable-hw-ip-checksum-check cleared for ports the 13 to 24
To set disable hardware ip checksum check on for example, port range 0-12, enter the following command.
Brocade# ))# disable-hw-ip-checksum-check ethernet 2 disable-ip-header-check set for ports ethe 1 to 12
To set disable hardware ip checksum check on, for example, port range 13-24, enter the following command.
Brocade# ))# disable-hw-ip-checksum-check ethernet 22 disable-ip-header-check set for ports ethe 13 to 24
To clear disable hardware ip checksum check on, for example, port range 13-24, enter the following command.
1078
The port range could be any consecutive range, it may not nescesarily be a decimal number. Syntax: [no] disable-hw-ip-checksum-check ethernet <portnum> This command only functions on the IPv4 platform.
NOTE
NOTE
1079
1080
Chapter
27
Table 191 lists the individual Brocade FastIron switches and the Spanning Tree Protocol (STP) features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 191
Feature
FWS
FCX
ICX 6610
802.1s Multiple Spanning Tree 802.1W Rapid Spanning Tree (RSTP) 802.1D Spanning Tree Support Enhanced IronSpan support includes Fast Port Span, Fast Uplink Span, and Single-instance Span FastIron Layer 2 devices (switches) support up to 254 spanning tree instances for VLANs. Layer 3 devices (routers) support up to 254 spanning tree instances for VLANs. PVST/PVST+ compatibility PVRST+ compatibility BPDU Guard Root Guard Error disable recovery
Yes
Yes
Yes
Yes
32 for ICX 6430 ICX 6450 only Yes Yes Yes Yes Yes
STP overview
The Spanning Tree Protocol (STP) eliminates Layer 2 loops in networks, by selectively blocking some ports and allowing other ports to forward traffic, based on global (bridge) and local (port) parameters you can configure. STP related features, such as RSTP and PVST, extend the operation of standard STP, enabling you to fine-tune standard STP and avoid some of its limitations. You can enable or disable STP on a global basis (for the entire device), a port-based VLAN basis (for the individual Layer 2 broadcast domain), or an individual port basis. Configuration procedures are provided for the standard STP bridge and port parameters as well as Brocade features listed in Table 197.
1081
TABLE 192
Device type
1. When you create a port-based VLAN, the new VLAN STP state is the same as the default STP state on the device. The new VLAN does not inherit the STP state of the default VLAN. 2. MSTP stands for Multiple Spanning Tree Protocol. In this type of STP, each port-based VLAN, including the default VLAN, has its own spanning tree. References in this documentation to STP apply to MSTP. The Single Spanning Tree Protocol (SSTP) is another type of STP. SSTP includes all VLANs on which STP is enabled in a single spanning tree. Refer to Single Spanning Tree (SSTP) on page 1145.
Table 193 lists the default STP bridge parameters. The bridge parameters affect the entire spanning tree. If you are using MSTP, the parameters affect the VLAN. If you are using SSTP, the parameters affect all VLANs that are members of the single spanning tree.
TABLE 193
Parameter
Forward Delay
Maximum Age
1082
TABLE 193
Parameter
Hello Time
Priority
If you plan to change STP bridge timers, Brocade recommends that you stay within the following ranges, from section 8.10.2 of the IEEE STP specification. 2 * (forward_delay -1) >= max_age max_age >= 2 * (hello_time +1) Table 194 lists the default STP port parameters. The port parameters affect individual ports and are separately configurable on each port.
NOTE
TABLE 194
Parameter
Priority
Path Cost
Globally Affects all ports and port-based VLANs on the device. Port-based VLAN Affects all ports within the specified port-based VLAN. When you enable or
disable STP within a port-based VLAN, the setting overrides the global setting. Thus, you can enable STP for the ports within a port-based VLAN even when STP is globally disabled, or disable the ports within a port-based VLAN when STP is globally enabled.
Individual port Affects only the individual port. However, if you change the STP state of the
primary port in a trunk group, the change affects all ports in the trunk group.
1083
The CLI converts the STP groups into topology groups when you save the configuration. For backward compatibility, you can still use the STP group commands. However, the CLI converts the commands into the topology group syntax. Likewise, the show stp-group command displays STP topology groups.
NOTE
NOTE
When you configure a VLAN, the VLAN inherits the global STP settings. However, once you begin to define a VLAN, you can no longer configure standard STP parameters globally using the CLI. From that point on, you can configure STP only within individual VLANs. To enable STP for all ports in all VLANs on a Brocade device, enter the spanning-tree command.
Brocade(config)#spanning-tree
The spanning-tree command enables a separate spanning tree in each VLAN, including the default VLAN. Syntax: [no] spanning-tree
NOTE
1084
NOTE
The command in this example changes the priority on a device on which you have not configured port-based VLANs. The change applies to the default VLAN. If you have configured a port-based VLAN on the device, you can configure the parameters only at the configuration level for individual VLANs. Enter commands such as the following.
Brocade(config)#vlan 20 Brocade(config-vlan-20)#spanning-tree priority 0
To make this change in the default VLAN, enter the following commands.
Brocade(config)#vlan 1 Brocade(config-vlan-1)#spanning-tree priority 0
Syntax: [no] spanning-tree [forward-delay <value>] | [hello-time <value>] | [maximum-age <value>] | [priority <value>] The forward-delay <value> parameter specifies the forward delay and can be a value from 4 30 seconds. The default is 15 seconds.
NOTE
You can configure a Brocade device for faster convergence (including a shorter forward delay) using Fast Span or Fast Uplink Span. Refer to STP feature configuration on page 1097. The hello-time <value> parameter specifies the hello time and can be a value from 1 10 seconds. The default is 2 seconds. This parameter applies only when this device or VLAN is the root bridge for its spanning tree. The maximum-age <value> parameter specifies the amount of time the device waits for receipt of a configuration BPDU from the root bridge before initiating a topology change. You can specify from 6 40 seconds. The default is 20 seconds. The priority <value> parameter specifies the priority and can be a value from 0 65535. A higher numerical value means a lower priority. Thus, the highest priority is 0. The default is 32768.
NOTE
1085
You can specify some or all of these parameters on the same command line. If you specify more than one parameter, you must specify them in the order shown above, from left to right.
Syntax: spanning-tree ethernet <port> path-cost <value> | priority <value> | disable | enable Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The path-cost <value> parameter specifies the port cost as a path to the spanning tree root bridge. STP prefers the path with the lowest cost. You can specify a value from 0 65535. The default depends on the port type:
10 Mbps 100 100 Mbps 19 Gbps 4 10 Gbps 2 The priority <value> parameter specifies the preference that STP gives this port relative to other ports for forwarding traffic out of the spanning tree. If you are upgrading a device that has a configuration saved under an earlier software release, and the configuration contains a value from 0 7 for a port STP priority, the software changes the priority to the default when you save the configuration while running the new release.
The disable | enable parameter disables or re-enables STP on the port. The STP state change affects only this VLAN. The port STP state in other VLANs is not changed. When you enable or disable STP auto negotiated combo ports on FESX devices, the ports may flap for a few seconds before the link is up
NOTE
1086
In some instances, it is unnecessary for a connected device, such as an end station, to initiate or participate in an STP topology change. In this case, you can enable the STP Protection feature on the Brocade port to which the end station is connected. STP Protection disables the connected device ability to initiate or participate in an STP topology change, by dropping all BPDUs received from the connected device.
This command causes the port to drop STP BPDUs sent from the device on the other end of the link. Syntax: [no] stp-protect Enter the no form of the command to disable STP protection on the port.
To clear the BPDU drop counter for a specific port that has STP Protection enabled, enter the following command at the Global CONFIG level of the CLI.
Brocade#clear stp-protect-statistics e 2
Syntax: clear stp-protect-statistics [ethernet [<port>] | [ethernet [<port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1087
To view STP Protection configuration for a specific port, enter the following command at any level of the CLI.
Brocade#show stp-protect e 3 STP-protect is enabled on port 3.
If you enter the show stp-protect command for a port that does not have STP protection enabled, the following message displays on the console.
Brocade#show stp-protect e 4 STP-protect is not enabled on port 4.
Syntax: show stp-protect [ethernet <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
All the global and interface STP settings CPU utilization statistics Detailed STP information for each interface STP state information for a port-based VLAN STP state information for an individual interface
1088
Port STP Parameters: Port Num 1 2 3 4 5 6 7 Prio rity Hex 80 80 80 80 80 80 80 Path Cost 19 0 0 0 19 19 0 State Fwd Trans 1 0 0 0 1 0 0 Design Cost 0 0 0 0 0 0 0 Designated Root 800000e0804d4a00 0000000000000000 0000000000000000 0000000000000000 800000e0804d4a00 800000e0804d4a00 0000000000000000 Designated Bridge 800000e0804d4a00 0000000000000000 0000000000000000 0000000000000000 800000e0804d4a00 800000e0804d4a00 0000000000000000
Syntax: show span [vlan <vlan-id>] | [pvst-mode] | [<num>] | [detail [vlan <vlan-id> [ethernet [<port>] | <num>]] The vlan <vlan-id> parameter displays STP information for the specified port-based VLAN. The pvst-mode parameter displays STP information for the device Per VLAN Spanning Tree (PVST+) compatibility configuration. Refer to PVST/PVST+ compatibility on page 1151 Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The <num> parameter displays only the entries after the number you specify. For example, on a device with three port-based VLANs, if you enter 1, then information for the second and third VLANs is displayed, but information for the first VLAN is not displayed. Information is displayed according to VLAN number, in ascending order. The entry number is not the same as the VLAN number. For example, if you have port-based VLANs 1, 10, and 2024, then the command output has three STP entries. To display information for VLANs 10 and 2024 only, enter show span 1. The detail parameter and its additional optional parameters display detailed information for individual ports. Refer to Displaying detailed STP information for each interface on page 1093. The show span command shows the following information.
1089
TABLE 195
Field
Hello sec Hold sec Fwd dly sec Last Chang sec Chg cnt Bridge Address
1090
TABLE 195
Field
State
The number of times STP has changed the state of this port between BLOCKING and FORWARDING. The cost to the root bridge as advertised by the designated bridge that is connected to this port. If the designated bridge is the root bridge itself, then the cost is 0. The identity of the designated bridge is shown in the Design Bridge field. The root bridge as recognized on this port. The value is the same as the root bridge ID listed in the Root ID field. The designated bridge to which this port is connected. The designated bridge is the device that connects the network segment on the port to the root bridge.
5Min(%) 0.09 0.08 0.00 0.00 0.00 0.00 0.00 0.04 0.00
15Min(%) 0.22 0.14 0.00 0.00 0.00 0.00 0.00 0.07 0.00
Runtime(ms) 9 13 0 0 0 0 0 4 0
If the software has been running less than 15 minutes (the maximum interval for utilization statistics), the command indicates how long the software has been running. Here is an example.
1091
Brocade#show process cpu The system has only been up for 6 seconds. Process Name 5Sec(%) 1Min(%) 5Min(%) ARP 0.01 0.00 0.00 BGP 0.00 0.00 0.00 GVRP 0.00 0.00 0.00 ICMP 0.01 0.00 0.00 IP 0.00 0.00 0.00 OSPF 0.00 0.00 0.00 RIP 0.00 0.00 0.00 STP 0.00 0.00 0.00 VRRP 0.00 0.00 0.00
15Min(%) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 0 0 0 1 0 0 0 0 0
To display utilization statistics for a specific number of seconds, enter a command such as the following.
Brocade#show process cpu 2 Statistics for last 1 sec and 80 ms Process Name Sec(%) Time(ms) ARP 0.00 0 BGP 0.00 0 GVRP 0.00 0 ICMP 0.01 1 IP 0.00 0 OSPF 0.00 0 RIP 0.00 0 STP 0.01 0 VRRP 0.00 0
When you specify how many seconds worth of statistics you want to display, the software selects the sample that most closely matches the number of seconds you specified. In this example, statistics are requested for the previous two seconds. The closest sample available is actually for the previous 1 second plus 80 milliseconds. Syntax: show process cpu [<num>] The <num> parameter specifies the number of seconds and can be from 1 900. If you use this parameter, the command lists the usage statistics only for the specified number of seconds. If you do not use this parameter, the command lists the usage statistics for the previous one-second, one-minute, five-minute, and fifteen-minute intervals.
1092
Brocade#show vlans Total PORT-VLAN entries: 2 Maximum PORT-VLAN entries: 16 legend: [S=Slot] PORT-VLAN Untagged Untagged Untagged Untagged Tagged Uplink PORT-VLAN Untagged Untagged Tagged Uplink 1, Name DEFAULT-VLAN, Priority level0, Spanning tree On Ports: (S3) 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 Ports: (S3) 17 18 19 20 21 22 23 24 Ports: (S4) 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 Ports: (S4) 18 19 20 21 22 23 24 Ports: None Ports: None 2, Name greenwell, Priority level0, Spanning tree Off Ports: (S1) 1 2 3 4 5 6 7 8 Ports: (S4) 1 Ports: None Ports: None
Syntax: show vlan [<vlan-id> | ethernet <port>] The <vlan-id> parameter specifies a VLAN for which you want to display the configuration information. The ethernet <port> parameter specifies a port. If you use this parameter, the command lists all the VLAN memberships for the port. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Displaying detailed STP information for each interface To display the detailed STP information, enter the following command at any level of the CLI.
Brocade#show span detail ====================================================================== VLAN 1 - MULTIPLE SPANNING TREE (MSTP) ACTIVE ====================================================================== Bridge identifier - 0x800000e0804d4a00 Active global timers - Hello: 0 Port 1/1 is FORWARDING Port - Path cost: 19, Priority: 128, Root: 0x800000e052a9bb00 Designated - Bridge: 0x800000e052a9bb00, Interface: 1, Path cost: 0 Active Timers - None BPDUs - Sent: 11, Received: 0 Port 1/2 is DISABLED Port 1/3 is DISABLED Port 1/4 is DISABLED <lines for remaining ports excluded for brevity>
1093
The line in the above output, VLAN 1 - MULTIPLE SPANNING TREE (MSTP) ACTIVE, is not the 802.1s standard. It is the same Global STP (IEEE 802.1D) type as shown in the output of the show span CLI command. If a port is disabled, the only information shown by this command is DISABLED. If a port is enabled, this display shows the following information. Syntax: show span detail [vlan <vlan-id> [ethernet <port>| <num>] The vlan <vlan-id> parameter specifies a VLAN. Specify the <port> variable in one of the following formats:
NOTE
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The <num> parameter specifies the number of VLANs you want the CLI to skip before displaying detailed STP information. For example, if the device has six VLANs configured (VLAN IDs 1, 2, 3, 99, 128, and 256) and you enter the command show span detail 4, detailed STP information is displayed for VLANs 128 and 256 only.
NOTE
If the configuration includes VLAN groups, the show span detail command displays the master VLANs of each group but not the member VLANs within the groups. However, the command does indicate that the VLAN is a master VLAN. The show span detail vlan <vlan-id> command displays the information for the VLAN even if it is a member VLAN. To list all the member VLANs within a VLAN group, enter the show vlan-group [<group-id>] command. The show span detail command shows the following information.
TABLE 196
Field
The STP identity of this device. The global STP timers that are currently active, and their current values. The following timers can be listed: Hello The interval between Hello packets. This timer applies only to the root bridge. Topology Change (TC) The amount of time during which the topology change flag in Hello packets will be marked, indicating a topology change. This timer applies only to the root bridge. Topology Change Notification (TCN) The interval between Topology Change Notification packets sent by a non-root bridge toward the root bridge. This timer applies only to non-root bridges.
1094
TABLE 196
Field
The STP path cost for the port. This STP priority for the port. The value is shown as a hexadecimal number. The ID assigned by STP to the root bridge for this spanning tree. The MAC address of the designated bridge to which this port is connected. The designated bridge is the device that connects the network segment on the port to the root bridge. The port number sent from the designated bridge. The cost to the root bridge as advertised by the designated bridge that is connected to this port. If the bridge is the root bridge itself, then the cost is 0. The identity of the designated bridge is shown in the Designated Bridge field. The current values for the following timers, if active: Message age The number of seconds this port has been waiting for a hello message from the root bridge. Forward delay The number of seconds that have passed since the last topology change and consequent reconvergence. Hold time The number of seconds that have elapsed since transmission of the last Configuration BPDU. The number of BPDUs sent and received on this port since the software was reloaded.
Active Timers
1095
Syntax: show span detail [vlan <vlan-id> ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1096
The STP information is shown in bold type in this example. Syntax: show interfaces [ethernet <port>] | [loopback <num>] | [slot <slot-num>] | [ve <num>] | [brief] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
You also can display the STP states of all ports by entering the show interface brief command such as the following, which uses the brief parameter.
Brocade#show interface brief Port 1/1 1/2 1/3 1/4 1/5 1/6 1/7 1/8 Link Down Down Down Down Down Down Down Down State None None None None None None None None Dupl None None None None None None None None Speed None None None None None None None None Trunk None None None None None None None None Tag No No No No No No No No Priori level0 level0 level0 level0 level0 level0 level0 level0 MAC Name 00e0.52a9.bb00 00e0.52a9.bb01 00e0.52a9.bb02 00e0.52a9.bb03 00e0.52a9.bb04 00e0.52a9.bb05 00e0.52a9.bb06 00e0.52a9.bb07
. . some rows omitted for brevity . 3/10 Down None None None None 3/11 Up Forward Full 100M None
No No
In the example above, only one port, 3/11, is forwarding traffic toward the root bridge.
1097
This slow convergence is undesirable and unnecessary in some circumstances. The Fast Port Span feature allows certain ports to enter the forwarding state in four seconds. Specifically, Fast Port Span allows faster convergence on ports that are attached to end stations and thus do not present the potential to cause Layer 2 forwarding loops. Because the end stations cannot cause forwarding loops, they can safely go through the STP state changes (blocking to listening to learning to forwarding) more quickly than is allowed by the standard STP convergence time. Fast Port Span performs the convergence on these ports in four seconds (two seconds for listening and two seconds for learning). In addition, Fast Port Span enhances overall network performance in the following ways:
Fast Port Span reduces the number of STP topology change notifications on the network.
When an end station attached to a Fast Span port comes up or down, the Brocade device does not generate a topology change notification for the port. In this situation, the notification is unnecessary since a change in the state of the host does not affect the network topology.
Fast Port Span eliminates unnecessary MAC cache aging that can be caused by topology
change notifications. Bridging devices age out the learned MAC addresses in their MAC caches if the addresses are unrefreshed for a given period of time, sometimes called the MAC aging interval. When STP sends a topology change notification, devices that receive the notification use the value of the STP forward delay to quickly age out their MAC caches. For example, if a device normal MAC aging interval is 5 minutes, the aging interval changes temporarily to the value of the forward delay (for example, 15 seconds) in response to an STP topology change. In normal STP, the accelerated cache aging occurs even when a single host goes up or down. Because Fast Port Span does not send a topology change notification when a host on a Fast Port Span port goes up or down, the unnecessary cache aging that can occur in these circumstances under normal STP is eliminated. Fast Port Span is a system-wide parameter and is enabled by default. Thus, when you boot a device, all the ports that are attached only to end stations run Fast Port Span. For ports that are not eligible for Fast Port Span, such as ports connected to other networking devices, the device automatically uses the normal STP settings. If a port matches any of the following criteria, the port is ineligible for Fast Port Span and uses normal STP instead:
The port is 802.1Q tagged The port is a member of a trunk group The port has learned more than one active MAC address An STP Configuration BPDU has been received on the port, thus indicating the presence of another bridge on the port.
You also can explicitly exclude individual ports from Fast Port Span if needed. For example, if the only uplink ports for a wiring closet switch are Gbps ports, you can exclude the ports from Fast Port Span.
1098
The fast port-span command has additional parameters that let you exclude specific ports. These parameters are shown in the following section. To re-enable Fast Port Span, enter the following commands.
Brocade(config)#fast port-span Brocade(config)#write memory
NOTE
To exclude a set of ports from Fast Port Span, enter commands such as the following.
Brocade(config)#fast port-span exclude ethernet 1 ethernet 2 ethernet 3 Brocade(config)#write memory
To exclude a contiguous (unbroken) range of ports from Fast Span, enter commands such as the following.
Brocade(config)#fast port-span exclude ethernet 1 to 24 Brocade(config)#write memory
Syntax: [no] fast port-span [exclude ethernet <port> [ethernet <port>] | to [<port>]] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
To re-enable Fast Port Span on a port, enter a command such as the following.
Brocade(config)#no fast port-span exclude ethernet 1 Brocade(config)#write memory
This command re-enables Fast Port Span on port 1 only and does not re-enable Fast Port Span on other excluded ports. You also can re-enable Fast Port Span on a list or range of ports using the syntax shown above this example. To re-enable Fast Port Span on all excluded ports, disable and then re-enable Fast Port Span by entering the following commands.
Brocade(config)#no fast port-span Brocade(config)#fast port-span Brocade(config)#write memory
1099
Disabling and then re-enabling Fast Port Span clears the exclude settings and thus enables Fast Port Span on all eligible ports. To make sure Fast Port Span remains enabled on the ports following a system reset, save the configuration changes to the startup-config file after you re-enable Fast Port Span. Otherwise, when the system resets, those ports will again be excluded from Fast Port Span.
NOTE
When the wiring closet switch (Brocade device) first comes up or when STP is first enabled, the uplink ports still must go through the standard STP state transition without any acceleration. This behavior guards against temporary routing loops as the switch tries to determine the states for all the ports. Fast Uplink Span acceleration applies only when a working uplink becomes unavailable.
NOTE
1100
Use caution when changing the spanning tree priority. If the switch becomes the root bridge, Fast Uplink Span will be disabled automatically.
NOTE
If you add the primary port of a trunk group to the Fast Uplink Span group, all other ports in the
trunk group are automatically included in the group. Similarly, if you remove the primary port in a trunk group from the Fast Uplink Span group, the other ports in the trunk group are automatically removed from the Fast Uplink Span group.
You cannot add a subset of the ports in a trunk group to the Fast Uplink Span group. All ports
in a trunk group have the same Fast Uplink Span property, as they do for other port properties.
If the working trunk group is partially down but not completely down, no switch-over to the
backup occurs. This behavior is the same as in the standard STP feature.
If the working trunk group is completely down, a backup trunk group can go through an
accelerated transition only if the following are true:
The trunk group is included in the fast uplink group. All other ports except those in this trunk group are either disabled or blocked. The
accelerated transition applies to all ports in this trunk group. When the original working trunk group comes back (partially or fully), the transition back to the original topology is accelerated if the conditions listed above are met.
Syntax: [no] fast uplink-span [ethernet <port> [ethernet <port> | to <port>]] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
This example configures four ports, 4/1 4/4, as a Fast Uplink Span group. In this example, all four ports are connected to a wiring closet switch. Only one of the links is expected to be active at any time. The other links are redundant. For example, if the link on port 4/1 is the active link on the wiring closet switch but becomes unavailable, one of the other links takes over. Because the ports are configured in a Fast Uplink Span group, the STP convergence takes one second instead of taking atleast 30 seconds using the standard STP forward delay. You can add ports to a Fast Uplink Span group by entering the fast uplink-span command additional times with additional ports. The device can have only one Fast Uplink Span group, so all the ports you identify as Fast Uplink Span ports are members of the same group.
1101
To remove a Fast Uplink Span group or to remove individual ports from a group, use no in front of the appropriate fast uplink-span command. For example, to remove ports 4/3 and 4/4 from the Fast Uplink Span group configured above, enter the following commands:
Brocade(config)# no fast uplink-span ethernet 4/3 to 4/4 Brocade(config)# write memory
1 000000c100000001 2 Port STP Parameters: Port Num 1/1/2 1/1/3 1/1/4 1/1/5 1/1/6 1/1/7 1/1/8 1/1/9 Prio rity Hex 80 80 80 80 80 80 80 80 Path Cost 0 0 4 0 0 0 0 0 State
Fwd Trans 0 0 1 0 0 0 0 0
Design Cost 0 0 2 0 0 0 0 0
Designated Root 0000000000000000 0000000000000000 000000c100000001 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Designated Bridge 0000000000000000 0000000000000000 8000000011111111 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000
Syntax: [no] fast uplink-span ethernet <port-no> To check the status of Fast Uplink Span for a specified VLAN.
Brocade(config-vlan-2)#show span vlan 2 fast-uplink-span STP instance owned by VLAN 2 Global STP (IEEE 802.1D) Parameters: VLAN Root ID ID Root Root Cost Port Root Prio rity Hex 8000 Max Age sec 20 Hello sec 2 Hold sec 1 Fwd dly sec 15 Last Chang sec 29596 Chg Bridge cnt Address 0 000011111111
2 8000000011111111 0
1102
Port STP Parameters: Port Num 1/1/1 Prio Path rity Cost Hex 80 4 State Fwd Trans 0 Design Cost 0 Designated Root Designated Bridge
LISTENING
8000000011111111 8000000011111111
Syntax: show span vlan <vlan-id> fast-uplink-span The VLAN <vlan-id> parameter displays Fast Uplink Span information for the specified VLAN.
NOTE
This rapid convergence will not occur on ports connected to shared media devices, such as hubs. To take advantage of the rapid convergence provided by 802.1W, make sure to explicitly configure all point-to-point links in a topology. The convergence provided by the standard 802.1W protocol occurs more rapidly than the convergence provided by previous spanning tree protocols because of the following:
Classic or legacy 802.1D STP protocol requires a newly selected Root port to go through
listening and learning stages before traffic convergence can be achieved. The 802.1D traffic convergence time is calculated using the following formula. 2 x FORWARD_DELAY + BRIDGE_MAX_AGE. If default values are used in the parameter configuration, convergence can take up to 50 seconds. (In this document STP will be referred to as 802.1D.)
RSTP Draft 3 works only on bridges that have Alternate ports, which are the precalculated
next best root port. (Alternate ports provide back up paths to the root bridge.) Although convergence occurs from 0 500 milliseconds in RSTP Draft 3, the spanning tree topology reverts to the 802.1D convergence if an Alternate port is not found.
Convergence in 802.1w bridge is not based on any timer values. Rather, it is based on the
explicit handshakes between Designated ports and their connected Root ports to achieve convergence in less than 500 milliseconds.
1103
Unique roles are assigned to ports on the root and non-root bridges. Role assignments are based on the following information contained in the Rapid Spanning Tree Bridge Packet Data Unit (RST BPDU):
The 802.1W algorithm uses this information to determine if the RST BPDU received by a port is superior to the RST BPDU that the port transmits. The two values are compared in the order as given above, starting with the Root bridge ID. The RST BPDU with a lower value is considered superior. The superiority and inferiority of the RST BPDU is used to assign a role to a port. If the value of the received RST BPDU is the same as that of the transmitted RST BPDU, then the port ID in the RST BPDUs are compared. The RST BPDU with the lower port ID is superior. Port roles are then calculated appropriately. The port role is included in the BPDU that it transmits. The BPDU transmitted by an 802.1W port is referred to as an RST BPDU, while it is operating in 802.1W mode. Ports can have one of the following roles:
Root Provides the lowest cost path to the root bridge from a specific bridge Designated Provides the lowest cost path to the root bridge from a LAN to which it is
connected
Alternate Provides an alternate path to the root bridge when the root port goes down Backup Provides a backup to the LAN when the Designated port goes down Disabled Has no role in the topology
Assignment of port roles At system start-up, all 802.1W-enabled bridge ports assume a Designated role. Once start-up is complete, the 802.1W algorithm calculates the superiority or inferiority of the RST BPDU that is received and transmitted on a port. On a root bridge, each port is assigned a Designated port role, except for ports on the same bridge that are physically connected together. In these type of ports, the port that receives the superior RST BPDU becomes the Backup port, while the other port becomes the Designated port. On non-root bridges, ports are assigned as follows:
The port that receives the RST BPDU with the lowest path cost from the root bridge becomes
the Root port.
If two ports on the same bridge are physically connected, the port that receives the superior
RST BPDU becomes the Backup port, while the other port becomes the Designated port.
If a non-root bridge already has a Root port, then the port that receives an RST BPDU that is
superior to those it can transmit becomes the Alternate port.
If the RST BPDU that a port receives is inferior to the RST BPDUs it transmits, then the port
becomes a Designated port.
If the port is down or if 802.1W is disabled on the port, that port is given the role of Disabled
port. Disabled ports have no role in the topology. However, if 802.1W is enabled on a port with a link down and the link of that port comes up, then that port assumes one of the following port roles: Root, Designated, Alternate, or Backup.
1104
The following example (Figure 126) explains role assignments in a simple RSTP topology. All examples in this document assume that all ports in the illustrated topologies are point-to-point links and are homogeneous (they have the same path cost value) unless otherwise specified. The topology in Figure 126 contains four bridges. Switch 1 is the root bridge since it has the lowest bridge priority. Switch 2 through Switch 4 are non-root bridges.
NOTE
Port7
Port2
Port2
Port3
Port3
Port4
Port2
Port3
Port3
Port4
Port4
Assignment of ports on Switch 1 All ports on Switch 1, the root bridge, are assigned Designated port roles. Assignment of ports on Switch 2 Port2 on Switch 2 directly connects to the root bridge; therefore, Port2 is the Root port. The bridge priority value on Switch 2 is superior to that of Switch 3 and Switch 4; therefore, the ports on Switch 2 that connect to Switch 3 and Switch 4 are given the Designated port role. Furthermore, Port7 and Port8 on Switch 2 are physically connected. The RST BPDUs transmitted by Port7 are superior to those Port8 transmits. Therefore, Port8 is the Backup port and Port7 is the Designated port. Assignment of ports on Switch 3 Port2 on Switch 3 directly connects to the Designated port on the root bridge; therefore, it assumes the Root port role. The root path cost of the RST BPDUs received on Port4/Switch 3 is inferior to the RST BPDUs transmitted by the port; therefore, Port4/Switch 3 becomes the Designated port.
1105
Similarly Switch 3 has a bridge priority value inferior to Switch 2. Port3 on Switch 3 connects to Port 3 on Switch 2. This port will be given the Alternate port role, since a Root port is already established on this bridge. Assignment of ports on Switch 4 Switch 4 is not directly connected to the root bridge. It has two ports with superior incoming RST BPDUs from two separate LANs: Port3 and Port4. The RST BPDUs received on Port3 are superior to the RST BPDUs received on port 4; therefore, Port3 becomes the Root port and Port4 becomes the Alternate port.
Port2
Port2
Port3
Port3
Port2
Port3
However, if any incoming RST BPDU is received from a previously configured Edge port, 802.1W automatically makes the port as a non-edge port. This is extremely important to ensure a loop free Layer 2 operation since a non-edge port is part of the active RSTP topology.
1106
The 802.1W protocol can auto-detect an Edge port and a non-edge port. An administrator can also configure a port to be an Edge port using the CLI. It is recommended that Edge ports are configured explicitly to take advantage of the Edge port feature, instead of allowing the protocol to auto-detect them.
Point-to-point ports
To take advantage of the 802.1W features, ports on an 802.1W topology should be explicitly configured as point-to-point links using the CLI. Shared media should not be configured as point-to-point links.
NOTE
Configuring shared media or non-point-to-point links as point-to-point links could lead to Layer 2 loops. The topology in Figure 128 is an example of shared media that should not be configured as point-to-point links. In Figure 128, a port on a bridge communicates or is connected to at least two ports.
Forwarding 802.1W is allowing the port to send and receive all packets. Discarding 802.1W has blocked data traffic on this port to prevent a loop. The device or
VLAN can reach the root bridge using another port, whose state is forwarding. When a port is in this state, the port does not transmit or receive data frames, but the port does continue to receive RST BPDUs. This state corresponds to the listening and blocking states of 802.1D.
Learning 802.1W is allowing MAC entries to be added to the filtering database but does not
permit forwarding of data frames. The device can learn the MAC addresses of frames that the port receives during this state and make corresponding entries in the MAC table.
Disabled The port is not participating in 802.1W. This can occur when the port is
disconnected or 802.1W is administratively disabled on the port. A port on a non-root bridge with the role of Root port is always in a forwarding state. If another port on that bridge assumes the Root port role, then the old Root port moves into a discarding state as it assumes another port role.
1107
A port on a non-root bridge with a Designated role starts in the discarding state. When that port becomes elected to the Root port role, 802.1W quickly places it into a forwarding state. However, if the Designated port is an Edge port, then the port starts and stays in a forwarding state and it cannot be elected as a Root port. A port with an Alternate or Backup role is always in a discarding state. If the port role changes to Designated, then the port changes into a forwarding state. If a port on one bridge has a Designated role and that port is connected to a port on another bridge that has an Alternate or Backup role, the port with a Designated role cannot be given a Root port role until two instances of the forward delay timer expires on that port.
New information is received on any port on the bridge The timer expires for the current information on a port on the bridge
Each port uses the following state machines:
Port Information This state machine keeps track of spanning-tree information currently used
by the port. It records the origin of the information and ages out any information that was derived from an incoming BPDU.
Port Role Transition This state machine keeps track of the current port role and transitions
the port to the appropriate role when required. It moves the Root port and the Designated port into forwarding states and moves the Alternate and Backup ports into discarding states.
Port Transmit This state machine is responsible for BPDU transmission. It checks to ensure
only the maximum number of BPDUs per hello interval are sent every second. Based on what mode it is operating in, it sends out either legacy BPDUs or RST BPDUs. In this document legacy BPDUs are also referred to as STP BPDUs.
1108
Port Protocol Migration This state machine deals with compatibility with 802.1D bridges.
When a legacy BPDU is detected on a port, this state machine configures the port to transmit and receive legacy BPDUs and operate in the legacy mode.
Topology Change This state machine detects, generates, and propagates topology change
notifications. It acknowledges Topology Change Notice (TCN) messages when operating in 802.1D mode. It also flushes the MAC table when a topology change event takes place.
Port State Transition This state machine transitions the port to a discarding, learning, or
forwarding state and performs any necessary processing associated with the state changes.
Port Timers This state machine is responsible for triggering any of the state machines
described above, based on expiration of specific port timers. In contrast to the 802.1D standard, the 802.1W standard does not have any bridge specific timers. All timers in the CLI are applied on a per-port basis, even though they are configured under bridge parameters. 802.1W state machines attempt to quickly place the ports into either a forwarding or discarding state. Root ports are quickly placed in forwarding state when both of the following events occur:
It is assigned to be the Root port. It receives an RST BPDU with a proposal flag from a Designated port. The proposal flag is sent
by ports with a Designated role when they are ready to move into a forwarding state. When a the role of Root port is given to another port, the old Root port is instructed to reroot. The old Root port goes into a discarding state and negotiates with its peer port for a new role and a new state. A peer port is the port on the other bridge to which the port is connected. For example, in Figure 129, Port1 of Switch 200 is the peer port of Port2 of Switch 100. A port with a Designated role is quickly placed into a forwarding state if one of the following occurs:
The Designated port receives an RST BPDU that contains an agreement flag from a Root port The Designated port is an Edge port
However, a Designated port that is attached to an Alternate port or a Backup port must wait until the forward delay timer expires twice on that port while it is still in a Designated role, before it can proceed to the forwarding state. Backup ports are quickly placed into discarding states. Alternate ports are quickly placed into discarding states. A port operating in 802.1W mode may enter a learning state to allow MAC entries to be added to the filtering database; however, this state is transient and lasts only a few milliseconds, if the port is operating in 802.1W mode and if the port meets the conditions for rapid transition. Handshake mechanisms To rapidly transition a Designated or Root port into a forwarding state, the Port Role Transition state machine uses handshake mechanisms to ensure loop free operations. It uses one type of handshake if no Root port has been assigned on a bridge, and another type if a Root port has already been assigned. Handshake when no root port is elected If a Root port has not been assigned on a bridge, 802.1W uses the Proposing -> Proposed -> Sync -> Synced -> Agreed handshake:
1109
Proposing The Designated port on the root bridge sends an RST BPDU packet to its peer port
that contains a proposal flag. The proposal flag is a signal that indicates that the Designated port is ready to put itself in a forwarding state (Figure 129). The Designated port continues to send this flag in its RST BPDU until it is placed in a forwarding state (Figure 132) or is forced to operate in 802.1D mode. (Refer to Compatibility of 802.1W with 802.1D on page 1130).
Proposed When a port receives an RST BPDU with a proposal flag from the Designated port
on its point-to-point link, it asserts the Proposed signal and one of the following occurs (Figure 129):
If the RST BPDU that the port receives is superior to what it can transmit, the port
assumes the role of a Root port. (Refer to the section on Bridges and bridge port roles on page 1103.)
If the RST BPDU that the port receives is inferior to what it can transmit, then the port is
given the role of Designated port.
NOTE
Proposed will never be asserted if the port is connected on a shared media link. In Figure 129, Port3/Switch 200 is elected as the Root port
Switch 200
Port2
Port3
Port2
Port3
Switch 300
Switch 400
1110
Sync Once the Root port is elected, it sets a sync signal on all the ports on the bridge. The
signal tells the ports to synchronize their roles and states (Figure 130). Ports that are non-edge ports with a role of Designated port change into a discarding state. These ports have to negotiate with their peer ports to establish their new roles and states.
Switch 200
Port2
Port3
Switch 300
Switch 400
Indicates a signal
1111
Synced Once the Designated port changes into a discarding state, it asserts a synced signal.
Immediately, Alternate ports and Backup ports are synced. The Root port monitors the synced signals from all the bridge ports. Once all bridge ports asserts a synced signal, the Root port asserts its own synced signal (Figure 131).
Switch 200
Port2
Port3
Switch 300
Switch 400
Indicates a signal
1112
Agreed The Root port sends back an RST BPDU containing an agreed flag to its peer
Designated port and moves into the forwarding state. When the peer Designated port receives the RST BPDU, it rapidly transitions into a forwarding state.
Switch 200
Port2
Port3
Switch 300
Switch 400
Indicates a signal
At this point, the handshake mechanism is complete between Switch 100, the root bridge, and Switch 200. Switch 200 updates the information on the Switch 200 Designated ports (Port2 and Port3) and identifies the new root bridge. The Designated ports send RST BPDUs, containing proposal flags, to their downstream bridges, without waiting for the hello timers to expire on them. This process starts the handshake with the downstream bridges. For example, Port2/Switch 200 sends an RST BPDU to Port2/Switch 300 that contains a proposal flag. Port2/Switch 300 asserts a proposed signal. Ports in Switch 300 then set sync signals on the ports to synchronize and negotiate their roles and states. Then the ports assert a synced signal and when the Root port in Switch 300 asserts its synced signal, it sends an RST BPDU to Switch 200 with an agreed flag. This handshake is repeated between Switch 200 and Switch 400 until all Designated and Root ports are in forwarding states.
1113
Handshake when a root port has been elected If a non-root bridge already has a Root port, 802.1W uses a different type of handshake. For example, in Figure 133, a new root bridge is added to the topology.
Switch 100
Switch 60
Switch 200
Port2
Port3
Switch 300
Switch 400
The handshake that occurs between Switch 60 and Switch 100 follows the one described in the previous section (Handshake when no root port is elected on page 1109). The former root bridge becomes a non-root bridge and establishes a Root port (Figure 134). However, since Switch 200 already had a Root port in a forwarding state, 802.1W uses the Proposing -> Proposed -> Sync and Reroot -> Sync and Rerooted -> Rerooted and Synced -> Agreed handshake:
1114
Proposing and Proposed The Designated port on the new root bridge (Port4/Switch 60)
sends an RST BPDU that contains a proposing signal to Port4/Switch 200 to inform the port that it is ready to put itself in a forwarding state (Figure 134). 802.1W algorithm determines that the RST BPDU that Port4/Switch 200 received is superior to what it can generate, so Port4/Switch 200 assumes a Root port role.
Switch 60
Port1
Switch 200
Port2
Port3
Port2
Port3
Switch 300
Switch 400
1115
Sync and Reroot The Root port then asserts a sync and a reroot signal on all the ports on the
bridge. The signal tells the ports that a new Root port has been assigned and they are to renegotiate their new roles and states. The other ports on the bridge assert their sync and reroot signals. Information about the old Root port is discarded from all ports. Designated ports change into discarding states (Figure 135).
Switch 100
Switch 60
Port1
Proposing
Switch 200
Port2
Port3
Switch 300
Switch 400
Indicates a signal
1116
Sync and Rerooted When the ports on Switch 200 have completed the reroot phase, they
assert their rerooted signals and continue to assert their sync signals as they continue in their discarding states. They also continue to negotiate their roles and states with their peer ports (Figure 136).
Switch 100
Switch 60
Proposing
Switch 200
Port2
Port3
Switch 300
Switch 400
1117
Synced and Agree When all the ports on the bridge assert their synced signals, the new Root
port asserts its own synced signal and sends an RST BPDU to Port4/Switch 60 that contains an agreed flag (Figure 136). The Root port also moves into a forwarding state.
Switch 100
Switch 60
Switch 200
Port2
Port3
Switch 300
Switch 400
Indicates a signal
The old Root port on Switch 200 becomes an Alternate Port (Figure 138). Other ports on that bridge are elected to appropriate roles.
1118
The Designated port on Switch 60 goes into a forwarding state once it receives the RST BPDU with the agreed flag.
Switch 60
Port1
Proposing
Switch 200
Port2 Proposing
Port3 Proposing
Port2
Port3
Switch 300
Switch 400
Recall that Switch 200 sent the agreed flag to Port4/Switch 60 and not to Port1/Switch 100 (the port that connects Switch 100 to Switch 200). Therefore, Port1/Switch 100 does not go into forwarding state instantly. It waits until two instances of the forward delay timer expires on the port before it goes into forwarding state. At this point the handshake between the Switch 60 and Switch 200 is complete. The remaining bridges (Switch 300 and Switch 400) may have to go through the reroot handshake if a new Root port needs to be assigned.
NOTE
1119
Convergence at start up In Figure 139, two bridges Switch 2 and Switch 3 are powered up. There are point-to-point connections between Port3/Switch 2 and Port3/Switch 3.
Switch 2
Switch 3
At power up, all ports on Switch 2 and Switch 3 assume Designated port roles and are at discarding states before they receive any RST BPDU. Port3/Switch 2, with a Designated role, transmits an RST BPDU with a proposal flag to Port3/Switch 3. A ports with a Designated role sends the proposal flag in its RST BPDU when they are ready to move to a forwarding state. Port3/Switch 3, which starts with a role of Designated port, receives the RST BPDU and finds that it is superior to what it can transmit; therefore, Port3/Switch 3 assumes a new port role, that of a Root port. Port3/Switch 3 transmits an RST BPDU with an agreed flag back to Switch 2 and immediately goes into a forwarding state. Port3/Switch 2 receives the RST BPDU from Port3/Switch 3 and immediately goes into a forwarding state. Now 802.1W has fully converged between the two bridges, with Port3/Switch 3 as an operational root port in forwarding state and Port3/Switch 2 as an operational Designated port in forwarding state.
1120
Switch 2
Switch 1
Switch 3
1121
The Port2/Switch 2 bridge also sends an RST BPDU with an agreed flag Port2/Switch 1 that Port2 is the new Root port. Both ports go into forwarding states. Now, Port3/Switch 3 is currently in a discarding state and is negotiating a port role. It received RST BPDUs from Port3/Switch 2. The 802.1W algorithm determines that the RST BPDUs Port3/Switch 3 received are superior to those it can transmit; however, they are not superior to those that are currently being received by the current Root port (Port4). Therefore, Port3 retains the role of Alternate port. Ports 3/Switch 1 and Port5/Switch 1 are physically connected. Port5/Switch 1 received RST BPDUs that are superior to those received on Port3/Switch 1; therefore, Port5/Switch 1 is given the Backup port role while Port3 is given the Designated port role. Port3/Switch 1, does not go directly into a forwarding state. It waits until the forward delay time expires twice on that port before it can proceed to the forwarding state. Once convergence is achieved, the active Layer 2 forwarding path converges as shown in Figure 141.
Switch 2
Switch 1
Switch 3
1122
Port5
Port2
Switch 1
Port3
Port4
Port3
Port4
Switch 3
Switch 1 sets its Port2 into a discarding state. At the same time, Switch 2 assumes the role of a root bridge since its root port failed and it has no operational Alternate port. Port3/Switch 2, which currently has a Designated port role, sends an RST BPDU to Switch 3. The RST BPDU contains a proposal flag and a bridge ID of Switch 2 as its root bridge ID. When Port3/Switch 3 receives the RST BPDUs, 802.1W algorithm determines that they are inferior to those that the port can transmit. Therefore, Port3/Switch 3 is given a new role, that of a Designated port. Port3/Switch 3 then sends an RST BPDU with a proposal flag to Switch 2, along with the new role information. However, the root bridge ID transmitted in the RST BPDU is still Switch 1. When Port3/Switch 2 receives the RST BPDU, 802.1W algorithm determines that it is superior to the RST BPDU that it can transmit; therefore, Port3/Switch 2 receives a new role; that of a Root port. Port3/Switch 2 then sends an RST BPDU with an agreed flag to Port3/Switch 3. Port3/Switch 2 goes into a forwarding state. When Port3/Switch 3 receives the RST BPDU that Port3/Switch 2 sent, Port3/Switch 3 changes into a forwarding state, which then completes the full convergence of the topology.
1123
Port3/Switch 2, the Designated port, sends an RST BPDU, with a proposal flag to Port3/Switch
3.
Port2/Switch 2 also sends an RST BPDU with an agreed flag to Port2/Switch 1 and then
places itself into a forwarding state. When Port2/Switch 1 receives the RST BPDU with an agreed flag sent by Port2/Switch 2, it puts that port into a forwarding state. The topology is now fully converged. When Port3/Switch 3 receives the RST BPDU that Port3/Switch 2 sent, 802.1W algorithm determines that these RST BPDUs are superior to those that Port3/Switch 3 can transmit. Therefore, Port3/Switch 3 is given a new role, that of an Alternate port. Port3/Switch 3 immediately enters a discarding state. Now Port3/Switch 2 does not go into a forwarding state instantly like the Root port. It waits until the forward delay timer expires twice on that port while it is still in a Designated role, before it can proceed to the forwarding state. The wait, however, does not cause a denial of service, since the essential connectivity in the topology has already been established. When fully restored, the topology is the same as that shown on Figure 140.
1124
Port7
Port8
Bridge priority = 60
Switch 1
Port2
Port2
Switch 2
Port5
Port2 Switch 5
Port3
Port3
Port4
Port3
Port2
Port3
Port3
Port4
Port3
Switch 3
Port4
Port4
Switch 4
Port5
Port5
Switch 6
In Figure 143, Switch 5 is selected as the root bridge since it is the bridge with the highest priority. Lines in the figure show the point-to-point connection to the bridges in the topology. Switch 5 sends an RST BPDU that contains a proposal flag to Port5/Switch 2. When handshakes are completed in Switch 5, Port5/Switch 2 is selected as the Root port on Switch 2. All other ports on Switch 2 are given Designated port role with discarding states. Port5/Switch 2 then sends an RST BPDU with an agreed flag to Switch 5 to confirm that it is the new Root port and the port enters a forwarding state. Port7 and Port8 are informed of the identity of the new Root port. 802.1W algorithm selects Port7 as the Designated port while Port8 becomes the Backup port. Port3/Switch 5 sends an RST BPDU to Port3/Switch 6 with a proposal flag. When Port3/Switch 5 receives the RST BPDU, handshake mechanisms select Port3 as the Root port of Switch 6. All other ports are given a Designated port role with discarding states. Port3/Switch 6 then sends an RST BPDU with an agreed flag to Port3/Switch 5 to confirm that it is the Root port. The Root port then goes into a forwarding state. Now, Port4/Switch 6 receives RST BPDUs that are superior to what it can transmit; therefore, it is given the Alternate port role. The port remains in discarding state. Port5/Switch 6 receives RST BPDUs that are inferior to what it can transmit. The port is then given a Designated port role.
1125
Next Switch 2 sends RST BPDUs with a proposal flag to Port3/Switch 4. Port3 becomes the Root port for the bridge; all other ports are given a Designated port role with discarding states. Port3/Switch 4 sends an RST BPDU with an agreed flag to Switch 2 to confirm that it is the new Root port. The port then goes into a forwarding state. Now Port4/Switch 4 receives an RST BPDU that is superior to what it can transmit. The port is then given an Alternate port role, and remains in discarding state. Likewise, Port5/Switch 4 receives an RST BPDU that is superior to what it can transmit. The port is also given an Alternate port role, and remains in discarding state. Port2/Switch 2 transmits an RST BPDU with a proposal flag to Port2/Switch 1. Port2/Switch 1 becomes the Root port. All other ports on Switch 1 are given Designated port roles with discarding states. Port2/Switch 1 sends an RST BPDU with an agreed flag to Port2/Switch 2 and Port2/Switch 1 goes into a forwarding state. Port3/Switch 1 receives an RST BPDUs that is inferior to what it can transmit; therefore, the port retains its Designated port role and goes into forwarding state only after the forward delay timer expires twice on that port while it is still in a Designated role. Port3/Switch 2 sends an RST BPDU to Port3/Switch 3 that contains a proposal flag. Port3/Switch 3 becomes the Root port, while all other ports on Switch 3 are given Designated port roles and go into discarding states. Port3/Switch 3 sends an RST BPDU with an agreed flag to Port3/Switch 2 and Port3/Switch 3 goes into a forwarding state. Now, Port2/Switch 3 receives an RST BPDUs that is superior to what it can transmit so that port is given an Alternate port state. Port4/Switch 3 receives an RST BPDU that is inferior to what it can transmit; therefore, the port retains its Designated port role. Ports on all the bridges in the topology with Designated port roles that received RST BPDUs with agreed flags go into forwarding states instantly. However, Designated ports that did not receive RST BPDUs with agreed flags must wait until the forward delay timer expires twice on those port. Only then will these port move into forwarding states. The entire 802.1W topology converges in less than 300 msec and the essential connectivity is established between the designated ports and their connected root ports.
1126
After convergence is complete, Figure 144 shows the active Layer 2 path of the topology in Figure 143.
Port7
Bridge priority = 60
Switch 1
Port2
Port2
Switch 2
Switch 5
Port3
Port3
Port4
Port3
Port2
Port3
Port3
Port4
Port3
Switch 3
Port4
Port4 Switch 4
Port5
Port5
Switch 6
NOTE
1127
For example, Port3/Switch 2 in Figure 145, fails. Port4/Switch 3 becomes the new Root port. Port4/Switch 3 sends an RST BPDU with a TCN to Port4/Switch 4. To propagate the topology change, Port4/Switch 4 then starts a TCN timer on itself, on the bridge Root port, and on other ports on that bridge with a Designated role. Then Port3/Switch 4 sends RST BPDU with the TCN to Port4/Switch 2. (Note the new active Layer 2 path in Figure 145.)
Port7
Bridge priority = 60
Switch 1
Port2
Port2
Switch 5
Port3 Port3
Port4
Port3
Port2
Port3
Port3
Port4
Port3
Switch 3
Port4
Port4
Switch 4
Port5
Port 5
Switch 6
Switch 2 then starts the TCN timer on the Designated ports and sends RST BPDUs that contain the TCN as follows (Figure 146):
Port5/Switch 2 sends the TCN to Port2/Switch 5 Port4/Switch 2 sends the TCN to Port4/Switch 6 Port2/Switch 2 sends the TCN to Port2/Switch 1
1128
Port 7
Port8
Bridge priority = 60
Switch 1
Port2
Port2
Port5 Switch 2
Port2 Switch 5
Port3 Port3
Port4
Port3
Port2
Port3
Port3
Port4
Port3
Switch 3
Port4
Port4
Switch 4
Port5
Port5
Switch 6
1129
Then Switch 1, Switch 5, and Switch 6 send RST BPDUs that contain the TCN to Switch 3 and Switch 4 to complete the TCN propagation (Figure 147).
Port7
Port2
Port2
Port2
Port3
Port3
Port4
Port3
Port4
Port4
Port5
Port5
The port receives a legacy BPDU. A legacy BPDU is an STP BPDU or a BPDU in an 802.1D
format. The port that receives the legacy BPDU automatically configures itself to behave like a legacy port. It sends and receives legacy BPDUs only.
The entire bridge is configured to operate in an 802.1D mode when an administrator sets the
bridge parameter to zero at the CLI, forcing all ports on the bridge to send legacy BPDUs only. Once a port operates in the 802.1D mode, 802.1D convergence times are used and rapid convergence is not realized.
1130
For example, in Figure 148, Switch 10 and Switch 30 receive legacy BPDUs from Switch 20. Ports on Switch 10 and Switch 30 begin sending BPDUs in STP format to allow them to operate transparently with Switch 20.
Switch 10
Switch 20
Switch 30
802.1W
802.1D
802.1W
Once Switch 20 is removed from the LAN, Switch 10 and Switch 30 receive and transmit BPDUs in the STP format to and from each other. This state will continue until the administrator enables the force-migration-check command to force the bridge to send RSTP BPDU during a migrate time period. If ports on the bridges continue to hear only STP BPDUs after this migrate time period, those ports will return to sending STP BPDUs. However, when the ports receive RST BPDUs during the migrate time period, the ports begin sending RST BPDUs. The migrate time period is non-configurable. It has a value of three seconds. The IEEE standards state that 802.1W bridges need to interoperate with 802.1D bridges. IEEE standards set the path cost of 802.1W bridges to be between 1 and 200,000,000; whereas path cost of 802.1D bridges are set between 1 and 65,535. In order for the two bridge types to be able to interoperate in the same topology, the administrator needs to configure the bridge path cost appropriately. Path costs for either 802.1W bridges or 802.1D bridges need to be changed; in most cases, path costs for 802.1W bridges need to be changed.
NOTE
NOTE
With RSTP running, enabling static trunk on ports that are members of VLAN 4000 will keep the system busy for 20 to 25 seconds. Brocade devices are shipped from the factory with 802.1W disabled. Use the following methods to enable or disable 802.1W. You can enable or disable 802.1W at the following levels:
Port-based VLAN Affects all ports within the specified port-based VLAN. When you enable or
disable 802.1W within a port-based VLAN, the setting overrides the global setting. Thus, you can enable 802.1W for the ports within a port-based VLAN even when 802.1W is globally disabled, or disable the ports within a port-based VLAN when 802.1W is globally enabled.
Individual port Affects only the individual port. However, if you change the 802.1W state of
the primary port in a trunk group, the change affects all ports in the trunk group.
1131
Enabling or disabling 802.1W in a port-based VLAN Use the following procedure to disable or enable 802.1W on a device on which you have configured a port-based VLAN. Changing the 802.1W state in a VLAN affects only that VLAN. To enable 802.1W for all ports in a port-based VLAN, enter commands such as the following.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#spanning-tree 802-1w
Syntax: [no] spanning-tree 802-1w Note regarding pasting 802.1W settings into the running configuration If you paste 802.1W settings into the running configuration, and the pasted configuration includes ports that are already up, the ports will initially operate in STP legacy mode before operating in 802.1W RSTP mode. For example, the following pasted configuration will cause ports e 1 and e 2 to temporarily operate in STP legacy mode, because these ports are already up and running.
conf t vlan 120 tag e 1 to e 2 spanning-tree 802-1w spanning-tree 802-1w priority 1001 end
To avoid this issue, 802.1W commands/settings that are pasted into the configuration should be in the following order. 1. Ports that are not yet connected 2. 802.1W RSTP settings 3. Ports that are already up
Example
conf t vlan 120 untag e 3 spanning-tree 802-1w spanning-tree 802-1w priority 1001 tag e 1 to 2 end
In the above configuration, untagged port e3 is added to VLAN 120 before the 802.1W RSTP settings, and ports e1 and e2 are added after the 802.1W RSTP settings. When these commands are pasted into the running configuration, the ports will properly operate in 802.1W RSTP mode. Enabling or disabling 802.1W on a single spanning tree To enable 802.1W for all ports of a single spanning tree, enter a command such as the following.
Brocade(config-vlan-10)#spanning-tree single 802-1w
Syntax: [no] spanning-tree single 802-1w Disabling or enabling 802.1W on an individual port The spanning-tree 802-1w or spanning-tree single 802-1w command must be used to initially enable 802.1W on ports. Both commands enable 802.1W on all ports that belong to the VLAN or to the single spanning tree.
1132
Once 802.1W is enabled on a port, it can be disabled on individual ports. 802.1W that have been disabled on individual ports can then be enabled as required. If you change the 802.1W state of the primary port in a trunk group, the change affects all ports in that trunk group. To disable or enable 802.1W on an individual port, enter commands such as the following.
Brocade(config)#interface e 1 Brocade(config-if-e1000-1)#no spanning-tree
NOTE
Syntax: [no] spanning-tree Changing 802.1W bridge parameters When you make changes to 802.1W bridge parameters, the changes are applied to individual ports on the bridge. To change 802.1W bridge parameters, use the following methods. To designate a priority for a bridge, enter a command such as the following.
Brocade(config)#spanning-tree 802-1w priority 10
The command in this example changes the priority on a device on which you have not configured port-based VLANs. The change applies to the default VLAN. If you have configured a port-based VLAN on the device, you can configure the parameters only at the configuration level for individual VLANs. Enter commands such as the following.
Brocade(config)#vlan 20 Brocade(config-vlan-20)#spanning-tree 802-1w priority 0
To make this change in the default VLAN, enter the following commands.
Brocade(config)#vlan 1 Brocade(config-vlan-1)#spanning-tree 802-1w priority 0
Syntax: spanning-tree 802-1w [forward-delay <value>] | [hello-time <value>] | [max-age <time>] | [force-version <value>] | [priority <value>] The forward-delay <value> parameter specifies how long a port waits before it forwards an RST BPDU after a topology change. This can be a value from 4 30 seconds. The default is 15 seconds. The hello-time <value> parameter specifies the interval between two hello packets. This parameter can have a value from 1 10 seconds. The default is 2 seconds. The max-age <value> parameter specifies the amount of time the device waits to receive a hello packet before it initiates a topology change. You can specify a value from 6 40 seconds. The default is 20 seconds. The value of max-age must be greater than the value of forward-delay to ensure that the downstream bridges do not age out faster than the upstream bridges (those bridges that are closer to the root bridge). The force-version <value> parameter forces the bridge to send BPDUs in a specific format. You can specify one of the following values:
0 The STP compatibility mode. Only STP (or legacy) BPDUs will be sent. 2 The default. RST BPDUs will be sent unless a legacy bridge is detected. If a legacy bridge is
detected, STP BPDUs will be sent instead.
1133
The default is 2. The priority <value> parameter specifies the priority of the bridge. You can enter a value from 0 65535. A lower numerical value means the bridge has a higher priority. Thus, the highest priority is 0. The default is 32768. You can specify some or all of these parameters on the same command line. If you specify more than one parameter, you must specify them in the order shown above, from left to right. Changing port parameters The 802.1W port commands can be enabled on individual ports or on multiple ports, such as all ports that belong to a VLAN. The 802.1W port parameters are preconfigured with default values. If the default parameters meet your network requirements, no other action is required. You can change the following 802.1W port parameters using the following method.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#spanning-tree 802-1w ethernet 5 path-cost 15 priority 64
Syntax: spanning-tree 802-1w ethernet <port> path-cost <value> | priority <value> | [admin-edge-port] | [admin-pt2pt-mac] | [force-migration-check] The ethernet <port> parameter specifies the interface used. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The path-cost <value> parameter specifies the cost of the port path to the root bridge. 802.1W prefers the path with the lowest cost. You can specify a value from 1 20,000,000. Table 197 shows the recommended path cost values from the IEEE standards.
TABLE 197
Link speed
Less than 100 kilobits per second 1 Megabit per second 10 Megabits per second 100 Megabits per second 1 Gbps per second 10 Gbps per second 100 Gbps per second 1 Terabits per second 10 Terabits per second
1134
The priority <value> parameter specifies the preference that 802.1W gives to this port relative
to other ports for forwarding traffic out of the topology. You can specify a value from 0 240, in increments of 16. If you enter a value that is not divisible by 16, the software returns an error message. The default value is 128. A higher numerical value means a lower priority; thus, the highest priority is 0.
Set the admin-edge-port to enabled or disabled. If set to enabled, then the port becomes an
edge port in the domain. Set the admin-pt2pt-mac to enabled or disabled. If set to enabled, then a port is connected to another port through a point-to-point link. The point-to-point link increases the speed of convergence. This parameter, however, does not auto-detect whether or not the link is a physical point-to-point link. The force-migration-check parameter forces the specified port to sent one RST BPDU. If only STP BPDUs are received in response to the sent RST BPDU, then the port will go return to sending STP BPDUs.
Example
Suppose you want to enable 802.1W on a system with no active port-based VLANs and change the hello-time from the default value of 2 to 8 seconds. Additionally, suppose you want to change the path and priority costs for port 5 only. To do so, enter the following commands.
Brocade(config)#spanning-tree 802-1w hello-time 8 Brocade(config)#spanning-tree 802-1w ethernet 5 path-cost 15 priority 64
Port IEEE 802.1W Parameters: <--- Config Params -->|<-------------- Current state Port Pri PortPath P2P Edge Role State DesignaNum Cost Mac Port ted cost 1 128 200000 F F ROOT FORWARDING 0 2 128 200000 F F DESIGNATED FORWARDING 200000 3 128 200000 F F DESIGNATED FORWARDING 200000 4 128 200000 F F BACKUP DISCARDING 200000
Syntax: show 802-1w [vlan <vlan-id>] The vlan <vlan-id> parameter displays 802.1W information for the specified port-based VLAN. The show 802.1w command shows the information listed in Table 198.
1135
TABLE 198
Field
VLAN ID
txHoldCnt Root Bridge Identifier Root Path Cost Designated Bridge Identifier Root Port Max Age
1136
TABLE 198
Field
Fwd Dly
Hello
Edge port
Indicates if the port is configured as an operational Edge port: T The port is configured as an Edge port. F The port is not configured as an Edge port. This is the default.
Role
The current role of the port: Root Designated Alternate Backup Disabled Refer to Bridges and bridge port roles on page 1103 for definitions of the roles. The port current 802.1W state. A port can have one of the following states: Forwarding Discarding Learning Disabled Refer to Bridge port states on page 1107 and Edge port and non-edge port states on page 1108. The best root path cost that this port received, including the best root path cost that it can transmit. The ID of the bridge that sent the best RST BPDU that was received on this port.
State
1137
Syntax: show 802-1w detail [vlan <vlan-id>] The vlan <vlan-id> parameter displays 802.1W information for the specified port-based VLAN. The show spanning-tree 802.1W command shows the following information.
TABLE 199
Field
VLAN ID Bridge ID forceVersion
The number of BPDUs that can be transmitted per Hello Interval. The default is 3. ID of the port in slot#/port#format. The current role of the port: Root Designated Alternate Backup Disabled Refer to Bridges and bridge port roles on page 1103for definitions of the roles.
1138
TABLE 199
Field
State
AdminP2PMac
DesignatedPriority
Shows the following: Root Shows the ID of the root bridge for this bridge. Bridge Shows the ID of the Designated bridge that is associated with this port.
ActiveTimers
Shows what timers are currently active on this port and the number of seconds they have before they expire: rrWhile Recent root timer. A non-zero value means that the port has recently been a Root port. rcvdInfoWhile Received information timer. Shows the time remaining before the information held by this port expires (ages out). This timer is initialized with the effective age parameter. (Refer to Max Age on page 1136.) rbWhile Recent backup timer. A non-zero value means that the port has recently been a Backup port. helloWhen Hello period timer. The value shown is the amount of time between hello messages. tcWhile Topology change timer. The value shown is the interval when topology change notices can be propagated on this port. fdWhile Forward delay timer. mdelayWhile Migration delay timer. The amount of time that a bridge on the same LAN has to synchronize its migration state with this port before another BPDU type can cause this port to change the BPDU that it transmits.
1139
TABLE 199
Field
Machine States
Received
Shows the number of BPDU types the port has received: RST BPDU BPDU in 802.1W format. Config BPDU Legacy configuration BPDU (802.1D format). TCN BPDU Legacy topology change BPDU (802.1D format).
802.1W Draft 3
As an alternative to full 802.1W, you can configure 802.1W Draft 3. 802.1W Draft 3 provides a subset of the RSTP capabilities described in the 802.1W STP specification. 802.1W Draft 3 support is disabled by default. When the feature is enabled, if a root port on a Brocade device that is not the root bridge becomes unavailable, the device can automatically Switch over to an alternate root port, without reconvergence delays. 802.1W Draft 3 does not apply to the root bridge, since all the root bridge ports are always in the forwarding state. Figure 149 shows an example of an optimal STP topology. In this topology, all the non-root bridges have at least two paths to the root bridge (Switch 1 in this example). One of the paths is through the root port. The other path is a backup and is through the alternate port. While the root port is in the forwarding state, the alternate port is in the blocking state.
1140
Port1/2 FWD
Port2/2 FWD
Switch 1
Switch 2
Port1/4 FWD
Port2/4 FWD
Port1/3 FWD
Port2/3 FWD
Port3/3 FWD
Port4/3 BLK
Port4/4 FWD
Switch 4
If the root port on a Switch becomes unavailable, 802.1W Draft 3 immediately fails over to the alternate port, as shown in Figure 150.
1141
Switch 1
Switch 2
X
Port 3/3 unavailable Port 4/3 BLK
Switch 4
In this example, port 3/3 on Switch 3 has become unavailable. In standard STP (802.1D), if the root port becomes unavailable, the Switch must go through the listening and learning stages on the alternate port to reconverge with the spanning tree. Thus, port 3/4 must go through the listening and learning states before entering the forwarding state and thus reconverging with the spanning tree. 802.1W Draft 3 avoids the reconvergence delay by calculating an alternate root port, and immediately failing over to the alternate port if the root port becomes unavailable. The alternate port is in the blocking state as long as the root port is in the forwarding state, but moves immediately to the active state if the root port becomes unavailable. Thus, using 802.1W Draft 3, Switch 3 immediately fails over to port 3/4, without the delays caused by the listening and learning states. 802.1W Draft 3 selects the port with the next-best cost to the root bridge. For example, on Switch 3, port 3/3 has the best cost to the root bridge and thus is selected by STP as the root port. Port 3/4 has the next-best cost to the root bridge, and thus is selected by 802.1W Draft 3 as the alternate path to the root bridge.
1142
Once a failover occurs, the Switch no longer has an alternate root port. If the port that was an alternate port but became the root port fails, standard STP is used to reconverge with the network. You can minimize the reconvergence delay in this case by setting the forwarding delay on the root bridge to a lower value. For example, if the forwarding delay is set to 15 seconds (the default), change the forwarding delay to a value from 3 10 seconds. During failover, 802.1W Draft 3 flushes the MAC addresses leaned on the unavailable root port, selects the alternate port as the new root port, and places that port in the forwarding state. If traffic is flowing in both directions on the new root port, addresses are flushed (moved) in the rest of the spanning tree automatically.
Following 802.1W Draft 3 reconvergence of the spanning tree, traffic reconvergence occurs in
the time it takes for the bridge to detect the link changes plus the STP maximum age set on the bridge.
If standard STP reconvergence occurs instead, traffic reconvergence takes two times the
forward delay plus the maximum age. 802.1W Draft 3 does not apply when a failed root port comes back up. When this happens, standard STP is used.
NOTE
Configure the bridge priorities so that the root bridge is one that supports 802.1W Draft 3.
(Use a Brocade device or third-party device that supports 802.1W Draft 3.)
Change the forwarding delay on the root bridge to a value lower than the default 15 seconds.
Brocade recommends a value from 3 10 seconds. The lower forwarding delay helps reduce reconvergence delays in cases where 802.1W Draft 3 is not applicable, such as when a failed root port comes back up.
Configure the bridge priorities and root port costs so that each device has an active path to the
root bridge if its root port becomes unavailable. For example, port 3/4 is connected to port 2/4 on Switch 2, which has the second most favorable bridge priority in the spanning tree. If reconvergence involves changing the state of a root port on a bridge that supports 802.1D STP but not 802.1W Draft 3, then reconvergence still requires the amount of time it takes for the ports on the 802.1D bridge to change state to forwarding (as needed), and receive BPDUs from the root bridge for the new topology.
NOTE
1143
NOTE
Syntax: [no] spanning-tree rstp This command enables 802.1W Draft 3. You must enter the command separately in each port-based VLAN in which you want to run 802.1W Draft 3. This command does not also enable STP. To enable STP, first enter the spanning-tree command without the rstp parameter. After you enable STP, enter the spanning-tree rstp command to enable 802.1W Draft 3. To disable 802.1W Draft 3, enter the following command.
Brocade(config-vlan-10)#no spanning-tree rstp
NOTE
Enabling 802.1W Draft 3 when single STP is enabled To enable 802.1W Draft 3 on a device that is running single STP, enter the following command at the global CONFIG level of the CLI.
Brocade(config)#spanning-tree single rstp
Syntax: [no] spanning-tree single rstp This command enables 802.1W Draft 3 on the whole device. This command does not also enable single STP. To enable single STP, first enter the spanning-tree single command without the rstp parameter. After you enable single STP, enter the spanning-tree single rstp command to enable 802.1W Draft 3. To disable 802.1W Draft 3 on a device that is running single STP, enter the following command.
Brocade(config)#no spanning-tree single rstp
NOTE
1144
SSTP defaults
SSTP is disabled by default. When you enable the feature, all VLANs on which STP is enabled become members of a single spanning tree. All VLANs on which STP is disabled are excluded from the single spanning tree. To add a VLAN to the single spanning tree, enable STP on that VLAN.To remove a VLAN from the single spanning tree, disable STP on that VLAN. When you enable SSTP, all the ports that are in port-based VLANs with STP enabled become members of a single spanning tree domain. Thus, the ports share a single BPDU broadcast domain. The Brocade device places all the ports in a non-configurable VLAN, 4094, to implement the SSTP domain. However, this VLAN does not affect port membership in the port-based VLANs you have configured. Other broadcast traffic is still contained within the individual port-based VLANs. Therefore, you can use SSTP while still using your existing VLAN configurations without changing your network. In addition, SSTP does not affect 802.1Q tagging. Tagged and untagged ports alike can be members of the single spanning tree domain. When SSTP is enabled, the BPDUs on tagged ports go out untagged. If you disable SSTP, all VLANs that were members of the single spanning tree run MSTP instead. In MSTP, each VLAN has its own spanning tree. VLANs that were not members of the single spanning tree were not enabled for STP. Therefore, STP remains disabled on those VLANs.
NOTE
Enabling SSTP
To enable SSTP, use one of the following methods. If the device has only one port-based VLAN (the default VLAN), then the device is already running a single instance of STP. In this case, you do not need to enable SSTP. You need to enable SSTP only if the device contains more than one port-based VLAN and you want all the ports to be in the same STP broadcast domain. To configure the Brocade device to run a single spanning tree, enter the following command at the global CONFIG level.
Brocade(config)#spanning-tree single
NOTE
1145
If the device has only one port-based VLAN, the CLI command for enabling SSTP is not listed in the CLI. The command is listed only if you have configured a port-based VLAN. To change a global STP parameter, enter a command such as the following at the global CONFIG level.
Brocade(config)# spanning-tree single priority 2
NOTE
This command changes the STP priority for all ports to 2. To change an STP parameter for a specific port, enter commands such as the following.
Brocade(config) spanning-tree single ethernet 1 priority 10
The commands shown above override the global setting for STP priority and set the priority to 10 for port 1/1. Here is the syntax for the global STP parameters. Syntax: [no] spanning-tree single [forward-delay <value>] [hello-time <value>] | [maximum-age <time>] | [priority <value>] Here is the syntax for the STP port parameters. Syntax: [no] spanning-tree single [ethernet <port> path-cost <value> | priority <value>]
NOTE
Both commands listed above are entered at the global CONFIG level.
Syntax: show span [vlan <vlan-id>] | [pvst-mode] | [<num>] | [detail [vlan <vlan-id> [ethernet <port>] | <num>]] The vlan <vlan-id> parameter displays STP information for the specified port-based VLAN. The pvst-mode parameter displays STP information for the device Per VLAN Spanning Tree (PVST+) compatibility configuration. Refer to PVST/PVST+ compatibility on page 1151. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The <num> parameter displays only the entries after the number you specify. For example, on a device with three port-based VLANs, if you enter 1, then information for the second and third VLANs is displayed, but information for the first VLAN is not displayed. Information is displayed according to VLAN number, in ascending order. The entry number is not the same as the VLAN number. For example, if you have port-based VLANs 1, 10, and 2024, then the command output has three STP entries. To display information for VLANs 10 and 2024 only, enter show span 1.
1146
The detail parameter and its additional optional parameters display detailed information for individual ports. Refer to Displaying detailed STP information for each interface on page 1093.
Standard STP You can configure up to 254 instances of standard STP on a Brocade device. It
is possible to need more instances of STP than this in large configurations. Using STP per VLAN group, you can aggregate STP instances.
Single STP Single STP allows all the VLANs to run STP, but each VLAN runs the same instance
of STP, resulting in numerous blocked ports that do not pass any Layer 2 traffic. STP per VLAN group uses all available links by load balancing traffic for different instances of STP on different ports. A port that blocks traffic for one spanning tree forwards traffic for another spanning tree. STP per VLAN group allows you to group VLANs and apply the same STP parameter settings to all the VLANs in the group. Figure 151 shows an example of a STP per VLAN group implementation.
Member VLAN 4
FastIron Switch
A master VLAN contains one or more member VLANs. Each of the member VLANs in the STP Group runs the same instance of STP and uses the STP parameters configured for the master VLAN. In this example, the FastIron switch is configured with VLANs 3, 4, 13, and 14. VLANs 3 and 4 are grouped in master VLAN 2, which is in STP group 1. VLANs 13 and 14 are grouped in master VLAN 12, which is in STP group 2. The VLANs in STP group 1 all share the same spanning tree. The VLANs in STP group 2 share a different spanning tree. All the portss are tagged. The ports must be tagged so that they can be in both a member VLAN and the member's master VLAN. For example, ports 1/1 1/4 are in member VLAN 3 and also in master VLAN 2 (since master VLAN 2 contains member VLAN 3).
1147
12 13 to 14
Syntax: [no] stp-group <num> This command changes the CLI to the STP group configuration level. The following commands are valid at this level. The <num> parameter specifies the STP group ID and can be from 1 32.
1148
Syntax: [no] master-vlan <num> This command adds a master VLAN to the STP group. The master VLAN contains the STP settings for all the VLANs in the STP per VLAN group. The <num> parameter specifies the VLAN ID. An STP group can contain one master VLAN. If you delete the master VLAN from an STP group, the software automatically assigns the first member VLAN in the group to be the new master VLAN for the group. Syntax: [no] member-vlan <num> [to <num>] This command adds additional VLANs to the STP group. These VLANs also inherit the STP settings of the master VLAN in the group. Syntax: [no] member-group <num> This command adds a member group (a VLAN group) to the STP group. All the VLANs in the member group inherit the STP settings of the master VLAN in the group. The <num> parameter specifies the VLAN group ID.
NOTE
This command is optional and is not used in the example above. For an example of this command, refer to Configuration example for STP load sharing.
BLK 1
5/2
In this example, each of the devices in the core is configured with a common set of master VLANs, each of which contains one or more member VLANs. Each of the member VLANs in an STP group runs the same instance of STP and uses the STP parameters configured for the master VLAN.
1149
The STP group ID identifies the STP instance. All VLANs within an STP group run the same instance of STP. The master VLAN specifies the bridge STP parameters for the STP group, including the bridge priority. In this example, each of the devices in the core is configured to be the default root bridge for a different master VLAN. This configuration ensures that each link can be used for forwarding some traffic. For example, all the ports on the root bridge for master VLAN 1 are configured to forward BPDUs for master VLAN spanning tree. Ports on the other devices block or forward VLAN 1 traffic based on STP convergence. All the ports on the root bridge for VLAN 2 forward VLAN 2 traffic, and so on. All the portss are tagged. The ports must be tagged so that they can be in both a member VLAN and the member's master VLAN. For example, port 1/1 and ports 5/1, 5/2, and 5/3 are in member VLAN 2 and master VLAN 1 (since master VLAN a contains member VLAN 2). Here are the commands for configuring the root bridge for master VLAN 1 in figure Figure 151 for STP per VLAN group. The first group of commands configures the master VLANs. Notice that the STP priority is set to a different value for each VLAN. In addition, the same VLAN has a different STP priority on each device. This provides load balancing by making each of the devices a root bridge for a different spanning tree.
Brocade(config)#vlan 1 Brocade(config-vlan-1)#spanning-tree priority 1 Brocade(config-vlan-1)#tag ethernet 1/1 ethernet 5/1 to 5/3 Brocade(config-vlan-1)#vlan 201 Brocade(config-vlan-201)#spanning-tree priority 2 Brocade(config-vlan-201)#tag ethernet 1/2 ethernet 5/1 to 5/3 Brocade(config-vlan-201)#vlan 401 Brocade(config-vlan-401)#spanning-tree priority 3 Brocade(config-vlan-401)#tag ethernet 1/3 ethernet 5/1 to 5/3 ... Brocade(config-vlan-3601)#vlan 3801 Brocade(config-vlan-3801)#spanning-tree priority 20 Brocade(config-vlan-3801)#tag ethernet 1/20 ethernet 5/1 to 5/3 Brocade(config-vlan-3801)#exit
The next group of commands configures VLAN groups for the member VLANs. Notice that the VLAN groups do not contain the VLAN numbers assigned to the master VLANs. Also notice that no STP parameters are configured for the groups of member VLANs. Each group of member VLANs will inherit its STP settings from its master VLAN. Set the bridge priority for each master VLAN to the highest priority (1) on one of the devices in the STP per VLAN group configuration. By setting the bridge priority to the highest priority, you make the device the default root bridge for the spanning tree. To ensure STP load balancing, make each of the devices the default root bridge for a different master VLAN.
Brocade(config)#vlan-group 1 vlan 2 to 200 Brocade(config-vlan-group-1)#tag ethernet 1/1 ethernet 5/1 to 5/3 Brocade(config-vlan-group-1)#vlan-group 2 vlan 202 to 400 Brocade(config-vlan-group-2)#tag ethernet 1/2 ethernet 5/1 to 5/3 Brocade(config-vlan-group-2)#vlan-group 3 vlan 402 to 600 Brocade(config-vlan-group-2)#tag ethernet 1/3 ethernet 5/1 to 5/3 ... Brocade(config-vlan-group-19)#vlan-group 20 vlan 3082 to 3282 Brocade(config-vlan-group-20)#tag ethernet 1/20 ethernet 5/1 to 5/3 Brocade(config-vlan-group-20)#exit
The following group of commands configures the STP groups. Each STP group in this configuration contains one master VLAN, which contains a VLAN group. This example shows that an STP group also can contain additional VLANs (VLANs not configured in a VLAN group).
1150
PVST/PVST+ compatibility
Brocade(config)#stp-group 1 Brocade(config-stp-group-1)#master-vlan 1 Brocade(config-stp-group-1)#member-group 1 Brocade(config-stp-group-1)#member-vlan 4001 4004 to 4010 Brocade(config-stp-group-1)#stp-group 2 Brocade(config-stp-group-2)#master-vlan 201 Brocade(config-stp-group-2)#member-group 2 Brocade(config-stp-group-2)#member-vlan 4002 4003 4011 to 4015 Brocade(config-stp-group-2)#stp-group 3 Brocade(config-stp-group-3)#master-vlan 401 Brocade(config-stp-group-3)#member-group 3 ... Brocade(config-stp-group-19)#stp-group 20 Brocade(config-stp-group-20)#master-vlan 3081 Brocade(config-stp-group-20)#member-group 20
PVST/PVST+ compatibility
The FastIron family of switches support Cisco's Per VLAN Spanning Tree plus (PVST+), by allowing the device to run multiple spanning trees (MSTP) while also interoperating with IEEE 802.1Q devices1. Brocade ports automatically detect PVST+ BPDUs and enable support for the BPDUs once detected. You do not need to perform any configuration steps to enable PVST+ support. However, to support the IEEE 802.1Q BPDUs, you might need to enable dual-mode support. Support for Cisco's Per VLAN Spanning Tree plus (PVST+), allows a Brocade device to run multiple spanning trees (MSTP) while also interoperating with IEEE 802.1Q devices. Brocade ports automatically detect PVST+ BPDUs and enable support for the BPDUs once detected. The enhancement allows a port that is in PVST+ compatibility mode due to auto-detection to revert to the default MSTP mode when one of the following events occurs:
NOTE
The link is disconnected or broken The link is administratively disabled The link is disabled by interaction with the link-keepalive protocol
This enhancement allows a port that was originally interoperating with PVST+ to revert to MSTP when connected to a Brocade device.
1151
PVST/PVST+ compatibility
IEEE 802.1Q and PVST regions cannot interoperate directly but can interoperate indirectly through PVST+ regions. PVST BPDUs are tunnelled through 802.1Q regions, while PVST BPDUs for VLAN 1 (the IEEE 802.1Q VLAN) are processed by PVST+ regions. Figure 153 shows the interaction of IEEE 802.1Q, PVST, and PVST+ regions.
802.1D BPDUs
802.1D BPDUs
PVST+Region
PVST+Region
Do not connect PVST BPDUs (over ISL trunks) PVST BPDUs (over ISL trunks)
PVST Region
1152
PVST/PVST+ compatibility
To support the IEEE 802.1Q with non-standard proprietary protocols such as PVST and PVST+, a port must always send and receive untagged frames on VLAN 1 on both sides. In this case, enable the dual-mode 1 feature to allow untagged BPDUs on VLAN 1and use Native VLAN 1 on the interoperating vendor side. You should not use VLAN 1 for tagged frames in this case.
The link is disconnected or broken The link is administratively disabled The link is disabled by interaction with the link-keepalive protocol
This allows a port that was originally interoperating with PVST+ to revert to MSTP when connected to a Brocade device.
Syntax: [no] pvst-mode If you disable PVST+ support, the software still automatically enables PVST+ support if the port receives a BPDU with PVST+ format.
NOTE
NOTE
If 802.1W and pvst-mode (either by auto-detection or by explicit configuration) are enabled on a tagged VLAN port, 802.1W will treat the PVST BPDUs as legacy 802.1D BPDUs.
Syntax: [no] dual-mode [<vlan-id>] The <vlan-id> specifies the port Port Native VLAN. This is the VLAN on which the port will support untagged frames. By default, the Port Native VLAN is the same as the default VLAN (which is VLAN 1 by default). For more information about the dual-mode feature, refer to Dual-mode VLAN ports on page 814.
1153
PVST/PVST+ compatibility
Syntax: show span pvst-mode This command displays the following information.
TABLE 200
Field
Port
Method
The method by which PVST+ support was enabled on the port. The method can be one of the following: Set by configuration You enabled the support. Set by auto-detect The support was enabled automatically when the port received a PVST+ BPDU.
Untagged IEEE 802.1Q BPDUs on VLAN 1 and tagged PVST+ BPDUs on other VLANs Tagged IEEE 802.1Q BPDUs on VLAN 1 and untagged BPDUs on another VLAN
Untagged IEEE BPDU for VLAN 1 Untagged PVST BPDU for VLAN 1 Tagged PVST BPDUs for VLANs 2, 3, 4 Cisco device
Port1/1
Port1/2
1154
PVST/PVST+ compatibility
These commands configure a VLAN group containing VLANs 2, 3, and 4, add port 1/1 as a tagged port to the VLANs, and enable the dual-mode feature and PVST+ support on the port. The dual-mode feature allows the port to send and receive untagged frames for the default VLAN (VLAN 1 in this case) in addition to tagged frames for VLANs 2, 3, and 4. Enabling the PVST+ support ensures that the port is ready to send and receive PVST+ BPDUs. If you do not manually enable PVST+ support, the support is not enabled until the port receives a PVST+ BPDU. The configuration leaves the default VLAN and the port Port Native VLAN unchanged. The default VLAN is 1 and the port Port Native VLAN also is 1. The dual-mode feature supports untagged frames on the default VLAN only. Thus, port 1/1 can send and receive untagged BPDUs for VLAN 1 and can send and receive tagged BPDUs for the other VLANs. Port 1/1 will process BPDUs as follows:
Process IEEE 802.1Q BPDUs for VLAN 1. Process tagged PVST BPDUs for VLANs 2, 3, and 4. Drop untagged PVST BPDUs for VLAN 1.
Port1/1
Port3/2
To implement this configuration, enter the following commands. Commands on the Brocade Device
Brocade(config)#default-vlan-id 4000 Brocade(config)#vlan 1 Brocade(config-vlan-1)#tagged ethernet 1/1 Brocade(config-vlan-1)#exit Brocade(config)#vlan 2 Brocade(config-vlan-2)#tagged ethernet 1/1 Brocade(config-vlan-2)#exit
1155
PVST/PVST+ compatibility
These commands change the default VLAN ID, configure port 1/1 as a tagged member of VLANs 1 and 2, and enable the dual-mode feature and PVST+ support on port 1/1. Since VLAN 1 is tagged in this configuration, the default VLAN ID must be changed from VLAN 1 to another VLAN ID. Changing the default VLAN ID from 1 allows the port to process tagged frames for VLAN 1. VLAN 2 is specified with the dual-mode command, which makes VLAN 2 the port Port Native VLAN. As a result, the port processes untagged frames and untagged PVST BPDUs on VLAN 2.
NOTE
Although VLAN 2 becomes the port untagged VLAN, the CLI still requires that you add the port to the VLAN as a tagged port, since the port is a member of more than one VLAN. Port 1/1 will process BPDUs as follows:
Process IEEE 802.1Q BPDUs for VLAN 1. Process untagged PVST BPDUs for VLAN 2. Drop tagged PVST BPDUs for VLAN 1.
Note that when VLAN 1 is not the default VLAN, the ports must have the dual-mode feature enabled in order to process IEEE 802.1Q BPDUs. For example, the following configuration is incorrect.
Brocade(config)#default-vlan-id 1000 Brocade(config)#vlan 1 Brocade(config-vlan-1)#tagged ethernet 1/1 to 1/2 Brocade(config-vlan-1)#exit Brocade(config)#interface ethernet 1/1 Brocade(config-if-1/1)#pvst-mode Brocade(config-if-1/1)#exit Brocade(config)#interface ethernet 1/2 Brocade(config-if-1/2)#pvst-mode Brocade(config-if-1/2)#exit
In the configuration above, all PVST BPDUs associated with VLAN 1 would be discarded. Since IEEE BPDUs associated with VLAN 1 are untagged, they are discarded because the ports in VLAN 1 are tagged. Effectively, the BPDUs are never processed by the Spanning Tree Protocol. STP assumes that there is no better bridge on the network and sets the ports to FORWARDING. This could cause a Layer 2 loop. The following configuration is correct.
Brocade(config)#default-vlan-id 1000 Brocade(config)#vlan 1 Brocade(config-vlan-1)#tagged ethernet 1/1 to 1/2 Brocade(config-vlan-1)#exit Brocade(config)#interface ethernet 1/1 Brocade(config-if-1/1)#pvst-mode Brocade(config-if-1/1)#dual-mode Brocade(config-if-1/1)#exit Brocade(config)#interface ethernet 1/2 Brocade(config-if-1/2)#pvst-mode Brocade(config-if-1/2)#dual-mode Brocade(config-if-1/2)#exit
1156
PVRST compatibility
Setting the ports as dual-mode ensures that the untagged IEEE 802.1Q BPDUs reach the VLAN 1 instance.
PVRST compatibility
PVRST, the "rapid" version of per-VLAN spanning tree (PVST), is a Cisco proprietary protocol. PVRST corresponds to the Brocade full implementation of IEEE 802.1w (RSTP). Likewise, PVST, also a Cisco proprietary protocol, corresponds to the Brocade implementation of IEEE 802.1D (STP). When a Brocade device receives PVRST BPDUs on a port configured to run 802.1w, it recognizes and processes these BPDUs and continues to operate in 802.1w mode. PVRST compatibility is automatically enabled when a port receives a PVRST BPDU.
BPDU guard
In an STP environment, switches, end stations, and other Layer 2 devices use Bridge Protocol Data Units (BPDUs) to exchange information that STP will use to determine the best path for data flow. The BPDU guard, an enhancement to STP, removes a node that reflects BPDUs back in the network. It enforces the STP domain borders and keeps the active topology predictable by not allowing any network devices behind a BPDU guard-enabled port to participate in STP. In some instances, it is unnecessary for a connected device, such as an end station, to initiate or participate in an STP topology change. In this case, you can enable the STP BPDU guard feature on the Brocade port to which the end station is connected. STP BPDU guard shuts down the port and puts it into an errdisable state. This disables the connected device's ability to initiate or participate in an STP topology. A log message is then generated for a BPDU guard violation, and a CLI message is displayed to warn the network administrator of a severe invalid configuration. The BPDU guard feature provides a secure response to invalid configurations because the administrator must manually put the interface back in service if errdisable recovery is not enabled. BPDU guard is not supported on tagged ports. It can be configured on a tagged port, but the configuration will have no effect.
NOTE
Syntax: [no] stp-bpdu-guard The no parameter disables the BPDU guard on this interface. You can also use the multiple interface command to enable this feature on multiple ports at once.
1157
BPDU guard
Example
Brocade(config)#interface ethernet 1/1 to 1/9 Brocade(config-mif-1/1-1/9)#stp-bpdu-guard Brocade(config-mif-1/1-1/9)#
To re-enable a port that is in errdisable state, you must first disable the port then re-enable it. Enter commands such as the following.
Brocade(config)#int e 2 Brocade(config-if-e1000-2)#disable Brocade(config-if-e1000-2)#enable
If you attempt to enable an errdisabled port without first disabling it, the following error message will appear on the console.
Brocade(config-if-e1000-2)#enable Port 2 is errdisabled, do disable first and then enable to enable it
1158
BPDU guard
The following example shows how to configure BPDU guard at the interface level and to verify the configuration by issuing the show stp-bpdu-guard and the show interface commands.
Brocade(config)#interface ethernet 1 Brocade(config-if-e1000-1)#stp-bpdu-guard Brocade(config-if-e1000-1)# Brocade(config-if-e1000-1)#show stp-bpdu-guard BPDU Guard Enabled on: Port 1 Brocade(config-if-e1000-1)# Brocade(config-if-e1000-1)#show interfaces ethernet 1 GigabitEthernet1 is up, line protocol is up Hardware is GigabitEthernet, address is 000c.dba0.7100 (bia 000c.dba0.7100) Configured speed auto, actual 100Mbit, configured duplex fdx, actual fdx Configured mdi mode AUTO, actual MDI Member of L2 VLAN ID 2, port is untagged, port state is FORWARDING BPDU guard is Enabled, ROOT protect is Disabled STP configured to ON, priority is level0, flow control enabled mirror disabled, monitor disabled Not member of any active trunks Not member of any configured trunks No port name IPG MII 96 bits-time, IPG GMII 96 bits-time IP MTU 1500 bytes 300 second input rate: 8 bits/sec, 0 packets/sec, 0.00% utilization 300 second output rate: 256 bits/sec, 0 packets/sec, 0.00% utilization 88 packets input, 15256 bytes, 0 no buffer Received 75 broadcasts, 13 multicasts, 0 unicasts 1 input errors, 0 CRC, 0 frame, 0 ignored 0 runts, 0 giants 4799 packets output, 313268 bytes, 0 underruns Transmitted 90 broadcasts, 4709
A console message such as the following is generated after a BPDU guard violation occurs on a system that is running STP.
Brocade(config)#STP: Received BPDU on BPDU guard enabled Port 23 (vlan=1), errdisable Port 23
A console message such as the following is generated after a BPDU guard violation occurs on a system that is running RSTP.
Brocade(config-vlan-1)#RSTP: Received BPDU on BPDU guard enabled Port 23 (vlan=1),errdisable Port 23
1159
Root guard
Root guard
The standard STP (802.1D), RSTP (802.1W) or 802.1S does not provide any way for a network administrator to securely enforce the topology of a switched layer 2 network. The forwarding topology of a switched network is calculated based on the root bridge position, along with other parameters. This means any switch can be the root bridge in a network as long as it has the lowest bridge ID. The administrator cannot enforce the position of the root bridge. A better forwarding topology comes with the requirement to place the root bridge at a specific predetermined location. Root Guard can be used to predetermine a root bridge location and prevent rogue or unwanted switches from becoming the root bridge. When root guard is enabled on a port, it keeps the port in a designated role. If the port receives a superior STP Bridge Protocol Data Units (BPDU), it puts the port into a ROOT-INCONSISTANT state and triggers a log message and an SNMP trap. The ROOT-INCONSISTANT state is equivalent to the BLOCKING state in 802.1D and to the DISCARDING state in 802.1W. No further traffic is forwarded on this port. This allows the bridge to prevent traffic from being forwarded on ports connected to rogue or misconfigured STP bridges. Once the port stops receiving superior BPDUs, root guard automatically sets the port back to learning, and eventually to a forwarding state through the spanning-tree algorithm. Configure root guard on all ports where the root bridge should not appear. This establishes a protective network perimeter around the core bridged network, cutting it off from the user network. Root guard may prevent network connectivity if it is improperly configured. Root guard must be configured on the perimeter of the network rather than the core.
NOTE
NOTE
Root guard is not supported when MSTP is enabled.
Syntax: [no] spanning-tree root-protect Enter the no form of the command to disable STP root guard on the port.
1160
The errdisable recovery interval command is used to configure a time-out for ports in errdisable state, after which the ports are re-enabled automatically. When BPDU guard puts a port into errdisabled state, the port remains in errdisabled state unless it is enabled manually by issuing a disable command and then the enable command on the associated interface or you have errdisable recovery turned on. The errdisable command allows you to choose the type of error that automatically reenables the port after a specified amount of time.
To enable error disable recovery for any reason, enter a command such as the following.
Brocade(config)#errdisable recovery cause all
Syntax: errdisable recovery [cause bpduguard l all] The cause is the reason why the port is in the errdisable state. Valid values are bpduguard and all. Use the bpduguard parameter to allow the port to recover from the errdisabled state, if the state was caused by a BPDU guard violation.
1161
The all parameter allows ports to recover from an errdisabled state caused by any reason, for example, a BPDU Guard violation or loop detection violation.
Syntax: [no] errdisable recovery interval <seconds> The seconds paramter allows you to set the timeout value for the recovery mechanism when the port is in an errdisabled state. Once this timeout value expires, the ports are automatically re-enabled. Valid values are from 10 to 65535 seconds (10 seconds to 24 hours).
1162
Timeout Value: 300 seconds Interface that will be enabled at the next timeout: Interface Errdisable reason Time left (sec) -------------- ----------------- --------------Port 6 bpduguard 297
A Syslog message such as the following is generated after the recovery timer expires.
ERR_DISABLE: Interface ethernet 3, err-disable recovery timeout
1163
Switch 1
Port2/1
Region 1
BigIron
Port2/2
Region 2
Port1/2
Switch 2
Port1/4 Port1/3 Port2/1
BigIron
Port1/1
BigIron
Switch 2
Port2/1
BigIron
Port1/1
BigIro n
Port1/5 Port3/2
BigIron
Port3/1
Switch 3
Port3/2
Switch 3
Port2/3 Port1/4
BigIron
Switch 5
Port2/2
Port2/3
Port1/1
BigIron
Switch 4
Port3/3 Port3/1 Port1/3 Port1/2
Port1/2
BigIron
Switch 5
Switch 4
Port1/2
Switch 6
The following definitions describe the STP instances that define an MSTP configuration. Common Spanning (CST) CST is defined in 802.1q and assumes one spanning-tree instance for the entire bridged network regardless of the number of VLANs. In MSTP, an MSTP region appears as a virtual bridge that runs CST.
1164
Internal Spanning Tree (IST) IST is a new terminology introduced in 802.1s. An MSTP bridge must handle at least these two instances: one IST and one or more MSTIs (Multiple Spanning Tree Instances). Within each MST region, the MSTP maintains multiple spanning-tree instances. Instance 0 is a special instance known as IST, which extends CST inside the MST region. IST always exists if the switch runs MSTP. Besides IST, this implementation supports up to 15 MSTIs, numbered from 1 to 4094. Common and Internal Spanning Trees (CIST) CIST is a collection of the ISTs in each MST region and the CST that interconnects the MST regions and single spanning trees. Multiple Spanning Tree Instance (MSTI) The MSTI is identified by an MST identifier (MSTid) value between 1 and 4094. MSTP Region These are clusters of bridges that run multiple instances of the MSTP protocol. Multiple bridges detect that they are in the same region by exchanging their configuration (instance to VLAN mapping), name, and revision-level. Therefore, if you need to have two bridges in the same region, the two bridges must have identical configurations, names, and revision-levels. Also, one or more VLANs can be mapped to one MSTP instance (IST or MSTI) but a VLAN cannot be mapped to multiple MSTP instances. One or more VLANs can be mapped to one MSTP instance (IST or MSTI) but a VLAN cannot be mapped to multiple MSTP instances.
NOTE
Configuration notes
When configuring MSTP, note the following:
With MSTP running, enabling static trunk on ports that are members of many VLANs (4000 or
more VLANs) will keep the system busy for 20 to 25 seconds.
All 802.1D and 802.1w STP instances are deleted regardless of whether the VLAN is inside the
MSTP scope or not
FastIron Configuration Guide 53-1002494-01
All topology groups are deleted Any GVRP configuration is deleted Any VSRP configuration is deleted Single-span (if configured) is deleted MRP running on a VLAN inside MSTP scope is deleted
1165
The CIST is created and all VLANS inside the MSTP scope are attached with the CIST
Make sure that no physical layer-2 loops exist prior to switching from non-MSTP mode to MSTP mode. If, for example, you have an L2 loop topology configured as a redundancy mechanism before you perform the switch, a Layer 2 storm should be expected. To configure a system into MSTP mode, use the following command at the Global Configuration level.
Brocade(config)#mstp scope all
NOTE
MSTP is not operational however until the mstp start command is issued as described in Activating MSTP on a switch on page 1172. Once the system is configured into MSTP mode, CIST (sometimes referred to as instance 0) is created and all existing VLANs inside the MSTP scope are controlled by CIST. In addition, whenever you create a new VLAN inside MSTP scope, it is put under CIST control by default. In the Brocade MSTP implementation however, a VLAN ID can be pre-mapped to another MSTI as described in Configuring an MSTP instance on page 1169. A VLAN whose ID is pre-mapped, will attach to the specified MSTI instead of to the CIST when created. Once under MSTP mode, CIST always controls all ports in the system. If you do not want a port to run MSTP, configure the no spanning-tree command under the specified interface configuration. Using the [no] option on a system that is configured for MSTP mode changes the system to non-MSTP mode. When this switch is made, all MSTP instances are deleted together with all MSTP configurations. ALL VLANs inside the original MSTP scope will not run any Layer-2 protocols after the switch.
NOTE
NOTE
1166
Brocade(config-vlan-20)#show run Current configuration: ! ver 04.2.00bT3e1 ! ! vlan 1 name DEFAULT-VLAN by port no spanning-tree ! vlan 10 by port tagged ethe 1 to 2 no spanning tree ! vlan 20 by port tagged ethe 1 to 2 no spanning-tree ! mstp scope all mstp instance 0 vlan 1 mstp instance 1 vlan 20 mstp start some lines ommitted for brevity... Brocade(config-vlan-20)#no vlan 20 Brocade(config-vlan-20)#show run Current configuration: ! ver 04.2.00bT3e1 ! ! vlan 1 name DEFAULT-VLAN by port no spanning-tree ! vlan 10 by port tagged ethe 1 to 2 no spanning-tree ! mstp scope all mstp instance 0 vlan 1 mstp instance 1 vlan 10 mstp instance 1 vlan 20 mstp start some lines ommitted for brevity...
<----- VLAN to MSTI mapping kept in running configuration, even though VLAN 20 was deleted
This command deletes the VLAN to MSTI mapping from the running configuration and triggers an MSTP reconvergence. Syntax: no mstp instance <instance-number> vlan <vlan-id> | vlan-group <group-id> ]
1167
The instance parameter defines the number for the instance of MSTP that you are deleting. The vlan parameter identifies one or more VLANs or a range of VLANs to the instance defined in this command. The vlan-group parameter identifies one or more VLAN groups to the instance defined in this command.
Setting the MSTP name Setting the MSTP revision number Configuring an MSTP instance Configuring bridge priority for an MSTP instance Setting the MSTP global parameters Setting ports to be operational edge ports Setting automatic operational edge ports Setting point-to-point link Disabling MSTP on a port
1168
Syntax: [no] mstp name <name> The name parameter defines an ASCII name for the MSTP configuration. The default name is for the name variable to be blank.
Syntax: [no] mstp revision <revision-number> The revision parameter specifies the revision level for MSTP that you are configuring on the switch. It can be a number from 0 and 65535. The default revision number is 0.
Syntax: [no] mstp instance <instance-number> [ vlan <vlan-id> | vlan-group <group-id> ] The instance parameter defines the number for the instance of MSTP that you are configuring. The value 0 (which identifies the CIST) cannot be used. You can have up to 15 instances, number 1 4094. The vlan parameter assigns one or more VLANs or a range of VLANs to the instance defined in this command. The vlan-group parameter assigns one or more VLAN groups to the instance defined in this command.
1169
The no option moves a VLAN or VLAN group from its assigned MSTI back into the CIST. The system does not allow an MSTI without any VLANs mapped to it. Consequently, removing all VLANs from an MSTI, deletes the MSTI from the system. The CIST by contrast will exist regardless of whether or not any VLANs are assigned to it or not. Consequently, if all VLANs are moved out of a CIST, the CIST will still exist and functional.
NOTE
Syntax: [no] mstp instance <instance-number> priority <priority-value> The <instance-number> variable is the number for the instance of MSTP that you are configuring. You can set a priority to the instance that gives it forwarding preference over lower priority instances within a VLAN or on the switch. A higher number for the priority variable means a lower forwarding priority. Acceptable values are 0 - 61440 in increments of 4096. The default value is 32768.
Syntax: [no] mstp force-version <mode-number> forward-delay <value> hello-time <value> max-age <value> max-hops <value> The force-version parameter forces the bridge to send BPDUs in a specific format. You can specify one of the following <mode-number> values:
0 The STP compatibility mode. Only STP BPDUs will be sent. This is equivalent to single STP. 2 The RSTP compatibility mode. Only RSTP BPDUS will be sent. This is equivalent to single
STP.
3 MSTP mode. In this default mode, only MSTP BPDUS will be sent.
The forward-delay <value> specifies how long a port waits before it forwards an RST BPDU after a topology change. This can be a value from 4 30 seconds. The default is 15 seconds. The hello-time <value> parameter specifies the interval between two hello packets. The parameter can have a value from 1 10 seconds. The default is 2 seconds. The max-age <value> parameter specifies the amount of time the device waits to receive a hello packet before it initiates a topology change. You can specify a value from 6 40 seconds, where the value adheres to the following formula. max age equal to or greater than 2 x (hello-time + 1) AND max age equal to or greater than 2 x (forward-delay 1) The default max-age is 20 seconds.
1170
The max-hops <value> parameter specifies the maximum hop count. You can specify a value from 1 40 hops. The default value is 20 hops.
Syntax: [no] mstp admin-edge-port ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Syntax: [no] mstp edge-port-auto-detect If this feature is enabled, it takes the port about 3 seconds longer to come to the enable state.
NOTE
Syntax: [no] mstp admin-pt2pt-mac ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1171
Syntax: [no] mstp disable ethernet <port> The <port> variable specifies the location of the port for which you want to disable MSTP. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
When a port is disabled for MSTP, it behaves as blocking for all the VLAN traffic that is controlled by MSTIs and the CIST.
Syntax: [no] mstp force-migration-check ethernet <port> The <port> variable specifies the port or ports from which you want to transmit an MSTP BPDU. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Activating MSTP on a switch MSTP scope must be enabled on the switch as described in Configuring MSTP mode and scope on page 1165 before MSTP can be enabled. To enable MSTP on your switch, use the following at the Global Configuration level.
Brocade(config)#mstp start
Syntax: [no] mstp start The [no] option disables MSTP from operating on a switch.
1172
In Figure 157 four Brocade device routers are configured in two regions. There are four VLANs in four instances in Region 2. Region 1 is in the CIST.
Region 1
Port 2/16
Core1
Ports 2/13-2/14
Ports 3/1-3/2
BigIron
Port3/10
Core2
Ports 3/5-3/6
Ports 3/5-3/6
LAN4
Region 2
RTR1 on MSTP configuration
Brocade(config-vlan-4093)#tagged ethernet 10/1 to 10/2 Brocade(config-vlan-4093)#exit Brocade(config)#mstp scope all Brocade(config)#mstp name Reg1 Brocade(config)#mstp revision 1 Brocade(config)#mstp admin-pt2pt-mac ethernet 10/1 to 10/2 Brocade(config)#mstp start Brocade(config)#hostname RTR1
1173
Brocade(config)#mstp admin-pt2pt-mac ethernet 2/16 Brocade(config)#mstp disable ethernet 2/240. Brocade(config)#mstp start Brocade(config)#hostname CORE1
1174
MSTP Instance 1 - VLANs: 2 ---------------------------------------------------------------------------Bridge Max RegionalRoot IntPath Designated Root Root Identifier Hop Bridge Cost Bridge Port Hop hex cnt hex hex cnt 8001000cdb80af01 20 8001000cdb80af01 0 8001000cdb80af01 Root 20 Port Num 3/1 Pri PortPath Cost 128 2000 Role MASTER State Designated cost FORWARDING 0 Designated bridge 8001000cdb80af01
Syntax: show mstp <instance-number> The <instance-number> variable specifies the MSTP instance that you want to display information for.
TABLE 201
Field
MSTP Instance VLANs Bridge Identifier Bridge MaxAge sec Bridge Hello sec Bridge FwdDly sec Bridge Hop cnt Root MaxAge sec Root Hello sec
1175
TABLE 201
Field
Root FwdDly sec Root Hop Cnt Root Bridge ExtPath Cost Regional Root Bridge IntPath Cost Designated Bridge Root Port Port Num Pri PortPath Cost P2P Mac
Edge
Role
The current role of the port: Master Root Designated Alternate Backup Disabled
State
The port current spanning tree state. A port can have one of the following states: Forwarding Discarding Learning Disabled Port path cost to the root bridge. The maximum hop count configured for this instance. Hop count from the root bridge.
1176
To display details about the MSTP configuration, enter the following command.
Brocade#show mstp conf MSTP CONFIGURATION -----------------Name : Reg1 Revision : 1 Version : 3 (MSTP mode) Status : Started Instance VLANs -------- -----------------------------------------------------0 4093
1177
To display details about the MSTP that is configured on the device, enter the following command.
Brocade#show mstp detail MSTP Instance 0 (CIST) - VLANs: 4093 ---------------------------------------------------------------------------Bridge: 800000b000c00000 [Priority 32768, SysId 0, Mac 00b000c00000] FwdDelay 15, HelloTime 2, MaxHops 20, TxHoldCount 6 Port 6/54 - Role: DESIGNATED - State: FORWARDING PathCost 20000, Priority 128, OperEdge T, OperPt2PtMac F, Boundary T Designated - Root 800000b000c00000, RegionalRoot 800000b000c00000, Bridge 800000b000c00000, ExtCost 0, IntCost 0 ActiveTimers - helloWhen 1 MachineState - PRX-DISCARD, PTX-IDLE, PPM-SENDING_RSTP, PIM-CURRENT PRT-ACTIVE_PORT, PST-FORWARDING, TCM-INACTIVE BPDUs - Rcvd MST 0, RST 0, Config 0, TCN 0 Sent MST 6, RST 0, Config 0, TCN 0
Refer to Table 201 for explanation about the parameters in the output. Syntax: show mstp [<mstp-id> | configuration | detail] [ | begin <string> | exclude <string> | include <string>] Enter an MSTP ID for <mstp-id>.
1178
Chapter
28
Table 202 lists the individual Brocade FastIron switches and the base Layer 3 features they support. These features are supported in the base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 202
Feature
FWS
FCX
ICX 6610
Yes Yes No
RIP V1 and V2 (Static RIP support only in the base Layer 3 image. The Brocade device with base Layer 3 does not learn RIP routes from other Layer 3 devices. However, the device does advertise directly connected routes.) Redistribution of IP static routes into RIP RIP default route learning
Yes
Route-only support (supported with edge Layer 3 and full Layer 3 images only)
Yes
Yes
Yes
Yes
Yes
Layer 2 with base Layer 3 images provide static RIP support. The device does not learn RIP routes from other Layer 3 devices. However, the device does advertise directly connected routes and can be configured to dynamically learn default routes. Brocade recommends that you deploy these devices only at the edge of your network, because incoming traffic can learn directly connected routes advertised by the Brocade device, but outgoing traffic to other devices must use statically configured or default routes.
NOTE
1179
You must reboot the device when you see these messages.
This command adds a static IP route to the 209.157.2.x/24 subnet. Syntax: [no] ip route <dest-ip-addr> <dest-mask> <next-hop-ip-addr> [<metric>] [tag <num>] or Syntax: [no] ip route <dest-ip-addr>/<mask-bits> <next-hop-ip-addr> [<metric>] [tag <num>] On FastIron X Series devices, you can add up to 2048 static IP routes. The <dest-ip-addr> variable is the route destination. The <dest-mask> variable is the network mask for the route destination IP address. Alternatively, you can specify the network mask information by entering a forward slash followed by the number of bits in the network mask. For example, you can enter 192.0.0.0 255.255.255.0 as 192.0.0.0/.24. To configure a default route, enter 0.0.0.0 for <dest-ip-addr> and 0.0.0.0 for <dest-mask> (or 0 for the <mask-bits> variable if you specify the address in CIDR format). Specify the IP address of the default gateway using the <next-hop-ip-addr> variable. The <next-hop-ip-addr> variable is the IP address of the next hop router (gateway) for the route. The <metric> variable specifies the cost of the route and can be a number from 1 through 16. The default is 1. The metric is used by RIP. If you do not enable RIP, the metric is not used. The tag <num> parameter specifies the tag value of the route. The possible value is from 0 through 4294967295. The default value is 0. You cannot specify null0 or another interface as the next hop in the base Layer 3 image.
NOTE
1180
NOTE
This command adds a static ARP entry that maps IP address 209.157.22.3 to MAC address aaaa.bbbb.cccc. The entry is for a MAC address connected to Brocade port 3. Syntax: [no] arp <num> <ip-addr> <mac-addr> ethernet <port> The <num> variable specifies the entry number. You can specify a number from 1 up to the maximum number of static entries allowed on the device. You can allocate more memory to increase this amount. To do so, enter the system-max ip-static-arp <num> command at the global CONFIG level of the CLI. The <ip-addr> variable specifies the IP address of the device that has the MAC address of the entry. The <mac-addr> variable specifies the MAC address of the entry. The ethernet <port> parameter specifies the port number attached to the device that has the MAC address of the entry. Specify the <port> variable in one of the following formats: Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
The clear arp command clears learned ARP entries but does not remove any static ARP entries.
1181
The Layer 3 system parameter limits for FastIron IPv6 models are automatically adjusted by the
system and cannot be manually modified. Refer to FastIron second generation modules on page 1184.
NOTE
Syntax: [no] system-max hw-ip-route-tcam <num> The <num> variable specifies a value from 64 through 1020. The default is 256. The show ip route command displays the usage of TCAM in routing.
Brocade#show ip route Total number of IP routes: 29 Route TCAM: total 64, used 64, add HW route failure=34 Start index: 1 D:Connected R:RIP S:Static O:OSPF *:Candidate default Destination NetMask Gateway Port Cost 1 2.2.10.0 255.255.255.0 0.0.0.0 v10 1 2 2.2.11.0 255.255.255.0 0.0.0.0 v11 1 ...
Type D D
In this example, add HW route failure shows the number of failures in installing routing TCAM. The base Layer 3 code installs routing TCAM for the interface subnet and static routes. A packet is routed in hardware if its destination IP address matches the interface or stack route subnet, and the next hop or destination ARP is resolved. The unknown unicast packets have destination IP addresses that do not match any static route or interface subnets. The handling of unknown unicast packets differs depending on TCAM availability. For example, for a system that never encounters an out-of-TCAM situation, If the default route is not configured or its next hop ARP is not resolved, all unknown unicast packets are handled based on the default Layer 2 behavior. They are either dropped in hardware if route-only is configured or VLAN-flooded in hardware.
1182
If the default route is configured and its next hop ARP is resolved, unknown unicast packets are hardware-routed to the next hop, and not VLAN-flooded. Once the device runs out of TCAM, it traps the unknown unicast packets to the CPU for processing. If the default route is defined and its next hop ARP is resolved, the packets are routed by the CPU. Otherwise, they follow the default Layer 2 behavior. Because the base Layer 3 code does not allow route-only configurations, these packets are VLAN-flooded. The system does not change this CPU-handling behavior back to hardware switching even when TCAM again becomes available.
Number of IP next hops and IP route entries Number of hardware logical interfaces (physical port and VLAN pairs) Number of multicast output interfaces (clients)
These parameters are automatically enabled with pre-defined default values. You can, however, adjust these values to conform with your network topology. To display the current settings for the Layer 3 system parameters, use the show default value command. Refer to Displaying Layer 3 system parameter limits on page 1185. To modify the default settings for the Layer 3 system parameters, use the system max command at the global CONFIG level of the CLI. Refer to Modifying Layer 3 system parameter limits on first generation modules on page 1183.
Likewise, if the network topology does not have a large number of VLANs, and the VLANs configured on physical ports are not widely distributed, you could decrease the number of hardware logical interfaces, and then increase the number of IP next hops and multicast output interfaces. To do so, enter commands such as the following.
1183
Brocade(config)#system-max hw-logical-interface 2048 Brocade(config)#system-max hw-ip-next-hop 3072 Brocade(config)#system-max hw-ip-mcast-mll 2048 Brocade(config)#write memory Brocade(config)#reload
Syntax: system-max hw-ip-next-hop <num> Syntax: system-max hw-logical-interface <num> Syntax: system-max hw-ip-mcast-mll <num>
NOTE
The system-max commands are not supported on IPv6 devices. Refer to FastIron second generation modules on page 1184. The hw-ip-next-hop <num> parameter specifies the maximum number of IP next hops and routes supported on the device. Note that the maximum number includes unicast next hops and multicast route entries. Enter a number from 100 through 6144. The default is 2048. You can define the maximum number of hops on FastIron X Series devices using the hw-ip-next-hop <num> parameter with the following first generation modules installed:
If these modules are not installed, then the maximum number of hops is automatically set and is not configurable. The hw-logical-interface <num> parameter specifies the number of hardware logical interface pairs (physical port and VLAN pairs) supported on the device. Enter a number from 0 through 4096. When this parameter is set to 4096 (the maximum), the limit is not enforced. If you enter a number less than 4096, the limit is the total number of physical port and VLAN pairs that are IP-enabled in the system. The default is 4096. The hw-ip-mcast-mll <num> parameter specifies the maximum number of multicast output interfaces (clients) supported on the device. If a given source or group has clients in n tagged VLANs on the router, then n entries are consumed for that source or group entry. Enter a number from 0 through 4096. The default is 1024.
Number of IP next hops and IP route entries 6144 maximum and default value. The system
automatically calculates this value, based on the maximum number of VLANs supported systemwide.
1184
Number of hardware logical interfaces (physical port and VLAN pairs) This value is the same
as the maximum number of VLANs supported systemwide, so it is not configurable nor displayed in the show default value output in second generation modules.
Number of multicast output interfaces (clients) 3072 maximum. This value is fixed in second
generation modules and cannot be modified. This system parameter occupies its own hardware memory space. To display the current settings for the Layer 3 system parameters, use the show default value command. Refer to Displaying Layer 3 system parameter limits on page 1185.
If the FastIron X Series device is installed with first generation or second generation modules, the system automatically calculates the default value for these modules.
some lines omitted for brevity.... hw-ip-next-hop 2048 hw-logical-interface 4096 hw-ip-mcast-mll 1024 6144 4096 4096 2048 4096 1024
1185
The following example shows output on a FastIron X Series with second generation modules.
Brocade#show default value sys log buffers:50 ip arp age:10 min ip addr per intf:24 igmp group memb.:140 sec ospf dead:40 sec ospf transit delay:1 sec System Parameters ip-arp ip-static-arp mac age time:300 sec bootp relay max hops:4 telnet sessions:5 ip ttl:64 hops
some lines omitted for brevity.... hw-ip-next-hop 6144 hw-ip-mcast-mll 1024 hw-traffic-condition 50 6144 4096 1024 6144 1024 50
The following example shows output on a FastIron X Series with third generation modules.
Brocade#show default value sys log buffers:50 ip arp age:10 min ip addr per intf:24 igmp group memb.:140 sec ospf dead:40 sec ospf transit delay:1 sec System Parameters ip-arp ip-static-arp mac age time:300 sec bootp relay max hops:4 telnet sessions:5 ip ttl:64 hops
some lines omitted for brevity.... hw-ip-mcast-mll 1024 hw-traffic-condition 50 4096 1024 1024 50
1186
Configuring RIP
Configuring RIP
If you want the Brocade device to use Routing Information Protocol (RIP), you must enable the protocol globally, and then enable RIP on individual ports. When you enable RIP on a port, you also must specify the version (version 1 only, version 2 only, or version 1 compatible with version 2). Optionally, you also can set or change the following parameters:
Route redistribution You can enable the software to redistribute static routes from the IP
route table into RIP. Redistribution is disabled by default.
Learning of default routes The default is disabled. Loop prevention (split horizon or poison reverse) The default is poison reverse.
Enabling RIP
RIP is disabled by default. You must enable the protocol both globally and on the ports on which you want to use RIP. To enable RIP globally, enter the following command.
Brocade(config)#router rip
Syntax: [no] router rip To enable RIP on a port and specify the RIP version, enter commands such as the following.
Brocade(config-rip-router)#interface ethernet 1 Brocade(config-if-e1000-1)#ip rip v1-only
These commands change the CLI to the configuration level for port 1 and enable RIP version 1 on the interface. You must specify the version. Syntax: interface ethernet <port> Syntax: [no] ip rip v1-only | v1-compatible-v2 | v2-only Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1187
Configuring RIP
NOTE
The default redistribution action is permit, even after you configure and apply a permit or deny filter. To deny redistribution of specific routes, you must configure a deny filter.
NOTE
The option to set the metric is not applicable to static routes. 2. Enable redistribution.
NOTE
If you plan to configure redistribution filters, do not enable redistribution until you have configured the filters. When you enable redistribution, all types of routes are redistributed into RIP; redistribution is not limited to IP static routes. If you want to deny certain routes from being redistributed into RIP, configure deny filters for those routes before you enable redistribution. You can configure up to 64 RIP redistribution filters. They are applied in ascending numerical order.
NOTE
The default redistribution action is permit, even after you configure and apply redistribution filters to the port. If you want to tightly control redistribution, apply a filter to deny all routes as the last filter (filter ID 64), and then apply filters with lower filter IDs to allow specific routes.
1188
Configuring RIP
This command denies redistribution of all 207.92.x.x IP static routes. Syntax: [no] permit | deny redistribute <filter-num> static address <ip-addr> <ip-mask> [match-metric <value> | set-metric <value>] The <filter-num> variable specifies the redistribution filter ID. Specify a number from 1 through 64. The software uses the filters in ascending numerical order. Thus, if filter 1 denies a route from being redistributed, the software does not redistribute that route even if a filter with a higher ID permits redistribution of the route. The static address <ip-addr> <ip-mask> parameters apply redistribution to the specified network and subnet address. Use 0 to specify any. For example, 207.92.0.0 255.255.0.0 means any 207.92.x.x subnet. However, to specify any subnet (all subnets match the filter), enter static address 255.255.255.255 255.255.255.255. The match-metric <value> parameter applies redistribution to those routes with a specific metric value. Possible values are from 1 through 15. The set-metric <value> parameter sets the RIP metric value that will be applied to the routes imported into RIP.
NOTE
The set-metric parameter does not apply to static routes. The following command denies redistribution of a 207.92.x.x IP static route only if the route metric is 5.
Brocade(config-rip-router)#deny redistribute 2 static address 207.92.0.0 255.255.0.0 match-metric 5
The following commands deny redistribution of all routes except routes for 10.10.10.x and 20.20.20.x.
Brocade(config-rip-router)#deny redistribute 64 static address 255.255.255.255 255.255.255.255 Brocade(config-rip-router)#permit redistribute 1 static address 10.10.10.0 255.255.255.0 Brocade(config-rip-router)#permit redistribute 2 static address 20.20.20.0 255.255.255.0
Enabling redistribution
After you configure redistribution parameters, you must enable redistribution. To enable RIP redistribution, enter the following command.
Brocade(config-rip-router)#redistribution
1189
Split horizon The Brocade device does not advertise a route on the same interface as the one
on which it learned the route.
NOTE
1190
IP routing is enabled by default on devices running Layer 3 code. All other protocols are disabled, so you must enable them to configure and use them. To enable a protocol on a device running full Layer 3 code, enter router at the global CONFIG level, followed by the protocol to be enabled. The following example shows how to enable OSPF.
Brocade(config)#router ospf
Syntax: router bgp | dvmrp | igmp | ip | ospf | pim | rip |vrrp | vrrp-e | vsrp
NOTE
Consult your reseller or Brocade to understand the risks involved before disabling all Layer 2 switching operations.
FWS EPREM devices support disabling Layer 2 switching at the global CONFIG level only. FastIron X Series and Brocade FCX Series devices support disabling Layer 2 switching at the
interface configuration level as well as the global CONFIG level.
1191
Syntax: [no] route-only To disable Layer 2 switching only on a specific interface, go to the interface configuration level for that interface, and then disable the feature. The following commands show how to disable Layer 2 switching on port 2.
Brocade(config)#interface ethernet 2 Brocade(config-if-e1000-2)#route-only
1192
Chapter
RIP (IPv4)
29
Table 203 lists the individual Brocade FastIron switches and the Routing Information Protocol (RIP) for IPv4 features they support. These features are supported in the edge Layer 3 and full Layer 3 software images.
TABLE 203
Feature
FWS
FCX
ICX 6610
ICX 6450
RIP V1 and V2 Route learning and advertising Route redistribution into RIP Route metrics Route loop prevention: Poison reverse Split horizon RIP route advertisement suppression on a VRRP or VRRP-E backup interface Route filters CPU utilization statistics for RIP
RIP overview
Routing Information Protocol (RIP) is an IP route exchange protocol that uses a distance vector (a number representing a distance) to measure the cost of a given route. The cost is a distance vector because the cost often is equivalent to the number of router hops between the Brocade Layer 3 Switch and the destination network. A Brocade Layer 3 Switch can receive multiple paths to a destination. The software evaluates the paths, selects the best path, and saves the path in the IP route table as the route to the destination. Typically, the best path is the path with the fewest hops. A hop is another router through which packets must travel to reach the destination. If the Brocade Layer 3 Switch receives a RIP update from another router that contains a path with fewer hops than the path stored in the Brocade Layer 3 Switch route table, the Layer 3 Switch replaces the older route with the newer one. The Layer 3 Switch then includes the new path in the updates it sends to other RIP routers, including Brocade Layer 3 Switches. RIP routers, including the Brocade Layer 3 Switch, also can modify a route cost, generally by adding to it, to bias the selection of a route for a given destination. In this case, the actual number of router hops may be the same, but the route has an administratively higher cost and is thus less likely to be used than other, lower-cost routes.
1193
A RIP route can have a maximum cost of 15. Any destination with a higher cost is considered unreachable. Although limiting to larger networks, the low maximum hop count prevents endless loops in the network. Brocade Layer 3 Switches support the following RIP versions:
TABLE 204
Parameter
RIP state
Default
Disabled
Reference
page 1196
Administrative distance
The administrative distance is a numeric value assigned to each type of route on the router. When the router is selecting from among multiple routes (sometimes of different origins) to the same destination, the router compares the administrative distances of the routes and selects the route with the lowest administrative distance. This parameter applies to routes originated by RIP. The administrative distance stays with a route when it is redistributed into other routing protocols.
120
page 1198
Redistribution
RIP can redistribute routes from other routing protocols such as Disabled OSPF and BGP4 into RIP. A redistributed route is one that a router learns through another protocol, then distributes into RIP.
page 1199
1194
TABLE 204
Parameter
Default
1 (one)
Reference
page 1200
Redistribution metric
Update interval How often the router sends route updates to its RIP neighbors. Learning default routes The router can learn default routes from its RIP neighbors. NOTE: You also can enable or disable this parameter on an individual interface basis. Refer to Table 205 on page 1195. The Layer 3 Switch learns and advertises RIP routes with all its neighbors by default. You can prevent the Layer 3 Switch from advertising routes to specific neighbors or learning routes from specific neighbors.
30 seconds Disabled
page 1202
TABLE 205
.
Parameter
RIP state and version
Metric
page 1197
Disabled
page 1201
1195
TABLE 205
Parameter
Default
Poison reverse NOTE: Enabling split horizon disables poison reverse on the interface.
Reference
page 1203
Loop prevention
The Layer 3 Switch learns and advertises all RIP routes on all interfaces.
page 1204
Enabling RIP
RIP is disabled by default. To enable it, use the following procedure.
NOTE
You must enable the protocol globally and also on individual interfaces on which you want to advertise RIP. Globally enabling the protocol does not enable it on individual interfaces. To enable RIP globally, enter the router rip command.
Brocade(config)#router rip
Syntax: [no] router rip After globally enabling the protocol, you must enable it on individual interfaces. You can enable the protocol on physical interfaces as well as virtual routing interfaces. To enable RIP on an interface, enter commands such as the following.
Brocade(config)#interface ethernet 0/1/1 Brocade(config-if-0/1/1)#ip rip v1-only
Syntax: [no] ip rip v1-only | v1-compatible-v2 | v2-only You must specify the RIP version.
NOTE
1196
NOTE
RIP considers a route with a metric of 16 to be unreachable. Use this metric only if you do not want the route to be used. You can prevent the Layer 3 Switch from using a specific port for routes learned though that port by setting its metric to 16. To increase the cost a port adds to RIP routes learned in that port, enter commands such as the following.
Brocade(config)#interface ethernet 0/6/1 Brocade(config-if-0/6/1)#ip metric 5
These commands configure port 6/1 to add 5 to the cost of each route learned on the port. Syntax: ip metric <1-16>
An access control list (ACL) that specifies the routes to which to add the metric. The direction: - In applies to routes the Layer 3 Switch learns from RIP neighbors. - Out applies to routes the Layer 3 Switch is advertising to its RIP neighbors. The type and number of a specific port to which the RIP offset list applies (optional).
1197
The software adds the offset value to the routing metric (cost) of the routes that match the ACL. If a route matches both a global offset list and an interface-based offset list, the interface-based offset list takes precedence. The interface-based offset list metric is added to the route in this case. You can configure up to 24 global RIP offset lists and up to 24 RIP offset lists on each interface. To configure a global RIP offset list, enter commands such as the following.
Brocade(config)#access-list 21 deny 160.1.0.0 0.0.255.255 Brocade(config)#access-list 21 permit any Brocade(config)#router rip Brocade(config-rip-router)#offset-list 21 out 10
The commands in this example configure a standard ACL. The ACL matches on all IP networks except 160.1.x.x. When the Layer 3 Switch advertises a route that matches ACL 21, the offset list adds 10 to the route metric. Syntax: [no] offset-list <ACL-number-or-name> in | out <metric> [ethernet <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
In the following example, the Layer 3 Switch uses ACL 21 to add 10 to the metric of routes received on Ethernet port 0/2/1.
Brocade(config-rip-router)#offset-list 21 in 10 ethernet 0/2/1
NOTE
Refer to Changing administrative distances on page 1368 for the default distances for all route sources. To change the administrative distance for RIP routes, enter the distance command.
Brocade(config-rip-router)#distance 140
This command changes the administrative distance to 140 for all RIP routes. Syntax: [no] distance <num> The <num> variable specifies a range from 1 through 255.
1198
Configuring redistribution
You can configure the Layer 3 Switch to redistribute routes learned through Open Shortest Path First (OSPF) or Border Gateway Protocol version 4 (BGP4) into RIP. When you redistribute a route from one of these other protocols into RIP, the Layer 3 Switch can use RIP to advertise the route to its RIP neighbors. To configure redistribution, perform the following tasks: 1. Configure redistribution filters (optional). You can configure filters to permit or deny redistribution for a route based on its origin (OSPF, BGP4, and so on), the destination network address, and the route metric. You also can configure a filter to set the metric based on these criteria. 2. Change the default redistribution metric (optional). The Layer 3 Switch assigns a RIP metric of 1 to each redistributed route by default. You can change the default metric to a value up to 16. 3. Enable redistribution.
NOTE
Do not enable redistribution until you configure the other redistribution parameters.
NOTE
This command denies redistribution for all types of routes to the 207.92.x.x network. Syntax: [no] permit | deny redistribute <filter-num> all | bgp | ospf | static address <ip-addr> <ip-mask> [match-metric <value> | set-metric <value>] The <filter-num> variable specifies the redistribution filter ID. The software uses the filters in ascending numerical order. Thus, if filter 1 denies a route from being redistributed, the software does not redistribute that route even if a filter with a higher ID permits redistribution of the route. The all parameter applies redistribution to all route types. The bgp parameter applies redistribution to BGP4 routes only. The ospf parameter applies redistribution to OSPF routes only. The static parameter applies redistribution to IP static routes only.
1199
The address <ip-addr> <ip-mask> parameters apply redistribution to the specified network and subnet address. Use 0 to specify any. For example, 207.92.0.0 255.255.0.0 means any 207.92.x.x subnet. However, to specify any subnet (all subnets match the filter), enter address 255.255.255.255 255.255.255.255. The match-metric <value> parameter applies the redistribution filter only to those routes with the specified metric value; possible values are from 1 through 15. The set-metric <value> parameter sets the RIP metric value that will be applied to those routes imported into RIP. The following command denies redistribution into RIP for all OSPF routes.
Brocade(config-rip-router)#deny redistribute 3 ospf address 207.92.0.0 255.255.0.0
The following command denies redistribution for all OSPF routes that have a metric of 10.
Brocade(config-rip-router)#deny redistribute 3 ospf address 207.92.0.0 255.255.0.0 match-metric 10
The following commands deny redistribution of all routes except routes for 10.10.10.x and 20.20.20.x.
Brocade(config-rip-router)#deny redistribute 64 static address 255.255.255.255 255.255.255.255 Brocade(config-rip-router)#permit redistribute 1 static address 10.10.10.0 255.255.255.0 Brocade(config-rip-router)#permit redistribute 2 static address 20.20.20.0 255.255.255.0
This example assumes that the highest RIP redistribution filter ID configured on the device is 64.
NOTE
This command assigns a RIP metric of 10 to each route that is redistributed into RIP. Syntax: [no] default-metric <1-15>
Enabling redistribution
After you configure redistribution parameters, you need to enable redistribution. To enable RIP redistribution, enter the redistribution command.
Brocade(config-rip-router)#redistribution
1200
Syntax: [no] redistribution The no form of this command disables RIP redistribution.
Update interval The update interval specifies how often the Layer 3 Switch sends RIP route
advertisements to its neighbors You can change the interval to a value from 1 through 1000 seconds. The default is 30 seconds.
Learning and advertising of RIP default routes The Layer 3 Switch learns and advertises RIP
default routes by default. You can disable learning and advertising of default routes on a global or individual interface basis.
Learning of standard RIP routes By default, the Layer 3 Switch learns RIP routes from all its
RIP neighbors. You can configure RIP neighbor filters to explicitly permit or deny learning from specific neighbors.
This command configures the Layer 3 Switch to send RIP updates every 120 seconds. Syntax: update-time <1-1000>
1201
To enable learning of default RIP routes on a global basis, enter the following command.
Brocade(config-rip-router)#learn-default
Syntax: [no] learn-default To enable learning of default RIP routes on an individual interface basis, enter commands such as the following.
Brocade(config)#interface ethernet 0/1/1 Brocade(config-if-0/1/1)#ip rip learn-default
This command configures the Layer 3 Switch so that the device does not learn any RIP routes from any RIP neighbors. Syntax: [no] neighbor <filter-num> permit | deny <source-ip-address> | any The following commands configure the Layer 3 Switch to learn routes from all neighbors except 192.168.1.170. Once you define a RIP neighbor filter, the default action changes from learning all routes from all neighbors to denying all routes from all neighbors except the ones you explicitly permit. To deny learning from a specific neighbor but allow all other neighbors, you must add a filter that allows learning from all neighbors. Be sure to add the filter to permit all neighbors last (the one with the highest filter number). Otherwise, the software can match on the permit all filter instead of a filter that denies a specific neighbor, and learn routes from that neighbor.
Brocade(config-rip-router)#neighbor 2 deny 192.16.1.170 Brocade(config-rip-router)#neighbor 1024 permit any
Syntax: [no] dont-advertise-connected To disable the configuration, use the no form of the command.
1202
Split horizon The Layer 3 Switch does not advertise a route on the same interface as the one
on which the router learned the route.
NOTE
These methods may be used in addition to the RIP maximum valid route cost of 15.
Disabling poison-reverse
To disable poison reverse and enable split horizon on an interface, enter commands such as the following.
Brocade(config)#interface ethernet 0/1/1 Brocade(config-if-0/1/1)#no ip rip poison-reverse
Syntax: [no] ip rip poison-reverse To disable split horizon and enable poison reverse on an interface, enter commands such as the following.
Brocade(config)#interface ethernet 0/1/1 Brocade(config-if-0/1/1)#ip rip poison-reverse
NOTE
Syntax: [no] use-vrrp-path The syntax is the same for VRRP and VRRP-E.
1203
NOTE
A route is defined by the destination IP address and network mask.
By default, routes that do not match a route filter are learned or advertised. To prevent a route from being learned or advertised, you must configure a filter to deny the route. To configure RIP filters, enter commands such as the following.
Brocade(config-rip-router)#filter Brocade(config-rip-router)#filter Brocade(config-rip-router)#filter Brocade(config-rip-router)#filter 1 2 3 4 permit 192.53.4.1 255.255.255.0 permit 192.53.5.1 255.255.255.0 permit 192.53.6.1 255.255.255.0 deny 192.53.7.1 255.255.255.0
NOTE
These commands explicitly permit RIP routes to three networks, and deny the route to one network. Because the default action is permit, all other routes (routes not explicitly permitted or denied by the filters) can be learned or advertised. Syntax: filter <filter-num> permit | deny <source-ip-address> | any <source-mask> | any [log]
Out filters apply to routes the Layer 3 Switch advertises to its neighbor on the interface. In filters apply to routes the Layer 3 Switch learns from its neighbor on the interface.
To apply RIP route filters to an interface, enter commands such as the following.
Brocade(config)#interface ethernet 0/1/2 Brocade(config-if-0/1/2)#ip rip filter-group in 2 3 4
These commands apply RIP route filters 2, 3, and 4 to all routes learned from the RIP neighbor on port 1/2. Syntax: [no] ip rip filter-group in | out <filter-list>
1204
Index 1 Index 1
Syntax: show ip rip Table 206 describes the information displayed by the show ip rip command.
TABLE 206
Field Route filters
The rows underneath RIP Route Filter Table list the RIP route filters. If no RIP route filters are configured on the device, the following message is displayed: No Filters are configured in RIP Route Filter Table. Index Action The filter number. You assign this number when you configure the filter. The action the router takes if a RIP route packet matches the IP address and subnet mask of the filter. The action can be one of the following: deny RIP route packets that match the address and network mask information in the filter are dropped. If applied to an interface outbound filter group, the filter prevents the router from advertising the route on that interface. If applied to an interface inbound filter group, the filter prevents the router from adding the route to its IP route table. permit RIP route packets that match the address and network mask information are accepted. If applied to an interface outbound filter group, the filter allows the router to advertise the route on that interface. If applied to an interface inbound filter group, the filter allows the router to add the route to its IP route table. The IP address of the route destination network or host. The network mask for the IP address.
Neighbor filters
The rows underneath RIP Neighbor Filter Table list the RIP neighbor filters. If no RIP neighbor filters are configured on the device, the following message is displayed: No Filters are configured in RIP Neighbor Filter Table. Index Action The filter number. You assign this number when you configure the filter. The action the router takes for RIP route packets to or from the specified neighbor: deny If the filter is applied to an interface outbound filter group, the filter prevents the router from advertising RIP routes to the specified neighbor on that interface. If the filter is applied to an interface inbound filter group, the filter prevents the router from receiving RIP updates from the specified neighbor. permit If the filter is applied to an interface outbound filter group, the filter allows the router to advertise RIP routes to the specified neighbor on that interface. If the filter is applied to an interface inbound filter group, the filter allows the router to receive RIP updates from the specified neighbor.
Neighbor IP Address
1205
5Min(%) 0.09 0.08 0.00 0.00 0.00 0.00 0.08 0.00 0.00
15Min(%) 0.22 0.14 0.00 0.00 0.00 0.00 0.09 0.00 0.00
Runtime(ms) 9 13 0 0 0 0 7 0 0
If the software has been running less than 15 minutes (the maximum interval for utilization statistics), the command indicates how long the software has been running, as shown in the following example.
Brocade#show process cpu The system has only been up for 6 seconds. Process Name 5Sec(%) 1Min(%) 5Min(%) ARP 0.01 0.00 0.00 BGP 0.00 0.00 0.00 GVRP 0.00 0.00 0.00 ICMP 0.01 0.00 0.00 IP 0.00 0.00 0.00 OSPF 0.00 0.00 0.00 RIP 0.00 0.00 0.00 STP 0.00 0.00 0.00 VRRP 0.00 0.00 0.00
15Min(%) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 0 0 0 1 0 0 0 0 0
To display utilization statistics for a specific number of seconds, enter a command such as the following.
Brocade#show process cpu 2 Statistics for last 1 sec and 80 ms Process Name Sec(%) Time(ms) ARP 0.00 0 BGP 0.00 0 GVRP 0.00 0 ICMP 0.01 1 IP 0.00 0 OSPF 0.00 0 RIP 0.00 0 STP 0.01 0 VRRP 0.00 0
1206
When you specify how many seconds worth of statistics you want to display, the software selects the sample that most closely matches the number of seconds you specified. In this example, statistics are requested for the previous two seconds. The closest sample available is for the previous 1 second and 80 milliseconds. Syntax: show process cpu [<num>] The <num> parameter specifies the number of seconds and can be from 1 through 900. If you use this parameter, the command lists the usage statistics only for the specified number of seconds. If you do not use this parameter, the command lists the usage statistics for the previous five-second, one-minute, five-minute, and fifteen-minute intervals.
1207
1208
Chapter
RIP (IPv6)
30
Table 207 lists the individual Brocade FastIron switches and the Routing Information Protocol (RIP) for IPv6 features they support. These features are supported with premium IPv6 devices running the full Layer 3 software image
TABLE 207
Feature
FWS
FCX
ICX 6610
ICX 6450
RIPng Up to 10K RIPng routes RIPng timers Route learning and advertising Route redistribution into RIPng Route loop prevention: Poison reverse Split horizon Clearing RIPng routes
No No No No No No
Yes No No No No No
Yes No No No No No
No No No No No No
Yes
No
No
No
No
RIPng overview
Routing Information Protocol (RIP) is an IP route exchange protocol that uses a distance vector (a number representing a distance) to measure the cost of a given route. RIP uses a hop count as its cost or metric. IPv6 RIP, known as Routing Information Protocol Next Generation or RIPng functions similarly to IPv4 RIP Version 2. RIPng supports IPv6 addresses and prefixes and introduces some new commands that are specific to RIPng. This chapter describes the commands that are specific to RIPng. This section does not describe commands that apply to both IPv4 RIP and RIPng. RIPng maintains a Routing Information Base (RIB), which is a local route table. The local RIB contains the lowest-cost IPv6 routes learned from other RIP routers. In turn, RIPng attempts to add routes from its local RIB into the main IPv6 route table.
NOTE
Brocade IPv6 devices support up to 10,000 RIPng routes. This section describes the following:
How to configure RIPng How to clear RIPng information from the RIPng route table How to display RIPng information and statistics
1209
Change the default settings of RIPng timers Configure how the Brocade device learns and advertises routes Configure which routes are redistributed into RIPng from other sources Configure how the Brocade device distributes routes through RIPng Configure poison reverse parameters
RIPng configuration
Before configuring the Brocade device to run RIPng, you must do the following:
Enable the forwarding of IPv6 traffic on the Brocade device using the ipv6 unicast-routing
command.
Enable IPv6 on each interface on which you plan to enable RIPng. You enable IPv6 on an
interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface. For more information about performing these configuration tasks, refer to the chapter IPv6 Configuration on FastIron X Series, FCX, and ICX Series Switches on page 353.
Enabling RIPng
By default, RIPng is disabled. To enable RIPng, you must enable it globally on the Brocade device and also on individual router interfaces. You are required to configure a router ID when running only IPv6 routing protocols.
NOTE
Enabling RIPng globally on the Brocade device does not enable it on individual router interfaces. To enable RIPng globally, enter the following command.
Brocade(config)#ipv6 router rip Brocade(config-ripng-router)#
NOTE
After you enter this command, the Brocade device enters the RIPng configuration level, where you can access several commands that allow you to configure RIPng. Syntax: [no] ipv6 router rip To disable RIPng globally, use the no form of this command. After enabling RIPng globally, you must enable it on individual router interfaces. You can enable it on physical as well as virtual routing interfaces. For example, to enable RIPng on Ethernet interface 3/1, enter the following commands.
Brocade(config)# interface ethernet 3/1 Brocade(config-if-e100-3/1)# ipv6 rip enable
1210
RIPng timers
Syntax: [no] ipv6 rip enable To disable RIPng on an individual router interface, use the no form of this command.
RIPng timers
Table 208 describes the RIPng timers and provides their defaults.
TABLE 208
Timer
Update Timeout Hold-down
RIPng timers
Description
Amount of time (in seconds) between RIPng routing updates. Amount of time (in seconds) after which a route is considered unreachable. Amount of time (in seconds) during which information about other paths is ignored. Amount of time (in seconds) after which a route is removed from the routing table.
Default
30 seconds. 180 seconds. 180 seconds. 120 seconds.
Garbage-collection
You can adjust these timers for RIPng. Before doing so, keep the following caveats in mind:
If you adjust these RIPng timers, Brocade strongly recommends setting the same timer values
for all routers and access servers in the network.
Setting the update timer to a shorter interval can cause the routers to spend excessive time
updating the IPv6 route table.
Brocade recommends setting the timeout timer value to at least three times the value of the
update timer.
Brocade recommends a shorter hold-down timer interval, because a longer interval can cause
delays in RIPng convergence.
Syntax: [no] timers <update-timer> <timeout-timer> <hold-down-timer> <garbage-collection-timer> Possible values for the timers are as follows
Update timer: 3 through 65535 seconds Timeout timer: 9 through 65535 seconds Hold-down timer: 9 through 65535 seconds Garbage-collection timer: 9 through 65535 seconds
1211
You must enter a value for each timer, even if you want to retain the current setting of a particular timer. To return to the default values of the RIPng timers, use the no form of this command.
NOTE
Learning and advertising of RIPng default routes Advertising of IPv6 address summaries Metric of routes learned and advertised on a router interface
By default, the Brocade device does not learn IPv6 default routes (::/0). You can originate default routes into RIPng, which causes individual router interfaces to include the default routes in their updates. When configuring the origination of the default routes, you can also do the following:
Suppress all other routes from the updates Include all other routes in the updates
To originate IPv6 default routes and include all other routes in updates sent from Ethernet interface 3/1, enter the following commands.
Brocade(config)# interface ethernet 3/1 Brocade(config-if-e100-3/1)# ipv6 rip default-information originate
Syntax: [no] ipv6 rip default-information only | originate The only keyword originates the default routes and suppresses all other routes from the updates. The originate keyword originates the default routes and includes all other routes in the updates. To remove the explicit default routes from RIPng and suppress advertisement of these routes, use the no form of this command.
1212
For example, to advertise the summarized prefix 2001:DB8::/36 instead of the IPv6 address 2001:469e:0:adff:8935:e838:78:e0ff with a prefix length of 64 bits from Ethernet interface 3/1, enter the following commands.
Brocade(config)# interface ethernet 3/1 Brocade(config-if-e100-3/1)# ipv6 address 2001:db8:0:adff:8935:e838:78: e0ff /64 Brocade(config-if-e100-3/1)# ipv6 rip summary-address 2001:db8::/36
Syntax: [no] ipv6 rip summary-address <ipv6-prefix>/<prefix-length> You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. To stop the advertising of the summarized IPv6 prefix, use the no form of this command.
In this example, if Ethernet interface 3/1 learns about an incoming route, it will increase the incoming metric by 2 (the default offset of 1 and the additional offset of 1 as specified in this example). If Ethernet interface 3/1 advertises an outgoing route, it will increase the metric by 3 as specified in this example. Syntax: [no] ipv6 rip metric-offset <1 16> Syntax: [no] ipv6 rip metric-offset out <1 15> To return the metric offset to its default value, use the no form of this command.
1213
Syntax: redistribute bgp | connected | isis | ospf | static [metric <number>] For the metric, specify a numerical value that is consistent with RIPng.
To deny prefix lengths greater than 64 bits in routes that have the prefix 3EE0:A99::/64 and allow all other routes received on tunnel interface 3/1, enter the following commands.
Brocade(config)# ipv6 prefix-list 3ee0routes deny 3ee0:a99::/64 le 128 Brocade(config)# ipv6 prefix-list 3ee0routes permit ::/0 ge 1 le 128 Brocade(config)# ipv6 router rip Brocade(config-ripng-router)# distribute-list prefix-list 3ee0routes in tunnel 1
Syntax: [no] distribute-list prefix-list <name> in | out <interface> <port> The <name> parameter indicates the name of the prefix list generated using the ipv6 prefix-list command. The in keyword indicates that the prefix list is applied to incoming routing updates on the specified interface. The out keyword indicates that the prefix list is applied to outgoing routing updates on the specified interface.
1214
For the <interface> parameter, you can specify the ethernet, loopback, ve, or tunnel keywords. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a VE or tunnel interface, also specify the VE or tunnel number. To remove the prefix list, use the no form of this command.
Syntax: [no] poison-reverse To disable poison reverse, use the no form of this command. By default, if a RIPng interface goes down, the Brocade device does not send a triggered update for the interface IPv6 networks. To better handle this situation, you can configure a RIPng router to send a triggered update containing the local routes of the disabled interface with an unreachable metric of 16 to the other RIPng routers in the routing domain. You can enable the sending of a triggered update by entering the following commands.
Brocade(config)# ipv6 router rip Brocade(config-ripng-router)# poison-local-routes
Syntax: [no] poison-local-routes To disable the sending of a triggered update, use the no form of this command.
1215
Syntax: show ipv6 rip Table 209 describes the information displayed by the show ipv6 rip command.
TABLE 209
Field
Administrative distance Updates/expiration Holddown/garbage collection Split horizon/poison reverse Default routes Periodic updates/trigger updates Distribution lists Redistribution
1216
(58)
Syntax: show ipv6 rip route [<ipv6-prefix>/<prefix-length> | <ipv6-address>] The <ipv6-prefix>/<prefix-length> parameters restrict the display to the entries for the specified IPv6 prefix. You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. The <ipv6-address> parameter restricts the display to the entries for the specified IPv6 address. You must specify this parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. Table 210 describes the information displayed by the show ipv6 rip route command.
TABLE 210
Field
IPv6 RIPng Routing Table entries <ipv6-prefix>/<prefix-length> OR <ipv6-address> Next-hop router Interface Serial number Source of route
The source of the route information. The source can be one of the following: LOCAL Routes configured on local interfaces taking part in RIPng. RIP Routes learned by RIPng. CONNECTED IPv6 routes redistributed from directly connected networks. STATIC IPv6 static routes are redistributed into RIPng. OSPF OSPF V3 routes are redistributed into RIPng.
The cost of the route. The <number> parameter indicates the number of hops to the destination. The tag value of the route. Indicates if the hold-down timer or the garbage-collection timer is set.
1217
1218
Chapter
31
Table 211 lists the individual Brocade FastIron switches and the Open Shortest Path First (OSPF) Version 2 (IPv4) features they support. These features are supported in the edge Layer 3 and full Layer 3 software images only.
TABLE 211
Feature
FWS
FCX
ICX 6610
ICX 6450
OSPF V2 OSPF point-to-point links RFC 1583 and RFC 2178 compliant Support for OSPF RFC 2328 Appendix E Dynamic OSPF activation and configuration Dynamic OSPFmemory OSPF graceful restart
Yes Yes Yes Yes Yes Yes Yes (FCX stack only) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes (ICX 6610 stack only) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes ( ICX 6450 stack only) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Assigning OSPF V2 areas Assigning interfaces to an area Timer for OSPF authentication changes Block flooding of outbound LSAs on specific interfaces OSPF non-broadcast interface Virtual links Changing the reference bandwidth for the cost on OSPF interfaces Route redistribution filters Prevent specific OSPF routes from being installed in the IP route table Load sharing Configuring default route origination SPF timers Modifying redistribution metric type Modifying administrative distance OSPF group LSA pacing
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
1219
OSPF overview
TABLE 211
Feature
FWS
FCX
ICX 6610
ICX 6450
OSPF traps Exit overflow interval Syslog messages Clearing OSPF information
This chapter describes how to configure OSPF Version 2 on Brocade Layer 3 Switches using the CLI. OSPF Version 2 is supported on devices running IPv4.
NOTE
The terms Layer 3 Switch and router are used interchangeably in this chapter and mean the same thing.
OSPF overview
Open Shortest Path First (OSPF) is a link-state routing protocol. The protocol uses link-state advertisements (LSAs) to update neighboring routers regarding its interfaces and information on those interfaces. The router floods these LSAs to all neighboring routers to update them regarding the interfaces. Each router maintains an identical database that describes its area topology to help a router determine the shortest path between it and any neighboring router. Brocade Layer 3 Switches support the following types of LSAs, which are described in RFC 1583:
Router link Network link Summary link Autonomous system (AS) summary link AS external link Not-So-Stubby Area (NSSA) external link Grace LSAs
OSPF is built upon a hierarchy of network components. The highest level of the hierarchy is the Autonomous System (AS). An autonomous system is defined as a number of networks, all of which share the same routing and administration characteristics. An AS can be divided into multiple areas as shown in Figure 158 on page 1221. Each area represents a collection of contiguous networks and hosts. Areas limit the area to which link-state advertisements are broadcast, thereby limiting the amount of flooding that occurs within the network. An area is represented in OSPF by either an IP address or a number. You can further limit the broadcast area of flooding by defining an area range. The area range allows you to assign an aggregate value to a range of IP addresses. This aggregate value becomes the address that is advertised instead all of the individual addresses it represents being advertised. You can assign up to 32 ranges in an OSPF area.
1220
OSPF overview
An OSPF router can be a member of multiple areas. Routers with membership in multiple areas are known as Area Border Routers (ABRs). Each ABR maintains a separate topological database for each area the router is in. Each topological database contains all of the LSA databases for each router within a given area. The routers within the same area have identical topological databases. The ABR is responsible for forwarding routing information or changes between its border areas. An Autonomous System Boundary Router (ASBR) is a router that is running multiple protocols and serves as a gateway to routers outside an area and those operating with different protocols. The ASBR is able to import and translate different protocol routes into OSPF through a process known as redistribution. For more details on redistribution and configuration examples, refer to Enabling route redistribution on page 1252.
Area 200.5.0.0
Router D
Area 192.5.1.0
e8
Virtual Link
Router E Router A
Router B
206.5.1.1
Router C
Router F
Area 195.5.0.0
Router G
RIP Router
1221
OSPF overview
1222
OSPF overview
If the DR goes off-line, the BDR automatically becomes the DR. The router with the next highest priority becomes the new BDR. This process is shown in Figure 160.
NOTE
Priority is a configurable option at the interface level. You can use this parameter to help bias one router as the DR.
X
Router B
If two neighbors share the same priority, the router with the highest router ID is designated as the DR. The router with the next highest router ID is designated as the BDR. By default, the Brocade router ID is the IP address configured on the lowest numbered loopback interface. If the Layer 3 Switch does not have a loopback interface, the default router ID is the lowest numbered IP address configured on the device. For more information or to change the router ID, refer to Changing the router ID on page 970. When multiple routers on the same network are declaring themselves as DRs, then both priority and router ID are used to select the designated router and backup designated routers.
NOTE
1223
OSPF overview
When only one router on the network claims the DR role despite neighboring routers with higher priorities or router IDs, this router remains the DR. This is also true for BDRs. The DR and BDR election process is performed when one of the following events occurs:
An interface is in a waiting state and the wait time expires An interface is in a waiting state and a hello packet is received that addresses the BDR A change in the neighbor state occurs, such as: - A neighbor state transitions from 2 or higher - Communication to a neighbor is lost - A neighbor declares itself to be the DR or BDR for the first time
NOTE
1224
OSPF overview
Router A
Router B
Router F
Router C
Notice that both Router D and Router E have a route to the other routing domain through Router F. In earlier software releases, if Routers D and E have equal-cost routes to Router F, then both Router D and Router E flood AS External LSAs to Routers A, B, and C advertising the route to Router F. Since both routers are flooding equivalent routes, Routers A, B, and C receive multiple routes with the same cost to the same destination (Router F). For Routers A, B, and C, either route to Router F (through Router D or through Router E) is equally good. OSPF eliminates the duplicate AS External LSAs. When two or more Brocade Layer 3 Switches configured as ASBRs have equal-cost routes to the same next-hop router in an external routing domain, the ASBR with the highest router ID floods the AS External LSAs for the external domain into the OSPF AS, while the other ASBRs flush the equivalent AS External LSAs from their databases. As a result, the overall volume of route advertisement traffic within the AS is reduced and the Layer 3 Switches that flush the duplicate AS External LSAs have more memory for other OSPF data. In Figure 161, since Router D has a higher router ID than Router E, Router D floods the AS External LSAs for Router F to Routers A, B, and C. Router E flushes the equivalent AS External LSAs from its database.
1225
OSPF overview
There is one ASBR advertising (originating) a route to the external destination, but one of the
following happens:
A second ASBR comes on-line A second ASBR that is already on-line begins advertising an equivalent route to the same
destination. In either case above, the router with the higher router ID floods the AS External LSAs and the other router flushes its equivalent AS External LSAs. For example, if Router D is offline, Router E is the only source for a route to the external routing domain. When Router D comes on-line, it takes over flooding of the AS External LSAs to Router F, while Router E flushes its equivalent AS External LSAs to Router F.
One of the ASBRs starts advertising a route that is no longer equivalent to the route the other
ASBR is advertising. In this case, the ASBRs each flood AS External LSAs. Since the LSAs either no longer have the same cost or no longer have the same next-hop router, the LSAs are no longer equivalent, and the LSA reduction feature no longer applies.
The ASBR with the higher router ID becomes unavailable or is reconfigured so that it is no
longer an ASBR. In this case, the other ASBR floods the AS External LSAs. For example, if Router D goes off-line, then Router E starts flooding the AS with AS External LSAs for the route to Router F.
NOTE
1226
OSPF overview
When Appendix E is supported, the router generates the link state ID for a network as follows. 1. Does an LSA with the network address as its ID already exist?
For the less specific network, use the networks address as the ID. For the more specific network, use the network broadcast address as the ID. The
broadcast address is the network address, with all ones bits in the host portion of the address. For example, the broadcast address for network 10.0.0.0 255.255.0.0 is 10.0.255.255. If this comparison results in a change to the ID of an LSA that has already been generated, the router generates a new LSA to replace the previous one. For example, if the router has already generated an LSA for network with ID 10.0.0.0 for network 10.0.0.0 255.255.255.0, the router must generate a new LSA for the network, if the router needs to generate an LSA for network 10.0.0.0 255.255.0.0 or 10.0.0.0 255.0.0.0.
All OSPF interface-related parameters (for example: area, hello timer, router dead time cost,
priority, re-transmission time, transit delay)
All area parameters All area range parameters All virtual-link parameters All global parameters Creation and deletion of an area, interface or virtual link
In addition, you can make the following changes without a system reset by first disabling and then re-enabling OSPF operation:
Changes to address ranges Changes to global values for redistribution Addition of new virtual links
You also can change the amount of memory allocated to various types of LSA entries. However, these changes require a system reset or reboot.
1227
NOTE
If a FastIron device is configured for OSPF graceful restart and is intended to be used in switchover or hitless upgrade, the OSPF dead-interval should be changed to 60 seconds on OSPF interfaces to ensure that the graceful restart process succeeds without a timeout. Instructions for changing the OSPF dead-interval are provided in Modifying interface defaults on page 1236. The Brocade implementation of OSPF graceful restart supports RFC 3623: Graceful OSPF Restart. For details on how to configure OSPF graceful restart, refer to Configuring OSPF graceful restart on page 1263.
NOTE
1228
Configuring OSPF
Configuring OSPF
Perform the following steps to begin using OSPF on the router. 1. Enabling OSPF on the router on page 1230 2. Assigning OSPF areas on page 1231 3. Assigning an area range (optional) on page 1235 4. Assigning interfaces to an area on page 1236. 5. Defining redistribution filters on page 1246 6. Enabling route redistribution on page 1252. 7. Modifying the OSPF standard compliance setting on page 1262
NOTE
OSPF parameters
You can modify or set the following global and interface OSPF parameters.
Global parameters:
FastIron Configuration Guide 53-1002494-01
Modify the OSPF standard compliance setting Assign OSPF areas Define an area range Define the area virtual link Set global default metric for OSPF Change the reference bandwidth for the default cost of OSPF interfaces Disable or re-enable load sharing Enable or disable default-information-originate Modify Shortest Path First (SPF) timers Define external route summarization Modify the redistribution metric type Define deny redistribution Define permit redistribution
1229
Configuring OSPF
Enable redistribution Change the LSA pacing interval Modify OSPF Traps generated Modify database overflow interval
Interface parameters:
Assign interfaces to an area Define the authentication key for the interface Change the authentication-change interval Modify the cost for a link Modify the dead interval Modify MD5 authentication key parameters Modify the priority of the interface Modify the retransmit interval for the interface Modify the transit delay of the interface
When using the CLI, you set global level parameters at the OSPF CONFIG level of the CLI. To reach that level, enter router ospf at the global CONFIG level. Interface parameters for OSPF are set at the interface CONFIG level using the CLI command, ip ospf When using the Web Management Interface, you set OSPF global parameters using the OSPF configuration panel. All other parameters are accessed through links accessed from the OSPF configuration sheet.
NOTE
This command launches you into the OSPF router level where you can assign areas and modify OSPF global parameters. Syntax: router ospf
NOTE
1230
Configuring OSPF
When you enter the no router ospf command, the CLI displays a warning message such as the following.
Brocade(config-ospf-router)#no router ospf router ospf mode now disabled. All ospf config data will be lost when writing to flash!
The Web Management Interface does not display a warning message. If you have disabled the protocol but have not yet saved the configuration to the startup-config file and reloaded the software, you can restore the configuration information by re-entering the command to enable the protocol (for example, router ospf), or by selecting the Web management option to enable the protocol. If you have already saved the configuration to the startup-config file and reloaded the software, the information is gone. If you are testing an OSPF configuration and are likely to disable and re-enable the protocol, you might want to make a backup copy of the startup-config file containing the protocol configuration information. This way, if you remove the configuration information by saving the configuration after disabling the protocol, you can restore the configuration by copying the backup copy of the startup-config file onto the flash memory.
Resetting OSPF
The clear ip ospf all command globally resets (disables then re-enables) OSPF without deleting the OSPF configuration information. This command is equivalent to entering the commands no router ospf followed by router ospf. Whereas the no router ospf command disables OSPF and removes all the configuration information for the disabled protocol from the running-config, the router ospf command re-enables OSPF and restores the OSPF configuration information. The clear ip ospf all command is useful If you are testing an OSPF configuration and are likely to disable and re-enable the protocol. This way, you do not have to save the configuration after disabling the protocol, and you do not have to restore the configuration by copying the backup copy of the startup-config file onto the flash memory. To reset OSPF without deleting the OSPF configuration, enter the following command at the Global CONFIG level or at the Router OSPF level of the CLI.
Brocade#clear ip ospf all
Normal OSPF routers within a normal area can send and receive External Link State
Advertisements (LSAs).
Stub OSPF routers within a stub area cannot send or receive External LSAs. In addition,
OSPF routers in a stub area must use a default route to the area Area Border Router (ABR) or Autonomous System Boundary Router (ASBR) to send traffic out of the area.
1231
Configuring OSPF
NSSA The ASBR of an NSSA can import external route information into the area: - ASBRs redistribute (import) external routes into the NSSA as type 7 LSAs. Type-7 External
LSAs are a special type of LSA generated only by ASBRs within an NSSA, and are flooded to all the routers within only that NSSA.
ABRs translate type 7 LSAs into type 5 External LSAs, which can then be flooded throughout the AS. You can configure address ranges on the ABR of an NSSA so that the ABR converts multiple type-7 External LSAs received from the NSSA into a single type-5 External LSA. When an NSSA contains more than one ABR, OSPF elects one of the ABRs to perform the LSA translation for NSSA. OSPF elects the ABR with the highest router ID. If the elected ABR becomes unavailable, OSPF automatically elects the ABR with the next highest router ID to take over translation of LSAs for the NSSA. The election process for NSSA ABRs is automatic.
Example
To set up the OSPF areas shown in Figure 158 on page 1221, enter the following commands.
Brocade(config-ospf-router)#area 192.5.1.0 Brocade(config-ospf-router)#area 200.5.0.0 Brocade(config-ospf-router)#area 195.5.0.0 Brocade(config-ospf-router)#area 0.0.0.0 Brocade(config-ospf-router)#write memory
Syntax: area <num> | <ip-addr> The <num> | <ip-addr> parameter specifies the area number, which can be a number or in IP address format. If you specify a number, the number can be from 0 through 18. You can assign one area on a router interface. For example, if the system or chassis module has 16 ports, 16 areas are supported on the chassis or module.
NOTE
1232
Configuring OSPF
This feature applies only when the Layer 3 Switch is configured as an Area Border Router (ABR) for the area. To completely prevent summary LSAs from being sent to the area, disable the summary LSAs on each OSPF router that is an ABR for the area. This feature does not apply to Not-So-Stubby Areas (NSSAs). To disable summary LSAs for a stub area, enter commands such as the following.
Brocade(config-ospf-router)#area 40 stub 99 no-summary
NOTE
Syntax: area <num> | <ip-addr> stub <cost> [no-summary] The <num> | <ip-addr> parameter specifies the area number, which can be a number or in IP address format. If you specify a number, the number can be from 0 through 18. The stub <cost> parameter specifies an additional cost for using a route to or from this area and can be from 1 through 16777215. There is no default. Normal areas do not use the cost parameter. The no-summary parameter applies only to stub areas and disables summary LSAs from being sent into the area. You can assign one area on a router interface. For example, if the system or chassis module has 16 ports, 16 areas are supported on the chassis or module.
NOTE
1233
Configuring OSPF
RIP Domain
OSPF ABR
This example shows two routing domains, a RIP domain and an OSPF domain. The ASBR inside the NSSA imports external routes from RIP into the NSSA as Type-7 LSAs, which the ASBR floods throughout the NSSA. The ABR translates the Type-7 LSAs into Type-5 LSAs. If an area range is configured for the NSSA, the ABR also summarizes the LSAs into an aggregate LSA before flooding the Type-5 LSAs into the backbone. Since the NSSA is partially stubby the ABR does not flood external LSAs from the backbone into the NSSA. To provide access to the rest of the Autonomous System (AS), the ABR generates a default Type-7 LSA into the NSSA. Configuring an NSSA To configure OSPF area 1.1.1.1 as an NSSA, enter the following commands.
Brocade(config)#router ospf Brocade(config-ospf-router)#area 1.1.1.1 nssa 1 Brocade(config-ospf-router)#write memory
Syntax: area <num> | <ip-addr> nssa <cost> | default-information-originate The <num> | <ip-addr> parameter specifies the area number, which can be a number or in IP address format. If you specify a number, the number can be from 0 through 18. The nssa <cost> | default-information-originate parameter specifies that this is a Not-So-Stubby Area (NSSA). The <cost> specifies an additional cost for using a route to or from this NSSA and can be from 1 through 16777215. There is no default. Normal areas do not use the cost parameter. Alternatively, the default-information-originate parameter causes the Layer 3 Switch to inject the default route into the NSSA.
1234
Configuring OSPF
The Layer 3 Switch does not inject the default route into an NSSA by default.
NOTE
You can assign one area on a router interface. For example, if the system or chassis module has 16 ports, 16 areas are supported on the chassis or module. To configure additional parameters for OSPF interfaces in the NSSA, use the ip ospf area command at the interface level of the CLI. Configuring a summary address for the NSSA If you want the ABR that connects the NSSA to other areas to summarize the routes in the NSSA before translating them into Type-5 LSAs and flooding them into the other areas, configure a summary address. The ABR creates an aggregate value based on the summary address. The aggregate value becomes the address that the ABR advertises instead of advertising the individual addresses represented by the aggregate. To configure a summary address in NSSA 1.1.1.1, enter the following commands. This example assumes that you have already configured NSSA 1.1.1.1.
Brocade(config)#router ospf Brocade(config-ospf-router)#summary-address 209.157.22.1 255.255.0.0 Brocade(config-ospf-router)#write memory
NOTE
Syntax: [no] summary-address <ip-addr> <ip-mask> The <ip-addr> parameter specifies the IP address portion of the range. The software compares the address with the significant bits in the mask. All network addresses that match this comparison are summarized in a single route advertised by the router. The <ip-mask> parameter specifies the portions of the IP address that a route must contain to be summarized in the summary route. In the example above, all networks that begin with 209.157 are summarized into a single route.
To define an area range for subnets on 193.45.5.1 and 193.45.6.2, enter the following commands.
Brocade(config)#router ospf Brocade(config-ospf-router)#area 192.45.5.1 range 193.45.0.0 255.255.0.0 Brocade(config-ospf-router)#area 193.45.6.2 range 193.45.0.0 255.255.0.0
Syntax: area <num> | <ip-addr> range <ip-addr> <ip-mask> The <num> | <ip-addr> parameter specifies the area number, which can be in IP address format. The range <ip-addr> parameter specifies the IP address portion of the range. The software compares the address with the significant bits in the mask. All network addresses that match this comparison are summarized in a single route advertised by the router.
1235
Configuring OSPF
The <ip-mask> parameter specifies the portions of the IP address that a route must contain to be summarized in the summary route. In the example above, all networks that begin with 193.45 are summarized into a single route.
ip ospf area <ip-addr> ip ospf auth-change-wait-time <secs> ip ospf authentication-key [0 | 1] <string> ip ospf cost <num> ip ospf dead-interval <value> ip ospf hello-interval <value> ip ospf md5-authentication key-activation-wait-time <num> | key-id <num> [0 | 1] key <string> ip ospf passive ip ospf priority <value> ip ospf retransmit-interval <value> ip ospf transmit-delay <value>
For a complete description of these parameters, see the summary of OSPF port parameters in the next section.
1236
Configuring OSPF
Auth-change-wait-time: OSPF gracefully implements authentication changes to allow all routers to implement the change and thus prevent disruption to neighbor adjacencies. During the authentication-change interval, both the old and new authentication information is supported. The default authentication-change interval is 300 seconds (5 minutes). You change the interval to a value from 0 through 14400 seconds. Authentication-key: OSPF supports three methods of authentication for each interfacenone, simple password, and MD5. Only one method of authentication can be active on an interface at a time. The default authentication value is none, meaning no authentication is performed. The simple password method of authentication requires you to configure an alphanumeric password on an interface. The simple password setting takes effect immediately. All OSPF packets transmitted on the interface contain this password. Any OSPF packet received on the interface is checked for this password. If the password is not present, then the packet is dropped. The password can be up to eight characters long. The MD5 method of authentication requires you to configure a key ID and an MD5 Key. The key ID is a number from 1 through 255 and identifies the MD5 key that is being used. The MD5 key can be up to sixteen alphanumeric characters long. Cost: Indicates the overhead required to send a packet across an interface. You can modify the cost to differentiate between 100 Mbps and 1000 Mbps (1 Gbps) links. The default cost is calculated by dividing 100 million by the bandwidth. For 10 Mbps links, the cost is 10. The cost for both 100 Mbps and 1000 Mbps links is 1, because the speed of 1000 Mbps was not in use at the time the OSPF cost formula was devised. Dead-interval: Indicates the number of seconds that a neighbor router waits for a hello packet from the current router before declaring the router down. The value can be from 1 through 65535 seconds. The default is 40 seconds. Hello-interval: Represents the length of time between the transmission of hello packets. The value can be from 1 through 65535 seconds. The default is 10 seconds. MD5-authentication activation wait time: The number of seconds the Layer 3 Switch waits until placing a new MD5 key into effect. The wait time provides a way to gracefully transition from one MD5 key to another without disturbing the network. The wait time can be from 0 through 14400 seconds. The default is 300 seconds (5 minutes). MD5-authentication key ID and key: A method of authentication that requires you to configure a key ID and an MD5 key. The key ID is a number from 1 through 255 and identifies the MD5 key that is being used. The MD5 key consists of up to 16 alphanumeric characters. The MD5 is encrypted and included in each OSPF packet transmitted. Passive: When you configure an OSPF interface to be passive, that interface does not send or receive OSPF route updates. By default, all OSPF interfaces are active and thus can send and receive OSPF route information. Since a passive interface does not send or receive route information, the interface is in effect a stub network. OSPF interfaces are active by default. This option affects all IP subnets configured on the interface. If you want to disable OSPF updates only on some of the IP subnets on the interface, use the ospf-ignore or ospf-passive parameter with the ip address command. Refer to Assigning an IP address to an Ethernet port on page 959. Priority: Allows you to modify the priority of an OSPF router. The priority is used when selecting the designated router (DR) and backup designated routers (BDRs). The value can be from 0 through 255. The default is 1. If you set the priority to 0, the Layer 3 Switch does not participate in DR and BDR election.
NOTE
1237
Configuring OSPF
Retransmit-interval: The time between retransmissions of link-state advertisements (LSAs) to adjacent routers for this interface. The value can be from 0 through 3600 seconds. The default is 5 seconds. Transit-delay: The time it takes to transmit Link State Update packets on this interface. The value can be from 0 through 3600 seconds. The default is 1 second. Encrypted display of the authentication string or MD5 authentication key The optional 0 | 1 parameter with the authentication-key and md5-authentication key-id parameters affects encryption. For added security, FastIron devices encrypt display of the password or authentication string. Encryption is enabled by default. The software also provides an optional parameter to disable encryption of a password or authentication string, on an individual OSPF area or OSPF interface basis. When encryption of the passwords or authentication strings is enabled, they are encrypted in the CLI regardless of the access level you are using. In the Web Management Interface, the passwords or authentication strings are encrypted at the read-only access level but are visible at the read-write access level. The encryption option can be omitted (the default) or can be one of the following:
0 Disables encryption for the password or authentication string you specify with the
command. The password or string is shown as clear text in the running-config and the startup-config file. Use this option of you do not want display of the password or string to be encrypted.
1 Assumes that the password or authentication string you enter is the encrypted form, and
decrypts the value before using it. If you want the software to assume that the value you enter is the clear-text form, and to encrypt display of that form, do not enter 0 or 1. Instead, omit the encryption option and allow the software to use the default behavior. If you specify encryption option 1, the software assumes that you are entering the encrypted form of the password or authentication string. In this case, the software decrypts the password or string you enter before using the value for authentication. If you accidentally enter option 1 followed by the clear-text version of the password or string, authentication will fail because the value used by the software will not match the value you intended to use.
NOTE
Outgoing OSPF packets After you make the change, the software continues to use the old
authentication to send packets, during the remainder of the current authentication-change interval. After this, the software uses the new authentication for sending packets.
1238
Configuring OSPF
Inbound OSPF packets The software accepts packets containing the new authentication and
continues to accept packets containing the older authentication for two authentication-change intervals. After the second interval ends, the software accepts packets only if they contain the new authentication key. The default authentication-change interval is 300 seconds (5 minutes). You change the interval to a value from 0 through 14400 seconds. OSPF provides graceful authentication change for all the following types of authentication changes in OSPF:
Changing authentication methods from one of the following to another of the following: - Simple text password - MD5 authentication - No authentication Configuring a new simple text password or MD5 authentication key Changing an existing simple text password or MD5 authentication key
To change the authentication-change interval, enter a command such as the following at the interface configuration level of the CLI.
Brocade(config-if-2/5)#ip ospf auth-change-wait-time 400
Syntax: [no] ip ospf auth-change-wait-time <secs> The <secs> parameter specifies the interval and can be from 0 through 14400 seconds. The default is 300 seconds (5 minutes). For backward compatibility, the ip ospf md5-authentication key-activation-wait-time <seconds> command is still supported.
NOTE
NOTE
1239
Configuring OSPF
The first command in this example blocks all outbound LSAs on the OSPF interface configured on port 1/1. The second command resets OSPF and places the command into effect immediately. Syntax: [no] ip ospf database-filter all out To remove the filter, enter a command such as the following.
Brocade(config-if-1/1)#no ip ospf database-filter all out
NOTE
Syntax: [no] ip ospf network non-broadcast The following commands specify 1.1.20.1 as an OSPF neighbor address. The address specified must be in the same subnet as a non-broadcast interface.
Brocade(config)#router ospf Brocade(config-ospf-router)#neighbor 1.1.20.1
For example, to configure the feature in a network with three routers connected by a hub or switch, each router must have the linking interface configured as a non-broadcast interface, and both of the other routers must be specified as neighbors. The output of the show ip ospf interface command has been enhanced to display information about non-broadcast interfaces and neighbors that are configured in the same subnet.
1240
Configuring OSPF
In the Type field, non-broadcast indicates that this is a non-broadcast interface. When the interface type is non-broadcast, the Non-broadcast neighbor config field displays the neighbors that are configured in the same subnet. If no neighbors are configured in the same subnet, a message such as the following is displayed.
***Warning! no non-broadcast neighbor config in 1.1.100.1 255.255.255.0
The transit area ID represents the shared area of the two ABRs and serves as the connection
point between the two routers. This number should match the area ID value.
The neighbor router field is the router ID (IP address) of the router that is physically connected
to the backbone, when assigned from the router interface requiring a logical connection. When assigning the parameters from the router with the physical connection, the router ID is the IP address of the router requiring a logical connection to the backbone. By default, the Brocade router ID is the IP address configured on the lowest numbered loopback interface. If the Layer 3 Switch does not have a loopback interface, the default router ID is the lowest numbered IP address configured on the device. For more information or to change the router ID, refer to Changing the router ID on page 970.
NOTE
When you establish an area virtual link, you must configure it on both of the routers (both ends of the virtual link).
NOTE
1241
Configuring OSPF
OSPF Area 0
Router ID 209.157.22.1
FastIronC
OSPF Area 2
Router ID 10.0.0.1
FastIronB
FastIronA
Example
Figure 163 shows an OSPF area border router, FastIronA, that is cut off from the backbone area (area 0). To provide backbone access to FastIronA, you can add a virtual link between FastIronA and FastIronC using area 1 as a transit area. To configure the virtual link, you define the link on the router that is at each end of the link. No configuration for the virtual link is required on the routers in the transit area. To define the virtual link on FastIronA, enter the following commands.
BrocadeA(config-ospf-router)#area 1 virtual-link 209.157.22.1 BrocadeA(config-ospf-router)#write memory
Syntax: area <ip-addr> | <num> virtual-link <router-id> [authentication-key | dead-interval | hello-interval | retransmit-interval | transmit-delay <value>] The area <ip-addr> | <num> parameter specifies the transit area. The <router-id> parameter specifies the router ID of the OSPF router at the remote end of the virtual link. To display the router ID on a Brocade Layer 3 Switch, enter the show ip command.
1242
Configuring OSPF
Refer to Modifying virtual link parameters on page 1243 for descriptions of the optional parameters.
1243
Configuring OSPF
Hello Interval: The length of time between the transmission of hello packets. The range is 1 through 65535 seconds. The default is 10 seconds. Retransmit Interval: The interval between the re-transmission of link state advertisements to router adjacencies for this interface. The range is 0 through 3600 seconds. The default is 5 seconds. Transmit Delay: The period of time it takes to transmit Link State Update packets on the interface. The range is 0 through 3600 seconds. The default is 1 second. Dead Interval: The number of seconds that a neighbor router waits for a hello packet from the current router before declaring the router down. The range is 1 through 65535 seconds. The default is 40 seconds. Encrypted display of the authentication string or MD5 authentication key The optional 0 | 1 parameter with the authentication-key and md5-authentication key-id parameters affects encryption. For added security, FastIron devices encrypt display of the password or authentication string. Encryption is enabled by default. The software also provides an optional parameter to disable encryption of a password or authentication string, on an individual OSPF area or OSPF interface basis. When encryption of the passwords or authentication strings is enabled, they are encrypted in the CLI regardless of the access level you are using. In the Web Management Interface, the passwords or authentication strings are encrypted at the read-only access level but are visible at the read-write access level. The encryption option can be omitted (the default) or can be one of the following:
0 Disables encryption for the password or authentication string you specify with the
command. The password or string is shown as clear text in the running-config and the startup-config file. Use this option of you do not want display of the password or string to be encrypted.
1 Assumes that the password or authentication string you enter is the encrypted form, and
decrypts the value before using it. If you want the software to assume that the value you enter is the clear-text form, and to encrypt display of that form, do not enter 0 or 1. Instead, omit the encryption option and allow the software to use the default behavior. If you specify encryption option 1, the software assumes that you are entering the encrypted form of the password or authentication string. In this case, the software decrypts the password or string you enter before using the value for authentication. If you accidentally enter option 1 followed by the clear-text version of the password or string, authentication will fail because the value used by the software will not match the value you intended to use.
NOTE
1244
Configuring OSPF
10 Mbps port cost = 100/10 = 10 100 Mbps port cost = 100/100 = 1 1000 Mbps port cost = 100/1000 = 0.10, which is rounded up to 1 155 Mbps port cost = 100/155 = 0.65, which is rounded up to 1 622 Mbps port cost = 100/622 = 0.16, which is rounded up to 1 2488 Mbps port cost = 100/2488 = 0.04, which is rounded up to 1
For 10 Gbps OSPF interfaces, in order to differentiate the costs between 100 Mbps, 1000 Mbps, and 10,000 Mbps interfaces, you can set the auto-cost reference bandwidth to 10000, whereby each slower link is given a higher cost, as follows:
10 Mbps port cost = 10000/10 = 1000 100 Mbps port cost = 10000/100 = 100 1000 Mbps port cost = 10000/1000 = 10 10000 Mbps port cost = 10000/10000 = 1
The bandwidth for interfaces that consist of more than one physical port is calculated as follows:
Trunk group The combined bandwidth of all the ports. Virtual interface The combined bandwidth of all the ports in the port-based VLAN that
contains the virtual interface. The default reference bandwidth is 100 Mbps. You can change the reference bandwidth to a value from 1 through 4294967. If a change to the reference bandwidth results in a cost change to an interface, the Layer 3 Switch sends a link-state update to update the costs of interfaces advertised by the Layer 3 Switch.
1245
Configuring OSPF
If you specify the cost for an individual interface, the cost you specify overrides the cost calculated by the software.
NOTE
The cost of a loopback interface is always 0. The cost of a virtual link is calculated using the Shortest Path First (SPF) algorithm and is not
affected by the auto-cost feature.
The bandwidth for tunnel interfaces is 9 Kbps and is not affected by the auto-cost feature.
The reference bandwidth specified in this example results in the following costs:
10 Mbps port cost = 500/10 = 50 100 Mbps port cost = 500/100 = 5 1000 Mbps port cost = 500/1000 = 0.5, which is rounded up to 1 155 Mbps port cost = 500/155 = 3.23, which is rounded up to 4 622 Mbps port cost = 500/622 = 0.80, which is rounded up to 1 2488 Mbps port cost = 500/2488 = 0.20, which is rounded up to 1
The costs for 10 Mbps, 100 Mbps, and 155 Mbps ports change as a result of the changed reference bandwidth. Costs for higher-speed interfaces remain the same. Syntax: [no] auto-cost reference-bandwidth <num> The <num> parameter specifies the reference bandwidth and can be a value from 1 through 4294967. The default is 100. For 10 Gbps OSPF interfaces, in order to differentiate the costs between 100 Mbps, 1000 Mbps, and 10,000 Mbps interfaces, set the auto-cost reference bandwidth to 10000, whereby each slower link is given a higher cost To restore the reference bandwidth to its default value and thus restore the default costs of interfaces to their default values, enter the following command.
Brocade(config-ospf-router)#no auto-cost reference-bandwidth
1246
Configuring OSPF
The Layer 3 Switch advertises the default route into OSPF even if redistribution is not enabled, and even if the default route is learned through an IBGP neighbor. IBGP routes (including the default route) are not redistributed into OSPF by OSPF redistribution (for example, by the OSPF redistribute command). In Figure 164 on page 1247, an administrator wants to configure the FastIron Layer 3 Switch acting as the ASBR (Autonomous System Boundary Router) between the RIP domain and the OSPF domain to redistribute routes between the two domains. The ASBR must be running both RIP and OSPF protocols to support this activity. To configure for redistribution, define the redistribution tables with deny and permit redistribution filters. Use the deny redistribute and permit redistribute commands for OSPF at the OSPF router level.
NOTE
NOTE
NOTE
Do not enable redistribution until you have configured the redistribution filters. If you enable redistribution before you configure the redistribution filters, the filters will not take affect and all routes will be distributed.
Switch
Switch
1247
Configuring OSPF
To configure the FastIron Layer 3 Switch acting as an ASBR in Figure 164 to redistribute OSPF, BGP4, and static routes into RIP, enter the following commands.
BrocadeASBR(config)#router rip BrocadeASBR(config-rip-router)#permit redistribute 1 all BrocadeASBR(config-rip-router)#write memory
Redistribution is permitted for all routes by default, so the permit redistribute 1 all command in the example above is shown for clarity but is not required. You also have the option of specifying import of just OSPF, BGP4, or static routes, as well as specifying that only routes for a specific network or with a specific cost (metric) be imported, as shown in the following command syntax. Syntax: deny | permit redistribute <filter-num> all | bgp | connected | rip | static [address <ip-addr> <ip-mask> [match-metric <value> [set-metric <value>]]]
Example
NOTE
To redistribute RIP, static, and BGP4 routes into OSPF, enter the following commands on the Layer 3 Switch acting as an ASBR.
BrocadeASBR(config)#router ospf BrocadeASBR(config-ospf-router)#permit redistribute 1 all BrocadeASBR(config-ospf-router)#write memory
Syntax: deny | permit redistribute <filter-num> all | bgp | connected | rip | static address <ip-addr> <ip-mask> [match-metric <value> | set-metric <value>] Redistribution is permitted for all routes by default, so the permit redistribute 1 all command in the example above is shown for clarity but is not required. You also have the option of specifying import of just OSPF, BGP4, or static routes, as well as specifying that only routes for a specific network or with a specific cost (metric) be imported, as shown in the following command syntax. For example, to enable redistribution of RIP and static IP routes into OSPF, enter the following commands.
Brocade(config)#router ospf Brocade(config-ospf-router)#redistribution rip Brocade(config-ospf-router)#redistribution static Brocade(config-ospf-router)#write memory
NOTE
Syntax: [no] redistribution bgp | connected | rip | static [route-map <map-name>] The redistribution command does not perform the same function as the permit redistribute and deny redistribute commands. The redistribute commands allow you to control redistribution of routes by filtering on the IP address and network mask of a route. The redistribution commands enable redistribution for routes of specific types (static, directly connected, and so on). Configure all your redistribution filters before enabling redistribution.
NOTE
1248
Configuring OSPF
Do not enable redistribution until you have configured the redistribution filters. If you enable redistribution before you configure the redistribution filters, the filters will not take affect and all routes will be distributed.
NOTE
Preventing specific OSPF routes from being installed in the IP route table
By default, all OSPF routes in the OSPF route table are eligible for installation in the IP route table. You can configure a distribution list to explicitly deny specific routes from being eligible for installation in the IP route table.
NOTE
This feature does not block receipt of LSAs for the denied routes. The Layer 3 Switch still receives the routes and installs them in the OSPF database. The feature only prevents the software from installing the denied OSPF routes into the IP route table. To configure an OSPF distribution list:
Configure a standard or extended ACL that identifies the routes you want to deny. Using a
standard ACL lets you deny routes based on the destination network, but does not filter based on the network mask. To also filter based on the destination network network mask, use an extended ACL.
NOTE
1249
Configuring OSPF
The first three commands configure a standard ACL that denies routes to any 4.x.x.x destination network and allows all other routes for eligibility to be installed in the IP route table. The last three commands change the CLI to the OSPF configuration level and configure an OSPF distribution list that uses the ACL as input. The distribution list prevents routes to any 4.x.x.x destination network from entering the IP route table. The distribution list does not prevent the routes from entering the OSPF database. Syntax: [no] distribute-list <ACL-name> | <ACL-id> in [<interface type>] [<interface number>] Syntax: [no] ip access-list standard <ACL-name> | <ACL-id> Syntax: deny | permit <source-ip> <wildcard> The <ACL-name> | <ACL-id> parameter specifies the ACL name or ID. The in command applies the ACL to incoming route updates. The <interface number> parameter specifies the interface number on which to apply the ACL. Enter only one valid interface number. If necessary, use the show interface brief command to display a list of valid interfaces. If you do not specify an interface, the Brocade device applies the ACL to all incoming route updates. If you do not specify an interface type and interface number, the device applies the OSPF distribution list to all incoming route updates. The deny | permit parameter indicates whether packets that match the policy are dropped or forwarded. The <source-ip> parameter specifies the source address for the policy. Because this ACL is input to an OSPF distribution list, the <source-ip> parameter actually is specifying the destination network of the route. The <wildcard> parameter specifies the portion of the source address to match against. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address must match the <source-ip>. Ones mean any value matches. For example, the <source-ip> and <wildcard> values 4.0.0.0 0.255.255.255 mean that all 4.x.x.x networks match the ACL. If you want the policy to match on all destination networks, enter any any. If you prefer to specify the wildcard (mask value) in Classless Interdomain Routing (CIDR) format, you can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For example, you can enter the CIDR equivalent of 4.0.0.0 0.255.255.255 as 4.0.0.0/8. The CLI automatically converts the CIDR number into the appropriate ACL mask (where zeros instead of ones are the significant bits) and changes the non-significant portion of the IP address into zeros. If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in /<mask-bits> format. To enable the software to display the CIDR masks, enter the ip show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format to configure the ACL entry regardless of whether the software is configured to display the masks in CIDR format. If you use the CIDR format, the ACL entries appear in this format in the running-config and startup-config files, but are shown with subnet mask in the display produced by the show ip access-list command.
NOTE
1250
Configuring OSPF
The first three commands configure an extended ACL that denies routes to any 4.x.x.x destination network with a 255.255.0.0 network mask and allows all other routes for eligibility to be installed in the IP route table. The last three commands change the CLI to the OSPF configuration level and configure an OSPF distribution list that uses the ACL as input. The distribution list prevents routes to any 4.x.x.x destination network with network mask 255.255.0.0 from entering the IP route table. The distribution list does not prevent the routes from entering the OSPF database. Syntax: [no] ip access-list extended <ACL-name> | <ACL-id> Syntax: deny | permit <ip-protocol> <source-ip> <wildcard> <destination-ip> <wildcard> The <ACL-name> | <ACL-id> parameter specifies the ACL name or ID. The deny | permit parameter indicates whether packets that match the policy are dropped or forwarded. The <ip-protocol> parameter indicates the type of IP packet you are filtering. When using an extended ACL as input for an OSPF distribution list, specify ip. Because this ACL is input to an OSPF distribution list, the <source-ip> parameter actually specifies the destination network of the route. The <wildcard> parameter specifies the portion of the source address to match against. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address must match the <source-ip>. Ones mean any value matches. For example, the <source-ip> and <wildcard> values 4.0.0.0 0.255.255.255 mean that all 4.x.x.x networks match the ACL. If you want the policy to match on all network addresses, enter any any. If you prefer to specify the wildcard (mask value) in Classless Interdomain Routing (CIDR) format, you can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For example, you can enter the CIDR equivalent of 4.0.0.0 0.255.255.255 as 4.0.0.0/8. The CLI automatically converts the CIDR number into the appropriate ACL mask (where zeros instead of ones are the significant bits) and changes the non-significant portion of the IP address into zeros.
1251
Configuring OSPF
If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in /<mask-bits> format. To enable the software to display the CIDR masks, enter the ip show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format to configure the ACL entry regardless of whether the software is configured to display the masks in CIDR format. If you use the CIDR format, the ACL entries appear in this format in the running-config and startup-config files, but are shown with subnet mask in the display produced by the show ip access-list commands. Because this ACL is input to an OSPF distribution list, the <destination-ip> parameter actually specifies the subnet mask of the route. The <wildcard> parameter specifies the portion of the subnet mask to match against. For example, the <destination-ip> and <wildcard> values 255.255.255.255 0.0.0.255 mean that subnet mask /24 and longer match the ACL. If you want the policy to match on all network masks, enter any any.
NOTE
NOTE
Syntax: default-metric <value> The <value> can be from 1 through 16,777,215. The default is 10.
NOTE
1252
Configuring OSPF
The commands in this example configure some static IP routes, then configure a route map and use the route map for redistributing static IP routes into OSPF. The ip route commands configure the static IP routes. The route-map command begins configuration of a route map called abc. The number indicates the route map entry (called the instance) you are configuring. A route map can contain multiple entries. The software compares packets to the route map entries in ascending numerical order and stops the comparison once a match is found. The match command in the route map matches on routes that have 5 for their metric value (cost). The set command changes the metric in routes that match the route map to 8. The redistribution static command enables redistribution of static IP routes into OSPF, and uses route map abc to control the routes that are redistributed. In this example, the route map allows a static IP route to be redistributed into OSPF only if the route has a metric of 5, and changes the metric to 8 before placing the route into the OSPF route table. Syntax: [no] redistribution bgp | connected | rip | static [route-map <map-name>] The bgp | connected | rip | static parameter specifies the route source. The route-map <map-name> parameter specifies the route map name. The following match parameters are valid for OSPF redistribution:
match ip address | next-hop <ACL-num> match metric <num> match tag <tag-value>
The following set parameters are valid for OSPF redistribution:
set ip next hop <ip-addr> set metric [+ | - ]<num> | none set metric-type type-1 | type-2 set tag <tag-value>
NOTE
You must configure the route map before you configure a redistribution filter that uses the route map.
1253
Configuring OSPF
When you use a route map for route redistribution, the software disregards the permit or deny action of the route map.
NOTE
For an external route that is redistributed into OSPF through a route map, the metric value of the route remains the same unless the metric is set by a set metric command inside the route map. The default-metric <num> command has no effect on the route. This behavior is different from a route that is redistributed without using a route map. For a route redistributed without using a route map, the metric is set by the default-metric <num> command. The following command shows the result of the redistribution filter. Because only one of the static IP routes configured above matches the route map, only one route is redistributed. Notice that the route metric is 5 before redistribution but is 8 after redistribution.
Brocade#show ip ospf database external extensive Index Aging 1 2 LS ID 4.4.0.0 Router 10.10.10.60 Netmask Metric ffff0000 80000008 Flag 0000
NOTE
1254
Configuring OSPF
OSPF Area 0
H1 R1
R3
FastIron
R4
H2
H3
R5
H4 R6
In the example in Figure 165, the Brocade switch has four paths to R1:
Normally, the Brocade switch will choose the path to the R1 with the lower metric. For example, if R3 metric is 1400 and R4 metric is 600, the Brocade switch will always choose R4. However, suppose the metric is the same for all four routers in this example. If the costs are the same, the switch now has four equal-cost paths to R1. To allow the switch to load share among the equal cost routes, enable IP load sharing. The software supports four equal-cost OSPF paths by default when you enable load sharing. You can specify from 2 to 6 paths.
NOTE
The Brocade switch is not source routing in these examples. The switch is concerned only with the paths to the next-hop routers, not the entire paths to the destination hosts. OSPF load sharing is enabled by default when IP load sharing is enabled. To configure IP load sharing parameters, refer to Configuring IP load sharing on page 995.
1255
Configuring OSPF
NOTE
If you disable redistribution, all the aggregate routes are flushed, along with other imported routes. To configure a summary address for OSPF routes, enter commands such as the following.
Brocade(config-ospf-router)#summary-address 10.1.0.0 255.255.0.0
NOTE
The command in this example configures summary address 10.1.0.0, which includes addresses 10.1.1.0, 10.1.2.0, 10.1.3.0, and so on. For all of these networks, only the address 10.1.0.0 (the parent route) is advertised in external LSAs. However, if the parent route has not been configured with a summary address, or if the summary address for the parent route is configured after the child route, the Layer 3 switch will advertise all routes. For example:
router ospf area 0 summary-address 10.1.1.0 255.255.0.0 -> Advertised summary-address 10.1.2.0 255.255.0.0 -> Advertised summary-address 10.0.0.0 255.0.0.0 -> Advertised
Syntax: summary-address <ip-addr> <ip-mask> The <ip-addr> parameter specifies the network address. The <ip-mask> parameter specifies the network mask.
1256
Configuring OSPF
To display the configured summary addresses, use the show ip ospf config command at any level of the CLI. The summary addresses display at the bottom of the output as shown in the following example.
Brocade#show ip ospf config some lines omitted for brevity... OSPF Redistribution Address Ranges currently defined: Range-Address Subnetmask 1.0.0.0 255.0.0.0 1.0.1.0 255.255.255.0 1.0.2.0 255.255.255.0
NOTE
Brocade Layer 3 Switches never advertise the OSPF default route, regardless of other configuration parameters, unless you explicitly enable default route origination using the following method. If the Layer 3 Switch is an ASBR, you can use the always option when you enable the default route origination. The always option causes the ASBR to create and advertise a default route if it does not already have one configured. If default route origination is enabled and you disable it, the default route originated by the Layer 3 Switch is flushed. Default routes generated by other OSPF routers are not affected. If you re-enable the feature, the feature takes effect immediately and thus does not require you to reload the software. The ABR (Layer 3 Switch) will not inject the default route into an NSSA by default and the command described in this section will not cause the Layer 3 Switch to inject the default route into the NSSA. To inject the default route into an NSSA, use the area <num> | <ip-addr> nssa default-information-originate command. Refer to Assigning a Not-So-Stubby Area (NSSA) on page 1233. To enable default route origination, enter the default-information-originate command.
Brocade(config-ospf-router)#default-information-originate
NOTE
1257
Configuring OSPF
Syntax: [no] default-information-originate [always] [metric <value>] [metric-type <type>] The always parameter advertises the default route regardless of whether the router has a default route. This option is disabled by default. The metric <value> parameter specifies a metric for the default route. If this option is not used, the default metric is used for the route. The metric-type <type> parameter specifies the external link type associated with the default route advertised into the OSPF routing domain. The <type> can be one of the following:
NOTE
SPF delay When the Layer 3 Switch receives a topology change, the software waits before it
starts a Shortest Path First (SPF) calculation. By default, the software waits five seconds. You can configure the SPF delay to a value from 0 through 65535 seconds. If you set the SPF delay to 0 seconds, the software immediately begins the SPF calculation after receiving a topology change.
SPF hold time The Layer 3 Switch waits for a specific amount of time between consecutive
SPF calculations. By default, the Layer 3 Switch waits ten seconds. You can configure the SPF hold time to a value from 0 through 65535 seconds. If you set the SPF hold time to 0 seconds, the software does not wait between consecutive SPF calculations. You can set the delay and hold time to lower values to cause the Layer 3 Switch to change to alternate paths more quickly in the event of a route failure. Note that lower values require more CPU processing time. You can change one or both of the timers. To do so, enter commands such as the following.
Brocade(config-ospf-router)#timers spf 10 20
The command in this example changes the SPF delay to 10 seconds and changes the SPF hold time to 20 seconds. Syntax: timers spf <delay> <hold-time> The <delay> parameter specifies the SPF delay. The <hold-time> parameter specifies the SPF hold time. To set the timers back to their default values, enter a command such as the following.
Brocade(config-ospf-router)#no timers spf 10 20
1258
Configuring OSPF
Administrative distance
Brocade Layer 3 Switches can learn about networks from various protocols, including Border Gateway Protocol version 4 (BGP4), RIP, and OSPF. Consequently, the routes to a network may differ depending on the protocol from which the routes were learned. The default administrative distance for OSPF routes is 110. Refer to Changing administrative distances on page 1368 for a list of the default distances for all route sources. The router selects one route over another based on the source of the route information. To do so, the router can use the administrative distances assigned to the sources. You can bias the Layer 3 Switch decision by changing the default administrative distance for RIP routes.
NOTE
1259
Configuring OSPF
The external | inter-area | intra-area parameter specifies the route type for which you are changing the default administrative distance. The <distance> parameter specifies the new distance for the specified route type. Unless you change the distance for one of the route types using commands such as those shown above, the default is 110. To reset the administrative distance to its system default (110), enter a command such as the following.
Brocade(config-ospf-router)#no distance external 100
Syntax: [no] timers lsa-group-pacing <secs> The <secs> parameter specifies the number of seconds and can be from 10 through 1800 (30 minutes). The default is 240 seconds (4 minutes). To restore the pacing interval to its default value, enter the following command.
Brocade(config-ospf-router)#no timers lsa-group-pacing
1260
Configuring OSPF
Syntax: [no] snmp-server trap ospf To later re-enable the trap feature, enter snmp-server trap ospf. To disable a specific OSPF trap, enter the command as no snmp-server trap ospf <ospf-trap>. These commands are at the OSPF router level of the CLI. Here is a summary of OSPF traps supported on Brocade routers, their corresponding CLI commands, and their associated MIB objects from RFC 1850:
interface-state-change-trap [MIB object: OspfIfstateChange] virtual-interface-state-change-trap [MIB object: OspfVirtIfStateChange neighbor-state-change-trap [MIB object:ospfNbrStateChange] virtual-neighbor-state-change-trap [MIB object: ospfVirtNbrStateChange] interface-config-error-trap [MIB object: ospfIfConfigError] virtual-interface-config-error-trap [MIB object: ospfVirtIfConfigError] interface-authentication-failure-trap [MIB object: ospfIfAuthFailure] virtual-interface-authentication-failure-trap [MIB object: ospfVirtIfAuthFailure] interface-receive-bad-packet-trap [MIB object: ospfIfrxBadPacket] virtual-interface-receive-bad-packet-trap [MIB object: ospfVirtIfRxBadPacket] interface-retransmit-packet-trap [MIB object: ospfTxRetransmit] virtual-interface-retransmit-packet-trap [MIB object: ospfVirtIfTxRetransmit] originate-lsa-trap [MIB object: ospfOriginateLsa] originate-maxage-lsa-trap [MIB object: ospfMaxAgeLsa] link-state-database-overflow-trap [MIB object: ospfLsdbOverflow] link-state-database-approaching-overflow-trap [MIB object: ospfLsdbApproachingOverflow
Example
To stop an OSPF trap from being collected, use the CLI command: no trap <ospf-trap>, at the OSPF router level of the CLI. To disable reporting of the neighbor-state-change-trap, enter the following command.
Brocade(config-ospf-router)#no trap neighbor-state-change-trap
Example
NOTE
This feature is not supported on FWS devices.
1261
Configuring OSPF
For example, to specify that all OSPF-related Syslog messages be logged, enter the following commands.
Brocade(config)#router ospf Brocade(config-ospf-router)#log all
Syntax: [no] log all | adjacency | bad_packet [checksum] | database | memory | retransmit The all option causes all OSPF-related Syslog messages to be logged. If you later disable this option with the no log all command, the OSPF logging options return to their default settings. The adjacency option logs essential OSPF neighbor state changes, especially on error cases. This option is disabled by default. The bad_packet checksum option logs all OSPF packets that have checksum errors. This option is enabled by default. The bad_packet option logs all other bad OSPF packets. This option is disabled by default. The database option logs OSPF LSA-related information. This option is disabled by default. The memory option logs abnormal OSPF memory usage. This option is enabled by default. The retransmit option logs OSPF retransmission activities. This option is disabled by default.
NOTE
Syntax: database-overflow-interval <value> The <value> can be from 0 through 86400 seconds. The default is 0 seconds.
1262
Configuring OSPF
This command configures an OSPF point-to-point link on Interface 5 in slot 1. Syntax: [no] ip ospf network point-to-point
To re-enable OSPF graceful restart after it has been disabled, enter the following commands.
Brocade(config)# router ospf Brocade(config-ospf-router)# graceful-restart
1263
Syntax: [no] graceful-restart restart-time <seconds> The <seconds> variable sets the maximum restart wait time advertised to neighbors. Possible values are from 10 through 1800 seconds. The default value is 120 seconds.
Syntax: [no] graceful-restart helper-disable This command disables OSPF graceful restart helper mode. The default behavior is to help the restarting neighbors.
Routes received from OSPF neighbors. You can clear routes from all OSPF neighbors, or an
individual OSPF neighbor, specified either by the neighbor IP address or its router ID
OSPF topology information, including all routes in the OSPF routing table All routes in the OSPF routing table that were redistributed from other protocols OSPF area information, including routes received from OSPF neighbors within an area, as well
as routes imported into the area. You can clear area information for all OSPF areas, or for a specified OSPF area The OSPF information is cleared dynamically when you enter the command; you do not need to remove statements from the Brocade configuration or reload the software for the change to take effect.
1264
This command clears all OSPF neighbors and the OSPF routes exchanged with the neighbors in the Brocade OSPF link state database. After this information is cleared, adjacencies with all neighbors are re-established, and routes with these neighbors exchanged again. To clear information on the Brocade device about OSPF neighbor 10.10.10.1, enter the following command.
Brocade#clear ip ospf neighbor ip 10.10.10.1
This command clears the OSPF neighbor and the OSPF routes exchanged with neighbor 10.10.10.1 in the OSPF link state database in the Brocade device. After this information is cleared, the adjacency with the neighbor is re-established, and routes are exchanged again. The neighbor router can be specified either by its IP address or its router ID. To specify the neighbor router using its IP address, use the ip <ip-addr> parameter. To specify the neighbor router using its router ID, use the id <ip-addr> parameter.
Syntax: clear ip ospf topology This command clears all OSPF routes from the OSPF routing table, including intra-area, (which includes ABR and ASBR intra-area routes), inter-area, external type 1, external type 2, OSPF default, and OSPF summary routes. After you enter this command, the OSPF routing table is rebuilt, and valid routes are recomputed from the OSPF link state database. When the OSPF routing table is cleared, OSPF routes in the global routing table are also recalculated. If redistribution is enabled, the routes are imported again.
Syntax: clear ip ospf redistribution This command clears all routes in the OSPF routing table that are redistributed from other protocols, including direct connected, static, RIP, and BGP. To import redistributed routes from other protocols, use the redistribution command at the OSPF configuration level.
This command clears all OSPF areas, all OSPF neighbors, and the entire OSPF routing table. After this information has been cleared, adjacencies with all neighbors are re-established, and all OSPF routes are re-learned.
1265
To clear information on the Brocade device about OSPF area 1, enter the following command.
Brocade#clear ip ospf area 1
This command clears information about the specified area ID. Information about other OSPF areas is not affected. The command clears information about all OSPF neighbors belonging to the specified area, as well as all routes imported into the specified area. Adjacencies with neighbors belonging to the area are re-established, and routes imported into the area are re-learned. Syntax: clear ip ospf [area <area-id>] The <area-id> can be specified in decimal format or in IP address format.
Trap, area, and interface information refer to Displaying general OSPF configuration
information on page 1266.
CPU utilization statistics refer to Displaying CPU utilization statistics on page 1267. Area information refer to Displaying OSPF area information on page 1269. Neighbor information refer to Displaying OSPF neighbor information on page 1269. Interface information refer to Displaying OSPF interface information on page 1272. Route information refer to Displaying OSPF route information on page 1273. External link state information refer to Displaying OSPF external link state information on page 1275.
Link state information refer to Displaying OSPF link state information on page 1276. Virtual Neighbor information refer to Displaying OSPF virtual neighbor information on
page 1277.
Virtual Link information refer to Displaying OSPF virtual link information on page 1278. ABR and ASBR information refer to Displaying OSPF ABR and ASBR information on
page 1278.
Trap state information refer to Displaying OSPF trap status on page 1278. OSPF graceful restart - refer to Displaying OSPF graceful restart information on page 1279.
1266
RFC 1583 Compatibility: Enabled Router id: 192.85.2.1 Interface State Change Trap: Virtual Interface State Change Trap: Neighbor State Change Trap: Virtual Neighbor State Change Trap: Interface Configuration Error Trap: Virtual Interface Configuration Error Trap: Interface Authentication Failure Trap: Virtual Interface Authentication Failure Trap: Interface Receive Bad Packet Trap: Virtual Interface Receive Bad Packet Trap: Interface Retransmit Packet Trap: Virtual Interface Retransmit Packet Trap: Originate LSA Trap: Originate MaxAge LSA Trap: Link State Database Overflow Trap: Link State Database Approaching Overflow Trap: OSPF Area currently defined: Area-ID Area-Type Cost 0 normal
Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled
OSPF Interfaces currently defined: Ethernet Interface: 3/1-3/2 ip ospf md5-authentication-key-activation-wait-time 300 ip ospf area 0 Ethernet Interface: v1 ip ospf md5-authentication-key-activation-wait-time 300 ip ospf area 0 Ethernet Interface: 2/1 ip ospf auth-change-wait-time 300 ip ospf cost 40 ip ospf area 0
1267
Brocade#show process cpu Process Name 5Sec(%) 1Min(%) ARP 0.01 0.03 BGP 0.04 0.06 GVRP 0.00 0.00 ICMP 0.00 0.00 IP 0.00 0.00 OSPF 0.03 0.06 RIP 0.00 0.00 STP 0.00 0.00 VRRP 0.00 0.00
5Min(%) 0.09 0.08 0.00 0.00 0.00 0.09 0.00 0.00 0.00
15Min(%) 0.22 0.14 0.00 0.00 0.00 0.12 0.00 0.00 0.00
Runtime(ms) 9 13 0 0 0 11 0 0 0
If the software has been running less than 15 minutes (the maximum interval for utilization statistics), the command indicates how long the software has been running. Here is an example.
Brocade#show process cpu The system has only been up for 6 seconds. Process Name 5Sec(%) 1Min(%) 5Min(%) ARP 0.01 0.00 0.00 BGP 0.00 0.00 0.00 GVRP 0.00 0.00 0.00 ICMP 0.01 0.00 0.00 IP 0.00 0.00 0.00 OSPF 0.00 0.00 0.00 RIP 0.00 0.00 0.00 STP 0.00 0.00 0.00 VRRP 0.00 0.00 0.00
15Min(%) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 0 0 0 1 0 0 0 0 0
To display utilization statistics for a specific number of seconds, enter the show process cpu command.
Brocade#show process cpu 2 Statistics for last 1 sec and 80 ms Process Name Sec(%) Time(ms) ARP 0.00 0 BGP 0.00 0 GVRP 0.00 0 ICMP 0.01 1 IP 0.00 0 OSPF 0.00 0 RIP 0.00 0 STP 0.01 0 VRRP 0.00 0
When you specify how many seconds worth of statistics you want to display, the software selects the sample that most closely matches the number of seconds you specified. In this example, statistics are requested for the previous two seconds. The closest sample available is actually for the previous 1 second plus 80 milliseconds. Syntax: show process cpu [<num>] The <num> parameter specifies the number of seconds and can be from 1 through 900. If you use this parameter, the command lists the usage statistics only for the specified number of seconds. If you do not use this parameter, the command lists the usage statistics for the previous one-second, one-minute, five-minute, and fifteen-minute intervals.
1268
Syntax: show ip ospf area [<area-id>] | [<num>] The <area-id> parameter shows information for the specified area. The <num> parameter displays the entry that corresponds to the entry number you enter. The entry number identifies the entry position in the area table. This display shows the following information.
TABLE 212
Field
Indx Area Type
Neigh ID 173.35.1.220
To display detailed OSPF neighbor information, enter the following command at any CLI level.
1269
Brocade#show ip ospf neighbor detail Port 9/1 Address 20.2.0.2 Second-to-dead:39 10/1 20.3.0.2 Second-to-dead:36 1/1-1/8 23.5.0.1 Second-to-dead:33 2/1-2/2 23.2.0.1 Second-to-dead:33 Pri State 1 FULL/DR 1 1 1 FULL/BDR FULL/DR FULL/DR Neigh Address 20.2.0.1 20.3.0.1 23.5.0.2 23.2.0.2 Neigh ID 2.2.2.2 3.3.3.3 16.16.16.16 15.15.15.15 Ev Op Cnt 6 2 0 5 6 6 2 2 2 0 0 0
Syntax: show ip ospf neighbor [router-id <ip-addr>] | [<num>] | [detail] The router-id <ip-addr> parameter displays only the neighbor entries for the specified router. The <num> parameter displays only the entry in the specified index position in the neighbor table. For example, if you enter 1, only the first entry in the table is displayed. The detail parameter displays detailed information about the neighbor routers. These displays show the following information.
TABLE 213
Field
Port Address Pri
1270
TABLE 213
Field
State
Neigh Address
Neigh ID Ev Opt
Cnt Second-to-dead
1271
Syntax: show ip ospf interface [<ip-addr>] The <ip-addr> parameter displays the OSPF interface information for the specified IP address. The following table defines the highlighted fields shown in the above example output of the show ip ospf interface command.
TABLE 214
Field
IP Address OSPF state Pri
Cost Options
OSPF Options (Bit7 - Bit0): unused:1 opaque:1 summary:1 dont_propagate:1 nssa:1 multicast:1 externals:1 tos:1
Type
The area type, which can be one of the following: Broadcast = 0x01 NBMA = 0x02 Point to Point = 0x03 Virtual Link = 0x04 Point to Multipoint = 0x05
1272
TABLE 214
Field
Events
Path_Cost 1 Dest_Type Network Type OSPF Path_Cost 11 Dest_Type Network Type OSPF
Path_Type Intra Tag Flags 00000000 7000 State 84 00 Path_Type Inter Tag Flags 00000000 0000 State 84 00
Syntax: show ip ospf routes [<ip-addr>] The <ip-addr> parameter specifies a destination IP address. If you use this parameter, only the route entries for that destination are shown. This display shows the following information.
TABLE 215
Field
Index Destination Mask Path_Cost Type2_Cost
1273
TABLE 215
Field
Path_Type
The OSPF router that advertised the route to this Brocade Layer 3 Switch. The link state from which the route was calculated.
The destination type, which can be one of the following: ABR Area Border Router ASBR Autonomous System Boundary Router Network the network
State
The route state, which can be one of the following: Changed Invalid Valid This information is used by Brocade technical support. The external route tag. State information for the route entry. This information is used by Brocade technical support. The number of paths to the destination. The router port through which the Layer 3 Switch reaches the next hop for this route path. The IP address of the next-hop router for this path. The route type, which can be one of the following: OSPF Static Replaced by OSPF The index position in the ARP table of the ARP entry for this path's IP address. State information for the path. This information is used by Brocade technical support.
Arp_Index State
In this example, four routes have been redistributed. Three of the routes were redistributed from static IP routes and one route was redistributed from a directly connected IP route. Syntax: show ip ospf redistribute route [<ip-addr> <ip-mask>]
1274
The <ip-addr> <ip-mask> parameter specifies a network prefix and network mask. Here is an example.
Brocade#show ip ospf redistribute route 3.1.0.0 255.255.0.0 3.1.0.0 255.255.0.0 static
Syntax: show ip ospf database external-link-state [advertise <num>] | [extensive] | [link-state-id <ip-addr>] | [router-id <ip-addr>] | [sequence-number <num(Hex)>] | [status <num>] The advertise <num> parameter displays the hexadecimal data in the specified LSA packet. The <num> parameter identifies the LSA packet by its position in the router External LSA table. To determine an LSA packet position in the table, enter the show ip ospf external-link-state command to display the table. Refer to Displaying the data in an LSA on page 1277 for an example. The extensive option displays the LSAs in decrypted format.
NOTE
You cannot use the extensive option in combination with other display options. The entire database is displayed. The link-state-id <ip-addr> parameter displays the External LSAs for the LSA source specified by <IP-addr>. The router-id <ip-addr> parameter shows the External LSAs for the specified OSPF router. The sequence-number <num(Hex)> parameter displays the External LSA entries for the specified hexadecimal LSA sequence number. The status <num> option shows status information.
1275
This OSPF external link state display shows the following information.
TABLE 216
Field
Area ID Aging LS ID Router Seq(hex)
Chksum Type
Syntax: show ip ospf database link-state [advertise <num>] | [asbr] | [extensive] | [link-state-id <ip-addr>] | [network] | [nssa] | [opaque-area] | [router] | [router-id <ip-addr>] | [sequence-number <num(Hex)>] | [status <num>] | [summary] The advertise <num> parameter displays the hexadecimal data in the specified LSA packet. The <num> parameter identifies the LSA packet by its position in the router External LSA table. To determine an LSA packet position in the table, enter the show ip ospf external-link-state command to display the table. Refer to Displaying the data in an LSA on page 1277 for an example. The asbr option shows ASBR information. The extensive option displays the LSAs in decrypted format. You cannot use the extensive option in combination with other display options. The entire database is displayed. The link-state-id <ip-addr> parameter displays the External LSAs for the LSA source specified by <IP-addr>. The network option shows network information. The nssa option shows network information. The opaque-area option shows information for opaque areas. The router-id <ip-addr> parameter shows the External LSAs for the specified OSPF router. The sequence-number <num(Hex)> parameter displays the External LSA entries for the specified hexadecimal LSA sequence number.
NOTE
1276
The status <num> option shows status information. The summary option shows summary information.
Syntax: show ip ospf database external-link-state [advertise <num>] | [link-state-id <ip-addr>] | [router-id <ip-addr>] | [sequence-number <num(Hex)>] | [status <num>] To determine an external LSA or other type of LSA index number, enter one of the following commands to display the appropriate LSA table:
show ip ospf database link-state advertise <num> This command displays the data in the
packet for the specified LSA.
show ip ospf database external-link-state advertise <num> This command displays the data
in the packet for the specified external LSA. For example, to determine an external LSA index number, enter the show ip ospf external-link-state command.
Brocade#show ip ospf external-link-state Index 1 2 3 4 5 6 7 Aging 1809 8 8 18 959 1807 1809 LS ID 1.18.81.0 1.27.250.0 3.215.0.0 1.33.192.0 1.9.168.0 1.3.226.0 1.6.197.0 Router 103.103.103.6 103.103.103.6 103.103.103.6 102.102.102.6 102.102.102.6 192.85.0.3 192.85.3.3 Netmask ffffff00 fffffe00 ffff0000 fffffc00 ffffff00 ffffff00 ffffff00 Metric 000003e8 000003e8 000003e8 000003e8 00002710 000003e8 000003e8 Flag b500 b500 b500 b500 b500 b500 b500
Syntax: show ip ospf virtual-neighbor [<num>] The <num> parameter displays the table beginning at the specified entry number.
1277
Syntax: show ip ospf virtual-link [<num>] The <num> parameter displays the table beginning at the specified entry number.
Syntax: show ip ospf border-routers [<ip-addr>] The <ip-addr> parameter displays the ABR and ASBR entries for the specified IP address.
Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled Enabled
1278
Syntax: show ip ospf neighbor Use the following command to display Type 9 grace LSAs on a Brocade Layer 3 switch.
Brocade#show ip ospf database grace-link-state Graceful Link States Area Interface Adv Rtr Age Seq(Hex) Prd Rsn 0 eth 1/2 2.2.2.2 7 80000001 60 SW
Syntax: show ip ospf database grace-link-state Table 217 defines the fields in the show output.
TABLE 217
Field
Area Interface Adv Rtr Age Seq (Hex)
Prd
Rsn
The reason for the graceful restart. Possible values: UK Unknown RS Software restart UP Software upgrade or reload SW Switch to redundant control processor The IP address of the OSPF graceful restart neighbor.
Nbr Intf IP
1279
1280
Chapter
32
Table 218 lists the individual Brocade FastIron switches and the Open Shortest Path First (OSPF) version 3 (IPv6) features they support. These features are supported with premium IPv6 devices running the full Layer 3 software image.
TABLE 218
Feature
FWS
FCX
ICX 6610
ICX 6450
OSPF V3 Assigning OSPF V3 areas Assigning interfaces to an area Virtual links Changing the reference bandwidth Redistributing routes into OSPF V3 Filtering OSPF V3 routes Configuring default route origination Modifying SPF timers Modifying administrative distance OSPF V3 LSA pacing interval Modifying the exit overflow interval Modifying the external link state database limit Modifying OSPF V3 interface defaults Event logging IPSec for OSPFv3
No No No No No No No No No No No No No No No No
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
No No No No No No No No No No No No No No No No
The differences between OSPF Version 2 (OSPF V2) and OSPF Version 3 (OSPF V3). The link state advertisement types for OSPF Version 3.
1281
How to configure OSPF Version 3. How to display OSPF Version 3 information and statistics.
NOTE
The terms Layer 3 Switch and router are used interchangeably in this chapter and mean the same thing.
Support for IPv6 addresses and prefixes. While OSPF V2 runs per IP subnet, OSPF V3 runs per link. In general, you can configure several
IPv6 addresses on a router interface, but OSPF V3 forms one adjacency per interface only, using the interface associated link-local address as the source for OSPF protocol packets. On virtual links, OSPF V3 uses the global IP address as the source.
You can run one instance of OSPF Version 2 and one instance of OSPF V3 concurrently on a
link.
NOTE
NOTE
You are required to configure a router ID when running only IPv6 routing protocols.
Router LSAs (Type 1) Network LSAs (Type 2) Interarea-prefix LSAs for ABRs (Type 3) Interarea-router LSAs for ASBRs (Type 4) Autonomous system external LSAs (Type 5) Link LSAs (Type 8) Intra-area prefix LSAs (Type 9)
1282
OSPF V3 configuration
OSPF V3 configuration
To configure OSPF V3, you must perform the following tasks: 1. Enabling OSPF V3 on page 1283 2. Assigning OSPF V3 areas on page 1284 3. Assigning interfaces to an area on page 1285 The following configuration tasks are optional:
Configure a virtual link between an ABR without a physical connection to a backbone area and
the Brocade device in the same area with a physical connection to the backbone area.
Change the reference bandwidth for the cost on OSPF V3 interfaces. Configure the redistribution of routes into OSPF V3. Configure default route origination. Modify the shortest path first (SPF) timers. Modify the administrative distances for OSPF V3 routes. Configure the OSPF V3 LSA pacing interval Modify how often the Brocade device checks on the elimination of the database overflow condition.
Modify the external link state database limit. Modify the default values of OSPF V3 parameters for router interfaces. Disable or re-enable OSPF V3 event logging.
Enabling OSPF V3
Before enabling the Brocade device to run OSPF V3, you must do the following:
Enable the forwarding of IPv6 traffic on the Brocade device using the ipv6 unicast-routing
command.
Enable IPv6 on each interface over which you plan to enable OSPF V3. You enable IPv6 on an
interface by configuring an IPv6 address or explicitly enabling IPv6 on that interface. By default, OSPF V3 is disabled. To enable OSPF V3, you must enable it globally. To enable OSPF V3 globally, enter the ipv6 router ospf command.
Brocade(config-ospf-router)#ipv6 router ospf Brocade(config-ospf6-router)#
After you enter this command, the Brocade device enters the IPv6 OSPF configuration level, where you can access several commands that allow you to configure OSPF V3. Syntax: [no] ipv6 router ospf To disable OSPF V3, enter the no form of this command. If you disable OSPF V3, the Brocade device removes all the configuration information for the disabled protocol from the running-config. Moreover, when you save the configuration to the startup-config file after disabling one of these protocols, all the configuration information for the disabled protocol is removed from the startup-config file.
1283
OSPF V3 configuration
If you have disabled the protocol but have not yet saved the configuration to the startup-config file and reloaded the software, you can restore the configuration information by re-entering the command to enable the protocol (for example, ipv6 router ospf). If you have already saved the configuration to the startup-config file and reloaded the software, the information is gone. If you are testing an OSPF configuration and are likely to disable and re-enable the protocol, you might want to make a backup copy of the startup-config file containing the protocol configuration information. This way, if you remove the configuration information by saving the configuration after disabling the protocol, you can restore the configuration by copying the backup copy of the startup-config file onto the flash memory.
Normal OSPF routers within a normal area can send and receive External Link State
Advertisements (LSAs).
Stub OSPF routers within a stub area cannot send or receive External LSAs. In addition, OSPF
routers in a stub area must use a default route to the area Area Border Router (ABR) or Autonomous System Boundary Router (ASBR) to send traffic out of the area. For example, to set up OSPF V3 areas 0.0.0.0, 200.5.0.0, 192.5.1.0, and 195.5.0.0, enter the following commands.
Brocade(config-ospf6-router)#area Brocade(config-ospf6-router)#area Brocade(config-ospf6-router)#area Brocade(config-ospf6-router)#area 0.0.0.0 200.5.0.0 192.5.1.0 195.5.0.0
Syntax: [no] area <number> | <ipv4-address> The <number> | <ipv4-address> parameter specifies the area number, which can be a number or in IPv4 address format. If you specify a number, the number can be from 0 18. You can assign one area on a router interface.
NOTE
1284
OSPF V3 configuration
This feature disables origination of summary LSAs into a stub area, but the Brocade device still accepts summary LSAs from OSPF neighbors and floods them to other areas. The Brocade device can form adjacencies with other routers regardless of whether summarization is enabled or disabled for areas on each router. When you disable the summary LSAs, the change takes effect immediately. If you apply the option to a previously configured area, the router flushes all of the summary LSAs it has generated (as an ABR) from the area. This feature applies only when the Brocade device is configured as an Area Border Router (ABR) for the area. To completely prevent summary LSAs from being sent to the area, disable the summary LSAs on each OSPF router that is an ABR for the area. For example, to disable summary LSAs for stub area 40 and specify an additional metric of 99, enter the following command.
Brocade(config-ospf6-router)#area 40 stub 99 no-summary
NOTE
Syntax: area <number> | <ipv4-address> stub <metric> [no-summary] The <number> | <ipv4-address> parameter specifies the area number, which can be a number or in IPv4 address format. If you specify a number, the number can be from 0 18. The stub <metric> parameter specifies an additional cost for using a route to or from this area and can be from 1 16777215. There is no default. Normal areas do not use the cost parameter. The no-summary parameter applies only to stub areas and disables summary LSAs from being sent into the area.
Syntax: [no] ipv6 ospf area <number> | <ipv4-address> The <number> | <ipv4-address> parameter specifies the area number, which can be a number or in IPv4 address format. If you specify a number, the number can be from 0 18. To remove the interface from the specified area, use the no form of this command.
1285
OSPF V3 configuration
The transit area ID represents the shared area of the two ABRs and serves as the connection
point between the two routers. This number should match the area ID value.
When assigned from the router interface requiring a logical connection, the neighbor router
field is the router ID (IPv4 address) of the router that is physically connected to the backbone. When assigned from the router interface with the physical connection, the neighbor router is the router ID (IPv4) address of the router requiring a logical connection to the backbone.
NOTE
By default, the Brocade router ID is the IPv4 address configured on the lowest numbered loopback interface. If the Brocade device does not have a loopback interface, the default router ID is the lowest numbered IPv4 address configured on the device.
When you establish an area virtual link, you must configure it on both of the routers (both ends of the virtual link). For example, imagine that ABR1 in areas 1 and 2 is cut off from the backbone area (area 0). To provide backbone access to ABR1, you can add a virtual link between ABR1 and ABR2 in area 1 using area 1 as a transit area. To configure the virtual link, you define the link on the router that is at each end of the link. No configuration for the virtual link is required on the routers in the transit area. To define the virtual link on ABR1, enter the following command on ABR1.
Brocade(config-ospf6-router)#area 1 virtual-link 209.157.22.1
NOTE
To define the virtual link on ABR2, enter the following command on ABR2.
Brocade(config-ospf6-router)#area 1 virtual-link 10.0.0.1
Syntax: area <number> | <ipv4-address> virtual-link <router-id> The area <number> | <ipv4-address> parameter specifies the transit area. The <router-id> parameter specifies the router ID of the OSPF router at the remote end of the virtual link. To display the router ID on a router, enter the show ip command.
To specify the global IPv6 address assigned to tunnel interface 1 on ABR2 as the source address for the virtual link on ABR2, enter the following command on ABR2.
Brocade(config-ospf6-router)#virtual-link-if-address interface tunnel 1
Syntax: virtual-link-if-address interface ethernet <port> | loopback <number> | tunnel <number> | ve <number>
1286
OSPF V3 configuration
The ethernet | loopback | tunnel | ve parameter specifies the interface from which the router derives the source IPv6 address for communication across the virtual link. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a loopback, tunnel, or VE interface, also specify the number associated with the respective interface. To delete the source address for the virtual link, use the no form of this command.
Dead-interval: The number of seconds that a neighbor router waits for a hello packet from the
current router before declaring the router is down. The range is 1 65535 seconds. The default is 40 seconds.
Hello-interval: The length of time between the transmission of hello packets. The range is 1
65535 seconds. The default is 10 seconds.
Transmit-delay: The period of time it takes to transmit Link State Update packets on the
interface. The range is 0 3600 seconds. The default is 1 second.
NOTE
The values of the dead-interval and hello-interval parameters must be the same at both ends of a virtual link. Therefore, if you modify the values of these parameters at one end of a virtual link, you must remember to make the same modifications on the other end of the link. The values of the other virtual link parameters do not require synchronization. For example, to change the dead interval to 60 seconds on the virtual links defined on ABR1 and ABR2, enter the following command on ABR1.
Brocade(config-ospf6-router)#area 1 virtual-link 209.157.22.1 dead-interval 60
Syntax: area <number> | <ipv4-address> virtual-link <router-id> [dead-interval <seconds> | hello-interval <seconds> | retransmit-interval <seconds> | transmit-delay <seconds>] The area <number> | <ipv4-address> parameter specifies the transit area. The <router-id> parameter specifies the router ID of the OSPF router at the remote end of the virtual link. To display the router ID on a router, enter the show ip command. The dead-interval, hello-interval, retransmit-interval, and transmit-delay parameters are discussed earlier in this section.
1287
OSPF V3 configuration
10 Mbps port cost = 100/10 = 10 100 Mbps port cost = 100/100 = 1 1000 Mbps port cost = 100/1000 = 0.10, which is rounded up to 1 155 Mbps port cost = 100/155 = 0.65, which is rounded up to 1 622 Mbps port cost = 100/622 = 0.16, which is rounded up to 1 2488 Mbps port cost = 100/2488 = 0.04, which is rounded up to 1
The bandwidth for interfaces that consist of more than one physical port is calculated as follows:
Trunk group The combined bandwidth of all the ports. Virtual (Ethernet) interface The combined bandwidth of all the ports in the port-based VLAN
that contains the virtual interface. You can change the default reference bandwidth from 100 Mbps to a value from 1 4294967 Mbps. If a change to the reference bandwidth results in a cost change to an interface, the Brocade device sends a link state update to update the costs of interfaces advertised by the Brocade device.
NOTE
If you specify the cost for an individual interface, the cost you specify overrides the cost calculated by the software. Some interface types are not affected by the reference bandwidth and always have the same cost regardless of the reference bandwidth in use:
The cost of a loopback interface is always 0. The cost of a virtual link is calculated using the Shortest Path First (SPF) algorithm and is not
affected by the auto-cost feature. For example, to change the reference bandwidth to 500, enter the following command.
Brocade(config-ospf6-router)#auto-cost reference-bandwidth 500
The reference bandwidth specified in this example results in the following costs:
10 Mbps port cost = 500/10 = 50 100 Mbps port cost = 500/100 = 5 1000 Mbps port cost = 500/1000 = 0.5, which is rounded up to 1
1288
OSPF V3 configuration
155 Mbps port cost = 500/155 = 3.23, which is rounded up to 4 622 Mbps port cost = 500/622 = 0.80, which is rounded up to 1 2488 Mbps port cost = 500/2488 = 0.20, which is rounded up to 1
The costs for 10 Mbps, 100 Mbps, and 155 Mbps ports change as a result of the changed reference bandwidth. Costs for higher-speed interfaces remain the same. Syntax: [no] auto-cost reference-bandwidth <number> The <number> parameter specifies the reference bandwidth and can be a value from 1 4294967. The default is 100. To restore the reference bandwidth to its default value and thus restore the default costs of interfaces to their default values, enter the no form of this command.
By route types, for example, the Brocade device redistributes all IPv6 static and RIPng routes. By using a route map to filter which routes to redistribute, for example, the Brocade device
redistributes specified IPv6 static and RIPng routes only. For example, to configure the redistribution of all IPv6 static RIPng routes, enter the following commands.
Brocade(config-ospf6-router)#redistribute static Brocade(config-ospf6-router)#redistribute rip
Syntax: no] redistribute bgp | connected | rip | static [metric <number> | metric-type <type>] The connected | rip | static keywords specify the route source. The metric <number> parameter specifies the metric used for the redistributed route. If a value is not specified for this option, and the value for the default-metric command is set to 0, its default metric, then routes redistributed from the various routing protocols will have the metric value of the protocol from which they are redistributed. For information about the default-metric command, refer to Modifying default metric for routes redistributed into OSPF version 3 on page 1291
1289
OSPF V3 configuration
The metric-type <type> parameter specifies an OSPF metric type for the redistributed route. You can specify external type 1 or external type 2. If a value is not specified for this option, the Brocade device uses the value specified by the metric-type command. For information about modifying the default metric type using the metric-type command, refer to Modifying default metric for routes redistributed into OSPF version 3 on page 1291 For example, to configure a route map and use it for redistribution of routes into OSPF V3, enter commands such as the following.
Brocade(config)#ipv6 route 2001:1::/32 4823:eoff:343e::23 Brocade(config)#ipv6 route 2001:2::/32 4823:eoff:343e::23 Brocade(config)#ipv6 route 2001:3::/32 4823:eoff:343e::23 metric 5 Brocade(config)#route-map abc permit 1 Brocade(config-routemap abc)#match metric 5 Brocade(config-routemap abc)#set metric 8 Brocade(config-routemap abc)#ipv6 router ospf Brocade(config-ospf6-router)#redistribute static route-map abc
The commands in this example configure some static IPv6 routes and a route map, and use the route map for redistributing the static IPv6 routes into OSPF V3. The ipv6 route commands configure the static IPv6 routes. The route-map command begins configuration of a route map called abc. The number indicates the route map entry (called the instance) you are configuring. A route map can contain multiple entries. The software compares packets to the route map entries in ascending numerical order and stops the comparison once a match is found. The default action rule for route-map is to deny all routes that are not explicitly permitted. Refer to Configuring an OSPF V3 distribution list using a route map that uses a prefix list on page 1295. The match command in the route map matches on routes that have 5 for their metric value (cost). The set command changes the metric in routes that match the route map to 8. The redistribute command configures the redistribution of static IPv6 routes into OSPF V3, and uses route map abc to control the routes that are redistributed. In this example, the route map allows a static IPv6 route to be redistributed into OSPF only if the route has a metric of 5, and changes the metric to 8 before placing the route into the OSPF route redistribution table. Syntax: [no] redistribute bgp | connected | isis | rip | static [route-map <map-name>] The bgp | connected | isis | rip | static keywords specify the route source. The route-map <map-name> parameter specifies the route map name. The following match parameters are valid for OSPF V3 redistribution:
NOTE
NOTE
1290
OSPF V3 configuration
When you use a route map for route redistribution, the software disregards the permit or deny action of the route map.
NOTE
For an external route that is redistributed into OSPF V3 through a route map, the metric value of the route remains the same unless the metric is set by a set metric command inside the route map or the default-metric <num> command. For a route redistributed without using a route map, the metric is set by the metric parameter if set or the default-metric <num> command if the metric parameter is not set.
NOTE
NOTE
Syntax: no] default-metric <number> You can specify a value from 0 65535. The default is 0. To restore the default metric to the default value, use the no form of this command.
Syntax: no] metric-type type1 | type2 To restore the metric type to the default value, use the no form of this command.
1291
OSPF V3 configuration
NOTE
If you disable redistribution, all the aggregate routes are flushed, along with other imported routes.
NOTE
NOTE
This option affects only imported, type 5 external routes. A single type 5 LSA is generated and flooded throughout the AS for multiple external routes.
In this example, the summary prefix 2201::/24 includes addresses 2201::/1 through 2201::/24. Only the address FEC0::/24 is advertised in an external link-state advertisement. Syntax: summary-address <ipv6-prefix>/<prefix-length> You must specify the <ipv6-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter.
1292
OSPF V3 configuration
Syntax: ipv6 prefix-list <name> [seq <seq-value>] [description <string>] deny | permit <ipv6-addr>/<mask-bits> [ge <ge-value>] [le <le-value>] To configure a distribution list that applies the filterOspfRoutes prefix list globally.
Brocade(config)#ipv6 router ospf Brocade(config-ospf6-router)#distribute-list prefix-list filterOspfRoutes in
1293
OSPF V3 configuration
After this distribution list is configured, route 3010::/64 would be omitted from the OSPF V3 route table.
Brocade#show ipv6 ospf route Current Route count: 4 Intra: 3 Inter: 0 External: 1 (Type1 0/Type2 1) Equal-cost multi-path: 0 Destination Options Area Next Hop Router Outgoing Interface *IA 3001::/64 --------- 0.0.0.1 :: ve 10 *IA 3015::/64 V6E---R-- 0.0.0.0 fe80::2e0:52ff:fe00:10 ve 10 *IA 3020::/64 --------- 0.0.0.0 :: ve 11 *E2 6001:5000::/64 --------- 0.0.0.0 fe80::2e0:52ff:fe00:10 ve 10
The following commands specify an IPv6 prefix list called filterOspfRoutesVe that denies route 3015::/64.
Brocade(config)#ipv6 prefix-list filterOspfRoutesVe seq 5 deny 3015::/64 Brocade(config)#ipv6 prefix-list filterOspfRoutesVe seq 10 permit ::/0 ge 1 le 128
The following commands configure a distribution list that applies the filterOspfRoutesVe prefix list to routes pointing to virtual interface 10.
Brocade(config)#ipv6 router ospf Brocade(config-ospf6-router)#distribute-list prefix-list filterOspfRoutes in ve 10
After this distribution list is configured, route 3015::/64, pointing to virtual interface 10, would be omitted from the OSPF V3 route table.
Brocade#show ipv6 ospf route Current Route count: 4 Intra: 3 Inter: 0 External: 1 (Type1 0/Type2 1) Equal-cost multi-path: 0 Destination Options Area Next Hop Router Outgoing Interface *IA 3001::/64 --------- 0.0.0.1 :: ve 10 *E2 3010::/64 --------- 0.0.0.0 fe80::2e0:52ff:fe00:10 ve 10 *IA 3020::/64 --------- 0.0.0.0 :: ve 11 *E2 6001:5000::/64 --------- 0.0.0.0 fe80::2e0:52ff:fe00:10 ve 10
1294
OSPF V3 configuration
Refer to Policy-Based Routing for information on configuring route maps. The following commands configure a distribution list that applies the allowInternalRoutes route map globally to OSPF V3 routes.
Brocade(config)#ipv6 router ospf Brocade(config-ospf6-router)#distribute-list route-map allowinternalroutes in
Syntax: [no] distribute-list route-map <name> in After this distribution list is configured, the internal routes would be included, and the external routes would be omitted from the OSPF V3 route table.
Brocade#show ipv6 ospf route Current Route count: 3 Intra: 3 Inter: 0 External: 0 (Type1 0/Type2 0) Equal-cost multi-path: 0 Destination Options Area Next Hop Router Outgoing Interface *IA 3001::/64 --------- 0.0.0.1 :: ve 10 *IA 3015::/64 V6E---R-- 0.0.0.0 fe80::2e0:52ff:fe00:10 ve 10 *IA 3020::/64 --------- 0.0.0.0 :: ve 11
Configuring an OSPF V3 distribution list using a route map that uses a prefix list
When you configure route redistribution into OSPF V3 using a route map that uses a prefix list, the device supports both permit and deny statements in the route map and permit statements only in the prefix list. Therefore, the action to permit or deny is determined by the route map, and the conditions for the action are contained in the prefix list. The following shows an example configuration.
Brocade(config)#route-map v64 deny 10 Brocade(config-routemap v64)#match ipv6 next-hop prefix-list ospf-filter5 Brocade(config-routemap v64)#route-map v64 deny 11 Brocade(config-routemap v64)#match ipv6 address prefix-list ospf-filter2 Brocade(config-routemap v64)#route-map v64 permit 12 Brocade(config-routemap v64)#exit Brocade(config)#ipv6 prefix-list ospf-filter2 seq 15 permit 2001:aa:2001:102::/64 ge 65 le 96 Brocade(config)#ipv6 prefix-list ospf-filter5 seq 15 permit fe80::2e0:52ff:fe00:100/128
In this example the prefix lists, ospf-filter2 and ospf-filter5, contain a range of IPv6 routes and one host route to be denied, and the route map v64 defines the deny action.
1295
OSPF V3 configuration
The default action rule for route-map is to deny all routes that are not explicitly permitted. If you configure a deny route map but want to permit other routes that do not match the rule, configure an empty permit route map. For example. Brocade(config)#route-map abc deny 10 Brocade(config-routemap abc)#match metric 20 Brocade(config-routemap abc)#route-map abc permit 20 Without the last line in the above example, all routes would be denied.
NOTE
NOTE
Syntax: [no] default-information-originate [always] [metric <value>] [metric-type <type>] The always keyword originates a default route regardless of whether the device has learned a default route. This option is disabled by default. The metric <value> parameter specifies a metric for the default route. If this option is not used, the value of the default-metric command is used for the route. For information about this command, refer to Modifying default metric for routes redistributed into OSPF version 3 on page 1291
1296
OSPF V3 configuration
The metric-type <type> parameter specifies the external link type associated with the default route advertised into the OSPF routing domain. The <type> can be one of the following:
NOTE
If you specify a metric and metric type, the values you specify are used even if you do not use the always option. To disable default route origination, enter the no form of the command.
SPF delay When the Brocade device receives a topology change, the software waits before it
starts a Shortest Path First (SPF) calculation. By default, the software waits 5 seconds. You can configure the SPF delay to a value from 0 65535 seconds. If you set the SPF delay to 0 seconds, the software immediately begins the SPF calculation after receiving a topology change.
SPF hold time The Brocade device waits a specific amount of time between consecutive SPF
calculations. By default, the device waits 10 seconds. You can configure the SPF hold time to a value from 0 65535 seconds. If you set the SPF hold time to 0 seconds, the software does not wait between consecutive SPF calculations. You can set the SPF delay and hold time to lower values to cause the device to change to alternate paths more quickly if a route fails. Note that lower values for these parameters require more CPU processing time. You can change one or both of the timers.
NOTE
If you want to change only one of the timers, for example, the SPF delay timer, you must specify the new value for this timer as well as the current value of the SPF hold timer, which you want to retain. The Brocade device does not accept only one timer value.
Syntax: timers spf <delay> <hold-time> For the <delay> and <hold-time> parameters, specify a value from 0 65535 seconds. To set the timers back to their default values, enter the no version of this command.
1297
OSPF V3 configuration
Administrative distance
The Brocade device can learn about networks from various protocols, including IPv6, RIPng, and OSPF V3. Consequently, the routes to a network may differ depending on the protocol from which the routes were learned. By default, the administrative distance for OSPF V3 routes is 110. The device selects one route over another based on the source of the route information. To do so, the device can use the administrative distances assigned to the sources. You can influence the device decision by changing the default administrative distance for OSPF V3 routes.
NOTE
This feature does not influence the choice of routes within OSPF V3. For example, an OSPF intra-area route is always preferred over an OSPF inter-area route, even if the intra-area route distance is greater than the inter-area route distance. For example, to change the default administrative distances for intra-area routes to 80, inter-area routes to 90, and external routes to 100, enter the following commands.
Brocade(config-ospf6-router)#distance intra-area 80 Brocade(config-ospf6-router)#distance inter-area 90 Brocade(config-ospf6-router)#distance external 100
Syntax: distance external | inter-area | intra-area <distance> The external | inter-area | intra-area keywords specify the route type for which you are changing the default administrative distance. The <distance> parameter specifies the new distance for the specified route type. You can specify a value from 1 255. To reset the administrative distance of a route type to its system default, enter the no form of this command.
1298
OSPF V3 configuration
Syntax: [no] timers lsa-group-pacing <seconds> The <seconds> parameter specifies the number of seconds and can be from 10 1800 (30 minutes). The default is 240 seconds (four minutes). To restore the pacing interval to its default value, use the no form of the command.
Syntax: [no] auto-cost reference-bandwidth <number> The <seconds> parameter can be a value from 0 86400 seconds (24 hours). To reset the exit overflow interval to its system default, enter the no form of this command.
1299
OSPF V3 configuration
Brocade(config-ospf6-router)#external-lsdb-limit 3000
Syntax: ipv6 ospf area <number> | <ipv4-address> The <entries> parameter can be a numerical value from 500 8000 seconds. To reset the maximum number of entries to its system default, enter the no form of this command.
Cost: Indicates the overhead required to send a packet across an interface. You can modify the
cost to differentiate between 100 Mbps and 1000 Mbps (1 Gbps) links. The command syntax is ipv6 ospf cost <number>. The default cost is calculated by dividing 100 million by the bandwidth. For 10 Mbps links, the cost is 10. The cost for both 100 Mbps and 1000 Mbps links is 1, because the speed of 1000 Mbps was not in use at the time the OSPF cost formula was devised.
Dead-interval: Indicates the number of seconds that a neighbor router waits for a hello packet
from the current router before declaring the router down. The command syntax is ipv6 ospf dead-interval <seconds>. The value can be from 1 2147483647 seconds. The default is 40 seconds.
Hello-interval: Represents the length of time between the transmission of hello packets. The
command syntax is ipv6 ospf hello-interval <seconds>. The value can be from 1 65535 seconds. The default is 10 seconds.
Instance: Indicates the number of OSPF V3 instances running on an interface. The command
syntax is ipv6 ospf instance <number>. The value can be from 0 255. The default is 1.
MTU-ignore: Allows you to disable a check that verifies the same MTU is used on an interface
shared by neighbors. The command syntax is ipv6 ospf mtu-ignore. By default, the mismatch detection is enabled.
Network: Allows you to configure the OSPF network type. The command syntax is ipv6 ospf
network [point-to-multipoint]. The default setting of the parameter depends on the network type.
Passive: When you configure an OSPF interface to be passive, that interface does not send or
receive OSPF route updates. This option affects all IPv6 subnets configured on the interface. The command syntax is ipv6 ospf passive. By default, all OSPF interfaces are active and thus can send and receive OSPF route information. Since a passive interface does not send or receive route information, the interface is in effect a stub network.
Priority: Allows you to modify the priority of an OSPF router. The priority is used when selecting
the designated router (DR) and backup designated routers (BDRs). The command syntax is ipv6 ospf priority <number>. The value can be from 0 255. The default is 1. If you set the priority to 0, the router does not participate in DR and BDR election.
1300
OSPF V3 configuration
Transmit-delay: The time it takes to transmit Link State Update packets on this interface. The
command syntax is ipv6 ospf transmit-delay <seconds>. The value can be from 0 3600 seconds. The default is 1 second.
Syntax: [no] log-status-change To re-enable the logging of events, enter the following command.
Brocade(config-ospf6-router)#log-status-change
Authentication through Encapsulating Security Payload (ESP) in transport mode HMAC-SHA1-96 as the authentication algorithm Manual configuration of keys Configurable rollover timer
1301
OSPF V3 configuration
Among the entities that can have IPsec protection, the interfaces and areas can overlap. The interface IPsec configuration takes precedence over the area IPsec configuration when an area and an interface within that area use IPsec. Therefore, if you configure IPsec for an interface and an area configuration also exists that includes this interface, the interfaces IPsec configuration is used by that interface. However, if you disable IPsec on an interface, IPsec is disabled on the interface even if the interface has its own, specific authentication. Refer to Disabling IPsec on an interface on page 1307. For IPsec, the system generates two types of databases. The security association database (SAD) contains a security association for each interface or one global database for a virtual link. Even if IPsec is configured for an area, each interface that uses the areas IPsec still has its own security association in the SAD. Each SA in the SAD is a generated entry that is based on your specifications of an authentication protocol (ESP in the current release), destination address, and a security policy index (SPI). The SPI number is user-specified according to the network plan. Consideration for the SPI values to specify must apply to the whole network. The system-generated security policy databases (SPDs) contain the security policies against which the system checks the for-us packets. For each for-us packet that has an ESP header, the applicable security policy in the security policy database (SPD) is checked to see if this packet complies with the policy. The IPsec task drops the non-compliant packets. Compliant packets continue on to the OSPFv3 module.
ESP security protocol Authentication HMAC-SHA1-96 authentication algorithm Security parameter index (SPI) A 40-character key using hexadecimal characters An option for not encrypting the keyword when it appears in show command output Key rollover timer
In the current release, certain keyword parameters must be entered even though only one keyword choice is possible for that parameter. For example, the only authentication algorithm in the current release is HMAC-SHA1-96, but you must nevertheless enter the keyword for this algorithm. Also, ESP currently is the only authentication protocol, but you must still enter the esp keyword. This section describes all keywords.
NOTE
1302
OSPF V3 configuration
Security association: based on your entries for security policy index (SPI), destination address,
and security protocol (currently ESP), the system creates a security association for each interface or virtual link.
Security policy database: based on your entries for SPI, source address, destination
addresses, and security protocol, the system creates a security policy database for each interface or virtual link.
You can configure the same SPI and key on multiple interfaces and areas, but they still have
unique IPsec configurations because the SA and policies are added to each separate security policy database (SPD) that is associated with a particular interface. If you configure an SA with the same SPI in multiple places, the rest of the parameters associated with the SAsuch as key, crypto algorithm, and security protocol, and so onmust match. If the system detects a mismatch, it displays an error message.
IPSec authentication for OSPFv3 requires the use of multiple SPDs, one for each interface. A
virtual link has a separate, global SPD. The authentication configuration on a virtual link must be different from the authentication configuration for an area or interface, as required by RFC4552. The interface number is used to generate a non-zero security policy database identifier (SPDID), but for the global SPD for a virtual link, the system-generated SPDID is always zero. As a hypothetical example, the SPD for interface eth 1/1 might have the system-generated SPDID of 1, and so on.
If you change an existing key, you must also specify a different SPI value. For example, in an
interface context where you intend to change a key, you must type a different SPI valuewhich occurs before the key parameter on the command linebefore you type the new key. The example in IPsec for OSPFv3 configurationillustrates this requirement.
The old key is active for twice the current configured key-rollover-interval for the inbound
direction. In the outbound direction, the old key remains active for a duration equal to the key-rollover-interval. If the key-rollover-interval is set to 0, the new key immediately takes effect for both directions. For a description of the key-rollover-interval, refer to the Changing the key rollover timer on page 1307section.
1303
OSPF V3 configuration
The area-wide SPI that you specify is a constant for all interfaces in the area that use the area IPsec, but the use of different interfaces results in an SPDID and an SA that are unique to each interface. (Recall from IPSec for OSPFv3 on page 1301 that the security policy database depends partly on the source IP address, so a unique SPD for each interface results.)
NOTE
The security association (SA), security protocol index (SPI), security protocol database (SPD), and key have mutual dependencies, as the subsections that follow describe.
Syntax: key-rollover-interval <time> The range for the key-rollover-interval is 0 14400 seconds. The default is 300 seconds.
NOTE
The IPsec configuration for an interface applies to the inbound and outbound directions. Also, the same authentication parameters must be used by all routers on the network to which the interface is connected, as described in section 7 of RFC 4552.
Brocade(config-if-e10000-1/2)#ipv6 ospf auth ipsec spi 429496795 esp sha1 abcdef12345678900987654321fedcba12345678
Syntax: [no] ipv6 ospf authentication ipsec spi <spinum> esp sha1 [no-encrypt] <key> The no form of this command deletes IPsec from the interface. The ipv6 command is available in the configuration interface context for a specific interface.
1304
OSPF V3 configuration
The ospf keyword identifies OSPFv3 as the protocol to receive IPsec security. The authentication keyword enables authentication. The ipsec keyword specifies IPsec as the authentication protocol. The spi keyword and the <spinum> variable specify the security parameter that points to the security association. The near-end and far-end values for spinum must be the same. The range for <spinum> is decimal 256 4294967295. The mandatory esp keyword specifies ESP (rather than authentication header) as the protocol to provide packet-level security. In the current release, this parameter can be esp only. The sha1 keyword specifies the HMAC-SHA1-96 authentication algorithm. This mandatory parameter can be only the sha1 keyword in the current release. Including the optional no-encrypt keyword means that when you display the IPsec configuration, the key is displayed in its unencrypted form and also saved as unencrypted. The <key> variable must be 40 hexadecimal characters. To change an existing key, you must also specify a different SPI value. You cannot just change the key without also specifying a different SPI, too. For example, in an interface context where you intend to change a key, you must type a different SPI valuewhich occurs before the key parameter on the command linebefore you type the new key. The example in IPsec for OSPFv3 configurationillustrates this requirement. If no-encrypt is not entered, then the key will be encrypted. This is the default. The system adds the following in the configuration to indicate that the key is encrypted:
encrypt = the key string uses proprietary simple crytographic 2-way algorithm. encryptb64 = the key string uses proprietary base64 crytographic 2-way algorithm.
This example results in the configuration shown in the screen output that follows. Note that because the optional no-encrypt keyword was omitted, the display of the key has the encrypted form by default.
interface ethernet 1/1/2 enable ip address 40.3.3.1/8 ipv6 address 40:3:3::1/64 ipv6 ospf area 1 ipv6 ospf authentication ipsec spi 429496795 esp sha1 encryptb64 $ITJkQG5HWnw4M09tWVd
Syntax: area <area-id> authentication ipsec spi <spinum> esp sha1 [no-encrypt] <key> The no form of this command deletes IPsec from the area. The area command and the <area-id> variable specify the area for this IPsec configuration. The <area-id> can be an integer in the range 0 2,147,483,647 or have the format of an IP address.
1305
OSPF V3 configuration
The authentication keyword specifies that the function to specify for the area is packet authentication. The ipsec keyword specifies that IPsec is the protocol that authenticates the packets. The spi keyword and the <spinum> variable specify the index that points to the security association. The near-end and far-end values for spinum must be the same. The range for <spinum> is decimal 256 4294967295. The mandatory esp keyword specifies ESP (rather than authentication header) as the protocol to provide packet-level security. In the current release, this parameter can be esp only. The sha1 keyword specifies the HMAC-SHA1-96 authentication algorithm. This mandatory parameter can be only the sha1 keyword in the current release. Including the optional no-encrypt keyword means that the 40-character key is not encrypted upon either its entry or its display. The key must be 40 hexadecimal characters. If no-encrypt is not entered, then the key will be encrypted. This is the default. The system adds the following in the configuration to indicate that the key is encrypted:
encrypt = the key string uses proprietary simple crytographic 2-way algorithm. encryptb64 = the key string uses proprietary base64 crytographic 2-way algorithm.
The configuration in the preceding example results in the configuration for area 2 that is illustrated in the following example.
ipv6 router ospf area 0 area 1 area 2 area 2 auth ipsec spi 400 esp sha1 abcef12345678901234fedcba098765432109876
Syntax: [no] area <area-id> virtual <nbrid> authentication ipsec spi <spinum> esp sha1 [no-encrypt] <key> The no form of this command deletes IPsec from the virtual link. The area command and the <area-id> variable specify the area is to be configured. The <area-id> can be an integer in the range 0 2,147,483,647 or have the format of an IP address. The virtual keyword indicates that this configuration applies to the virtual link identified by the subsequent variable <nbrid>. The variable <nbrid> is in dotted decimal notation of an IP address. The authentication keyword specifies that the function to specify for the area is packet authentication. The ipsec keyword specifies that IPsec is the protocol that authenticates the packets.
1306
OSPF V3 configuration
The spi keyword and the <spinum> variable specify the index that points to the security association. The near-end and far-end values for spinum must be the same. The range for <spinum> is decimal 256 4294967295. The mandatory esp keyword specifies ESP (rather than authentication header) as the protocol to provide packet-level security. In the current release, this parameter can be esp only. The sha1 keyword specifies the HMAC-SHA1-96 authentication algorithm. This mandatory parameter can be only the sha1 keyword in the current release. Including the optional no-encrypt keyword means that the 40-character key is not encrypted in show command displays. If no-encrypt is not entered, then the key will be encrypted. This is the default. The system adds the following in the configuration to indicate that the key is encrypted:
encrypt = the key string uses proprietary simple crytographic 2-way algorithm. encryptb64 = the key string uses proprietary base64 crytographic 2-way algorithm.
This example results in the following configuration.
area 1 virtual-link 2.2.2.2 area 1 virtual-link 2.2.2.2 authentication ipsec spi 360 esp sha1 no-encrypt 12 34567890098765432112345678990987654321
Syntax: [no] ipv6 ospf authentication ipsec disable The no form of this command restores the area and interface-specific IPsec operation.
Syntax: key-rollover-interval <time> The range for the key-rollover-interval is 0 14400 seconds. The default is 300 seconds.
1307
2 2 0
13 0
To clear the statistics, enter the clear ipsec statistics command as in the following example.
Brocade#clear ipsec statistics
Areas Link state databases Interfaces Memory usage Neighbors Redistributed routes Routes SPF Virtual links Virtual neighbors IPSec
1308
Syntax: show ipv6 ospf area [<area id>] You can specify the <area-id> parameter in the following formats:
TABLE 219
Field
Area
Interface attached to this area Number of Area scoped LSAs SPF algorithm executed SPF last updated Current SPF node count Router Network Indx Area Maximum hop count to nodes.
1309
Seq(Hex) 800000ab 800000aa 800000ab 800000aa 800000b0 800000aa 800000bd 800000ae 800000ad 800000ae 800000a8
Age 1547 1295 1481 1404 1397 1388 1379 1325 1280 1409 1319
Cksum 8955 0639 7e6b 966a 912c 1b09 a072 e021 af8e 0ca7 441e
Len 68 68 56 56 40 32 72 52 40 32 32
Syntax: show ipv6 ospf database [advrtr <ipv4-address> | as-external | extensive | inter-prefix | inter-router | intra-prefix | link | link-id <number> | network | router [scope <area-id> | as | link]] The advrtr <ipv4-address> parameter displays detailed information about the LSAs for a specified advertising router only. The as-external keyword displays detailed information about the AS externals LSAs only. The extensive keyword displays detailed information about all LSAs in the database. The inter-prefix keyword displays detailed information about the inter-area prefix LSAs only. The inter-router keyword displays detailed information about the inter-area router LSAs only. The intra-prefix keyword displays detailed information about the intra-area prefix LSAs only. The link keyword displays detailed information about the link LSAs only. The link-id <number> parameter displays detailed information about the specified link LSAs only. The network <number> displays detailed information about the network LSAs only. The router <number> displays detailed information about the router LSAs only. The scope <area-id> parameter displays detailed information about the LSAs for a specified area, AS, or link.
1310
TABLE 220
Field
Area ID Type
Age Chksum
Len
For example, to display detailed information about all LSAs in the database, enter the show ipv6 ospf database extensive command at any CLI level.
1311
Brocade#show ipv6 ospf database extensive Area ID Type LS ID Adv Rtr Seq(Hex) Age 0 Link 00000031 1.1.1.1 80000001 35 Router Priority: 1 Options: V6E---R-LinkLocal Address: fe80::1 Number of Prefix: 1 Prefix Options: Prefix: 3002::/64 ... Area ID Type LS ID Adv Rtr Seq(Hex) Age 0 Iap 00000159 223.223.223.223 800000ab 357 Number of Prefix: 2 Referenced LS Type: Network Referenced LS ID: 00000159 Referenced Advertising Router: 223.223.223.223 Prefix Options: Metric: 0 Prefix: 2000:4::/64 Prefix Options: Metric: 0 Prefix: 2002:c0a8:46a::/64 Area ID Type LS ID Adv Rtr Seq(Hex) Age 0 Rtr 00000039 223.223.223.223 800000b1 355 Capability Bits: --EOptions: V6E---R-Type: Transit Metric: 1 Interface ID: 00000058 Neighbor Interface ID: 00000058 Neighbor Router ID: 223.223.223.223 Area ID Type LS ID Adv Rtr Seq(Hex) Age 0 Net 000001f4 223.223.223.223 800000ab 346 Options: V6E---R-Attached Router: 223.223.223.223 Attached Router: 1.1.1.1 ... Area ID Type LS ID Adv Rtr Seq(Hex) Age N/A Extn 000001df 223.223.223.223 800000af 368 Bits: E Metric: 00000001 Prefix Options: Referenced LSType: 0 Prefix: 2002::/16 Area ID Type LS ID Adv Rtr Seq(Hex) Age 1 Inap 0000011d 10.1.1.188 80000001 124 Metric: 2 Prefix Options: Prefix: 2000:2:2::/64 Area ID Type LS ID Adv Rtr Seq(Hex) Age 0 Inar 0000005b 10.1.1.198 80000001 990 Options: V6E---R-Metric: 1 Destination Router ID:10.1.1.188
Cksum 6db9
Len 56
Cksum 946b
Len 56
Cksum 8f2d
Len 40
Cksum 190a
Len 32
Cksum 0aa8
Len 32
Cksum 25de
Len 36
Cksum dbad
Len 32
Portions of this display are truncated for brevity. The purpose of this display is to show all possible fields that might display rather than to show complete output.
NOTE
1312
The fields that display depend upon the LSA type as shown in the following table.
TABLE 221
Field
Options
Type
1313
TABLE 221
Field
Attached Router
1314
TABLE 221
Field
Prefix Options
Prefix
Area 0 0 0
Syntax: show ipv6 ospf interface [ethernet <port> | loopback <number> | tunnel <number> | ve <number>] The ethernet | loopback | tunnel | ve parameter specifies the interface for which to display information. If you specify an Ethernet interface, also specify the port number associated with the interface. If you specify a loopback, tunnel, or VE interface, also specify the number associated with the interface.
1315
TABLE 222
Field
Interface OSPF
The state of OSPF V3 on the interface. Possible states include the following: Enabled. Disabled.
Status
The status of the link. Possible status include the following: Up. Down.
State
The state of the interface. Possible states includes the following: DR The interface is functioning as the Designated Router for OSPF V3. BDR The interface is functioning as the Backup Designated Router for OSPF V3. Loopback The interface is functioning as a loopback interface. P2P The interface is functioning as a point-to-point interface. Passive The interface is up but it does not take part in forming an adjacency. Waiting The interface is trying to determine the identity of the BDR for the network. None The interface does not take part in the OSPF interface state machine. Down The interface is unusable. No protocol traffic can be sent or received on such a interface. DR other The interface is a broadcast or NBMA network on which another router is selected to be the DR. The OSPF area to which the interface belongs.
Area
For example, to display detailed information about Ethernet interface 2, enter the show ipv6 ospf interface ethernet command at any level of the CLI.
Brocade#show ipv6 ospf interface ethernet 3/2 ethe 3/2 is up, type BROADCAST IPv6 Address: 2002:c0a8:46a::1/64 2000:4::106/64 Instance ID 0, Router ID 223.223.223.223 Area ID 0, Cost 1 State DR, Transmit Delay 1 sec, Priority 1 Timer intervals : Hello 10, Dead 40, Retransmit 5 DR:223.223.223.223 BDR:1.1.1.1 Number of I/F scoped LSAs is 2 DRElection: 5 times, DelayedLSAck: 523 times Neighbor Count = 1, Adjacent Neighbor Count= 1 Neighbor: 1.1.1.1 (BDR) Statistics of interface ethe 3/2: Type tx rx tx-byte rx-byte Unknown 0 0 0 0 Hello 3149 3138 1259284 1255352 DbDesc 7 6 416 288 LSReq 2 2 80 152 LSUpdate 1508 530 109508 39036 LSAck 526 1398 19036 54568
1316
TABLE 223
Field
Interface status
Type
The type of OSPF V3 circuit running on the interface. Possible types include the following: BROADCAST POINT TO POINT UNKNOWN The IPv6 address(es) assigned to the interface. An identifier for an instance of OSPF V3. The IPv4 address of the Brocade device. By default, the Brocade router ID is the IPv4 address configured on the lowest numbered loopback interface. If the device does not have a loopback interface, the default router ID is the lowest numbered IPv4 address configured on the device. The IPv4 address or numerical value of the area in which the interface belongs. The overhead required to send a packet through the interface. The state of the interface. Possible states include the following: DR The interface is functioning as the Designated Router for OSPF V3. BDR The interface is functioning as the Backup Designated Router for OSPF V3. Loopback The interface is functioning as a loopback interface. P2P The interface is functioning as a point-to-point interface. Passive The interface is up but it does not take part in forming an adjacency. Waiting The interface is trying to determine the identity of the BDR for the network. None The interface does not take part in the OSPF interface state machine. Down The interface is unusable. No protocol traffic can be sent or received on such a interface. DR other The interface is a broadcast or NBMA network on which another router is selected to be the DR.
Transmit delay Priority Timer intervals DR BDR Number of I/F scoped LSAs DR Election Delayed LSA Ack Neighbor Count Adjacent Neighbor Count
The amount of time, in seconds, it takes to transmit Link State Updates packets on the interface. The priority used when selecting the DR and the BDR. If the priority is 0, the interface does not participate in the DR and BDR election. The interval, in seconds, of the hello-interval, dead-interval, and retransmit-interval timers. The router ID (IPv4 address) of the DR. The router ID (IPv4 address) of the BDR. The number of interface LSAs scoped for a specified area, AS, or link. The number of times the DR election occurred. The number of the times the interface sent a delayed LSA acknowledgement. The number of neighbors to which the interface is connected. The number of neighbors with which the interface has formed an active adjacency.
1317
TABLE 223
Field
Neighbor
Interface statistics
Max-alloc 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Alloc-Fails 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
1318
TABLE 224
Field
Total Static Memory Allocated Total Dynamic Memory Allocated Memory Type Size Allocated Max-alloc Alloc-Fails
Syntax: show ipv6 ospf neighbor [router-id <ipv4-address>] The router-id <ipv4-address> parameter displays only the neighbor entries for the specified router. This display shows the following information.
TABLE 225
Field
Router ID
Pri State
The state between the Brocade device and the neighbor. The state can be one of the following: Down Attempt Init 2-Way ExStart Exchange Loading Full
DR
1319
TABLE 225
Field
BDR Interface [State]
For example, to display detailed information about a neighbor with the router ID of 1.1.1.1, enter the show ipv6 ospf neighbor router-id command at any CLI level.
Brocade#show ipv6 ospf neighbor router-id 3.3.3.3 RouterID Pri State DR BDR 3.3.3.3 1 Full 3.3.3.3 1.1.1.1 DbDesc bit for this neighbor: --s Nbr Ifindex of this router: 1 Nbr DRDecision: DR 3.3.3.3, BDR 1.1.1.1 Last received DbDesc: opt:xxx ifmtu:0 bit:--s seqnum:0 Number of LSAs in DbDesc retransmitting: 0 Number of LSAs in SummaryList: 0 Number of LSAs in RequestList: 0 Number of LSAs in RetransList: 0 SeqnumMismatch 0 times, BadLSReq 0 times OnewayReceived 0 times, InactivityTimer 0 times DbDescRetrans 0 times, LSReqRetrans 0 times LSUpdateRetrans 1 times LSAReceived 12 times, LSUpdateReceived 6 times
Interface[State] ve 10 [BDR]
TABLE 226
Field
Router ID Pri State DR BDR
Interface [State]
1320
TABLE 226
Field
DbDesc bit...
Index DR Decision Last Received Db Desc Number of LSAs in Db Desc retransmitting Number of LSAs in Summary List Number of LSAs in Request List Number of LSAs in Retransmit List Seqnum Mismatch BadLSReq One way received
Inactivity Timer Db Desc Retransmission LSReqRetrans LSUpdateRetrans LSA Received LS Update Received
1321
Metric 1 1
Syntax: show ipv6 ospf redistribute route [<ipv6-prefix>] The <ipv6-prefix> parameter specifies an IPv6 network prefix. (You do not need to specify the length of the prefix.) For example, to display redistribution information for the prefix 2002::, enter the show ipv6 ospf redistribute route command at any level of the CLI.
Brocade#show ipv6 ospf redistribute route 2002:: Id Prefix 1 2002::/16
Protocol Static
Metric 1
TABLE 227
Field
ID Prefix Protocol
Metric Type
Metric
1322
Brocade#show ipv6 ospf routes Current Route count: 4 Intra: 4 Inter: 0 External: 0 (Type1 0/Type2 0) Equal-cost multi-path: 0 Destination Options Area Next Hop Router Outgoing Interface *IA 2000:4::/64 V6E---R-- 0.0.0.0 :: ethe 3/2 *IA 2002:c0a8:46a::/64 V6E---R-- 0.0.0.0 :: ethe 3/2 *IA 2999::1/128 --------- 0.0.0.0 :: loopback 2 *IA 2999::2/128 V6E---R-- 0.0.0.0 fe80::2e0:52ff:fe91:bb37 ethe 3/2
Syntax: show ipv6 ospf routes [<ipv6-prefix>] The <ipv6-prefix> parameter specifies a destination IPv6 prefix. (You do not need to specify the length of the prefix.) If you use this parameter, only the route entries for this destination are shown. For example, to display route information for the destination prefix 2000:4::, enter the show ipv6 ospf routes command at any level of the CLI.
Brocade#show ipv6 ospf routes 2000:4:: Destination Options Area Next Hop Router Outgoing Interface *IA 2000:4::/64 V6E---R-- 0.0.0.0 :: ethe 3/2
TABLE 228
Field
Current Route Count (Displays with the entire OSPF V3 route table only) Intra/Inter/External (Type1/Type2) (Displays with the entire OSPF V3 route table only)
The breakdown of the current route entries into the following route types: Inter The number of routes that pass into another area. Intra The number of routes that are within the local area. External1 The number of type 1 external routes. External2 The number of type 2 external routes. The number of equal-cost routes to the same destination in the OSPF V3 route table. If load sharing is enabled, the router equally distributes traffic among the routes. The IPv6 prefixes of destination networks to which the Brocade device can forward IPv6 packets. *IA indicates the next router is an intra-area router.
Equal-cost multi-path (Displays with the entire OSPF V3 route table only) Destination
1323
TABLE 228
Field
Options
SPF node information for a specified area. SPF table for a specified area. SPF tree for a specified area.
For example, to display information about SPF nodes in area 0, enter the show ipv6 ospf spf node area command at any level of the CLI.
Brocade#show ipv6 ospf spf node area 0 SPF node for Area 0 SPF node 223.223.223.223, cost: 0, hops: 0 nexthops to node: parent nodes: child nodes: 223.223.223.223:88 SPF node 223.223.223.223:88, cost: 1, nexthops to node: :: ethe 3/2 parent nodes: 223.223.223.223 child nodes: 1.1.1.1:0 hops: 1
SPF node 1.1.1.1:0, cost: 1, hops: 2 nexthops to node: fe80::2e0:52ff:fe91:bb37 ethe 3/2 parent nodes: 223.223.223.223:88 child nodes:
1324
Syntax: show ipv6 ospf spf node area [<area-id>] The node keyword displays SPF node information. The area <area-id> parameter specifies a particular area. You can specify the <area-id> in the following formats:
TABLE 229
Field
SPF node
For example, to display the SPF table for area 0, enter the show ipv6 ospf spf table area command at any level of the CLI.
Brocade#show ipv6 ospf spf SPF table for Area 0 Destination Bits R 1.1.1.1 ---N 223.223.223.223[88] ---table area 0 Options Cost V6E---R1 V6E---R1 Nexthop fe80::2e0:52ff:fe91:bb37 :: Interface ethe 3/2 ethe 3/2
Syntax: show ipv6 ospf spf table area <area-id> The table parameter displays the SPF table. The area <area-id> parameter specifies a particular area. You can specify the <area-id> in the following formats:
1325
TABLE 230
Field
Destination
Bits
Options
For example, to display the SPF tree for area 0, enter the show ipv6 ospf spf tree area command at any level of the CLI.
Brocade#show ipv6 ospf spf tree area 0 SPF tree for Area 0 +- 223.223.223.223 cost 0 +- 223.223.223.223:88 cost 1 +- 1.1.1.1:0 cost 1
Syntax: show ipv6 ospf spf tree area <area-id> The tree keyword displays the SPF table. The area <area-id> parameter specifies a particular area. You can specify the <area-id> in the following formats:
1326
State P2P
Syntax: show ipv6 ospf virtual-link This display shows the following information.
TABLE 231
Field
Index
The state of the virtual link. Possible states include the following: P2P The link is functioning as a point-to-point interface. DOWN The link is down.
State Full
Syntax: show ipv6 ospf virtual-neighbor This display shows the following information.
TABLE 232
Field
Index Router ID Address
1327
TABLE 232
Field
State
Interface
IPsec examples
This section contains examples of IPsec configuration and the output from the IPsec-specific show commands. In addition, IPsec-related information appears in general show command output for interfaces and areas. The show commands that are specific to IPsec are: show ipsec sa show ipsec policy show ipsec statistics
1328
TABLE 233
Field
PType Dir Proto
1329
TABLE 233
Field
Source Destination
TABLE 234
Field
SA
2 2 0
13 0 13 0
1330
Syntax: show ipv6 ospf area [<area-id>] The <area-id> parameter restricts the display to the specified OSPF area. You can specify the <area-id> parameter in the following formats:
An IPv4 address, for example, 192.168.1.1 A numerical value in the range 0 2,147,483,647
TABLE 235
Field
Authentication
KeyRolloverTime KeyRolloverState
Current
1331
TABLE 235
Field
New Old
Syntax: show ipv6 ospf interface [ethernet <slot/port> | pos <slot/port> | loopback <number> | tunnel <number> | ve <number>]
1332
TABLE 236
Field
Authentication
KeyRolloverTime KeyRolloverState
Current New (Inbound or Outbound) Old (Inbound or Outbound) OSPF messages dropped
Displaying IPsec for a virtual link To display IPsec for a virtual link, run the show ipv6 ospf virtual-link brief or show ipv6 ospf virtual-link command, as the following examples illustrate.
Brocade#show ipv6 ospf virtual-link brief Index Transit Area ID Router ID Interface Address 1 1 14.14.14.14 3000:1:1:1::1 State P2P
Brocade#show ipv6 ospf virtual-link Transit Area ID Router ID Interface Address State 1 14.14.14.14 3000:1:1:1::1 P2P Timer intervals(sec) : Hello 10, Hello Jitter 10, Dead 40, Retransmit 5, TransmitDelay 1 DelayedLSAck: 5 times Authentication: Configured KeyRolloverTime(sec): Configured: 10 Current: 0 KeyRolloverState: NotActive Outbound: SPI:100004, ESP, SHA1 Key:1234567890123456789012345678901234567890 Inbound: SPI:100004, ESP, SHA1 Key:1234567890123456789012345678901234567890 Statistics: Type tx rx tx-byte rx-byte Unknown 0 0 0 0 Hello 65 65 2600 2596 DbDesc 4 4 2752 2992 LSReq 1 1 232 64 LSUpdate 11 5 1040 1112 LSAck 5 8 560 448 OSPF messages dropped,no authentication: 0 Neighbor: State: Full Address: 2004:44:44:44::4 Interface: eth 2/2
1333
Syntax: show ipv6 ospf virtual-link [brief] The optional [brief] keyword limits the display to the Transit, Area ID, Router ID, Interface Address, and State fields for each link. Changing a key In this example, the key is changed as illustrated in the two command lines that follow. Note that the SPI value is changed from 300 to 310 to comply with the requirement that you change the SPI when you change the key. Initial configuration command.
Brocade(config-if-e10000-1/1/3)#ipv6 ospf auth ipsec spi 300 esp sha1 no-encrypt 12345678900987655431234567890aabbccddef
1334
Chapter
BGP (IPv4)
33
Table 237 lists individual Brocade switches and the Border Gateway Protocol (BGP4) features they support. BGP4 features are supported on FastIron X Series and Brocade FCX Series-ADV devices running the full Layer 3 software image. If the Brocade FCX Series device does not have a BGP license, you cannot configure BGP with the "router bgp" command at all. For details, see the chapter Software-based Licensing on page 199.
NOTE
TABLE 237
Feature
FWS
ICX 6610
ICX 6450
No No No
Yes Yes Yes (ICX 6610 stack only) Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
No No No
BGP4 peer group Route redistribution Route aggregation BGP null0 routing Route reflection BGP filters Cooperative BGP4 route filtering Route flap dampening Multipath load sharing Traps for BGP4
No No No No No No No No No No
No No No No No No No No No No
This chapter provides details on how to configure Border Gateway Protocol version 4 (BGP4) on Brocade products using the CLI. BGP4 is described in RFC 1771. The Brocade implementation fully complies with RFC 1771. The Brocade BGP4 implementation also supports the following RFCs:
FastIron Configuration Guide 53-1002494-01
RFC 1745 (OSPF Interactions) RFC 1997 (BGP Communities Attributes) RFC 2385 (TCP MD5 Signature Option) RFC 2439 (Route Flap Dampening) RFC 2796 (Route Reflection)
1335
BGP4 overview
NOTE
Your Layer 3 switch management module must have 32 MB or higher to run BGP4.
BGP4 overview
Border Gateway Protocol 4 (BGP4) is the standard Exterior Gateway Protocol (EGP) used on the Internet to route traffic between Autonomous Systems (AS) and to maintain loop-free routing. An autonomous system is a collection of networks that share the same routing and administration characteristics. For example, a corporate intranet consisting of several networks under common administrative control might be considered an AS. The networks in an AS can but do not need to run the same routing protocol to be in the same AS, nor do they need to be geographically close. Routers within an AS can use different Interior Gateway Protocols (IGPs) such as RIP and OSPF to communicate with one another. However, for routers in different autonomous systems to communicate, they need to use an EGP. BGP4 is the standard EGP used by Internet routers and therefore is the EGP implemented on Brocade Layer 3 switches. Figure 166 on page 1336 shows a simple example of two BGP4 autonomous systems. Each AS contains three BGP4 switches. All of the BGP4 switches within an AS communicate using IBGP. BGP4 switches communicate with other autonomous systems using EBGP. Notice that each of the switches also is running an Interior Gateway Protocol (IGP). The switches in AS1 are running OSPF and the switches in AS2 are running RIP. Brocade Layer 3 switches can be configured to redistribute routes among BGP4, RIP, and OSPF. They also can redistribute static routes.
AS 1 EBGP
BGP4 Switch OSPF
AS 2
IBGP
IBGP
IBGP
IBGP
BGP4 Switch
BGP4 Switch
IBGP
OSPF OSPF
BGP4 Switch
IBGP
RIP
1336
BGP4 overview
Relationship between the BGP4 route table and the IP route table
The Brocade Layer 3 switch BGP4 route table can have multiple routes to the same destination, which are learned from different BGP4 neighbors. A BGP4 neighbor is another switch that also is running BGP4. BGP4 neighbors communicate using Transmission Control Protocol (TCP) port 179 for BGP communication. When you configure the Brocade Layer 3 switch for BGP4, one of the configuration tasks you perform is to identify the Layer 3 switch BGP4 neighbors. Although a Layer 3 Switch BGP4 route table can have multiple routes to the same destination, the BGP4 protocol evaluates the routes and chooses only one of the routes to send to the IP route table. The route that BGP4 chooses and sends to the IP route table is the preferred route and will be used by the Brocade Layer 3 switch. If the preferred route goes down, BGP4 updates the route information in the IP route table with a new BGP4 preferred route.
NOTE
If IP load sharing is enabled and you enable multiple equal-cost paths for BGP4, BGP4 can select more than one equal-cost path to a destination. A BGP4 route consists of the following information:
Network number (prefix) A value comprised of the network mask bits and an IP address (<IP
address>/ <mask bits>); for example, 192.215.129.0/18 indicates a network mask of 18 bits applied to the IP address 192.215.129.0. When a BGP4 Layer 3 switch advertises a route to one of its neighbors, the route is expressed in this format.
AS-path A list of the other autonomous systems through which a route passes. BGP4 routers
can use the AS-path to detect and eliminate routing loops. For example, if a route received by a BGP4 router contains the AS that the router is in, the router does not add the route to its own BGP4 table. (The BGP4 RFCs refer to the AS-path as AS_PATH.)
Additional path attributes A list of additional parameters that describe the route. The route
origin and next hop are examples of these additional path attributes. The Layer 3 switch re-advertises a learned best BGP4 route to the Layer 3 switch neighbors even when the software does not select that route for installation in the IP route table. The best BGP4 route is the route that the software selects based on comparison of the BGP4 route path attributes. After a Brocade Layer 3 switch successfully negotiates a BGP4 session with a neighbor (a BGP4 peer), the Brocade Layer 3 switch exchanges complete BGP4 route tables with the neighbor. After this initial exchange, the Brocade Layer 3 switch and all other RFC 1771-compliant BGP4 routers send UPDATE messages to inform neighbors of new, changed, or no longer feasible routes. BGP4 routers do not send regular updates. However, if configured to do so, a BGP4 router does regularly send KEEPALIVE messages to its peers to maintain BGP4 sessions with them if the router does not have any route information to send in an UPDATE message.Refer to BGP4 message types on page 1339 for information about BGP4 messages.
NOTE
1337
BGP4 overview
NOTE
The device does not use the default route to resolve BGP4 next hop. Also refer to Enabling next-hop recursion on page 1365. 2. Use the path with the largest weight. 3. If the weights are the same, prefer the route with the largest local preference. 4. If the routes have the same local preference, prefer the route that was originated locally (by this BGP4 Layer 3 switch). 5. If the local preferences are the same, prefer the route with the shortest AS-path. An AS-SET counts as 1. A confederation path length, if present, is not counted as part of the path length. 6. If the AS-path lengths are the same, prefer the route with the lowest origin type. From low to high, route origin types are valued as follows:
IGP is lowest EGP is higher than IGP but lower than INCOMPLETE INCOMPLETE is highest
7. If the routes have the same origin type, prefer the route with the lowest MED. For a definition of MED, refer to Configuring the Layer 3 switch to always compare Multi-Exit Discriminators (MEDs) on page 1371. BGP4 compares the MEDs of two otherwise equivalent paths if and only if the routes were learned from the same neighboring AS. This behavior is called deterministic MED. Deterministic MED is always enabled and cannot be disabled. In addition, you can enable the Layer 3 switch to always compare the MEDs, regardless of the AS information in the paths. To enable this comparison, enter the always-compare-med command at the BGP4 configuration level of the CLI. This option is disabled by default. By default, value 0 (most favorable) is used in MED comparison when the MED attribute is not present. The default MED comparison results in the Layer 3 switch favoring the route paths that are missing their MEDs. You can use the med-missing-as-worst command to make the Layer 3 switch regard a BGP route with a missing MED attribute as the least favorable route, when comparing the MEDs of the routes.
NOTE
NOTE
MED comparison is not performed for internal routes originated within the local AS or confederation.
1338
BGP4 overview
Routes received through EBGP from a BGP4 neighbor outside of the confederation Routes received through EBGP from a BGP4 router within the confederation Routes received through IBGP
9. If all the comparisons above are equal, prefer the route with the lowest IGP metric to the BGP4 next hop. This is the closest internal path inside the AS to reach the destination. 10. If the internal paths also are the same and BGP4 load sharing is enabled, load share among the paths. Otherwise, prefer the route that comes from the BGP4 router with the lowest router ID. Brocade Layer 3 switches support BGP4 load sharing among multiple equal-cost paths. BGP4 load sharing enables the Layer 3 switch to balance the traffic across the multiple paths instead of choosing just one path based on router ID. For EBGP routes, load sharing applies only when the paths are from neighbors within the same remote AS. EBGP paths from neighbors in different autonomous systems are not compared.
NOTE
BGP version Indicates the version of the protocol that is in use on the router. BGP version 4
supports Classless Interdomain Routing (CIDR) and is the version most widely used in the Internet. Version 4 also is the only version supported on Brocade Layer 3 switches.
AS number A two-byte number that identifies the AS to which the BGP4 router belongs. Hold Time The number of seconds a BGP4 router will wait for an UPDATE or KEEPALIVE
message (described below) from a BGP4 neighbor before assuming that the neighbor is dead. BGP4 routers exchange UPDATE and KEEPALIVE messages to update route information and maintain communication. If BGP4 neighbors are using different Hold Times, the lowest Hold Time is used by the neighbors. If the Hold Time expires, the BGP4 router closes its TCP connection to the neighbor and clears any information it has learned from the neighbor and cached. You can configure the Hold Time to be 0, in which case a BGP4 router will consider its
1339
BGP4 overview
neighbors to always be up. For directly-attached neighbors, you can configure the Brocade Layer 3 switch to immediately close the TCP connection to the neighbor and clear entries learned from an EBGP neighbor if the interface to that neighbor goes down. This capability is provided by the fast external fallover feature, which is disabled by default.
BGP Identifier The router ID. The BGP Identifier (router ID) identifies the BGP4 router to other
BGP4 routers. Brocade Layer 3 switches use the same router ID for OSPF and BGP4. If you do not set a router ID, the software uses the IP address on the lowest numbered loopback interface configured on the router. If the Layer 3 switch does not have a loopback interface, the default router ID is the lowest numbered IP address configured on the device. For more information or to change the router ID, refer to Changing the router ID on page 970.
Parameter list An optional list of additional parameters used in peer negotiation with BGP4
neighbors.
Network Layer Reachability Information (NLRI) The mechanism by which BGP4 supports
Classless Interdomain Routing (CIDR). An NLRI entry consists of an IP prefix that indicates a network being advertised by the UPDATE message. The prefix consists of an IP network number and the length of the network portion of the number. For example, an UPDATE message with the NLRI entry 192.215.129.0/18 indicates a route to IP network 192.215.129.0 with network mask 255.255.192.0. The binary equivalent of this mask is 18 consecutive one bits, thus 18 in the NLRI entry.
Path attributes Parameters that indicate route-specific information such as path information,
route preference, next hop values, and aggregation information. BGP4 uses the path attributes to make filtering and routing decisions.
Unreachable routes A list of routes that have been in the sending router BGP4 table but are
no longer feasible. The UPDATE message lists unreachable routes in the same format as new routes.
1340
BGP4 Router A sends a Hold Time of 5 seconds and BGP4 Router B sends a Hold Time of 4 seconds, both routers use 4 seconds as the Hold Time for their BGP4 session. The default Hold Time is 180 seconds. Generally, the Hold Time is configured to three times the value of the Keep Alive Time. If the Hold Time is 0, a BGP4 router assumes that its neighbor is alive regardless of how many seconds pass between receipt of UPDATE or KEEPALIVE messages.
NOTE
BGP4 graceful restart is supported in FSX 800 and FSX 1600 Layer 3 switches with dual management modules as well as in FCX switches in a stack . If the switch will function as a restart helper device only, a secondary management module is not required. This implementation of BGP4 graceful restart supports the Internet Draft-ietf-idr-restart-10.txt: restart mechanism for BGP4 For details concerning configuration of BGP4 graceful restart, refer to Configuring BGP4 graceful restart on page 1379.
1341
NOTE
You must specify the local AS number for BGP4 to become functional. 3. Add each BGP4 neighbor (peer BGP4 router) and identify the AS the neighbor is in. 4. Save the BGP4 configuration information to the system configuration file. By default, the Brocade router ID is the IP address configured on the lowest numbered loopback interface. If the Layer 3 switch does not have a loopback interface, the default router ID is the lowest numbered IP interface address configured on the device. For more information or to change the router ID, refer to Changing the router ID on page 970. If you change the router ID, all current BGP4 sessions are cleared.
Brocade> enable Brocade#configure terminal Brocade(config)#router bgp BGP4: Please configure 'local-as' parameter in order to enable BGP4. Brocade(config-bgp-router)#local-as 10 Brocade(config-bgp-router)#neighbor 209.157.23.99 remote-as 100 Brocade(config-bgp-router)#write memory
NOTE
NOTE
When BGP4 is enabled on a Brocade Layer 3 switch, you do not need to reset the system. The protocol is activated as soon as you enable it. Moreover, the router begins a BGP4 session with a BGP4 neighbor as soon as you add the neighbor.
If you are testing a BGP4 configuration and are likely to disable and re-enable the protocol, you might want to make a backup copy of the startup-config file containing the protocol configuration information. This way, if you remove the configuration information by saving the configuration after disabling the protocol, you can restore the configuration by copying the backup copy of the startup-config file onto the flash memory.
1342
BGP4 parameters
To disable BGP4 without losing the BGP4 configuration information, remove the local AS (for example, by entering the no local-as <num> command). In this case, BGP4 retains the other configuration information but is not operational until you set the local AS again.
NOTE
BGP4 parameters
You can modify or set the following BGP4 parameters:
Optional Define the router ID. (The same router ID also is used by OSPF.) Required Specify the local AS number. Optional Add a loopback interface for use with neighbors. Required Identify BGP4 neighbors. Optional Change the Keep Alive Time and Hold Time. Optional Change the update timer for route changes. Optional Enable fast external fallover. Optional Specify a list of individual networks in the local AS to be advertised to remote autonomous systems using BGP4. Optional Change the default local preference for routes. Optional Enable the default route (default-information-originate). Optional Enable use of a default route to resolve a BGP4 next-hop route. Optional Change the default MED (metric). Optional Enable next-hop recursion. Optional Change the default administrative distances for EBGP, IBGP, and locally originated routes. Optional Require the first AS in an Update from an EBGP neighbor to be the neighbor AS. Optional Change MED comparison parameters. Optional Disable comparison of the AS-Path length. Optional Enable comparison of the router ID. Optional Enable auto summary to summarize routes at an IP class boundary (A, B, or C). Optional Aggregate routes in the BGP4 route table into CIDR blocks. Optional Configure the router as a BGP4 router reflector. Optional Configure the Layer 3 switch as a member of a BGP4 confederation. Optional Change the default metric for routes that BGP4 redistributes into RIP or OSPF. Optional Change the parameters for RIP, OSPF, or static routes redistributed into BGP4. Optional Change the number of paths for BGP4 load sharing. Optional Change other load-sharing parameters Optional Define BGP4 address filters. Optional Define BGP4 AS-path filters. Optional Define BGP4 community filters. Optional Define IP prefix lists.
1343
BGP4 parameters
Optional Define neighbor distribute lists. Optional Define BGP4 route maps for filtering routes redistributed into RIP and OSPF. Optional Define route flap dampening parameters.
When using the CLI, you set global level parameters at the BGP CONFIG level of the CLI. You can reach the BGP CONFIG level by entering router bgp at the global CONFIG level.
NOTE
Add, change, or negate route maps (when used by the network command or a redistribution
1344
Change the Hold Time or Keep Alive Time. Aggregate routes. Add, change, or negate filter tables.
TABLE 238
Platform
FESX with 128 MB FSX with Management 1 module with 256 MB FSX with Management 2 module with 512 MB
The memory amounts listed in the table are for all BGP4 data, including routes received from neighbors, BGP route advertisements (routes sent to neighbors), and BGP route attribute entries. The routes sent to and received from neighbors use the most BGP4 memory. Generally, the actual limit to the number of neighbors, routes, or route attribute entries the device can accommodate depends on how many routes the Layer 3 switch sends to and receives from the neighbors. In some cases, where most of the neighbors do not send or receive a full BGP route table (about 80,000 routes), the memory can support a larger number of BGP4 neighbors. However, if most of the BGP4 neighbors send or receive full BGP route tables, the number of BGP neighbors the memory can support is less than in configurations where the neighbors send smaller route tables.
1345
As a guideline, Layer 3 switches with a 512 MB Management 4 module can accommodate 150 through 200 neighbors, with the assumption that the Layer 3 switch receives about one million routes total from all neighbors and sends about eight million routes total to neighbors. For each additional one million incoming routes, the capacity for outgoing routes decreases by around two million.
1346
If the router has loopback interfaces, the default router ID is the IP address configured on the
lowest numbered loopback interface configured on the Layer 3 switch. For example, if you configure loopback interfaces 1, 2, and 3 as follows, the default router ID is 9.9.9.9/24:
Loopback interface 1, 9.9.9.9/24 Loopback interface 2, 4.4.4.4/24 Loopback interface 3, 1.1.1.1/24 If the device does not have any loopback interfaces, the default router ID is the lowest
numbered IP interface address configured on the device.
NOTE
Brocade Layer 3 switches use the same router ID for both OSPF and BGP4. If the router is already configured for OSPF, you may want to use the router ID that is already in use on the router rather than set a new one. To display the router ID, enter the show ip CLI command at any CLI level. To change the router ID, enter a command such as the following.
Brocade(config)#ip router-id 209.157.22.26
Syntax: ip router-id <ip-addr> The <ip-addr> can be any valid, unique IP address.
NOTE
You can specify an IP address used for an interface on the Brocade Layer 3 switch, but do not specify an IP address in use by another device.
Syntax: [no] local-as <num> The <num> parameter specifies the local AS number.
1347
Loopback interfaces are always up, regardless of the states of physical interfaces. Loopback interfaces are especially useful for IBGP neighbors (neighbors in the same AS) that are multiple hops away from the router. When you configure a BGP4 neighbor on the router, you can specify whether the router uses the loopback interface to communicate with the neighbor. As long as a path exists between the router and its neighbor, BGP4 information can be exchanged. The BGP4 session is not associated with a specific link but instead is associated with the virtual interfaces. You can add up to 24 IP addresses to each loopback interface. If you configure the Brocade Layer 3 switch to use a loopback interface to communicate with a BGP4 neighbor, the peer IP address on the remote router pointing to your loopback address must be configured. To add a loopback interface, enter commands such as those shown in the following example.
Brocade(config-bgp-router)#exit Brocade(config)#int loopback 1 Brocade(config-lbif-1)#ip address 10.0.0.1/24
NOTE
Syntax: interface loopback <num> The <num> value can be from 1 through 8 on Chassis Layer 3 switches. The value can be from 1 through 4 on the Compact Layer 3 switch.
NOTE
The Layer 3 switch attempts to establish a BGP4 session with a neighbor as soon as you enter a command specifying the neighbor IP address. If you want to completely configure the neighbor parameters before the Layer 3 switch establishes a session with the neighbor, you can administratively shut down the neighbor. Refer to Administratively shutting down a session with a BGP4 neighbor on page 1358. To add a BGP4 neighbor with IP address 209.157.22.26, enter the following command.
Brocade(config-bgp-router)#neighbor 209.157.22.26
NOTE
The neighbor <ip-addr> must be a valid IP address. The neighbor command has some additional parameters, as shown in the following syntax: Syntax: [no] neighbor <ip-addr> | <peer-group-name> [advertisement-interval <num>]
1348
[capability orf prefixlist [send | receive]] [default-originate [route-map <map-name>]] [description <string>] [distribute-list in | out <num,num,...> | <ACL-num> in | out] [ebgp-multihop [<num>]] [filter-list in | out <num,num,...> | <ACL-num> in | out | weight] [maximum-prefix <num> [<threshold>] [teardown]] [next-hop-self] [nlri multicast | unicast | multicast unicast] [password [0 | 1] <string>] [prefix-list <string> in | out] [remote-as <as-number>] [remove-private-as] [route-map in | out <map-name>] [route-reflector-client] [send-community] [soft-reconfiguration inbound] [shutdown] [timers keep-alive <num> hold-time <num>] [unsuppress-map <map-name>] [update-source <ip-addr> | ethernet <port> | loopback <num> | ve <num>] [weight <num>] The <ip-addr> | <peer-group-name> parameter indicates whether you are configuring an individual neighbor or a peer group. If you specify a neighbor IP address, you are configuring that individual neighbor. If you specify a peer group name, you are configuring a peer group. Refer to Adding a BGP4 peer group on page 1355. advertisement-interval <num> specifies the minimum delay (in seconds) between messages to the specified neighbor. The default is 30 for EBGP neighbors (neighbors in other autonomous systems). The default is 5 for IBGP neighbors (neighbors in the same AS). The range is 0 through 600. The Layer 3 switch applies the advertisement interval only under certain conditions. The Layer 3 switch does not apply the advertisement interval when sending initial updates to a BGP4 neighbor. As a result, the Layer 3 switch sends the updates one immediately after another, without waiting for the advertisement interval. capability orf prefixlist [send | receive] configures cooperative router filtering. The send | receive parameter specifies the support you are enabling:
NOTE
send The Layer 3 switch sends the IP prefix lists as Outbound Route Filters (ORFs) to the
neighbor.
receive The Layer 3 switch accepts filters as Outbound Route Filters (ORFs) from the
neighbor. If you do not specify the capability, both capabilities are enabled. The prefixlist parameter specifies the type of filter you want to send to the neighbor. For more information, refer to Configuring cooperative BGP4 route filtering on page 1405. The current release supports cooperative filtering only for filters configured using IP prefix lists.
NOTE
1349
default-originate [route-map <map-name>] configures the Layer 3 switch to send the default route 0.0.0.0 to the neighbor. If you use the route-map <map-name> parameter, the route map injects the default route conditionally, based on the match conditions in the route map. description <string> specifies a name for the neighbor. You can enter an alphanumeric text string up to 80 characters long. distribute-list in | out <num,num,...> specifies a distribute list to be applied to updates to or from the specified neighbor. The in | out keyword specifies whether the list is applied on updates received from the neighbor or sent to the neighbor. The <num,num,...> parameter specifies the list of address-list filters. The router applies the filters in the order in which you list them and stops applying the filters in the distribute list when a match is found. Alternatively, you can specify distribute-list <ACL-num> in | out to use an IP ACL instead of a distribute list. In this case, <ACL-num> is an IP ACL. By default, if a route does not match any of the filters, the Layer 3 switch denies the route. To change the default behavior, configure the last filter as permit any any.
NOTE
NOTE
The address filter must already be configured. Refer to Specific IP address filtering on page 1388. ebgp-multihop [<num>] specifies that the neighbor is more than one hop away and that the session type with the neighbor is thus EBGP-multihop. This option is disabled by default. The <num> parameter specifies the TTL you are adding for the neighbor. You can specify a number from 0 through 255. The default is 0. If you leave the EBGP TTL value set to 0, the software uses the IP TTL value. filter-list in | out <num,num,...> specifies an AS-path filter list or a list of AS-path ACLs. The in | out keyword specifies whether the list is applied on updates received from the neighbor or sent to the neighbor. If you specify in or out, The <num,num,...> parameter specifies the list of AS-path filters. The router applies the filters in the order in which you list them and stops applying the filters in the AS-path filter list when a match is found. The weight <num> parameter specifies a weight that the Layer 3 switch applies to routes received from the neighbor that match the AS-path filter or ACL. You can specify a number from 0 through 65535. Alternatively, you can specify filter-list <ACL-num> in | out | weight to use an AS-path ACL instead of an AS-path filter list. In this case, <ACL-num> is an AS-path ACL. By default, if an AS-path does not match any of the filters or ACLs, the Layer 3 switch denies the route. To change the default behavior, configure the last filter or ACL as permit any any.
NOTE
The AS-path filter or ACL must already be configured. Refer to AS-path filtering on page 1389. maximum-prefix <num> specifies the maximum number of IP network prefixes (routes) that can be learned from the specified neighbor or peer group. You can specify a value from 0 through 4294967295. The default is 0 (unlimited):
NOTE
The <num> parameter specifies the maximum number. You can specify a value from 0 through
4294967295. The default is 0 (unlimited).
1350
The <threshold> parameter specifies the percentage of the value you specified for the
maximum-prefix <num>, at which you want the software to generate a Syslog message. You can specify a value from 1 (one percent) to 100 (100 percent). The default is 100.
The teardown parameter tears down the neighbor session if the maximum-prefix limit is
exceeded. The session remains shutdown until you clear the prefixes using the clear ip bgp neighbor all or clear ip bgp neighbor <ip-addr> command, or change the neighbor maximum-prefix configuration. The software also generates a Syslog message. next-hop-self specifies that the router should list itself as the next hop in updates sent to the specified neighbor. This option is disabled by default. The nlri multicast | unicast | multicast unicast parameter specifies whether the neighbor is a multicast neighbor or a unicast neighbor. Optionally, you also can specify unicast if you want the Layer 3 switch to exchange unicast (BGP4) routes as well as multicast routes with the neighbor. The default is unicast only. password [0 | 1] <string> specifies an MD5 password for securing sessions between the Layer 3 switch and the neighbor. You can enter a string up to 80 characters long. The string can contain any alphanumeric characters, but the first character cannot be a number. If the password contains a number, do not enter a space following the number. The 0 | 1 parameter is the encryption option, which you can omit (the default) or which can be one of the following:
0 Disables encryption for the authentication string you specify with the command. The
password or string is shown as clear text in the output of commands that display neighbor or peer group configuration information.
1 Assumes that the authentication string you enter is the encrypted form, and decrypts the
value before using it. For more information, refer to Encryption of BGP4 MD5 authentication keys on page 1353.
NOTE
If you want the software to assume that the value you enter is the clear-text form, and to encrypt display of that form, do not enter 0 or 1. Instead, omit the encryption option and allow the software to use the default behavior. If you specify encryption option 1, the software assumes that you are entering the encrypted form of the password or authentication string. In this case, the software decrypts the password or string you enter before using the value for authentication. If you accidentally enter option 1 followed by the clear-text version of the password or string, authentication will fail because the value used by the software will not match the value you intended to use. prefix-list <string> in | out specifies an IP prefix list. You can use IP prefix lists to control routes to and from the neighbor. IP prefix lists are an alternative method to AS-path filters. The in | out keyword specifies whether the list is applied on updates received from the neighbor or sent to the neighbor. You can configure up to 1000 prefix list filters. The filters can use the same prefix list or different prefix lists. To configure an IP prefix list, refer to Defining IP prefix lists on page 1395. remote-as <as-number> specifies the AS the remote neighbor is in. The <as-number> can be a number from 1 through 65535. There is no default. remove-private-as configures the router to remove private AS numbers from UPDATE messages the router sends to this neighbor. The router will remove AS numbers 64512 through 65535 (the well-known BGP4 private AS numbers) from the AS-path attribute in UPDATE messages the Layer 3 switch sends to the neighbor. This option is disabled by default.
1351
route-map in | out <map-name> specifies a route map the Layer 3 switch will apply to updates sent to or received from the specified neighbor. The in | out keyword specifies whether the list is applied on updates received from the neighbor or sent to the neighbor. The route map must already be configured. Refer to Defining route maps on page 1397. route-reflector-client specifies that this neighbor is a route-reflector client of the router. Use the parameter only if this router is going to be a route reflector. For information, refer to Route reflection parameter configuration on page 1372. This option is disabled by default. send-community enables sending the community attribute in updates to the specified neighbor. By default, the router does not send the community attribute. shutdown administratively shuts down the session with this neighbor. Shutting down the session allows you to completely configure the neighbor and save the configuration without actually establishing a session with the neighbor. This option is disabled by default. soft-reconfiguration inbound enables the soft reconfiguration feature, which stores all the route updates received from the neighbor. If you request a soft reset of inbound routes, the software performs the reset by comparing the policies against the stored route updates, instead of requesting the neighbor BGP4 route table or resetting the session with the neighbor. Refer to Using soft reconfiguration on page 1446. timers keep-alive <num> hold-time <num> overrides the global settings for the Keep Alive Time and Hold Time. For the Keep Alive Time, you can specify from 0 through 65535 seconds. For the Hold Time, you can specify 0 or 3 through 65535 (1 and 2 are not allowed). If you set the Hold Time to 0, the router waits indefinitely for messages from a neighbor without concluding that the neighbor is dead. The defaults for these parameters are the currently configured global Keep Alive Time and Hold Time. For more information about these parameters, refer to Changing the Keep Alive Time and Hold Time on page 1359. unsuppress-map <map-name> removes route dampening from a neighbor routes when those routes have been dampened due to aggregation. Refer to Removing route dampening from a neighbor routes suppressed due to aggregation on page 1412. update-source <ip-addr> | ethernet <port> | loopback <num> | ve <num> configures the router to communicate with the neighbor through the specified interface. There is no default. weight <num> specifies a weight the Layer 3 switch will add to routes received from the specified neighbor. BGP4 prefers larger weights over smaller weights. The default weight is 0.
NOTE
1352
show running-config (or write terminal) show configuration show ip bgp config
When encryption of the authentication string is enabled, the string is encrypted in the CLI regardless of the access level you are using. If you display the running-config after reloading, the BGP4 commands that specify an authentication string show the string in encrypted form. In addition, when you save the configuration to the startup-config file, the file contains the new BGP4 command syntax and encrypted passwords or strings.
NOTE
Brocade recommends that you save a copy of the startup-config file for each switch you plan to upgrade. Encryption example The following commands configure a BGP4 neighbor and a peer group, and specify MD5 authentication strings (passwords) for authenticating packets exchanged with the neighbor or peer group.
Brocade(config-bgp-router)#local-as Brocade(config-bgp-router)#neighbor Brocade(config-bgp-router)#neighbor Brocade(config-bgp-router)#neighbor Brocade(config-bgp-router)#neighbor 2 xyz peer-group xyz password abc 10.10.200.102 peer-group xyz 10.10.200.102 password test
Here is how the commands appear when you display the BGP4 configuration commands.
Brocade#show ip bgp config Current BGP configuration: router bgp local-as 2 neighbor xyz peer-group neighbor xyz password 1 $!2d neighbor 10.10.200.102 peer-group xyz neighbor 10.10.200.102 remote-as 1 neighbor 10.10.200.102 password 1 $on-o
Notice that the software has converted the commands that specify an authentication string into the new syntax (described below), and has encrypted display of the authentication strings.
1353
Command syntax Since the default behavior does not affect the BGP4 configuration itself but does encrypt display of the authentication string, the CLI does not list the encryption options. Syntax: [no] neighbor <ip-addr> | <peer-group-name> password [0 | 1] <string> The <ip-addr> | <peer-group-name> parameter indicates whether you are configuring an individual neighbor or a peer group. If you specify a neighbor IP address, you are configuring that individual neighbor. If you specify a peer group name, you are configuring a peer group. The password <string> parameter specifies an MD5 authentication string for securing sessions between the Layer 3 switch and the neighbor. You can enter a string up to 80 characters long. The string can contain any alphanumeric characters, but the first character cannot be a number. If the password contains a number, do not enter a space following the number. The 0 | 1 parameter is the encryption option, which you can omit (the default) or which can be one of the following:
0 Disables encryption for the authentication string you specify with the command. The
password or string is shown as clear text in the output of commands that display neighbor or peer group configuration information.
1 Assumes that the authentication string you enter is the encrypted form, and decrypts the
value before using it. If you want the software to assume that the value you enter is the clear-text form, and to encrypt display of that form, do not enter 0 or 1. Instead, omit the encryption option and allow the software to use the default behavior. If you specify encryption option 1, the software assumes that you are entering the encrypted form of the password or authentication string. In this case, the software decrypts the password or string you enter before using the value for authentication. If you accidentally enter option 1 followed by the clear-text version of the password or string, authentication will fail because the value used by the software will not match the value you intended to use. Displaying the Authentication String If you want to display the authentication string, enter the following commands.
Brocade(config)#enable password-display Brocade#show ip bgp neighbors
NOTE
The enable password-display command enables display of the authentication string, but only in the output of the show ip bgp neighbors command. Display of the string is still encrypted in the startup-config file and running-config. Enter the command at the global CONFIG level of the CLI. The command also displays SNMP community strings in clear text, in the output of the show snmp server command.
NOTE
1354
Simplified neighbor configuration You can configure a set of neighbor parameters and then
apply them to multiple neighbors. You do not need to individually configure the common parameters individually on each neighbor.
Flash memory conservation Using peer groups instead of individually configuring all the
parameters for each neighbor requires fewer configuration commands in the startup-config file. You can perform the following tasks on a peer-group basis:
Reset neighbor sessions Perform soft-outbound resets (the Layer 3 switch updates outgoing route information to
neighbors but does not entirely reset the sessions with those neighbors)
You must configure a peer group before you can add neighbors to the peer group. If you remove a parameter from a peer group, the value for that parameter is reset to the
default for all the neighbors within the peer group, unless you have explicitly set that parameter on individual neighbors. In this case, the value you set on the individual neighbors applies to those neighbors, while the default value applies to neighbors for which you have not explicitly set the value.
NOTE
If you enter a command to remove the remote AS parameter from a peer group, the software checks to ensure that the peer group does not contain any neighbors. If the peer group does contain neighbors, the software does not allow you to remove the remote AS. The software prevents removing the remote AS in this case so that the neighbors in the peer group that are using the remote AS do not lose connectivity to the Layer 3 switch.
Once you add a neighbor to a peer group, you cannot configure the following outbound
parameters (the parameters governing outbound traffic) for the neighbor:
1355
Outbound distribute list Outbound prefix list Remote AS, if configured for the peer group Remove private AS Route reflector client Send community Timers Update source
If you want to change an outbound parameter for an individual neighbor, you must first remove the neighbor from the peer group. In this case, you cannot re-add the neighbor to the same peer group, but you can add the neighbor to a different peer group. All the neighbors within a peer group must have the same values for the outbound parameters. To change an outbound parameter to the same value for all neighbors within a peer group, you can change the parameter on a peer-group basis. In this case, you do not need to remove the neighbors and change the parameter individually for each neighbor.
If you add an outbound parameter to a peer group, that parameter is automatically applied to
all neighbors within the peer group.
When you add a neighbor to a peer group, the software removes any outbound parameters for
that neighbor from the running configuration (running-config). As a result, when you save the configuration to the startup-config file, the file does not contain any outbound parameters for the individual neighbors you have placed in a peer group. The only outbound parameters the startup-config file contains for neighbors within a peer group are the parameters associated with the peer group itself. However, the running-config and the startup-config file can contain individual parameters listed in the previous section as well as the settings for those parameters within a peer group. You can override neighbor parameters that do not affect outbound policy on an individual neighbor basis.
If you do not specify a parameter for an individual neighbor, the neighbor uses the value in the
peer group.
If you set the parameter for the individual neighbor, that value overrides the value you set in
the peer group.
If you add a parameter to a peer group that already contains neighbors, the parameter value is
applied to neighbors that do not already have the parameter explicitly set. If a neighbor has the parameter explicitly set, the explicitly set value overrides the value you set for the peer group.
If you remove the setting for a parameter from a peer group, the value for that parameter
changes to the default value for all the neighbors in the peer group that do not have that parameter individually set.
1356
The commands in this example configure a peer group called PeerGroup1 and set the following parameters for the peer group:
A description, EastCoast Neighbors A remote AS number, 100 A distribute list for outbound traffic
The software applies these parameters to each neighbor you add to the peer group. You can override the description parameter for individual neighbors. If you set the description parameter for an individual neighbor, the description overrides the description configured for the peer group. However, you cannot override the remote AS and distribute list parameters for individual neighbors. Since these parameters control outbound traffic, the parameters must have the same values for all neighbors within the peer group. Syntax: neighbor <peer-group-name> peer-group The <peer-group-name> parameter specifies the name of the group and can be up to 80 characters long. The name can contain special characters and internal blanks. If you use internal blanks, you must use quotation marks around the name. For example, the command neighbor My Three Peers peer-group is valid, but the command neighbor My Three Peers peer-group is not valid. Syntax: [no] neighbor <ip-addr> | <peer-group-name> [advertisement-interval <num>] [default-originate [route-map <map-name>]] [description <string>] [distribute-list in | out <num,num,...> | <ACL-num> in | out] [ebgp-multihop [<num>]] [filter-list in | out <num,num,...> | <ACL-num> in | out | weight] [maximum-prefix <num> [<threshold>] [teardown]] [next-hop-self] [password [0 | 1] <string>] [prefix-list <string> in | out] [remote-as <as-number>] [remove-private-as] [route-map in | out <map-name>] [route-reflector-client] [send-community] [soft-reconfiguration inbound] [shutdown] [timers keep-alive <num> hold-time <num>] [update-source loopback <num>] [weight <num>] The <ip-addr> | <peer-group-name> parameter indicates whether you are configuring a peer group or an individual neighbor. You can specify a peer group name or IP address with the neighbor command. If you specify a peer group name, you are configuring a peer group. If you specify a neighbor IP address, you are configuring that individual neighbor. Use the <ip-addr> parameter if you are configuring an individual neighbor instead of a peer group. Refer to Adding BGP4 neighbors on page 1348. The remaining parameters are the same ones supported for individual neighbors. Refer to Adding BGP4 neighbors on page 1348.
1357
The commands in this example add three neighbors to the peer group PeerGroup1. As members of the peer group, the neighbors automatically receive the neighbor parameter values configured for the peer group. You also can override the parameters (except parameters that govern outbound traffic) on an individual neighbor basis. For neighbor parameters not specified for the peer group, the neighbors use the default values. Syntax: neighbor <ip-addr> peer-group <peer-group-name> The <ip-addr> parameter specifies the IP address of the neighbor. The <peer-group-name> parameter specifies the peer group name. You must add the peer group before you can add neighbors to it.
NOTE
NOTE
The software also contains an option to end the session with a BGP4 neighbor and thus clear the routes learned from the neighbor. Unlike this clear option, the option for shutting down the neighbor can be saved in the startup-config file and thus can prevent the Layer 3 switch from establishing a BGP4 session with the neighbor even after reloading the software.
If you notice that a particular BGP4 neighbor never establishes a session with the Brocade Layer 3 switch, check the Layer 3 switch running-config and startup-config files to see whether the configuration contains a command that is shutting down the neighbor. The neighbor may have been shut down previously by an administrator.
NOTE
1358
Syntax: [no] neighbor <ip-addr> shutdown The <ip-addr> parameter specifies the IP address of the neighbor.
NOTE
Generally, you should set the Hold Time to three times the value of the Keep Alive Time.
You can override the global Keep Alive Time and Hold Time on individual neighbors. Refer to Adding BGP4 neighbors on page 1348. To change the Keep Alive Time to 30 and Hold Time to 90, enter the following command.
Brocade(config-bgp-router)#timers keep-alive 30 hold-time 90
NOTE
Syntax: timers keep-alive <num> hold-time <num> For each keyword, <num> indicates the number of seconds. The Keep Alive Time can be 0 through 65535. The Hold Time can be 0 or 3 through 65535 (1 and 2 are not allowed). If you set the Hold Time to 0, the router waits indefinitely for messages from a neighbor without concluding that the neighbor is dead.
1359
This command changes the update timer to 15 seconds. Syntax: [no] update-time <secs> The <secs> parameter specifies the number of seconds and can be from 1 through 30. The default is 5.
NOTE
Enable IP load sharing if it is disabled. Set the maximum number of paths. The default maximum number of BGP4 load sharing paths
is 1, which means no BGP4 load sharing takes place by default.
NOTE
The maximum number of BGP4 load sharing paths cannot be greater than the maximum number of IP load sharing paths.
1360
When IP load sharing is disabled, the Layer 3 switch prefers the path to the router with the
lower router ID.
When IP load sharing and BGP4 load sharing are enabled, the Layer 3 switch balances the
traffic across the multiple paths instead of choosing just one path based on router ID. Refer to How BGP4 selects a path for a route on page 1338 for a description of the BGP4 algorithm. When you enable IP load sharing, the Layer 3 switch can load balance BGP4 or OSPF routes across up to four equal paths by default. You can change the number of IP load sharing paths to a value from 2 through 6.
NOTE
NOTE
1361
To change the maximum number of shared paths, enter commands such as the following.
Brocade(config)#router bgp Brocade(config-bgp-router)#maximum-paths 4 Brocade(config-bgp-router)#write memory
Syntax: [no] maximum-paths <num> The <num> parameter specifies the maximum number of paths across which the Layer 3 switch can balance traffic to a given BGP4 destination. You can change the maximum number of paths to a value from 2 through 4. The default is 1.
To enable load sharing of EBGP paths only, enter the following command at the BGP configuration level of the CLI.
Brocade(config-bgp-router)#multipath ebgp
To enable load sharing of paths from different neighboring autonomous systems, enter the following command at the BGP configuration level of the CLI.
Brocade(config-bgp-router)#multipath multi-as
Syntax: [no] multipath ebgp | ibgp | multi-as The ebgp | ibgp | multi-as parameter specifies the change you are making to load sharing:
ebgp Load sharing applies only to EBGP paths. Load sharing is disabled for IBGP paths. ibgp Load sharing applies only to IBGP paths. Load sharing is disabled for EBGP paths. multi-as Load sharing is enabled for paths from different autonomous systems.
By default, load sharing applies to EBGP and IBGP paths, and does not apply to paths from different neighboring autonomous systems.
NOTE
The exact route must exist in the IP route table before the Layer 3 switch can create a local BGP route.
1362
To configure the Layer 3 switch to advertise network 209.157.22.0/24, enter the following command.
Brocade(config-bgp-router)#network 209.157.22.0 255.255.255.0
Syntax: network <ip-addr> <ip-mask> [nlri multicast | unicast | multicast unicast] [route-map <map-name>] | [weight <num>] | [backdoor] The <ip-addr> is the network number and the <ip-mask> specifies the network mask. The nlri multicast | unicast | multicast unicast parameter specifies whether the neighbor is a multicast neighbor or a unicast neighbor. Optionally, you also can specify unicast if you want the Layer 3 switch to exchange unicast (BGP4) routes as well as multicast routes with the neighbor. The default is unicast only. The route-map <map-name> parameter specifies the name of the route map you want to use to set or change BGP4 attributes for the network you are advertising. The route map must already be configured. The weight <num> parameter specifies a weight to be added to routes to this network. The backdoor parameter changes the administrative distance of the route to this network from the EBGP administrative distance (20 by default) to the Local BGP weight (200 by default), thus tagging the route as a backdoor route. Use this parameter when you want the router to prefer IGP routes such as RIP or OSPF routes over the EBGP route for the network.
NOTE
The first two commands in this example create a route map named set_net that sets the community attribute for routes that use the route map to NO_EXPORT. The next two commands change the CLI to the BGP4 configuration level. The last command configures a network for advertising from BGP4, and associates the set_net route map with the network. When BGP4 originates the 100.100.1.0/24 network, BGP4 also sets the community attribute for the network to NO_EXPORT. Syntax: network <ip-addr> <ip-mask> [route-map <map-name>] | [weight <num>] | [backdoor]
1363
The route-map <map-name> parameter specifies the name of the route map you want to use to set or change BGP4 attributes for the network you are advertising. The route map must already be configured. For information about the other parameters, refer to Defining route maps on page 1397.
NOTE
Syntax: default-local-preference <num> The <num> parameter indicates the preference and can be a value from 0 through 4294967295.
Using the IP default route as a valid next hop for a BGP4 route
By default, the Layer 3 switch does not use a default route to resolve a BGP4 next-hop route. If the IP route lookup for the BGP4 next hop does not result in a valid IGP route (including static or direct routes), the BGP4 next hop is considered to be unreachable and the BGP4 route is not used. In some cases, such as when the Layer 3 switch is acting as an edge router, you might want to allow the device to use the default route as a valid next hop. To do so, enter the following command at the BGP4 configuration level of the CLI.
Brocade(config-bgp-router)#next-hop-enable-default
1364
NOTE
The Brocade Layer 3 switch checks for the existence of an IGP route for 0.0.0.0/0 in the IP route table before creating a local BGP route for 0.0.0.0/0. To enable the router to originate and advertise a default BGP4 route, enter the following command.
Brocade(config-bgp-router)#default-information-originate
NOTE
Syntax: default-metric <num> The <num> indicates the metric and can be a value from 0 through 4294967295.
The lookup succeeds in obtaining a valid next-hop IP address for the route. The path to the next-hop IP address is an Interior Gateway Protocol (IGP) path or a static route
path. By default, the software performs only one lookup for a BGP route next-hop IP address. If the next-hop lookup does not result in a valid next-hop IP address or the path to the next-hop IP address is a BGP path, the software considers the BGP route destination to be unreachable. The route is not eligible to be installed in the IP route table.
1365
It is possible for the BGP route table to contain a route whose next-hop IP address is not reachable through an IGP route, even though a hop farther away can be reached by the Layer 3 switch through an IGP route. This can occur when the IGPs do not learn a complete set of IGP routes, resulting in the Layer 3 switch learning about an internal route through IBGP instead of through an IGP. In this case, the IP route table does not contain a route that can be used to reach the BGP route destination. To enable the Layer 3 switch to find the IGP route to a BGP route next-hop gateway, enable recursive next-hop lookups. When you enable recursive next-hop lookup, if the first lookup for a BGP route results in an IBGP path originated within the same Autonomous System (AS), rather than an IGP path or static route path, the Layer 3 switch performs a lookup on the next-hop gateway next-hop IP address. If this second lookup results in an IGP path, the software considers the BGP route to be valid and thus eligible for installation in the IP route table. Otherwise, the Layer 3 switch performs a lookup on the next-hop IP address of the next-hop gateway next hop, and so on, until one of the lookups results in an IGP route. The software does not support using the default route to resolve a BGP4 route's next hop. Instead, you must configure a static route or use an IGP to learn the route to the EBGP multihop peer. Previous software releases support use of the default route to resolve routes learned from EBGP multihop neighbors. However, even in this case Brocade recommends that you use a static route for the EBGP multihop neighbor instead. In general, we recommend that you do not use the default route as the next hop for BGP4 routes, especially when there are two or more BGP4 neighbors. Using the default route can cause loops.
NOTE
Status BI BI BI I I
In this example, the Layer 3 switch cannot reach 240.0.0.0/24, because the next-hop IP address for the route is an IBGP route instead of an IGP route, and thus is considered unreachable by the Layer 3 switch. Here is the IP route table entry for the BGP route next-hop gateway (102.0.0.1/24).
1366
Brocade#show ip route 102.0.0.1 Total number of IP routes: 37 Network Address NetMask 102.0.0.0 255.255.255.0
Gateway 10.0.0.1
Port 1/1
Cost 1
Type B
The route to the next-hop gateway is a BGP route, not an IGP route, and thus cannot be used to reach 240.0.0.0/24. In this case, the Layer 3 switch tries to use the default route, if present, to reach the subnet that contains the BGP route next-hop gateway.
Brocade#show ip route 240.0.0.0/24 Total number of IP routes: 37 Network Address NetMask 0.0.0.0 0.0.0.0
Gateway 10.0.0.202
Port 1/1
Cost 1
Type S
Gateway 10.0.0.1
Port 1/1
Cost 1
Type B
Since the route to 102.0.0.1/24 is not an IGP route, the Layer 3 switch cannot reach the next hop through IP, and thus cannot use the BGP route. In this case, since recursive next-hop lookups are enabled, the Layer 3 switch next performs a lookup for 102.0.0.1 next-hop gateway, 10.0.0.1.
1367
Brocade#show ip bgp route 102.0.0.0 Number of BGP Routes matching display condition : 1 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED Prefix Next Hop Metric LocPrf Weight Status 1 102.0.0.0/24 10.0.0.1 1 100 0 BI AS_PATH: 65001 4355 1
The next-hop IP address for 102.0.0.1 is not an IGP route, which means the BGP route destination still cannot be reached through IP. The recursive next-hop lookup feature performs a lookup on 10.0.0.1 next-hop gateway.
Brocade#show ip route 10.0.0.1 Total number of IP routes: 38 Network Address NetMask 10.0.0.0 255.255.255.0 AS_PATH: 65001 4355 1
Gateway 0.0.0.0
Port 1/1
Cost 1
Type D
This lookup results in an IGP route. In fact, this route is a directly-connected route. As a result, the BGP route destination is now reachable through IGP, which means the BGP route is eligible for installation in the IP route table. Here is the BGP route in the IP route table.
Brocade#show ip route 240.0.0.0/24 Total number of IP routes: 38 Network Address NetMask 240.0.0.0 255.255.255.0 AS_PATH: 65001 4355 1
Gateway 10.0.0.1
Port 1/1
Cost 1
Type B
This Layer 3 switch can use this route because the Layer 3 switch has an IP route to the next-hop gateway. Without recursive next-hop lookups, this route would not be in the IP route table.
1368
When selecting a route from among different sources (BGP4, OSPF, RIP, static routes, and so on), the software compares the routes on the basis of each route administrative distance. If the administrative distance of the paths is lower than the administrative distance of paths from other sources (such as static IP routes, RIP, or OSPF), the BGP4 paths are installed in the IP route table. The software will replace a statically configured default route with a learned default route if the learned route administrative distance is lower than the statically configured default route distance. However, the default administrative distance for static routes is changed to 1, so only directly-connected routes are preferred over static routes when the default administrative distances for the routes are used. The following default administrative distances are found on the Brocade Layer 3 switch:
NOTE
Directly connected 0 (this value is not configurable) Static 1 (applies to all static routes, including default routes) EBGP 20 OSPF 110 RIP 120 IBGP 200 Local BGP 200 Unknown 255 (the router will not use this route)
Lower administrative distances are preferred over higher distances. For example, if the router receives routes for the same network from OSPF and from RIP, the router will prefer the OSPF route by default. The administrative distances are configured in different places in the software. The Layer 3 switch re-advertises a learned best BGP4 route to neighbors by default, regardless of whether the route administrative distance is lower than other routes from different route sources to the same destination.
To change the EBGP, IBGP, and Local BGP default administrative distances, see the
instructions in this section.
To change the default administrative distance for OSPF, refer to Administrative distance on
page 1259.
To change the default administrative distance for RIP, refer to Changing the administrative
distance on page 1198.
To change the default administrative distance for static routes, refer to Static routes
configuration on page 985. You can change the default EBGP, IBGP, and Local BGP administrative distances using either of the following methods. To change the default administrative distances for EBGP, IBGP, and Local BGP, enter a command such as the following.
Brocade(config-bgp-router)#distance 180 160 40
Syntax: distance <external-distance> <internal-distance> <local-distance> The <external-distance> sets the EBGP distance and can be a value from 1 through 255. The <internal-distance> sets the IBGP distance and can be a value from 1 through 255. The <local-distance> sets the Local BGP distance and can be a value from 1 through 255.
1369
This command disables comparison of the AS-Path lengths of otherwise equal paths. When you disable AS-Path length comparison, the BGP4 algorithm shown in How BGP4 selects a path for a route on page 1338 skips from Step 4 to Step 6. Syntax: [no] as-path-ignore
NOTE
If BGP4 load sharing is disabled (maximum-paths 1), the Layer 3 switch selects the path that
came from the neighbor with the lower router ID.
If BGP4 load sharing is enabled, the Layer 3 switch load shares among the remaining paths. In
this case, the router ID is not used to select a path. Router ID comparison is disabled by default. In previous releases, router ID comparison is enabled by default and cannot be disabled. To enable router ID comparison, enter the compare-routerid command at the BGP configuration level of the CLI.
NOTE
1370
Brocade(config-bgp-router)#compare-routerid
Syntax: [no] compare-routerid For more information, refer to How BGP4 selects a path for a route on page 1338.
BGP4 compares the MEDs of two otherwise equivalent paths if and only if the routes were
learned from the same neighboring AS. This behavior is called deterministic MED. Deterministic MED is always enabled and cannot be disabled. In addition, you can enable the Layer 3 switch to always compare the MEDs, regardless of the AS information in the paths. To enable this comparison, enter the always-compare-med command at the BGP4 configuration level of the CLI. This option is disabled by default.
The Layer 3 switch compares the MEDs based on one or more of the following conditions. By
default, the Layer 3 switch compares the MEDs of paths only if the first AS in the paths is the same. (The Layer 3 switch skips over the AS-CONFED-SEQUENCE if present.) You can enable the Layer 3 switch to always compare the MEDs, regardless of the AS information in the paths. For example, if the router receives UPDATES for the same route from neighbors in three autonomous systems, the router would compare the MEDs of all the paths together, rather than comparing the MEDs for the paths in each AS individually. By default, value 0 (most favorable) is used in MED comparison when the MED attribute is not present. The default MED comparison results in the Layer 3 switch favoring the route paths that are missing their MEDs. You can use the med-missing-as-worst command to make the Layer 3 switch regard a BGP route with a missing MED attribute as the least favorable route, when comparing the MEDs of the routes.
NOTE
NOTE
MED comparison is not performed for internal routes originated within the local AS or confederation. To configure the router to always compare MEDs, enter the following command.
Brocade(config-bgp-router)#always-compare-med
1371
Brocade(config-bgp-router)#med-missing-as-worst
NOTE
This command affects route selection only when route paths are selected based on MED comparison. It is still possible for a route path that is missing its MED to be selected based on other criteria. For example, a route path with no MED can be selected if its weight is larger than the weights of the other route paths.
A cluster is a group of IGP routers organized into route reflectors and route reflector clients. You
configure the cluster by assigning a cluster ID on the route reflector and identifying the IGP neighbors that are members of that cluster. All the configuration for route reflection takes place on the route reflectors. The clients are unaware that they are members of a route reflection cluster. All members of the cluster must be in the same AS. The cluster ID can be any number from 0 through 4294967295. The default is the router ID, expressed as a 32-bit number.
NOTE
If the cluster contains more than one route reflector, you need to configure the same cluster ID on all the route reflectors in the cluster. The cluster ID helps route reflectors avoid loops within the cluster.
A route reflector is an IGP router configured to send BGP route information to all the clients
(other BGP4 routers) within the cluster. Route reflection is enabled on all Brocade BGP4 routers by default but does not take effect unless you add route reflector clients to the router.
A route reflector client is an IGP router identified as a member of a cluster. You identify a router
as a route reflector client on the router that is the route reflector, not on the client. The client itself requires no additional configuration. In fact, the client does not know that it is a route reflector client. The client just knows that it receives updates from its neighbors and does not know whether one or more of those neighbors are route reflectors.
NOTE
Route reflection applies only among IBGP routers within the same AS. You cannot configure a cluster that spans multiple autonomous systems. Figure 167 shows an example of a route reflector configuration. In this example, two Layer 3 switches are configured as route reflectors for the same cluster. The route reflectors provide redundancy in case one of the reflectors becomes unavailable. Without redundancy, if a route reflector becomes unavailable, its clients are cut off from BGP4 updates.
1372
AS1 contains a cluster with two route reflectors and two clients. The route reflectors are fully meshed with other BGP4 routers, but the clients are not fully meshed. They rely on the route reflectors to propagate BGP4 route updates.
AS 1
AS 2
Cluster 1
Route Reflector 1
Route Reflector 2
EBGP
Switch
IBGP
IBGP
Switch
Switch
IBGP
NOTE
ORIGINATOR_ID Specifies the router ID of the BGP4 switch that originated the route. The
route reflector inserts this attribute when reflecting a route to an IBGP neighbor. If a BGP4 switch receives an advertisement that contains its own router ID as the ORIGINATOR_ID, the switch discards the advertisement and does not forward it.
CLUSTER_LIST A list of the route reflection clusters through which the advertisement has
passed. A cluster contains a route reflector and its clients. When a route reflector reflects a route, the route reflector adds its cluster ID to the front of the CLUSTER_LIST. If a route reflector receives a route that has its own cluster ID, the switch discards the advertisement and does not forward it. The Brocade device handles the attributes as follows:
1373
The Layer 3 switch adds the attributes only if it is a route reflector, and only when advertising
IBGP route information to other IBGP neighbors. The attributes are not used when communicating with EBGP neighbors.
A Layer 3 switch configured as a route reflector sets the ORIGINATOR_ID attribute to the router
ID of the router that originated the route. Moreover, the route reflector sets the attribute only if this is the first time the route is being reflected (sent by a route reflector). In previous software releases, the route reflector set the attribute to the router ID of the route reflector itself. When a Layer 3 switch receives a route that already has the ORIGINATOR_ID attribute set, the Layer 3 switch does not change the value of the attribute.
If a Layer 3 switch receives a route whose ORIGINATOR_ID attribute has the value of the Layer
3 switch own router ID, the Layer 3 switch discards the route and does not advertise it. By discarding the route, the Layer 3 switch prevents a routing loop. The Layer 3 switch did not discard the route in previous software releases.
The first time a route is reflected by a Layer 3 switch configured as a route reflector, the route
reflector adds the CLUSTER_LIST attribute to the route. Other route reflectors who receive the route from an IBGP neighbor add their cluster IDs to the front of the route CLUSTER_LIST. If the route reflector does not have a cluster ID configured, the Layer 3 switch adds its router ID to the front of the CLUSTER_LIST.
NOTE
Syntax: [no] cluster-id <num> | <ip-addr> The <num> | <ip-addr> parameter specifies the cluster ID and can be a number from 0 through 4294967295 or an IP address. The default is the router ID. You can configure one cluster ID on the router. All route-reflector clients for the router are members of the cluster. If the cluster contains more than one route reflector, you need to configure the same cluster ID on all the route reflectors in the cluster. The cluster ID helps route reflectors avoid loops within the cluster. To add an IBGP neighbor to the cluster, enter the following command. Syntax: neighbor <ip-addr> route-reflector-client
NOTE
1374
For more information about the neighbor command, refer to Adding BGP4 neighbors on page 1348. By default, the clients of a route reflector are not required to be fully meshed; the routes from a client are reflected to other clients. However, if the clients are fully meshed, route reflection is not required between clients. If you need to disable route reflection between clients, enter the following command. When the feature is disabled, route reflection does not occur between clients but reflection does still occur between clients and non-clients.
Brocade(config-bgp-router)#no client-to-client-reflection
NOTE
NOTE
You can use any valid AS numbers for the sub-autonomous systems. If your AS is connected to the Internet, Brocade recommends that you use numbers from within the private AS range (64512 through 65535). These are private autonomous systems numbers and BGP4 routers do not propagate these AS numbers to the Internet.
1375
Confederation 10
AS 20
Sub-AS 64512
IBGP
Switch A
Switch B
EBGP EBGP
BGP4 Switch
This BGP4 switch sees all traffic from Confederation 10 as traffic from AS 10.
Sub-AS 64513 Switches outside the confederation do not know or care that the switches are subdivided into sub-ASs within a confederation.
IBGP
Switch C
Switch D
In this example, four switches are configured into two sub-autonomous systems, each containing two of the switches. The sub-autonomous systems are members of confederation 10. Switches within a sub-AS must be fully meshed and communicate using IBGP. In this example, Switches A and B use IBGP to communicate. Switches C and D also use IBGP. However, the sub-autonomous systems communicate with one another using EBGP. For example, Switch A communicates with Switch C using EBGP. The switches in the confederation communicate with other autonomous systems using EBGP. Switches in other autonomous systems are unaware that Switches A through D are configured in a confederation. In fact, when switches in confederation 10 send traffic to switches in other autonomous systems, the confederation ID is the same as the AS number for the switches in the confederation. Thus, switches in other autonomous systems see traffic from AS 10 and are unaware that the switches in AS 10 are subdivided into sub-autonomous systems within a confederation.
Configure the local AS number. The local AS number indicates membership in a sub-AS. All
BGP switches with the same local AS number are members of the same sub-AS. BGP switches use the local AS number when communicating with other BGP switches within the confederation.
1376
Configure the confederation ID. The confederation ID is the AS number by which BGP switches
outside the confederation know the confederation. Thus, a BGP switch outside the confederation is not aware and does not care that your BGP switches are in multiple sub-autonomous systems. BGP switches use the confederation ID when communicating with switches outside the confederation. The confederation ID must be different from the sub-AS numbers.
Configure the list of the sub-AS numbers that are members of the confederation. All the
switches within the same sub-AS use IBGP to exchange switch information. Switches in different sub-autonomous systems within the confederation use EBGP to exchange switch information. To configure four Layer 3 switches to be a member of confederation 10 (as shown in Figure 168), consisting of two sub-autonomous systems (64512 and 64513), enter commands such as the following. Commands for router A
BrocadeA(config)#router bgp BrocadeA(config-bgp-router)#local-as 64512 BrocadeA(config-bgp-router)#confederation identifier 10 BrocadeA(config-bgp-router)#confederation peers 64512 64513 BrocadeA(config-bgp-router)#write memory
Syntax: local-as <num> The <num> parameter with the local-as command indicates the AS number for the BGP switches within the sub-AS. You can specify a number from 1 through 65535. Brocade recommends that you use a number within the range of well-known private autonomous systems, 64512 through 65535. Syntax: confederation identifier <num> The <num> parameter with the confederation identifier command indicates the confederation number. The confederation ID is the AS number by which BGP switches outside the confederation know the confederation. Thus, a BGP switch outside the confederation is not aware and does not care that your BGP switches are in multiple sub-autonomous systems. BGP switches use the confederation ID when communicating with switches outside the confederation. The confederation ID must be different from the sub-AS numbers. You can specify a number from 1 through 65535. Syntax: confederation peers <num> [<num> ] The <num> parameter with the confederation peers command indicates the sub-AS numbers for the sub-autonomous systems in the confederation. You must specify all the sub-autonomous systems contained in the confederation. All the switches within the same sub-AS use IBGP to exchange switch information. Switches in different sub-autonomous systems within the confederation use EBGP to exchange switch information. You can specify a number from 1 through 65535. Commands for router B
BrocadeB(config)#router bgp BrocadeB(config-bgp-router)#local-as 64512 BrocadeB(config-bgp-router)#confederation identifier 10 BrocadeB(config-bgp-router)#confederation peers 64512 64513 BrocadeB(config-bgp-router)#write memory
1377
NOTE
To summarize CIDR networks, you must use the aggregation feature. The auto summary feature does not summarize networks that use CIDR numbers instead of class A, B, or C numbers. To aggregate routes for 209.157.22.0, 209.157.23.0, and 209.157.24.0, enter the following command.
Brocade(config-bgp-router)#aggregate-address 209.157.0.0 255.255.0.0
Syntax: aggregate-address <ip-addr> <ip-mask> [as-set] [nlri multicast | unicast | multicast unicast] [summary-only] [suppress-map <map-name>] [advertise-map <map-name>] [attribute-map <map-name>] The <ip-addr> and <ip-mask> parameters specify the aggregate value for the networks. Specify 0 for the host portion and for the network portion that differs among the networks in the aggregate. For example, to aggregate 10.0.1.0, 10.0.2.0, and 10.0.3.0, enter the IP address 10.0.0.0 and the network mask 255.255.0.0. The as-set parameter causes the router to aggregate AS-path information for all the routes in the aggregate address into a single AS-path. The nlri multicast | unicast | multicast unicast parameter specifies whether the neighbor is a multicast neighbor or a unicast neighbor. Optionally, you also can specify unicast if you want the Layer 3 switch to exchange unicast (BGP4) routes as well as multicast routes with the neighbor. The default is unicast only. The summary-only parameter prevents the router from advertising more specific routes contained within the aggregate route. The suppress-map <map-name> parameter prevents the more specific routes contained in the specified route map from being advertised.
1378
The advertise-map <map-name> parameter configures the router to advertise the more specific routes in the specified route map. The attribute-map <map-name> parameter configures the router to set attributes for the aggregate routes based on the specified route map. For the suppress-map, advertise-map, and attribute-map parameters, the route map must already be defined. Refer to Defining route maps on page 1397 for information on defining a route map.
NOTE
To re-enable BGP4 graceful restart after it has been disabled, enter the following commands.
Brocade(config)# router bgp Brocade(config-bgp)# graceful-restart
1379
The <seconds> variable is the maximum restart wait time advertised to neighbors. Possible values are from 1 through 3600 seconds. The default value is 120 seconds.
Syntax: [no] graceful-restart stale-routes-time <seconds> The <seconds> variable is the maximum time before a helper device cleans up stale routes. Possible values are from 1 through 3600 seconds. The default value is 360 seconds.
Syntax: [no] graceful-restart purge-time <seconds> The <seconds> variable sets the maximum time before a restarting device cleans up stale routes. Possible values are from 1 through 3600 seconds. The default value is 600 seconds.
1380
Internet
R1
R2
AS 100
R3
R4
R5
R6
R7
The following steps configure a null0 routing application for stopping denial of service attacks from remote hosts on the internet.
8. On S6, configure the network prefixes associated with the traffic you want to drop. The static route IP address references a destination address. You are required to point the static route to the egress port, for example, Ethernet 3/7, and specify the tag 50, matching the route-map configuration.
1381
The following configuration defines the specific next hop address and sets the local preference to preferred.
Brocade(config)#route-map blockuser permit 10 Brocade(config-routemap blockuser)#match tag 50 Brocade(config-routemap blockuser)#set ip next-hop 199.199.1.1 Brocade(config-routemap blockuser)#set local-preference 1000000 Brocade(config-routemap blockuser)#set origin igp Brocade(config-routemap blockuser)#exit
S1 The following configuration defines the null0 route to the specific next hop address. The next hop address 199.199.1.1 points to the null0 route.
Brocade(config)#ip route 199.199.1.1/32 null0 Brocade(config)#router bgp Brocade(config-bgp-router)#local-as 100 Brocade(config-bgp-router)#neighbor <router2_int_ip Brocade(config-bgp-router)#neighbor <router3_int_ip Brocade(config-bgp-router)#neighbor <router4_int_ip Brocade(config-bgp-router)#neighbor <router5_int_ip Brocade(config-bgp-router)#neighbor <router6_int_ip Brocade(config-bgp-router)#neighbor <router7_int_ip
S2 The following configuration defines a null0 route to the specific next hop address. The next hop address 199.199.1.1 points to the null0 route, which gets blocked.
Brocade(config)#ip route 199.199.1.1/32 null0 Brocade(config)#router bgp Brocade(config-bgp-router)#local-as 100 Brocade(config-bgp-router)#neighbor <router1_int_ip address> remote-as 100 Brocade(config-bgp-router)#neighbor <router3_int_ip address> remote-as 100
1382
Brocade(config-bgp-router)#neighbor <router4_int_ip address> remote-as 100 Brocade (config-bgp-router)#neighbor <router5_int_ip address> remote-as 100 Brocade(config-bgp-router)#neighbor <router6_int_ip address> remote-as 100 Brocade(config-bgp-router)#neighbor <router7_int_ip address> remote-as 100
S1 and S2 The following is the show ip route static output for S1 and S2.
Brocade#show ip route static Type Codes - B:BGP D:Connected S:Static Destination Gateway 1 199.199.1.1/32 DIRECT
1383
Brocade#show ip bgp route Total number of BGP Routes: 126 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED s:STALE Prefix Next Hop Metric LocPrf Weight 1 30.0.1.0/24 40.0.1.3 0 100 0 AS_PATH: . .. . . . 9 110.0.0.16/30 90.0.1.3 100 0 AS_PATH: 85 10 110.0.0.40/29 199.199.1.1/32 1 1000000 32768 BL AS_PATH: 11 110.0.0.80/28 90.0.1.3 100 0 . .. . . . .. . . . 36 115.0.0.96/28 30.0.1.3 100 0 AS_PATH: 50 37 115.0.0.192/27 199.199.1.1/32 1 10000000 32768 BL AS_PATH: . .. . . . 64 120.0.7.0/24 70.0.1.3 100 0 AS_PATH: 10 65 120.0.14.0/23 199.199.1.1/32 1 1000000 32768 BL AS_PATH: .. . .
E:EBGP Status BI . I
I . . I
. I
S1 and S2 The show ip route output for S1 and S2 shows "drop" under the Port column for the network prefixes you configured with null0 routing.
Brocade#show ip route Total number of IP routes: 133 Type Codes - B:BGP D:Connected S:Static Destination Gateway 1 9.0.1.24/32 DIRECT 2 30.0.1.0/24 DIRECT 3 40.0.1.0/24 DIRECT . 13 110.0.0.6/31 90.0.1.3 14 110.0.0.16/30 90.0.1.3 15 110.0.0.40/29 DIRECT . .. . 42 115.0.0.192/27 DIRECT 43 115.0.1.128/26 30.0.1.3 . .. . 69 120.0.7.0/24 70.0.1.3 70 120.0.14.0/23 DIRECT . .. . . .. . 131 130.144.0.0/12 80.0.1.3 132 199.199.1.1/32 DIRECT
R:RIP O:OSPF; Port Cost loopback 1 0/0 eth 2/7 0/0 eth 2/1 0/0 eth 2/2 eth 2/2 drop . drop eth 2/7 . eth 2/10 drop . . eth 3/4 drop 20/1 20/1 200/0 . 200/0 20/1 . 20/1 200/0 . . 20/1 1/1
1384
Syntax: [no] redistribute connected | ospf | rip | static The connected parameter indicates that you are redistributing routes to directly attached devices into BGP. The ospf parameter indicates that you are redistributing OSPF routes into BGP4.
NOTE
Entering redistribute ospf simply redistributes internal OSPF routes. If you want to redistribute external OSPF routes also, you must use the redistribute ospf match external... command. Refer to Redistributing OSPF external routes on page 1386. The rip parameter indicates that you are redistributing RIP routes into BGP4. The static parameter indicates that you are redistributing static routes into BGP. Refer to the following sections for details on redistributing specific routes using the CLI:
Redistributing connected routes on page 1385 Redistributing RIP routes on page 1386 Redistributing OSPF external routes on page 1386 Redistributing static routes on page 1387
Syntax: redistribute connected [metric <num>] [route-map <map-name>] The connected parameter indicates that you are redistributing routes to directly attached devices into BGP4. The metric <num> parameter changes the metric. You can specify a value from 0 through 4294967295. The default is 0. The route-map <map-name> parameter specifies a route map to be consulted before adding the RIP route to the BGP4 route table. The route map you specify must already be configured on the switch. Refer to Defining route maps on page 1397 for information about defining route maps.
NOTE
1385
Syntax: redistribute rip [metric <num>] [route-map <map-name>] The rip parameter indicates that you are redistributing RIP routes into BGP4. The metric <num> parameter changes the metric. Specify a value from 0 through 4294967295. The default is 0. The route-map <map-name> parameter specifies a route map to be consulted before adding the RIP route to the BGP4 route table.
NOTE
The route map you specify must already be configured on the switch. Refer to Defining route maps on page 1397 for information about defining route maps.
Syntax: redistribute ospf [match internal | external1 | external2] [metric <num>] [route-map <map-name>] The ospf parameter indicates that you are redistributing OSPF routes into BGP4. The match internal | external1 | external2 parameter applies only to OSPF. This parameter specifies the types of OSPF routes to be redistributed into BGP4. The default is internal.
NOTE
If you do not enter a value for the match parameter, (for example, you enter redistribute ospf only) then only internal OSPF routes will be redistributed. The metric <num> parameter changes the metric. Specify a value from 0 through 4294967295. The default is 0. The route-map <map-name> parameter specifies a route map to be consulted before adding the OSPF route to the BGP4 route table. The route map you specify must already be configured on the switch. Refer to Defining route maps on page 1397 for information about defining route maps.
NOTE
If you use both the redistribute ospf route-map <map-name> command and the redistribute ospf match internal | external1 | external2 command, the software uses only the route map for filtering.
NOTE
1386
Syntax: redistribute static [metric <num>] [route-map <map-name>] The static parameter indicates that you are redistributing static routes into BGP4. The metric <num> parameter changes the metric. Specify a value from 0 through 4294967295. The default is 0. The route-map <map-name> parameter specifies a route map to be consulted before adding the static route to the BGP4 route table.
NOTE
The route map you specify must already be configured on the switch. Refer to Defining route maps on page 1397 for information about defining route maps.
Disabling or re-enabling re-advertisement of all learned BGP4 routes to all BGP4 neighbors
By default, the Layer 3 switch re-advertises all learned best BGP4 routes to BGP4 neighbors, unless the routes are discarded or blocked by route maps or other filters. If you want to prevent the Layer 3 switch from re-advertising a learned best BGP4 route unless that route also is installed in the IP route table, use the following CLI method. To disable re-advertisement of BGP4 routes to BGP4 neighbors except for routes that the software also installs in the route table, enter the following command.
Brocade(config-bgp-router)#no readvertise
Syntax: [no] bgp-redistribute-internal To disable redistribution of IBGP routes into RIP and OSPF, enter the following command.
Brocade(config-bgp-router)#no bgp-redistribute-internal
1387
Filtering
Filtering
This section describes the following:
Specific IP address filtering on page 1388 AS-path filtering on page 1389 BGP4 filtering communities on page 1393 Defining IP prefix lists on page 1395 Defining neighbor distribute lists on page 1396 Defining route maps on page 1397 Using a table map to set the rag value on page 1405 Configuring cooperative BGP4 route filtering on page 1405
If you want permit to remain the default behavior, define individual filters to deny specific IP
addresses.
If you want to change the default behavior to deny, define individual filters to permit specific IP
addresses. Once you define a filter, the default action for addresses that do not match a filter is deny. To change the default action to permit, configure the last filter as permit any any. Address filters can be referred to by a BGP neighbor's distribute list number as well as by match statements in a route map.
NOTE
NOTE
If the filter is referred to by a route map match statement, the filter is applied in the order in which the filter is listed in the match statement.
You also can filter on IP addresses by using IP ACLs. To define an IP address filter to deny routes to 209.157.0.0, enter the following command.
Brocade(config-bgp-router)#address-filter 1 deny 209.157.0.0 255.255.0.0
NOTE
Syntax: address-filter <num> permit | deny <ip-addr> <wildcard> <mask> <wildcard> The <num> parameter is the filter number. The permit | deny parameter indicates the action the Layer 3 switch takes if the filter match is true.
If you specify permit, the Layer 3 switch permits the route into the BGP4 table if the filter match
is true.
If you specify deny, the Layer 3 switch denies the route from entering the BGP4 table if the filter
match is true.
1388
Filtering
Once you define a filter, the default action for addresses that do not match a filter is deny. To change the default action to permit, configure the last filter as permit any any. The <ip-addr> parameter specifies the IP address. If you want the filter to match on all addresses, enter any. The <wildcard> parameter specifies the portion of the IP address to match against. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address must match the <source-ip>. Ones mean any value matches. For example, the <ip-addr> and <wildcard> values 209.157.22.26 0.0.0.255 mean that all hosts in the Class C subnet 209.157.22.x match the policy. If you prefer to specify the wildcard (mask value) in Classless Interdomain Routing (CIDR) format, you can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For example, you can enter the CIDR equivalent of 209.157.22.26 0.0.0.255 as 209.157.22.26/24. The CLI automatically converts the CIDR number into the appropriate mask (where zeros instead of ones are the significant bits) and changes the non-significant portion of the IP address into zeros. For example, if you specify 209.157.22.26/24 or 209.157.22.26 0.0.0.255, then save the changes to the startup-config file, the value appears as 209.157.22.0/24 (if you have enabled display of subnet lengths) or 209.157.22.0 0.0.0.255 in the startup-config file. If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in /<mask-bits> format. To enable the software to display the CIDR masks, enter the ip show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format to configure the filter regardless of whether the software is configured to display the masks in CIDR format. The <mask> parameter specifies the network mask. If you want the filter to match on all destination addresses, enter any. The wildcard works the same as described above.
NOTE
AS-path filtering
You can filter updates received from BGP4 neighbors based on the contents of the AS-path list accompanying the updates. For example, if you want to deny routes that have the AS 4.3.2.1 in the AS-path from entering the BGP4 route table, you can define a filter to deny such routes. The Layer 3 switch provides the following methods for filtering on AS-path information:
NOTE
Once you define a filter or ACL, the default action for updates that do not match a filter is deny. To change the default action to permit, configure the last filter or ACL as permit any any. AS-path filters or AS-path ACLs can be referred to by a BGP neighbor's filter list number as well as by match statements in a route map.
NOTE
1389
Filtering
Syntax: as-path-filter <num> permit | deny <as-path> The <num> parameter identifies the filter position in the AS-path filter list and can be from 1 through 100. Thus, the AS-path filter list can contain up to 100 filters. The Brocade Layer 3 switch applies the filters in numerical order, beginning with the lowest-numbered filter. When a filter match is true, the Layer 3 switch stops and does not continue applying filters from the list.
NOTE
If the filter is referred to by a route map match statement, the filter is applied in the order in which the filter is listed in the match statement. The permit | deny parameter indicates the action the router takes if the filter match is true.
If you specify permit, the router permits the route into the BGP4 table if the filter match is true. If you specify deny, the router denies the route from entering the BGP4 table if the filter match
is true. The <as-path> parameter indicates the AS-path information. You can enter an exact AS-path string if you want to filter for a specific value. You also can use regular expressions in the filter string.
The ip as-path command configures an AS-path ACL that permits routes containing AS number 100 in their AS paths. The neighbor command then applies the AS-path ACL to advertisements and updates received from neighbor 10.10.10.1. In this example, the only routes the Layer 3 switch permits from neighbor 10.10.10.1 are those whose AS-paths contain AS-path number 100. Syntax: ip as-path access-list <string> [seq <seq-value>] deny | permit <regular-expression> The <string> parameter specifies the ACL name. (If you enter a number, the CLI interprets the number as a text string.) The seq <seq-value> parameter is optional and specifies the AS-path list sequence number. You can configure up to 199 entries in an AS-path list. If you do not specify a sequence number, the software numbers them in increments of 5, beginning with number 5. The software interprets the entries in an AS-path list in numerical order, beginning with the lowest sequence number. The deny | permit parameter specifies the action the software takes if a route AS-path list matches a match statement in this ACL. To configure the AS-path match statements in a route map, use the match as-path command. Refer to Matching based on AS-path ACL on page 1400. The <regular-expression> parameter specifies the AS path information you want to permit or deny to routes that match any of the match statements within the ACL. You can enter a specific AS number or use a regular expression. For the regular expression syntax, refer to Using regular expressions to filter on page 1391.
1390
Filtering
The neighbor command uses the filter-list parameter to apply the AS-path ACL to the neighbor. Refer to Adding BGP4 neighbors on page 1348.
To filter on a string of multiple characters, enter the characters in brackets. For example, to filter on AS-paths that contain x, y, or z, enter the following command.
Brocade(config-bgp-router)#as-path-filter 1 permit [xyz]
BGP4 special characters When you enter as single-character expression or a list of characters, you also can use the following special characters. Table 239 on page 1391 lists the special characters. The description for each special character includes an example. Notice that you place some special characters in front of the characters they control but you place other special characters after the characters they control. In each case, the examples show where to place the special character.
TABLE 239
Character
.
1391
Filtering
TABLE 239
Character
_
[]
[^1-5] - The hyphen separates the beginning and ending of a range of characters. A match occurs if any of the characters within the range is present. See the example above.
A vertical bar (sometimes called a pipe or a logical or) separates two alternative values or sets of values. The AS-path can match one or the other value. For example, the following regular expression matches on an AS-path that contains either abc or defg: (abc)|(defg) NOTE: The parentheses group multiple characters to be treated as one value. See the following row for more information about parentheses.
()
Parentheses allow you to create complex expressions. For example, the following complex expression matches on abc, abcabc, or abcabcabcdefg, but not on abcdefgdefg: ((abc)+)|((defg)?)
If you want to filter for a special character instead of using the special character as described in Table 238 on page 1345, enter \ (backslash) in front of the character. For example, to filter on AS-path strings containing an asterisk, enter the asterisk portion of the regular expression as \*.
Brocade(config-bgp-router)#as-path-filter 2 deny \*
To use the backslash as a string character, enter two slashes. For example, to filter on AS-path strings containing a backslash, enter the backslash portion of the regular expression as \\.
Brocade(config-bgp-router)#as-path-filter 2 deny \\
1392
Filtering
NOTE
Once you define a filter or ACL, the default action for communities that do not match a filter or ACL is deny. To change the default action to permit, configure the last filter or ACL entry as permit any any. Community filters or ACLs can be referred to by match statements in a route map.
Syntax: community-filter <num> permit | deny <num>:<num> | internet | local-as | no-advertise | no-export The <num> parameter identifies the filter position in the community filter list and can be from 1 through 100. Thus, the community filter list can contain up to 100 filters. The router applies the filters in numerical order, beginning with the lowest-numbered filter. When a filter match is true, the router stops and does not continue applying filters from the list. If the filter is referred to by a route map match statement, the filter is applied in the order in which the filter is listed in the match statement. The permit | deny parameter indicates the action the router takes if the filter match is true.
NOTE
If you specify permit, the router permits the route into the BGP4 table if the filter match is true. If you specify deny, the router denies the route from entering the BGP4 table if the filter match
is true.
1393
Filtering
The <num>:<num> parameter indicates a specific community number to filter. Use this parameter to filter for a private (administrator-defined) community. You can enter up to 20 community numbers with the same command. If you want to filter for the well-known communities LOCAL_AS, NO_EXPORT or NO_ADVERTISE, use the corresponding keyword (described below). The internet keyword checks for routes that do not have the community attribute. Routes without a specific community are considered by default to be members of the largest community, the Internet. The local-as keyword checks for routes with the well-known community LOCAL_AS. This community applies only to confederations. The Layer 3 switch advertises the route only within the sub-AS. For information about confederations, refer to Configuration notes for BGP4 autonomous systems on page 1375. The no-advertise keyword filters for routes with the well-known community NO_ADVERTISE. A route in this community should not be advertised to any BGP4 neighbors. The no-export keyword filters for routes with the well-known community NO_EXPORT. A route in this community should not be advertised to any BGP4 neighbors outside the local AS. If the router is a member of a confederation, the Layer 3 switch advertises the route only within the confederation. For information about confederations, refer to Configuration notes for BGP4 autonomous systems on page 1375.
This command configures a community ACL that permits routes that contain community 123:2. Refer to Matching based on community ACL on page 1400 for information about how to use a community list as a match condition in a route map. Syntax: ip community-list standard <string> [seq <seq-value>] deny | permit <community-num> Syntax: ip community-list extended <string> [seq <seq-value>] deny | permit <community-num> | <regular-expression> The <string> parameter specifies the ACL name. (If you enter a number, the CLI interprets the number as a text string.) The standard or extended parameter specifies whether you are configuring a standard community ACL or an extended one. A standard community ACL does not support regular expressions whereas an extended one does. This is the only difference between standard and extended IP community lists. The seq <seq-value> parameter is optional and specifies the community list sequence number. You can configure up to 199 entries in a community list. If you do not specify a sequence number, the software numbers them in increments of 5, beginning with number 5. The software interprets the entries in a community list in numerical order, beginning with the lowest sequence number.
NOTE
1394
Filtering
The deny | permit parameter specifies the action the software takes if a route community list matches a match statement in this ACL. To configure the community-list match statements in a route map, use the match community command. Refer to Matching based on community ACL on page 1400. The <community-num> parameter specifies the community type or community number. This parameter can have the following values:
<num>:<num> A specific community number internet The Internet community no-export The community of sub-autonomous systems within a confederation. Routes with
this community can be exported to other sub-autonomous systems within the same confederation but cannot be exported outside the confederation to other autonomous systems or otherwise sent to EBGP neighbors.
local-as The local sub-AS within the confederation. Routes with this community can be
advertised only within the local subAS.
no-advertise Routes with this community cannot be advertised to any other BGP4 routers at
all. The <regular-expression> parameter specifies a regular expression for matching on community names. For information about regular expression syntax, refer to Using regular expressions to filter on page 1391. You can specify a regular expression only in an extended community ACL.
These commands configure an IP prefix list named Routesfor20, which permits routes to network 20.20.0.0/24. The neighbor command configures the Layer 3 switch to use IP prefix list Routesfor20 to determine which routes to send to neighbor 10.10.10.1. The Layer 3 switch sends routes that go to 20.20.x.x to neighbor 10.10.10.1 because the IP prefix list explicitly permits these routes to be sent to the neighbor. Syntax: ip prefix-list <name> [seq <seq-value>] [description <string>] deny | permit <network-addr>/<mask-bits> [ge <ge-value>] [le <le-value>] The <name> parameter specifies the prefix list name. You use this name when applying the prefix list to a neighbor. The description <string> parameter is a text string describing the prefix list. The seq <seq-value> parameter is optional and specifies the IP prefix list sequence number. You can configure up to 100 prefix list entries. If you do not specify a sequence number, the software numbers them in increments of 5, beginning with prefix list entry 5. The software interprets the prefix list entries in numerical order, beginning with the lowest sequence number.
1395
Filtering
The deny | permit parameter specifies the action the software takes if a neighbor route is in this prefix list. The prefix-list matches only on this network unless you use the ge <ge-value> or le <le-value> parameters. (See below.) The <network-addr>/<mask-bits> parameter specifies the network number and the number of bits in the network mask. You can specify a range of prefix length for prefixes that are more specific than <network-addr>/<mask-bits>.
If you specify only ge <ge-value>, then the mask-length range is from <ge-value> to 32. If you specify only le <le-value>, then the mask-length range is from length to <le-value>.
The <ge-value> or <le-value> you specify must meet the following condition. length < ge-value <= le-value <= 32 If you do not specify ge <ge-value> or le <le-value>, the prefix list matches only on the exact network prefix you specify with the <network-addr>/<mask-bits> parameter. For the syntax of the neighbor command shown in the example above, refer to Adding BGP4 neighbors on page 1348.
This command configures the Layer 3 switch to use ACL 1 to select the routes that the Layer 3 switch will accept from neighbor 10.10.10.1. Syntax: neighbor <ip-addr> distribute-list <name-or-num> in | out The <ip-addr> parameter specifies the neighbor. The <name-or-num> parameter specifies the name or number of a standard, extended, or named ACL. The in | out parameter specifies whether the distribute list applies to inbound or outbound routes:
in controls the routes the Layer 3 switch will accept from the neighbor. out controls the routes sent to the neighbor.
The command syntax shown above is new. However, the neighbor <ip-addr> distribute-list in | out <num> command (where the direction is specified before the filter number) is the same as in earlier software releases. Use the new syntax when you are using an IP ACL with the distribute list. Use the old syntax when you are using a BGP4 address filter with the distribute list.
NOTE
1396
Filtering
If the route map contains a permit action, a route that matches a match statement is
permitted; otherwise, the route is denied.
If the route map contains a deny action, a route that matches a match statement is denied. If a route does not match any match statements in the route map, the route is denied. This is
the default action. To change the default action, configure the last match statement in the last instance of the route map to permit any any.
If there is no match statement, the software considers the route to be a match. For route maps that contain address filters, AS-path filters, or community filters, if the action
specified by a filter conflicts with the action specified by the route map, the route map action takes precedence over the individual filter action. If the route map contains set statements, routes that are permitted by the route map match statements are modified according to the set statements. Match statements compare the route against one or more of the following:
The route BGP4 MED (metric) A sequence of AS-path filters A sequence of community filters A sequence of address filters The IP address of the next hop router The route tag For OSPF routes only, the route type (internal, external type-1, or external type-2) An AS-path ACL A community ACL An IP prefix list An IP ACL
For routes that match all of the match statements, the route map set statements can perform one or more of the following modifications to the route attributes:
Prepend AS numbers to the front of the route AS-path. By adding AS numbers to the AS-path,
you can cause the route to be less preferred when compared to other routes on the basis of the length of the AS-path.
Add a user-defined tag to the route or add an automatically calculated tag to the route. Set the community value. Set the local preference.
1397
Filtering
Set the MED (metric). Set the IP address of the next hop router. Set the origin to IGP or INCOMPLETE. Set the weight.
For example, when you configure parameters for redistributing routes into RIP, one of the optional parameters is a route map. If you specify a route map as one of the redistribution parameters, the router will match the route against the match statements in the route map. If a match is found and if the route map contains set statements, the router will set attributes in the route according to the set statements. To create a route map, you define instances of the map. Each instance is identified by a sequence number. A route map can contain up to 50 instances. To define a route map, use the procedures in the following sections.
Syntax: [no] route-map <map-name> permit | deny <num> As shown in this example, the command prompt changes to the Route Map level. You can enter the match and set statements at this level. Refer to Specifying the match conditions on page 1399 and Setting parameters in the routes on page 1402. The <map-name> is a string of characters that names the map. Map names can be up to 32 characters in length. The permit | deny parameter specifies the action the router will take if a route matches a match statement.
If you specify deny, the Layer 3 switch does not advertise or learn the route. If you specify permit, the Layer 3 switch applies the match and set statements associated with
this route map instance. The <num> parameter specifies the instance of the route map you are defining. Each route map can have up to 50 instances. To delete a route map, enter a command such as the following. When you delete a route map, all the permit and deny entries in the route map are deleted.
Brocade(config)#no route-map Map1
This command deletes a route map named Map1. All entries in the route map are deleted. To delete a specific instance of a route map without deleting the rest of the route map, enter a command such as the following.
Brocade(config)#no route-map Map1 permit 10
This command deletes the specified instance from the route map but leaves the other instances of the route map intact.
1398
Filtering
Syntax: match [as-path <num>] | [address-filters | as-path-filters | community-filters <num,num,...>] | [community <num>] | [community <ACL> exact-match] | [ip address <ACL> | prefix-list <string>] | [ip route-source <ACL> | prefix <name>] [metric <num>] | [next-hop <address-filter-list>] | [nlri multicast | unicast | multicast unicast] | [route-type internal | external-type1 | external-type2] | [tag <tag-value>] The as-path <num> parameter specifies an AS-path ACL. You can specify up to five AS-path ACLs. To configure an AS-path ACL, use the ip as-path access-list command. Refer to Defining an AS-path ACL on page 1390. The address-filters | as-path-filters | community-filters <num,num,...> parameter specifies a filter or list of filters to be matched for each route. The router treats the first match as the best match. If a route does not match any filter in the list, then the router considers the match condition to have failed. To configure these types of filters, use commands at the BGP configuration level:
To configure an address filter, refer to Specific IP address filtering on page 1388. To configure an AS-path filter or AS-path ACL, refer to AS-path filtering on page 1389. To configure a community filter or community ACL, refer to BGP4 filtering communities on
page 1393. You can enter up to six community names on the same command line. The filters must already be configured. The community <num> parameter specifies a community ACL.
NOTE
NOTE
The ACL must already be configured. The community <ACL> exact-match parameter matches a route if (and only if) the route's community attributes field contains the same community numbers specified in the match statement. The ip address | next-hop <ACL-num> | prefix-list <string> parameter specifies an ACL or IP prefix list. Use this parameter to match based on the destination network or next-hop gateway. To configure an IP ACL for use with this command, use the ip access-list command. Refer to ACL overview on page 1699. To configure an IP prefix list, use the ip prefix-list command. Refer to Defining IP prefix lists on page 1395. The ip route-source <ACL> | prefix <name> parameter matches based on the source of a route (the IP address of the neighbor from which the Brocade device learned the route). The metric <num> parameter compares the route MED (metric) to the specified value. The next-hop <address-filter-list> parameter compares the IP address of the route next hop to the specified IP address filters. The filters must already be configured. The nlri multicast | unicast | multicast unicast parameter specifies whether you want the route map to match on multicast routes, unicast routes, or both route types.
1399
Filtering
By default, route maps apply to both unicast and multicast traffic. The route-type internal | external-type1 | external-type2 parameter applies only to OSPF routes. This parameter compares the route type to the specified value. The tag <tag-value> parameter compares the route tag to the specified value.
NOTE
Syntax: match as-path <num> The <num> parameter specifies an AS-path ACL and can be a number from 1 through 199. You can specify up to five AS-path ACLs. To configure an AS-path ACL, use the ip as-path access-list command. Refer to Defining an AS-path ACL on page 1390. Matching based on community ACL To construct a route map that matches based on community ACL 1, enter the following commands.
Brocade(config)#ip community-list 1 permit 123:2 Brocade(config)#route-map CommMap permit 1 Brocade(config-routemap CommMap)#match community 1
Syntax: match community <string> The <string> parameter specifies a community list ACL. To configure a community list ACL, use the ip community-list command. Refer to Defining a community ACL on page 1394. Matching based on destination network To construct match statements for a route map that match based on destination network, use the following method. You can use the results of an IP ACL or an IP prefix list as the match condition.
Brocade(config)#route-map NetMap permit 1 Brocade(config-routemap NetMap)#match ip address 1
Syntax: match ip address <name-or-num> Syntax: match ip address prefix-list <name> The <name-or-num> parameter with the first command specifies an IP ACL and can be a number from 1 through 199 or the ACL name if it is a named ACL. To configure an IP ACL, use the ip access-list or access-list command. Refer to Chapter 40, Rule-Based IP ACLs. The <name> parameter with the second command specifies an IP prefix list name. To configure an IP prefix list, refer to Defining IP prefix lists on page 1395.
1400
Filtering
Matching based on next-hop router To construct match statements for a route map that match based on the IP address of the next-hop router, use either of the following methods. You can use the results of an IP ACL or an IP prefix list as the match condition. To construct a route map that matches based on the next-hop router, enter commands such as the following.
Brocade(config)#route-map HopMap permit 1 Brocade(config-routemap HopMap)#match ip next-hop 2
Syntax: match ip next-hop <num> Syntax: match ip next-hop prefix-list <name> The <num> parameter with the first command specifies an IP ACL and can be a number from 1 through 199 or the ACL name if it is a named ACL. To configure an IP ACL, use the ip access-list or access-list command. Refer to Chapter 40, Rule-Based IP ACLs. The <name> parameter with the second command specifies an IP prefix list name. To configure an IP prefix list, refer to Defining IP prefix lists on page 1395. Matching based on the route source To match a BGP4 route based on its source, use the match ip route-source statement. Here is an example.
Brocade(config)#access-list 10 permit 192.168.6.0 0.0.0.255 Brocade(config)#route-map bgp1 permit 1 Brocade(config-routemap bgp1)#match ip route-source 10
The first command configures an IP ACL that matches on routes received from 192.168.6.0/24. The remaining commands configure a route map that matches on all BGP4 routes advertised by the BGP4 neighbors whose addresses match addresses in the IP prefix list. You can add a set statement to change a route attribute in the routes that match. You also can use the route map as input for other commands, such as the neighbor and network commands and some show commands. Syntax: match ip route-source <ACL> | prefix <name> The <ACL> | prefix <name> parameter specifies the name or ID of an IP ACL, or an IP prefix list. Matching on routes containing a specific set of communities Brocade software enables you to match routes based on the presence of a community name or number in a route, and to match when a route contains exactly the set of communities you specify. To match based on a set of communities, configure a community ACL that lists the communities, then compare routes against the ACL, as shown in the following example.
Brocade(config)#ip community-list standard std_1 permit 12:34 no-export Brocade(config)#route-map bgp2 permit 1 Brocade(config-routemap bgp2)#match community std_1 exact-match
The first command configures a community ACL that contains community number 12:34 and community name no-export. The remaining commands configure a route map that matches the community attributes field in BGP4 routes against the set of communities in the ACL. A route matches the route map only if the route contains all the communities in the ACL and no other communities.
1401
Filtering
Syntax: match community <ACL> exact-match The <ACL> parameter specifies the name of a community list ACL. You can specify up to five ACLs. Separate the ACL names or IDs with spaces. Here is another example.
Brocade(config)#ip community-list standard std_2 permit 23:45 56:78 Brocade(config)#route-map bgp3 permit 1 Brocade(config-routemap bgp3)#match community std_1 std_2 exact-match
These commands configure an additional community ACL, std_2, that contains community numbers 23:45 and 57:68. Route map bgp3 compares each BGP4 route against the sets of communities in ACLs std_1 and std_2. A BGP4 route that contains either but not both sets of communities matches the route map. For example, a route containing communities 23:45 and 57:68 matches. However, a route containing communities 23:45, 57:68 and 12:34, or communities 23:45, 57:68, 12:34, and no-export does not match. To match, the route communities must be the same as those in exactly one of the community ACLs used by the match community statement.
Syntax: set [as-path [prepend <as-num,as-num,...>]] | [automatic-tag] | [comm-list <ACL> delete] | [community <num>:<num> | <num> | internet | local-as | no-advertise | no-export] | [dampening [<half-life> <reuse> <suppress> <max-suppress-time>]] [[default] interface null0 | [ip [default] next hop <ip-addr>] [ip next-hop peer-address] | [local-preference <num>] | [metric [+ | - ]<num> | none] | [metric-type type-1 | type-2] | [metric-type internal] | [next-hop <ip-addr>] | [nlri multicast | unicast | multicast unicast] | [origin igp | incomplete] | [tag <tag-value>] | [weight <num>] The as-path prepend <num,num,...> parameter adds the specified AS numbers to the front of the AS-path list for the route. The automatic-tag parameter calculates and sets an automatic tag value for the route.
NOTE
This parameter applies only to routes redistributed into OSPF. The comm-list parameter deletes a community from a BGP4 route community attributes field. The community parameter sets the community attribute for the route to the number or well-known type you specify. The dampening [<half-life> <reuse> <suppress> <max-suppress-time>] parameter sets route dampening parameters for the route. The <half-life> parameter specifies the number of minutes after which the route penalty becomes half its value. The <reuse> parameter specifies how low a route penalty must become before the route becomes eligible for use again after being suppressed. The <suppress> parameter specifies how high a route penalty can become before the Layer 3 switch suppresses the route. The <max-suppress-time> parameter specifies the maximum number of minutes that a route can be suppressed regardless of how unstable it is. For information and examples, refer to Route flap dampening configuration on page 1408.
1402
Filtering
The [default] interface null0 parameter redirects the traffic to the specified interface. You can send the traffic to the null0 interface, which is the same as dropping the traffic. You can specify more than one interface, in which case the Layer 3 switch uses the first available port. If the first port is unavailable, the Layer 3 switch sends the traffic to the next port in the list. If you specify default, the route map redirects the traffic to the specified interface only if the Layer 3 switch does not already have explicit routing information for the traffic. This option is used in Policy-Based Routing (PBR). The ip [default] next hop <ip-addr> parameter sets the next-hop IP address for traffic that matches a match statement in the route map. If you specify default, the route map sets the next-hop gateway only if the Layer 3 switch does not already have explicit routing information for the traffic. This option is used in Policy-Based Routing (PBR). The ip next-hop peer-address parameter sets the BGP4 next hop for a route to the specified neighbor address. The local-preference <num> parameter sets the local preference for the route. You can set the preference to a value from 0 through 4294967295. The metric [+ | - ]<num> | none parameter sets the MED (metric) value for the route. The default MED value is 0. You can set the preference to a value from 0 through 4294967295.
set metric <num> Sets the route metric to the number you specify. set metric +<num> Increases route metric by the number you specify. set metric -<num> Decreases route metric by the number you specify. set metric none Removes the metric from the route (removes the MED attribute from the BGP4 route).
The metric-type type-1 | type-2 parameter changes the metric type of a route redistributed into OSPF. The metric-type internal parameter sets the route's MED to the same value as the IGP metric of the BGP4 next-hop route. The parameter does this when advertising a BGP4 route to an EBGP neighbor. The next-hop <ip-addr> parameter sets the IP address of the route next hop router. The nlri multicast | unicast | multicast unicast parameter redistributes routes into the multicast Routing Information Base (RIB) instead of the unicast RIB. Setting the NLRI type to multicast applies only when you are using the route map to redistribute directly-connected routes. Otherwise, the set option is ignored. The origin igp | incomplete parameter sets the route origin to IGP or INCOMPLETE. The tag <tag-value> parameter sets the route tag. You can specify a tag value from 0 through 4294967295.
NOTE
NOTE
This parameter applies only to routes redistributed into OSPF.
You also can set the tag value using a table map. The table map changes the value only when the Layer 3 switch places the route in the IP route table instead of changing the value in the BGP route table. Refer to Using a table map to set the rag value on page 1405.
NOTE
1403
Filtering
The weight <num> parameter sets the weight for the route. You can specify a weight value from 0 through 4294967295. Setting a BP4 route MED to the same value as the IGP metric of the next-hop route To set a route's MED to the same value as the IGP metric of the BGP4 next-hop route, when advertising the route to a neighbor, enter commands such as the following.
Brocade(config)#access-list 1 permit 192.168.9.0 0.0.0.255 Brocade(config)#route-map bgp4 permit 1 Brocade(config-routemap bgp4)#match ip address 1 Brocade(config-routemap bgp4)#set metric-type internal
The first command configures an ACL that matches on routes with destination network 192.168.9.0. The remaining commands configure a route map that matches on the destination network in ACL 1, then sets the metric type for those routes to the same value as the IGP metric of the BGP4 next-hop route. Syntax: set metric-type internal Setting the next hop of a BGP4 route To set the next hop address of a BGP4 route to a neighbor address, enter commands such as the following.
Brocade(config)#route-map bgp5 permit 1 Brocade(config-routemap bgp5)#match ip address 1 Brocade(config-routemap bgp5)#set ip next-hop peer-address
These commands configure a route map that matches on routes whose destination network is specified in ACL 1, and sets the next hop in the routes to the neighbor address (inbound filtering) or the local IP address of the BGP4 session (outbound filtering). Syntax: set ip next-hop peer-address The value that the software substitutes for peer-address depends on whether the route map is used for inbound filtering or outbound filtering:
When you use the set ip next-hop peer-address command in an inbound route map filter,
peer-address substitutes for the neighbor IP address.
When you use the set ip next-hop peer-address command in an outbound route map filter,
peer-address substitutes for the local IP address of the BGP4 session. You can use this command for a peer group configuration. Deleting a community from a BGP4 route To delete a community from a BGP4 route community attributes field, enter commands such as the following.
Brocade(config)#ip community-list standard std_3 permit 12:99 12:86 Brocade(config)#route-map bgp6 permit 1 Brocade(config-routemap bgp6)#match ip address 1 Brocade(config-routemap bgp6)#set comm-list std_3 delete
NOTE
1404
Filtering
The first command configures a community ACL containing community numbers 12:99 and 12:86. The remaining commands configure a route map that matches on routes whose destination network is specified in ACL 1, and deletes communities 12:99 and 12:86 from those routes. The route does not need to contain all the specified communities in order for them to be deleted. For example, if a route contains communities 12:86, 33:44, and 66:77, community 12:86 is deleted. Syntax: set comm-list <ACL> delete The <ACL> parameter specifies the name of a community list ACL.
NOTE
1405
Filtering
When you enable cooperative filtering, the Layer 3 switch advertises this capability in its Open message to the neighbor when initiating the neighbor session. The Open message also indicates whether the Layer 3 switch is configured to send filters, receive filters or both, and the types of filters it can send or receive. The Layer 3 switch sends the filters as Outbound Route Filters (ORFs) in Route Refresh messages. To configure cooperative filtering, perform the following tasks on the Layer 3 switch and on its BGP4 neighbor:
Apply the filter as in inbound filter to the neighbor. Enable the cooperative route filtering feature on the Layer 3 switch. You can enable the Layer 3
switch to send ORFs to the neighbor, to receive ORFs from the neighbor, or both. The neighbor uses the ORFs you send as outbound filters when it sends routes to the Layer 3 switch. Likewise, the Layer 3 switch uses the ORFs it receives from the neighbor as outbound filters when sending routes to the neighbor.
Reset the BGP4 neighbor session to send and receive ORFs. Perform these steps on the other device.
If the Layer 3 switch has inbound filters, the filters are still processed even if equivalent filters have been sent as ORFs to the neighbor.
NOTE
The first two commands configure statements for the IP prefix list Routesfrom1234. The first command configures a statement that denies routes to 20.20.20./24. The second command configures a statement that permits all other routes. (Once you configure an IP prefix list statement, all routes not explicitly permitted by statements in the prefix list are denied.) The next two commands change the CLI to the BGP4 configuration level, then apply the IP prefix list to neighbor 1.2.3.4. The last command enables the Layer 3 switch to send the IP prefix list as an ORF to neighbor 1.2.3.4. When the Layer 3 switch sends the IP prefix list to the neighbor, the neighbor filters out the 20.20.0.x routes from its updates to the Layer 3 switch. (This assumes that the neighbor also is configured for cooperative filtering.) The <ip-addr> | <peer-group-name> parameter specifies the IP address of a neighbor or the name of a peer group of neighbors. The send | receive parameter specifies the support you are enabling:
send The Layer 3 switch sends the IP prefix lists to the neighbor. receive The Layer 3 switch accepts filters from the neighbor.
1406 FastIron Configuration Guide 53-1002494-01
Filtering
If you do not specify the capability, both capabilities are enabled. The prefixlist parameter specifies the type of filter you want to send to the neighbor. The current release supports cooperative filtering only for filters configured using IP prefix lists.
NOTE
NOTE
Make sure cooperative filtering is enabled on the Layer 3 switch and on the neighbor before you send the filters. To reset a neighbor session and send ORFs to the neighbor, enter a command such as the following.
Brocade#clear ip bgp neighbor 1.2.3.4
This command resets the BGP4 session with neighbor 1.2.3.4 and sends the ORFs to the neighbor. If the neighbor sends ORFs to the Layer 3 switch, the Layer 3 switch accepts them if the send capability is enabled. To perform a soft reset of a neighbor session and send ORFs to the neighbor, enter a command such as the following.
Brocade#clear ip bgp neighbor 1.2.3.4 soft in prefix-list
Syntax: clear ip bgp neighbor <ip-addr> [soft in prefix-filter] If you use the soft in prefix-filter parameter, the Layer 3 switch sends the updated IP prefix list to the neighbor as part of its route refresh message to the neighbor.
NOTE
If the Layer 3 switch or the neighbor is not configured for cooperative filtering, the command sends a normal route refresh message.
The cooperative filtering configuration on the Layer 3 switch. The ORFs received from neighbors.
To display the cooperative filtering configuration on the Layer 3 switch, enter a command such as the following. The line shown in bold type shows the cooperative filtering status.
1407
Brocade#show ip bgp neighbors 10.10.10.1 1 IP Address: 10.10.10.1, AS: 65200 (IBGP), RouterID: 10.10.10.1 State: ESTABLISHED, Time: 0h0m7s, KeepAliveTime: 60, HoldTime: 180 RefreshCapability: Received CooperativeFilteringCapability: Received Messages: Open Update KeepAlive Notification Refresh-Req Sent : 1 0 1 0 1 Received: 1 0 1 0 1 Last Update Time: NLRI Withdraw NLRI Withdraw Tx: ----Rx: ----Last Connection Reset Reason:Unknown Notification Sent: Unspecified Notification Received: Unspecified TCP Connection state: ESTABLISHED Byte Sent: 110, Received: 110 Local host: 10.10.10.2, Local Port: 8138 Remote host: 10.10.10.1, Remote Port: 179 ISentSeq: 460 SendNext: 571 TotUnAck: 0 TotSent: 111 ReTrans: 0 UnAckSeq: 571 IRcvSeq: 7349 RcvNext: 7460 SendWnd: 16384 TotalRcv: 111 DupliRcv: 0 RcvWnd: 16384 SendQue: 0 RcvQue: 0 CngstWnd: 5325
Syntax: show ip bgp neighbors <ip-addr> To display the ORFs received from a neighbor, enter a command such as the following.
Brocade#show ip bgp neighbors 10.10.10.1 received prefix-filter ip prefix-list 10.10.10.1: 4 entries seq 5 permit 10.10.0.0/16 ge 18 le 28 seq 10 permit 20.20.10.0/24 seq 15 permit 30.0.0.0/8 le 32 seq 20 permit 40.10.0.0/16 ge 18
NOTE
The Layer 3 switch applies route flap dampening only to routes learned from EBGP neighbors.
1408
The route flap dampening mechanism is based on penalties. When a route exceeds a configured penalty value, the Layer 3 switch stops using that route and also stops advertising it to other routers. The mechanism also allows a route penalties to reduce over time if the route stability improves. The route flap dampening mechanism uses the following parameters:
Suppression threshold Specifies the penalty value at which the Layer 3 switch stops using
the route. Each time a route becomes unreachable or is withdrawn by a BGP4 UPDATE from a neighbor, the route receives a penalty of 1000. By default, when a route has a penalty value greater than 2000, the Layer 3 switch stops using the route. Thus, by default, if a route goes down more than twice, the Layer 3 switch stops using the route. You can set the suppression threshold to a value from 1 through 20000. The default is 2000.
Half-life Once a route has been assigned a penalty, the penalty decreases exponentially and
decreases by half after the half-life period. The default half-life period is 15 minutes. The software reduces route penalties every five seconds. For example, if a route has a penalty of 2000 and does not receive any more penalties (it does not go down again) during the half-life, the penalty is reduced to 1000 after the half-life expires. You can configure the half-life to be from 1 through 45 minutes. The default is 15 minutes.
Reuse threshold Specifies the minimum penalty a route can have and still be suppressed by
the Layer 3 switch. If the route's penalty falls below this value, the Layer 3 switch un-suppresses the route and can use it again. The software evaluates the dampened routes every ten seconds and un-suppresses the routes that have penalties below the reuse threshold. You can set the reuse threshold to a value from 1 through 20000. The default is 750.
Maximum suppression time Specifies the maximum number of minutes a route can be
suppressed regardless of how unstable the route has been before this time. You can set the parameter to a value from 1 through 20000 minutes. The default is four times the half-life. When the half-life value is set to its default (15 minutes), the maximum suppression time defaults to 60 minutes. You can configure route flap dampening globally or for individual routes using route maps. If you configure route flap dampening parameters globally and also use route maps, the settings in the route maps override the global values.
Syntax: dampening [<half-life> <reuse> <suppress> <max-suppress-time>] The <half-life> parameter specifies the number of minutes after which the route penalty becomes half its value. The route penalty allows routes that have remained stable for a while despite earlier instability to eventually become eligible for use again. The decay rate of the penalty is proportional to the value of the penalty. After the half-life expires, the penalty decays to half its value. Thus, a dampened route that is no longer unstable can eventually become eligible for use again. You can configure the half-life to be from 1 - 45 minutes. The default is 15 minutes. The <reuse> parameter specifies how low a route penalty must become before the route becomes eligible for use again after being suppressed. You can set the reuse threshold to a value from 1 through 20000. The default is 750 (0.75, or three-fourths, of the penalty assessed for a one flap).
1409
The <suppress> parameter specifies how high a route penalty can become before the Layer 3 switch suppresses the route. You can set the suppression threshold to a value from 1 through 20000. The default is 2000 (two flaps). The <max-suppress-time> parameter specifies the maximum number of minutes that a route can be suppressed regardless of how unstable it is. You can set the maximum suppression time to a value from 1 through 20000 minutes. The default is four times the half-life setting. Thus, if you use the default half-life of 15 minutes, the maximum suppression time is 60 minutes. The following example shows how to change the dampening parameters.
Brocade(config-bgp-router)#dampening 20 200 2500 40
This command changes the half-life to 20 minutes, the reuse threshold to 200, the suppression threshold to 2500, and the maximum number of minutes a route can be dampened to 40.
NOTE
To change any of the parameters, you must specify all the parameters with the command. If you want to leave some parameters unchanged, enter their default values.
Using a route map to configure route flap dampening for specific routes
Route maps enable you to fine tune route flap dampening parameters for individual routes. To configure route flap dampening parameters using route maps, configure BGP4 address filters for each route you want to set the dampening parameters for, then configure route map entries that set the dampening parameters for those routes. The following sections show examples. To configure address filters and a route map for dampening specific routes, enter commands such as the following.
Brocade(config)#router bgp Brocade(config-bgp-router)#address-filter 9 permit 209.157.22.0 255.255.255.0 255.255.255.0 255.255.255.0 Brocade(config-bgp-router)#address-filter 10 permit 209.157.23.0 255.255.255.0 255.255.255.0 255.255.255.0 Brocade(config-bgp-router)#exit Brocade(config)#route-map DAMPENING_MAP permit 9 Brocade(config-routemap DAMPENING_MAP)#match address-filters 9 Brocade(config-routemap DAMPENING_MAP)#set dampening 10 200 2500 40 Brocade(config-routemap DAMPENING_MAP)#exit Brocade(config)#route-map DAMPENING_MAP permit 10 Brocade(config-routemap DAMPENING_MAP)#match address-filters 10 Brocade(config-routemap DAMPENING_MAP)#set dampening 20 200 2500 60 Brocade(config-routemap DAMPENING_MAP)#router bgp Brocade(config-bgp-router)#dampening route-map DAMPENING_MAP
The address-filter commands in this example configure two BGP4 address filters, for networks 209.157.22.0 and 209.157.23.0. The first route-map command creates an entry in a route map called DAMPENING_MAP. Within this entry of the route map, the match command matches based on address filter 9, and the set command sets the dampening parameters for the route that matches. Thus, for BGP4 routes to 209.157.22.0, the Layer 3 switch uses the route map to set the dampening parameters. These parameters override the globally configured dampening parameters.
1410
The commands for the second entry in the route map (instance 10 in this example) perform the same functions for route 209.157.23.0. Notice that the dampening parameters are different for each route.
Using a route map to configure route flap dampening for a specific neighbor
You can use a route map to configure route flap dampening for a specific neighbor by performing the following tasks:
Configure an empty route map with no match or set statements. This route map does not
specify particular routes for dampening but does allow you to enable dampening globally when you refer to this route map from within the BGP configuration level.
Configure another route map that explicitly enables dampening. Use a set statement within the
route map to enable dampening. When you associate this route map with a specific neighbor, the route map enables dampening for all routes associated with the neighbor. You also can use match statements within the route map to selectively perform dampening on some routes from the neighbor.
NOTE
You still need to configure the first route map to enable dampening globally. The second route map does not enable dampening by itself; it just applies dampening to a neighbor.
To enable route flap dampening for a specific BGP4 neighbor, enter commands such as the following.
Brocade(config)#route-map DAMPENING_MAP_ENABLE permit 1 Brocade(config-routemap DAMPENING_MAP_ENABLE)#exit Brocade(config)#route-map DAMPENING_MAP_NEIGHBOR_A permit 1 Brocade(config-routemap DAMPENING_MAP_NEIGHBOR_A)#set dampening Brocade(config-routemap DAMPENING_MAP_NEIGHBOR_A)#exit Brocade(config)#router bgp Brocade(config-bgp-router)#dampening route-map DAMPENING_MAP_ENABLE Brocade(config-bgp-router)#neighbor 10.10.10.1 route-map in DAMPENING_MAP_NEIGHBOR_A
In this example, the first command globally enables route flap dampening. This route map does not contain any match or set statements. At the BGP configuration level, the dampening route-map command refers to the DAMPENING_MAP_ENABLE route map created by the first command, thus enabling dampening globally. The third and fourth commands configure a second route map that explicitly enables dampening. Notice that the route map does not contain a match statement. The route map implicitly applies to all routes. Since the route map will be applied to a neighbor at the BGP configuration level, the route map will apply to all routes associated with the neighbor. Although the second route map enables dampening, the first route map is still required. The second route map enables dampening for the neighbors to which the route map is applied. However, unless dampening is already enabled globally by the first route map, the second route map has no effect.
1411
The last two commands apply the route maps. The dampening route-map command applies the first route map, which enables dampening globally. The neighbor command applies the second route map to neighbor 10.10.10.1. Since the second route map does not contain match statements for specific routes, the route map enables dampening for all routes received from the neighbor.
Syntax: clear ip bgp damping [<ip-addr> <ip-mask>] The <ip-addr> parameter specifies a particular network. The <ip-mask> parameter specifies the network mask. To un-suppress a specific route, enter a command such as the following.
Brocade#clear ip bgp damping 209.157.22.0 255.255.255.0
The aggregate-address command configures an aggregate address. The summary-only parameter prevents the Layer 3 switch from advertising more specific routes contained within the aggregate route. The show ip bgp route command shows that the more specific routes aggregated into 209.1.0.0/16 have been suppressed. In this case, the route to 209.1.44.0/24 has been suppressed. The following command indicates that the route is not being advertised to the Layer 3 switch BGP4 neighbors.
1412
Brocade#show ip bgp route 209.1.44.0/24 Number of BGP Routes matching display condition : 1 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED F:FILTERED Prefix Next Hop Metric LocPrf Weight Status 1 209.1.44.0/24 10.2.0.1 1 101 32768 BLS AS_PATH: Route is not advertised to any peers
If you want to override the summary-only parameter and allow a specific route to be advertised to a neighbor, enter commands such as the following.
Brocade(config)#ip prefix-list Unsuppress1 permit 209.1.44.0/24 Brocade(config)#route-map RouteMap1 permit 1 Brocade(config-routemap RouteMap1)#match prefix-list Unsuppress1 Brocade(config-routemap RouteMap1)#exit Brocade(config)#router bgp Brocade(config-bgp-router)#neighbor 10.1.0.2 unsuppress-map RouteMap1 Brocade(config-bgp-router)#clear ip bgp neighbor 10.1.0.2 soft-out
The ip prefix-list command configures an IP prefix list for network 209.1.44.0/24, which is the route you want to unsuppress. The next two commands configure a route map that uses the prefix list as input. The neighbor command enables the Layer 3 switch to advertise the routes specified in the route map to neighbor 10.1.0.2. The clear command performs a soft reset of the session with the neighbor so that the Layer 3 switch can advertise the unsuppressed route. Syntax: [no] neighbor <ip-addr> | <peer-group-name> unsuppress-map <map-name> The following command verifies that the route has been unsuppressed.
Brocade#show ip bgp route 209.1.44.0/24 Number of BGP Routes matching display condition : 1 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED F:FILTERED Prefix Next Hop Metric LocPrf Weight Status 1 209.1.44.0/24 10.2.0.1 1 101 32768 BLS AS_PATH: Route is advertised to 1 peers: 10.1.0.2(4)
1413
Brocade#show ip bgp flap-statistics Total number of flapping routes: 414 Status Code >:best d:damped h:history *:valid Network From Flaps Since h> 192.50.206.0/23 166.90.213.77 1 0 :0 :13 h> 203.255.192.0/20 166.90.213.77 1 0 :0 :13 h> 203.252.165.0/24 166.90.213.77 1 0 :0 :13 h> 192.50.208.0/23 166.90.213.77 1 0 :0 :13 h> 133.33.0.0/16 166.90.213.77 1 0 :0 :13 *> 204.17.220.0/24 166.90.213.77 1 0 :1 :4
Reuse 0 :0 :0 0 :0 :0 0 :0 :0 0 :0 :0 0 :0 :0 0 :0 :0
Syntax: show ip bgp flap-statistics [regular-expression <regular-expression> | <address> <mask> [longer-prefixes] | neighbor <ip-addr>] The regular-expression <regular-expression> parameter is a regular expression. The regular expressions are the same ones supported for BGP4 AS-path filters. Refer to Using regular expressions to filter on page 1391. The <address> <mask> parameter specifies a particular route. If you also use the optional longer-prefixes parameter, then all statistics for routes that match the specified route or have a longer prefix than the specified route are displayed. For example, if you specify 209.157.0.0 longer, then all routes with the prefix 209.157. or that have a longer prefix (such as 209.157.22.) are displayed. The neighbor <ip-addr> parameter displays route flap dampening statistics only for routes learned from the specified neighbor. You also can display route flap statistics for routes learned from a neighbor by entering the following command: show ip bgp neighbors <ip-addr> flap-statistics. Table 240 shows the field definitions for the display output.
TABLE 240
Field
The destination network of the route. The neighbor that sent the route to the Layer 3 switch. The number of flaps (state changes) the route has experienced. The amount of time since the first flap of this route. The amount of time remaining until this route will be un-suppressed and thus be usable again. Shows the AS-path information for the route.
You also can display all the dampened routes by entering the show ip bgp dampened-paths command.
1414
NOTE
Syntax: clear ip bgp flap-statistics [regular-expression <regular-expression> | <address> <mask> | neighbor <ip-addr>] The parameters are the same as those for the show ip bgp flap-statistics command (except the longer-prefixes option is not supported). Refer to Displaying route flap dampening statistics on page 1413. The clear ip bgp damping command not only clears statistics but also un-suppresses the routes. Refer to Displaying route flap dampening statistics on page 1413.
NOTE
Syntax: [no] snmp-server enable traps bgp Use the no form of the command to disable BGP traps.
Summary BGP4 configuration information for the router Active BGP4 configuration information (the BGP4 information in the running-config) CPU utilization statistics Neighbor information Peer-group information Information about the paths from which BGP4 selects routes Summary BGP4 route information The router BGP4 route table Route flap dampening statistics Active route maps (the route map configuration information in the running-config) BGP4 graceful restart neighbor information
1415
ToSend 2 0 0 0 0 0 0 0 2 2 2
Table 241 lists the field definitions for the command output.
TABLE 241
Field
Router ID
Local AS Number Confederation Identifier Confederation Peers Maximum Number of Paths Supported for Load Sharing
1416
TABLE 241
Field
1417
TABLE 241
Field
State
Time Accepted
The time that has passed since the state last changed. The number of routes received from the neighbor that this router installed in the BGP4 route table. Usually, this number is lower than the RoutesRcvd number. The difference indicates that this router filtered out some of the routes received in the UPDATE messages.
1418
TABLE 241
Field
Filtered
Sent ToSend
The number of BGP4 routes that the Layer 3 switch has sent to the neighbor. The number of routes the Layer 3 switch has queued to send to this neighbor.
1419
Brocade#show process cpu Process Name 5Sec(%) 1Min(%) ARP 0.01 0.03 BGP 0.04 0.06 GVRP 0.00 0.00 ICMP 0.00 0.00 IP 0.00 0.00 OSPF 0.00 0.00 RIP 0.00 0.00 STP 0.00 0.00 VRRP 0.00 0.00
5Min(%) 0.09 0.08 0.00 0.00 0.00 0.00 0.00 0.00 0.00
15Min(%) 0.22 0.14 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 9 13 0 0 0 0 0 0 0
If the software has been running less than 15 minutes (the maximum interval for utilization statistics), the command indicates how long the software has been running. Here is an example.
Brocade#show process cpu The system has only been up for 6 seconds. Process Name 5Sec(%) 1Min(%) 5Min(%) ARP 0.01 0.00 0.00 BGP 0.00 0.00 0.00 GVRP 0.00 0.00 0.00 ICMP 0.01 0.00 0.00 IP 0.00 0.00 0.00 OSPF 0.00 0.00 0.00 RIP 0.00 0.00 0.00 STP 0.00 0.00 0.00 VRRP 0.00 0.00 0.00
15Min(%) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 0 0 0 1 0 0 0 0 0
To display utilization statistics for a specific number of seconds, enter a command such as the following.
Brocade#show process cpu 2 Statistics for last 1 sec and 80 ms Process Name Sec(%) Time(ms) ARP 0.00 0 BGP 0.00 0 GVRP 0.00 0 ICMP 0.01 1 IP 0.00 0 OSPF 0.00 0 RIP 0.00 0 STP 0.01 0 VRRP 0.00 0
When you specify how many seconds worth of statistics you want to display, the software selects the sample that most closely matches the number of seconds you specified. In this example, statistics are requested for the previous two seconds. The closest sample available is actually for the previous 1 second plus 80 milliseconds. Syntax: show process cpu [<num>] The <num> parameter specifies the number of seconds and can be from 1 through 900. If you use this parameter, the command lists the usage statistics only for the specified number of seconds. If you do not use this parameter, the command lists the usage statistics for the previous one-second, one-minute, five-minute, and fifteen-minute intervals.
1420
Syntax: show ip bgp neighbors [<ip-addr>] | [routes-summary] Table 242 lists the field definitions for the command output.
TABLE 242
Field
IP Address
Routes Received
Routes Selected as BEST Routes BEST Routes not Installed in IP Forwarding Table
Unreachable Routes
History Routes
1421
TABLE 242
Field
Routes Advertised
The number of NLRIs for new routes the Layer 3 switch has sent to this neighbor in UPDATE messages: Withdraws The number of routes the Layer 3 switch has sent to the neighbor to withdraw. Replacements The number of routes the Layer 3 switch has sent to the neighbor to replace routes the neighbor already has. Statistics for the times the Layer 3 switch has run out of BGP4 memory for the neighbor during the current BGP4 session: Receiving Update Messages The number of times UPDATE messages were discarded because there was no memory for attribute entries. Accepting Routes(NLRI) The number of NLRIs discarded because there was no memory for NLRI entries. This count is not included in the Receiving Update Messages count. Attributes The number of times there was no memory for BGP4 attribute entries. Outbound Routes(RIB-out) The number of times there was no memory to place a best route into the neighbor's route information base (Adj-RIB-Out) for routes to be advertised.
NOTE
The display shows all the configured parameters for the neighbor. Only the parameters that have values different from their defaults are shown.
1422
Brocade#show ip bgp neighbors 10.4.0.2 1 IP Address: 10.4.0.2, AS: 5 (EBGP), RouterID: 100.0.0.1 Description: neighbor 10.4.0.2 State: ESTABLISHED, Time: 0h1m0s, KeepAliveTime: 0, HoldTime: 0 PeerGroup: pg1 Multihop-EBGP: yes, ttl: 1 RouteReflectorClient: yes SendCommunity: yes NextHopSelf: yes DefaultOriginate: yes (default sent) MaximumPrefixLimit: 90000 RemovePrivateAs: : yes RefreshCapability: Received Route Filter Policies: Distribute-list: (out) 20 Filter-list: (in) 30 Prefix-list: (in) pf1 Route-map: (in) setnp1 (out) setnp2 Messages: Open Update KeepAlive Notification Refresh-Req Sent : 1 1 1 0 0 Received: 1 8 1 0 0 Last Update Time: NLRI Withdraw NLRI Withdraw Tx: 0h0m59s --Rx: 0h0m59s --Last Connection Reset Reason:Unknown Notification Sent: Unspecified Notification Received: Unspecified TCP Connection state: ESTABLISHED Local host: 10.4.0.1, Local Port: 179 Remote host: 10.4.0.2, Remote Port: 8053 ISentSeq: 52837276 SendNext: 52837392 TotUnAck: 0 TotSent: 116 ReTrans: 0 UnAckSeq: 52837392 IRcvSeq: 2155052043 RcvNext: 2155052536 SendWnd: 16384 TotalRcv: 493 DupliRcv: 0 RcvWnd: 16384 SendQue: 0 RcvQue: 0 CngstWnd: 1460
This example shows how to display information for a specific neighbor, by specifying the neighbor IP address with the command. None of the other display options are used; thus, all of the information is displayed for the neighbor. The number in the far left column indicates the neighbor for which information is displayed. When you list information for multiple neighbors, this number makes the display easier to read. The TCP statistics at the end of the display show status for the TCP session with the neighbor. Most of the fields show information stored in the Layer 3 switch Transmission Control Block (TCB) for the TCP session between the Layer 3 switch and its neighbor. These fields are described in detail in section 3.2 of RFC 793, Transmission Control Protocol Functional Specification. Syntax: show ip bgp neighbors [<ip-addr> [advertised-routes [detail [<ip-addr>[/<mask-bits>]]]] | [attribute-entries [detail]] | [flap-statistics] | [last-packet-with-error] | [received prefix-filter] | [received-routes] | [routes [best] | [detail [best] | [not-installed-best] | [unreachable]] | [rib-out-routes [<ip-addr>/<mask-bits> | <ip-addr> <net-mask> | detail]] | [routes-summary]] The <ip-addr> option lets you narrow the scope of the command to a specific neighbor. The advertised-routes option displays only the routes that the Layer 3 switch has advertised to the neighbor during the current BGP4 neighbor session.
1423
The attribute-entries option shows the attribute-entries associated with routes received from the neighbor. The flap-statistics option shows the route flap statistics for routes received from or sent to the neighbor. The last-packet-with-error option displays the last packet from the neighbor that contained an error. The packet's contents are displayed in decoded (human-readable) format. The received prefix-filter option shows the Outbound Route Filters (ORFs) received from the neighbor. This option applies to cooperative route filtering. The received-routes option lists all the route information received in route updates from the neighbor since the soft reconfiguration feature was enabled. Refer to Using soft reconfiguration on page 1446. The routes option lists the routes received in UPDATE messages from the neighbor. You can specify the following additional options:
best Displays the routes received from the neighbor that the Layer 3 switch selected as the
best routes to their destinations.
not-installed-best Displays the routes received from the neighbor that are the best BGP4
routes to their destinations, but were nonetheless not installed in the IP route table because the Layer 3 switch received better routes from other sources (such as OSPF, RIP, or static IP routes).
unreachable Displays the routes that are unreachable because the Layer 3 switch does not
have a valid RIP, OSPF, or static route to the next hop.
detail Displays detailed information for the specified routes. You can refine your information
request by also specifying one of the options above (best, not-installed-best, or unreachable). The rib-out-routes option lists the route information base (RIB) for outbound routes. You can display all the routes or specify a network address. The routes-summary option displays a summary of the following information:
Number of routes received from the neighbor Number of routes accepted by this Layer 3 switch from the neighbor Number of routes this Layer 3 switch filtered out of the UPDATES received from the neighbor
and did not accept
Number of routes advertised to the neighbor Number of attribute entries associated with routes received from or advertised to the neighbor.
Table 243 lists the field definitions for the command output.
TABLE 243
Field
IP Address AS EBGP/IBGP
1424
TABLE 243
Field
RouterID Description State
Time KeepAliveTime
The amount of time this session has been in its current state. The keep alive time, which specifies how often this router sends keep alive messages to the neighbor. Refer to Changing the Keep Alive Time and Hold Time on page 1359. The hold time, which specifies how many seconds the router will wait for a KEEPALIVE or UPDATE message from a BGP4 neighbor before deciding that the neighbor is dead. Refer to Changing the Keep Alive Time and Hold Time on page 1359. The name of the peer group the neighbor is in, if applicable. Whether this option is enabled for the neighbor. Whether this option is enabled for the neighbor. Whether this option is enabled for the neighbor. Whether this option is enabled for the neighbor. Whether this option is enabled for the neighbor. Lists the maximum number of prefixes the Layer 3 switch will accept from this neighbor.
HoldTime
1425
TABLE 243
Field
Lists the last time updates were sent and received for the following: NLRIs Withdraws
1426
TABLE 243
Field
1427
TABLE 243
Field
Notification Sent
Notification Received
1428
TABLE 243
Field
Byte Sent Byte Received Local host Local port Remote host Remote port ISentSeq SendNext TotUnAck TotSent ReTrans UnAckSeq IRcvSeq RcvNext SendWnd TotalRcv DupliRcv
1429
TABLE 243
Field
RcvWnd SendQue RcvQue CngstWnd
A summary of the routes for a specific neighbor. The routes received from the neighbor that the Layer 3 switch selected as the best routes to
their destinations.
The routes received from the neighbor that are the best BGP4 routes to their destinations, but
were nonetheless not installed in the IP route table because the Layer 3 switch received better routes from other sources (such as OSPF, RIP, or static IP routes).
The routes that are unreachable because the Layer 3 switch does not have a valid RIP, OSPF, or
static route to the next hop.
Routes for a specific network advertised by the Layer 3 switch to the neighbor. The Routing Information Base (RIB) for a specific network advertised to the neighbor. You can
display the RIB regardless of whether the Layer 3 switch has already sent it to the neighbor. To display route information for a neighbor, use the following CLI methods. Displaying summary route information To display summary route information, enter a command such as the following at any level of the CLI.
Brocade#show ip bgp neighbors 10.1.0.2 routes-summary 1 IP Address: 10.1.0.2 Routes Accepted/Installed:1, Filtered/Kept:11, Filtered:11 Routes Selected as BEST Routes:1 BEST Routes not Installed in IP Forwarding Table:0 Unreachable Routes (no IGP Route for NEXTHOP):0 History Routes:0 NLRIs Received in Update Message:24, Withdraws:0 (0), Replacements:1 NLRIs Discarded due to Maximum Prefix Limit:0, AS Loop:0 Invalid Nexthop:0, Invalid Nexthop Address:0.0.0.0 Duplicated Originator_ID:0, Cluster_ID:0 Routes Advertised:0, To be Sent:0, To be Withdrawn:0 NLRIs Sent in Update Message:0, Withdraws:0, Replacements:0 Peer Out of Memory Count for: Receiving Update Messages:0, Accepting Routes(NLRI):0 Attributes:0, Outbound Routes(RIB-out):0
1430
Table 244 lists the field definitions for the command output.
TABLE 244
Field
Routes Received
Routes Selected as BEST Routes BEST Routes not Installed in IP Forwarding Table
Unreachable Routes
Routes Advertised
1431
TABLE 244
Field
Displaying advertised routes To display the routes the Layer 3 switch has advertised to a specific neighbor for a specific network, enter a command such as the following at any level of the CLI.
Brocade#show ip bgp neighbors 192.168.4.211 advertised-routes There are 2 routes advertised to neighbor 192.168.4.211 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST I:IBGP L:LOCAL Network Next Hop Metric LocPrf Weight 1 102.0.0.0/24 192.168.2.102 12 32768 2 200.1.1.0/24 192.168.2.102 0 32768
Status BL BL
Status BL
Syntax: show ip bgp neighbors <ip-addr> advertised-routes [<ip-addr>/<prefix>] For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display. Displaying the best routes To display the routes received from a specific neighbor that are the best routes to their destinations, enter a command such as the following at any level of the CLI.
Brocade#show ip bgp neighbors 192.168.4.211 routes best
Syntax: show ip bgp neighbors <ip-addr> routes best For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display.
1432
Displaying the best routes that were nonetheless not installed in the IP route table To display the BGP4 routes received from a specific neighbor that are the best routes to their destinations but are not installed in the Layer 3 switch IP route table, enter a command such as the following at any level of the CLI.
Brocade#show ip bgp neighbors 192.168.4.211 routes not-installed-best
Each of the displayed routes is a valid path to its destination, but the Layer 3 switch received another path from a different source (such as OSPF, RIP, or a static route) that has a lower administrative distance. The Layer 3 switch always selects the path with the lowest administrative distance to install in the IP route table. Syntax: show ip bgp neighbors <ip-addr> routes not-installed-best For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display. Displaying the routes whose destinations are unreachable To display BGP4 routes whose destinations are unreachable using any of the BGP4 paths in the BGP4 route table, enter a command such as the following at any level of the CLI.
Brocade#show ip bgp neighbors 192.168.4.211 routes unreachable
Syntax: show ip bgp neighbors <ip-addr> routes unreachable For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display. Displaying the Adj-RIB-Out for a neighbor To display the Layer 3 switch current BGP4 Routing Information Base (Adj-RIB-Out) for a specific neighbor and a specific destination network, enter a command such as the following at any level of the CLI.
Brocade#show ip bgp neighbors 192.168.4.211 rib-out-routes 192.168.1.0/24 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST I:IBGP L:LOCAL Prefix Next Hop Metric LocPrf Weight Status 1 200.1.1.0/24 0.0.0.0 0 101 32768 BL
The Adj-RIB-Out contains the routes that the Layer 3 switch either has most recently sent to the neighbor or is about to send to the neighbor. Syntax: show ip bgp neighbors <ip-addr> rib-out-routes [<ip-addr>/<prefix>] For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display.
1433
Brocade#show ip bgp peer-group pg1 1 BGP peer-group is pg Description: peer group abc SendCommunity: yes NextHopSelf: yes DefaultOriginate: yes Members: IP Address: 192.168.10.10, AS: 65111
Syntax: show ip bgp peer-group [<peer-group-name>] Only the parameters that have values different from their defaults are listed.
: : : : : : : : :
20 20 100178 2 19 1 1 0 17
Syntax: show ip bgp routes summary Table 245 lists the field definitions for the command output.
TABLE 245
Field
Total number of BGP routes (NLRIs) Installed Distinct BGP destination networks Filtered BGP routes for soft reconfig
Routes originated by this router Routes selected as BEST routes BEST routes not installed in IP forwarding table
1434
TABLE 245
Field
IBGP routes selected as best routes EBGP routes selected as best routes
Status BE BE BE BE BE
Syntax: show ip bgp routes [[network] <ip-addr>] | <num> | [age <secs>] | [as-path-access-list <num>] | [best] | [cidr-only] | [community <num> | no-export | no-advertise | internet | local-as] | [community-access-list <num>] | [community-list <num> | [detail <option>] | [filter-list <num, num,...>] | [next-hop <ip-addr>] | [no-best] | [not-installed-best] | [prefix-list <string>] | [regular-expression <regular-expression>] | [route-map <map-name>] | [summary] | [unreachable] The <ip-addr> option displays routes for a specific network. The network keyword is optional. You can enter the network address without entering network in front of it. The <num> option specifies the table entry with which you want the display to start. For example, if you want to list entries beginning with table entry 100, specify 100. The age <secs> parameter displays only the routes that have been received or updated more recently than the number of seconds you specify. The as-path-access-list <num> parameter filters the display using the specified AS-path ACL. The best parameter displays the routes received from the neighbor that the Layer 3 switch selected as the best routes to their destinations. The cidr-only option lists only the routes whose network masks do not match their class network length.
1435
The community option lets you display routes for a specific community. You can specify local-as, no-export, no-advertise, internet, or a private community number. You can specify the community number as either two five-digit integer values of 1 through 65535, separated by a colon (for example, 12345:6789) or a single long integer value. The community-access-list <num> parameter filters the display using the specified community ACL. The community-list option lets you display routes that match a specific community filter. The detail option lets you display more details about the routes. You can refine your request by also specifying one of the other display options after the detail keyword. The filter-list option displays routes that match a specific address filter list. The next-hop <ip-addr> option displays the routes for a given next-hop IP address. The no-best option displays the routes for which none of the routes to a given prefix were selected as the best route. The IP route table does not contain a BGP4 route for any of the routes listed by the command. The not-installed-best option displays the routes received from the neighbor that are the best BGP4 routes to their destinations, but were nonetheless not installed in the IP route table because the Layer 3 switch received better routes from other sources (such as OSPF, RIP, or static IP routes). The prefix-list <string> parameter filters the display using the specified IP prefix list. The regular-expression <regular-expression> option filters the display based on a regular expression. Refer to Using regular expressions to filter on page 1391. The route-map <map-name> parameter filters the display using the specified route map. The software displays only the routes that match the match statements in the route map. The software disregards the route map set statements. The summary option displays summary information for the routes. The unreachable option displays the routes that are unreachable because the Layer 3 switch does not have a valid RIP, OSPF, or static route to the next hop.
1436
Syntax: show ip bgp routes best For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display.
Displaying the best BGP4 routes that are not in the IP route table
When the Layer 3 switch has multiple routes to a destination from different sources (such as BGP4, OSPF, RIP, or static routes), the Layer 3 switch selects the route with the lowest administrative distance as the best route, and installs that route in the IP route table. To display the BGP4 routes that are the best routes to their destinations but are not installed in the Layer 3 switch IP route table, enter a command such as the following at any level of the CLI.
Brocade#show ip bgp routes not-installed-best Searching for matching routes, use ^C to quit... Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED F:FILTERED Prefix Next Hop Metric LocPrf Weight Status 1 192.168.4.0/24 192.168.4.106 0 100 0 bE AS_PATH: 65001
Each of the displayed routes is a valid path to its destination, but the Layer 3 switch received another path from a different source (such as OSPF, RIP, or a static route) that has a lower administrative distance. The Layer 3 switch always selects the path with the lowest administrative distance to install in the IP route table. Notice that the route status in this example is the new status, b. Refer to Table 246 on page 1438 for a description. Syntax: show ip bgp routes not-installed-best For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display. To display the routes that the Layer 3 switch has selected as the best routes and installed in the IP route table, display the IP route table using the show ip route command.
NOTE
Syntax: show ip bgp routes unreachable For information about the fields in this display, refer to Table 246 on page 1438. The fields in this display also appear in the show ip bgp display.
1437
Syntax: show ip bgp [route] <ip-addr>/<prefix> [longer-prefixes] | <ip-addr> If you use the route option, the display for the information is different, as shown in the following example.
Brocade#show ip bgp route 9.3.4.0 Number of BGP Routes matching display condition : 1 Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED F:FILTERED Prefix Next Hop Metric LocPrf Weight Status 1 9.3.4.0/24 192.168.4.106 100 0 BE AS_PATH: 65001 4355 1 1221 Last update to IP routing table: 0h12m1s, 1 path(s) installed: Gateway Port 192.168.2.1 2/1 Route is advertised to 1 peers: 20.20.20.2(65300)
TABLE 246
Field
1438
TABLE 246
Field
Weight
Status
NOTE: If the b is shown in lowercase, the software was not able to install the route in the IP route table. b NOT-INSTALLED-BEST. The routes received from the neighbor are the best BGP4 routes to their destinations, but were nonetheless not installed in the IP route table because the Layer 3 switch received better routes from other sources (such as OSPF, RIP, or static IP routes). C CONFED_EBGP. The route was learned from a neighbor in the same confederation and AS, but in a different sub-AS within the confederation. D DAMPED. This route has been dampened (by the route dampening feature), and is currently unusable. H HISTORY. Route dampening is configured for this route, and the route has a history of flapping and is unreachable now. I INTERNAL. The route was learned through BGP4. L LOCAL. The route originated on this Layer 3 switch. M MULTIPATH. BGP4 load sharing is enabled and this route was selected as one of the best ones to the destination. The best route among the multiple paths also is marked with B. NOTE: If the m is shown in lowercase, the software was not able to install the route in the IP route table. S SUPPRESSED. This route was suppressed during aggregation and thus is not advertised to neighbors. NOTE: This field appears only if you enter the route option.
1439
TABLE 247
Field
Prefix Status
The route status, which can be one or more of the following: A AGGREGATE. The route is an aggregate route for multiple networks. B BEST. BGP4 has determined that this is the optimal route to the destination.
NOTE: If the b is shown in lowercase, the software was not able to install the route in the IP route table. b NOT-INSTALLED-BEST. The routes received from the neighbor are the best BGP4 routes to their destinations, but were nonetheless not installed in the IP route table because the Layer 3 switch received better routes from other sources (such as OSPF, RIP, or static IP routes). C CONFED_EBGP. The route was learned from a neighbor in the same confederation and AS, but in a different sub-AS within the confederation. D DAMPED. This route has been dampened (by the route dampening feature), and is currently unusable. H HISTORY. Route dampening is configured for this route, and the route has a history of flapping and is unreachable now. I INTERNAL. The route was learned through BGP4. L LOCAL. The route originated on this Layer 3 switch. M MULTIPATH. BGP4 load sharing is enabled and this route was selected as one of the best ones to the destination. The best route among the multiple paths also is marked with B. NOTE: If the m is shown in lowercase, the software was not able to install the route in the IP route table. S SUPPRESSED. This route was suppressed during aggregation and thus is not advertised to neighbors. Age Next_Hop Learned from Peer Local_Pref The last time an update occurred. The next-hop router for reaching the network from the Layer 3 switch. The IP address of the neighbor that sent this route. The degree of preference for this route relative to other routes in the local AS. When the BGP4 algorithm compares routes on the basis of local preferences, the route with the higher local preference is chosen. The preference can have a value from 0 through 4294967295. The route metric. If the route does not have a metric, this field is blank. The source of the route information. The origin can be one of the following: EGP The routes with this set of attributes came to BGP through EGP. IGP The routes with this set of attributes came to BGP through IGP. INCOMPLETE The routes came from an origin other than one of the above. For example, they may have been redistributed from OSPF or RIP. When BGP4 compares multiple routes to a destination to select the best route, IGP is preferred over EGP and both are preferred over INCOMPLETE.
MED Origin
1440
TABLE 247
Field
Weight
Atomic
Aggregation ID Aggregation AS Originator Cluster List Learned From Admin Distance Adj_RIB_out
The router that originated this aggregator. The AS in which the network information was aggregated. This value applies only to aggregated routes and is otherwise 0. The originator of the route in a route reflector environment. The route-reflector clusters through which this route has passed. The IP address of the neighbor from which the Layer 3 switch learned the route. The administrative distance of the route. The number of neighbors to which the route has been or will be advertised. This is the number of times the route has been selected as the best route and placed in the Adj-RIB-Out (outbound queue) for a BGP4 neighbor. The communities the route is in.
Communities
Syntax: show ip bgp attribute-entries Here is an example of the information displayed by this command. A zero value indicates that the attribute is not set.
Brocade#show ip bgp attribute-entries Total number of BGP Attribute 1 Next Hop :192.168.11.1 Originator:0.0.0.0 Aggregator:AS Number :0 Local Pref:100 AS Path :(65002) 65001 4355 2 Next Hop :192.168.11.1 Originator:0.0.0.0 Aggregator:AS Number :0 Local Pref:100 AS Path :(65002) 65001 4355
Entries: 7753 Metric :0 Cluster List:None Router-ID:0.0.0.0 Communities:Internet 2548 3561 5400 6669 5548 Metric :0 Cluster List:None Router-ID:0.0.0.0 Communities:Internet 2548
Origin:IGP Atomic:FALSE
Origin:IGP Atomic:FALSE
1441
Table 248 lists the field definitions for the command output.
TABLE 248
Field
Atomic
Whether the network information in this set of attributes has been aggregated and this aggregation has resulted in information loss: TRUE Indicates information loss has occurred FALSE Indicates no information loss has occurred NOTE: Information loss under these circumstances is a normal part of BGP4 and does not indicate an error.
The degree of preference for routes that use this set of attributes relative to other routes in the local AS. The communities that routes with this set of attributes are in. The autonomous systems through which routes with this set of attributes have passed. The local AS is shown in parentheses.
Syntax: show ip route [<ip-addr> | <num> | bgp | ospf | rip] Here is an example of the information displayed by this command. Notice that most of the routes in this example have type B, indicating that their source is BGP4.
1442
Brocade#show ip route Total number of IP routes: 50834 B:BGP D:Directly-Connected O:OSPF R:RIP S:Static Network Address NetMask Gateway 3.0.0.0 255.0.0.0 192.168.13.2 4.0.0.0 255.0.0.0 192.168.13.2 9.20.0.0 255.255.128.0 192.168.13.2 10.1.0.0 255.255.0.0 0.0.0.0 10.10.11.0 255.255.255.0 0.0.0.0 12.2.97.0 255.255.255.0 192.168.13.2 12.3.63.0 255.255.255.0 192.168.13.2 12.3.123.0 255.255.255.0 192.168.13.2 12.5.252.0 255.255.254.0 192.168.13.2 12.6.42.0 255.255.254.0 192.168.13.2 remaining 50824 entries not shown...
Port 1/1 1/1 1/1 1/1 2/24 1/1 1/1 1/1 1/1 1/1
Cost 0 0 0 1 1 0 0 0 0 0
Type B B B D D B B B B B
Reuse 0 :0 :0 0 :0 :0 0 :0 :0 0 :0 :0 0 :0 :0 0 :0 :0
Syntax: show ip bgp flap-statistics [regular-expression <regular-expression> | <address> <mask> [longer-prefixes] | neighbor <ip-addr> | filter-list <num>...] The regular-expression <regular-expression> parameter is a regular expression. The regular expressions are the same ones supported for BGP4 AS-path filters. Refer to Using regular expressions to filter on page 1391. The <address> <mask> parameter specifies a particular route. If you also use the optional longer-prefixes parameter, then all statistics for routes that match the specified route or have a longer prefix than the specified route are displayed. For example, if you specify 209.157.0.0 longer, then all routes with the prefix 209.157 or that have a longer prefix (such as 209.157.22) are displayed. The neighbor <ip-addr> parameter displays route flap dampening statistics only for routes learned from the specified neighbor. You also can display route flap statistics for routes learned from a neighbor by entering the following command: show ip bgp neighbors <ip-addr> flap-statistics. The filter-list <num> parameter specifies one or more filters. Only the routes that have been dampened and that match the specified filters are displayed. Table 249 lists the field definitions for the command output.
1443
TABLE 249
Field
The destination network of the route. The neighbor that sent the route to the Layer 3 switch. The number of flaps (state changes) the route has experienced. The amount of time since the first flap of this route. The amount of time remaining until this route will be un-suppressed and thus be usable again. Shows the AS-path information for the route.
You also can display all the dampened routes by entering the following command. show ip bgp dampened-paths.
This example shows that the running-config contains six route maps. Notice that the match and set statements within each route map are listed beneath the command for the route map itself. In this simplified example, each route map contains only one match or set statement. To display the active configuration for a specific route map, enter a command such as the following, which specifies a route map name.
1444
Brocade#show route-map setcomm route-map setcomm permit 1 set community 1234:2345 no-export
This example shows the active configuration for a route map called setcomm. Syntax: show route-map [<map-name>]
The text in bold is the BGP4 restart information for the specified neighbor. Syntax: show ip bgp neighbors
Request the complete BGP4 route table from the neighbor or peer group. You can use this
method if the neighbor supports the refresh capability (RFCs 2842 and 2858).
Clear (reset) the session with the neighbor or peer group. This is the only method you can use if
the neighbor does not support the refresh capability. Each of these methods is effective, but can be disruptive to the network. The first method adds overhead while the Layer 3 switch learns and filters the neighbor or group entire route table, while the second method adds more overhead while the devices re-establish their BGP4 sessions. You also can clear and reset the BGP4 routes that have been installed in the IP route table. Refer to Clearing and resetting BGP4 routes in the IP route table on page 1452.
1445
Enable the feature. Make the policy changes. Apply the changes by requesting a soft reset of the inbound updates from the neighbor or
group. Use the following CLI methods to configure soft configuration, apply policy changes, and display information for the updates that are filtered out by the policies.
This command enables soft reconfiguration for updates received from 10.10.200.102. The software dynamically refreshes or resets the session with the neighbor, then retains all route updates from the neighbor following the reset. Syntax: [no] neighbor <ip-addr> | <peer-group-name> soft-reconfiguration inbound The syntax related to soft reconfiguration is shown. For complete command syntax, refer to Adding BGP4 neighbors on page 1348.
NOTE
This command updates the routes by comparing the route policies against the route updates that the Layer 3 switch has stored. The command does not request additional updates from the neighbor or otherwise affect the session with the neighbor. Syntax: clear ip bgp neighbor <ip-addr> | <peer-group-name> soft in
1446
If you do not specify in, the command applies to both inbound and outbound updates.
NOTE
The syntax related to soft reconfiguration is shown. For complete command syntax, refer to Dynamically refreshing routes on page 1449.
NOTE
Displaying the filtered routes received from the neighbor or peer group
When you enable soft reconfiguration, the Layer 3 switch saves all updates received from the specified neighbor or peer group. This includes updates that contain routes that are filtered out by the BGP4 route policies in effect on the Layer 3 switch. To display the routes that have been filtered out, enter the following command at any level of the CLI.
Brocade#show ip bgp filtered-routes Searching for matching routes, use ^C to quit... Status A:AGGREGATE B:BEST b:NOT-INSTALLED-BEST C:CONFED_EBGP D:DAMPED E:EBGP H:HISTORY I:IBGP L:LOCAL M:MULTIPATH S:SUPPRESSED F:FILTERED Prefix Next Hop Metric LocPrf Weight Status 1 3.0.0.0/8 192.168.4.106 100 0 EF AS_PATH: 65001 4355 701 80 2 4.0.0.0/8 192.168.4.106 100 0 EF AS_PATH: 65001 4355 1 3 4.60.212.0/22 192.168.4.106 100 0 EF AS_PATH: 65001 4355 701 1 189
The routes displayed by the command are the routes that the Layer 3 switch BGP4 policies filtered out. The Layer 3 switch did not place the routes in the BGP4 route table, but did keep the updates. If a policy change causes these routes to be permitted, the Layer 3 switch does not need to request the route information from the neighbor, but instead uses the information in the updates. Syntax: show ip bgp filtered-routes [<ip-addr>] | [as-path-access-list <num>] | [detail] | [prefix-list <string>] The <ip-addr> parameter specifies the IP address of the destination network. The as-path-access-list <num> parameter specifies an AS-path ACL. Only the routes permitted by the AS-path ACL are displayed. The detail parameter displays detailed information for the routes. (The example above shows summary information.) You can specify any of the other options after detail to further refine the display request. The prefix-list <string> parameter specifies an IP prefix list. Only the routes permitted by the prefix list are displayed. The syntax for displaying filtered routes is shown. For complete command syntax, refer to Displaying the BGP4 route table on page 1435.
NOTE
1447
Syntax: show ip bgp neighbors <ip-addr> received-routes [detail] The detail parameter displays detailed information for the routes. The example above shows summary information.
NOTE
The syntax for displaying received routes is shown. For complete command syntax, refer to Displaying BGP4 neighbor information on page 1422.
The show ip bgp neighbors <ip-addr> received-routes syntax supported in previous software releases is changed to the following syntax: show ip bgp neighbors <ip-addr> routes.
NOTE
RFC 2842. This RFC specifies the Capability Advertisement, which a BGP4 router uses to
dynamically negotiate a capability with a neighbor.
1448
NOTE
This command asks the neighbor to send its BGP4 table (Adj-RIB-Out) again. The Layer 3 switch applies its filters to the incoming routes and adds, modifies, or removes BGP4 routes as necessary. Syntax: clear ip bgp neighbor all | <ip-addr> | <peer-group-name> | <as-num> [soft-outbound | soft [in | out]] The all | <ip-addr> | <peer-group-name> | <as-num> option specifies the neighbor. The <ip-addr> parameter specifies a neighbor by its IP interface with the Layer 3 switch. The <peer-group-name> specifies all neighbors in a specific peer group. The <as-num> parameter specifies all neighbors within the specified AS. The all parameter specifies all neighbors. The soft-outbound parameter updates all outbound routes by applying the new or changed filters, but sends only the existing routes affected by the new or changed filters to the neighbor. The soft [in | out] parameter specifies whether you want to refresh the routes received from the neighbor or sent to the neighbor:
soft in does one of the following: - If you enabled soft reconfiguration for the neighbor or peer group, soft in updates the
routes by comparing the route policies against the route updates that the Layer 3 switch has stored. Soft reconfiguration does not request additional updates from the neighbor or otherwise affect the session with the neighbor. Refer to Using soft reconfiguration on page 1446.
If you did not enable soft reconfiguration, soft in requests the neighbor entire BGP4 route table (Adj-RIB-Out), then applies the filters to add, change, or exclude routes. If a neighbor does not support dynamic refresh, soft in resets the neighbor session.
soft out updates all outbound routes, then sends the Layer 3 switch entire BGP4 route table
(Adj-RIB-Out) to the neighbor, after changing or excluding the routes affected by the filters. If you do not specify in or out, the Layer 3 switch performs both options.
1449
The soft-outbound parameter updates all outbound routes by applying the new or changed filters, but sends only the existing routes affected by the new or changed filters to the neighbor. The soft out parameter updates all outbound routes, then sends the Layer 3 switch entire BGP4 route table (Adj-RIB-Out) to the neighbor, after changing or excluding the routes affected by the filters. Use soft-outbound if only the outbound policy is changed. To dynamically resend all the Layer 3 switch BGP4 routes to a neighbor, enter a command such as the following.
Brocade(config-bgp-router)#clear ip bgp neighbor 192.168.1.170 soft out
NOTE
This command applies its filters for outgoing routes to the Layer 3 switch BGP4 route table (Adj-RIB-Out), changes or excludes routes accordingly, then sends the resulting Adj-RIB-Out to the neighbor. The Brocade Layer 3 switch does not automatically update outbound routes using a new or changed outbound policy or filter when a session with the neighbor goes up or down. Instead, the Layer 3 switch applies a new or changed policy or filter when a route is placed in the outbound queue (Adj-RIB-Out). To place a new or changed outbound policy or filter into effect, you must enter a clear ip bgp neighbor command regardless of whether the neighbor session is up or down. You can enter the command without optional parameters or with the soft out or soft-outbound option. Either way, you must specify a parameter for the neighbor (<ip-addr>, <as-num>, <peer-group-name>, or all).
NOTE
1450
Brocade#show ip bgp neighbors 10.4.0.2 1 IP Address: 10.4.0.2, AS: 5 (EBGP), RouterID: 100.0.0.1 Description: neighbor 10.4.0.2 State: ESTABLISHED, Time: 0h1m0s, KeepAliveTime: 0, HoldTime: 0 PeerGroup: pg1 Mutihop-EBGP: yes, ttl: 1 RouteReflectorClient: yes SendCommunity: yes NextHopSelf: yes DefaultOriginate: yes (default sent) MaximumPrefixLimit: 90000 RemovePrivateAs: : yes RefreshCapability: Received Route Filter Policies: Distribute-list: (out) 20 Filter-list: (in) 30 Prefix-list: (in) pf1 Route-map: (in) setnp1 (out) setnp2 Messages: Open Update KeepAlive Notification Refresh-Req Sent : 1 1 1 0 0 Received: 1 8 1 0 0 Last Update Time: NLRI Withdraw NLRI Withdraw Tx: 0h0m59s --Rx: 0h0m59s --Last Connection Reset Reason:Unknown Notification Sent: Unspecified Notification Received: Unspecified TCP Connection state: ESTABLISHED Byte Sent: 115, Received: 492 Local host: 10.4.0.1, Local Port: 179 Remote host: 10.4.0.2, Remote Port: 8053 ISentSeq: 52837276 SendNext: 52837392 TotUnAck: 0 TotSent: 116 ReTrans: 0 UnAckSeq: 52837392 IRcvSeq: 2155052043 RcvNext: 2155052536 SendWnd: 16384 TotalRcv: 493 DupliRcv: 0 RcvWnd: 16384 SendQue: 0 RcvQue: 0 CngstWnd: 1460
If you close a neighbor session, the Layer 3 switch and the neighbor clear all the routes they
learned from each other. When the Layer 3 switch and neighbor establish a new BGP4 session, they exchange route tables again. Use this method if you want the Layer 3 switch to relearn routes from the neighbor and resend its own route table to the neighbor.
If you use the soft-outbound option, the Layer 3 switch compiles a list of all the routes it would
normally send to the neighbor at the beginning of a session. However, before sending the updates, the Brocade Layer 3 switch also applies the filters and route maps you have configured to the list of routes. If the filters or route maps result in changes to the list of routes, the Layer 3 switch sends updates to advertise, change, or even withdraw routes on the
1451
neighbor as needed. This ensures that the neighbor receives only the routes you want it to contain. Even if the neighbor already contains a route learned from the Layer 3 switch that you later decided to filter out, using the soft-outbound option removes that route from the neighbor. You can specify a single neighbor or a peer group. To close a neighbor session and thus flush all the routes exchanged by the Layer 3 switch and the neighbor, enter the following command.
Brocade#clear ip bgp neighbor all
Syntax: clear ip bgp neighbor all | <ip-addr> | <peer-group-name> | <as-num> [soft-outbound | soft [in | out]] The all | <ip-addr> | <peer-group-name> | <as-num> option specifies the neighbor. The <ip-addr> parameter specifies a neighbor by its IP interface with the Layer 3 switch. The <peer-group-name> specifies all neighbors in a specific peer group. The <as-num> parameter specifies all neighbors within the specified AS. The all parameter specifies all neighbors. To resend routes to a neighbor without closing the neighbor session, enter a command such as the following.
Brocade#clear ip bgp neighbor 10.0.0.1 soft out
Syntax: clear ip bgp routes [<ip-addr>/<prefix-length>] The clear ip bgp routes command has the same effect as the clear ip route command, but applies only to routes that come from BGP4.
NOTE
Syntax: clear ip bgp traffic To clear the BGP4 message counter for a specific neighbor, enter a command such as the following.
Brocade#clear ip bgp neighbor 10.0.0.1 traffic
To clear the BGP4 message counter for all neighbors within a peer group, enter a command such as the following.
Brocade#clear ip bgp neighbor PeerGroup1 traffic
1452
Syntax: clear ip bgp neighbor all | <ip-addr> | <peer-group-name> | <as-num> traffic The all | <ip-addr> | <peer-group-name> | <as-num> option specifies the neighbor. The <ip-addr> parameter specifies a neighbor by its IP interface with the Layer 3 switch. The <peer-group-name> specifies all neighbors in a specific peer group. The <as-num> parameter specifies all neighbors within the specified AS. The all parameter specifies all neighbors.
NOTE
Clearing the dampening statistics for a route does not change the dampening status of the route. To clear all the route dampening statistics, enter the following command at any level of the CLI.
Brocade#clear ip bgp flap-statistics
Syntax: clear ip bgp flap-statistics [regular-expression <regular-expression> | <address> <mask> | neighbor <ip-addr>] The parameters are the same as those for the show ip bgp flap-statistics command (except the longer-prefixes option is not supported). Refer to Displaying route flap dampening statistics on page 1413. The clear ip bgp damping command not only clears statistics but also un-suppresses the routes. Refer to Displaying route flap dampening statistics on page 1413.
NOTE
Syntax: clear ip bgp damping [<ip-addr> <ip-mask>] The <ip-addr> parameter specifies a particular network. The <ip-mask> parameter specifies the network mask. To un-suppress a specific route, enter a command such as the following.
Brocade#clear ip bgp damping 209.157.22.0 255.255.255.0
1453
The first 400 bytes of the last packet that contained an error The last NOTIFICATION message either sent or received by the Layer 3 switch
To display these buffers, use options with the show ip bgp neighbors command. Refer to Displaying BGP4 neighbor information on page 1422. This information can be useful if you are working with Brocade Technical Support to resolve a problem. The buffers do not identify the system time when the data was written to the buffer. If you want to ensure that diagnostic data in a buffer is recent, you can clear the buffers. You can clear the buffers for a specific neighbor or for all neighbors. If you clear the buffer containing the first 400 bytes of the last packet that contained errors, all the bytes are changed to zeros. The Last Connection Reset Reason field of the BGP neighbor table also is cleared. If you clear the buffer containing the last NOTIFICATION message sent or received, the buffer contains no data. You can clear the buffers for all neighbors, for an individual neighbor, or for all the neighbors within a specific peer group. To clear these buffers for neighbor 10.0.0.1, enter the following commands.
Brocade#clear ip bgp neighbor 10.0.0.1 last-packet-with-error Brocade#clear ip bgp neighbor 10.0.0.1 notification-errors
Syntax: clear ip bgp neighbor all | <ip-addr> | <peer-group-name> | <as-num> last-packet-with-error | notification-errors The all | <ip-addr> | <peer-group-name> | <as-num> option specifies the neighbor. The <ip-addr> parameter specifies a neighbor by its IP interface with the Layer 3 switch. The <peer-group-name> specifies all neighbors in a specific peer group. The <as-num> parameter specifies all neighbors within the specified AS. The all parameter specifies all neighbors.
1454
Chapter
34
Table 250 lists the individual Brocade FastIron X Series switches and the IP multicast traffic reduction features they support. These features are supported in the Layer 2, base Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 250
Feature
FWS
FCX
ICX 6610
For details about IP multicast traffic reduction on FastIron WS and Brocade FCX Series and Brocade ICX 6610 Series switches, refer to IGMP snooping configuration on page 1491.
IGMP v3 Snooping Global IGMP v1/v2/v3 Snooping per VLAN IGMP v2/v3 Fast Leave (membership tracking) PIM-SM V2 Snooping
1455
An IGMP device's responsibility is to broadcast general queries periodically, and to send group queries when receiving a leave message, to confirm that none of the clients on the port still want specific traffic before removing the traffic from the port. IGMP V2 lets clients specify what group (destination address) will receive the traffic but not to specify the source of the traffic. IGMP V3 is for source-specific multicast traffic, adding the capability for clients to INCLUDE or EXCLUDE specific traffic sources. An IGMP V3 device port state could be INCLUDE or EXCLUDE, and there are different types of group records for client reports. The interfaces respond to general or group queries by sending a membership report that contains one or more of the following records associated with a specific group:
Current-state record that indicates from which sources the interface wants to receive and not
receive traffic. This record contains the source address of interfaces and whether or not traffic will be included (IS_IN) or not excluded (IS_EX) from this source.
Filter-mode-change record. If the interface state changes from IS_IN to IS_EX, a TO_EX record
is included in the membership report. Likewise, if the interface state changes from IS_EX to IS_IN, a TO_IN record appears in the membership report.
An IGMP V2 leave report is equivalent to a TO_IN (empty) record in IGMP V3. This record means
that no traffic from this group will be received regardless of the source.
An IGMP V2 group report is equivalent to an IS_EX (empty) record in IGMP V3. This record
means that all traffic from this group will be received regardless of source.
Source-list-change record. If the interface wants to add or remove traffic sources from its
membership report, the report can contain an ALLOW record, which includes a list of new sources from which the interface wishes to receive traffic. It can also contain a BLOCK record, which lists the current traffic sources from which the interface wants to stop receiving traffic. IGMP protocols provide a method for clients and a device to exchange messages, and let the device build a database indicating which port wants what traffic. The protocols do not specify forwarding methods. They require IGMP snooping or multicast protocols such as PIM or DVMRP to handle packet forwarding. PIM or DVMRP can route multicast packets within and outside a VLAN, while IGMP snooping can switch packets only within a VLAN. If a VLAN is not IGMP snooping-enabled, it floods multicast data and control packets to the entire VLAN in hardware. When snooping is enabled, IGMP packets are trapped to the CPU. Data packets are mirrored to the CPU in addition to being VLAN flooded. The CPU then installs hardware resources, so that subsequent data packets can be switched to desired ports in hardware without going to the CPU. If there is no client report or port to queriers for a data stream, the hardware resource drops it.
1456
MAC address. Groups having the same MAC address are switched to the same destination ports, which are the superset of individual group output ports. Thus, the use of Layer 2 CAM might cause unwanted packets to be sent to some ports. However, the switch generally needs far less Layer 2 CAM than it does Layer 4 CAM, which is required for each stream with a different source and group.
NOTE
VLAN-specific configuration
IGMP snooping can be enabled on some VLANs or on all VLANs. Each VLAN can be independently configured to be a querier or non-querier and can be configured for IGMP V2 or IGMP V3. In general, the ip multicast commands apply globally to all VLANs except those configured with VLAN-specific multicast commands. The VLAN-specific multicast commands supersede the global ip multicast commands. IGMP snooping can be configured for IGMP V2 or IGMP V3 on individual ports of a VLAN. An interface or router sends the queries and reports that include its IGMP version specified on it. The version configuration only applies to sending queries. The snooping device recognizes and processes IGMP V2 and IGMP V3 packets regardless of the version configuration. To avoid version deadlock, an interface retains its version configuration even when it receives a report with a lower version.
1457
Support for IGMP snooping and Layer 3 multicast routing together on the same device
The Brocade device supports global Layer 2 IP multicast traffic reduction (IGMP snooping) and Layer 3 multicast routing (DVMRP or PIM-Sparse or PIM-Dense) together on the same device in the full Layer 3 software image, as long as the Layer 2 feature configuration is at the VLAN level. Refer to IP multicast protocols and IGMP snooping on the same device on page 1600.
Configuration notes and feature limitations for IGMP snooping and Layer 3 multicast routing
The following details apply to FastIron X Series devices:
Layer 2 IGMP snooping is automatically enabled with Layer 3 multicast routing. If Layer 3
multicast routing is enabled on your system, do not attempt to enable Layer 2 IGMP snooping.
The default IGMP version is V2. A user can configure the maximum numbers of group address entries. An IGMP device can be configured to rate-limit the forwarding IGMP V2 membership reports to
queriers.
The device supports static groups. The device acts as a proxy to send IGMP reports for the
static groups when receiving queries.
A user can configure static router ports to force all multicast traffic to these specific ports. If a VLAN has a connection to a PIM- or DVMRP-enabled port on another router, the VLAN must
be configured as a non-querier (passive). When multiple snooping devices connect together and there is no connection to PIM or DVMRP ports, one device must be configured as a querier (active). If multiple devices are configured as active (queriers), only one will keep sending queries after exchanging queries.
The querier must configure an IP address to send out queries. IGMP snooping requires hardware resource. Hardware resource is installed only when there is
data traffic. If resource is inadequate, the data stream without a resource is mirrored to the CPU in addition to being VLAN flooded, which can cause high CPU usage. Brocade recommends that you avoid global enabling of snooping unless necessary.
IGMP snooping requires clients to send membership reports in order to receive data traffic. If a
client application does not send reports, you must configure static groups on the snooping VLAN to force traffic to client ports. Note that servers (traffic sources) are not required to send IGMP memberships.
FastIron X Series devices support VSRP together with IGMP snooping on the same interface. When VSRP or VSRP-aware is configured on a VLAN, the VLAN will support IGMP snooping
version 2 only. IGMP version 3 will not be supported on the VLAN.
High CPU utilization occurs when IGMP Snooping and PIM or DVMRP routing are enabled
simultaneously on FastIron X Series devices. With IGMP snooping and PIM or DVMRP Routing enabled simultaneously on a given system, IP Multicast data packets received in the snooping VLAN(s) are forwarded to client ports via the hardware; however, copies of these packets will also be received and dropped by the CPU.
1458
1459
The following figure shows another example application for PIM SM traffic snooping. This example shows devices on the edge of a Global Ethernet cloud (a Layer 2 Packet over SONET cloud). Assume that each device is attached to numerous other devices such as other Layer 2 Switches and Layer 3 Switches (routers). This example assumes that the devices are actually Brocade devices running Layer 2 Switch software.
NOTE
VLAN 2 Port1/1 Layer 2 switches snoop for PIM SM join and prune messages. Switch A detects a source on Port1/1 and a receiver for the source group on Port5/1. Switch forwards multicast data from source on 1/1 out 5/1 only, which has the receiver. Without PIM SM traffic snooping, the switch forwards traffic from the source out through all ports.
Layer 2 Switch A
VLAN 2 Port5/1
20.20.20.5 Client
VLAN 2 Port7/1
VLAN 2 Port1/1
VLAN 2 Port1/1
Layer 2 Switch B
VLAN 2 Port5/1
Layer 2 Switch C
VLAN 2 Port5/1
Router Client
Receiver for Group 239.255.162.69
Client
The devices on the edge of the Global Ethernet cloud are configured for IGMP snooping and PIM SM traffic snooping. Although this application uses multiple devices, the feature has the same requirements and works the same way as it does on a single device.
1460
NOTE
Use the passive mode of IGMP snooping instead of the active mode. The passive mode assumes that a router is sending group membership queries as well as join and prune messages on behalf of receivers. The active mode configures the device to send group membership queries.
All the device ports connected to the source and receivers or routers must be in the same
port-based VLAN.
The PIM SM snooping feature assumes that the group source and the device are in different
subnets and communicate through a router. The source must be in a different IP subnet than the receivers. A PIM SM router sends PIM join and prune messages on behalf of a multicast group receiver only when the router and the source are in different subnet. When the receiver and source are in the same subnet, they do not need the router in order to find one another. They find one another directly within the subnet. The device forwards all IP multicast traffic by default. Once you enable IGMP snooping and PIM SM traffic snooping, the device initially blocks all PIM SM traffic instead of forwarding it. The device forwards PIM SM traffic to a receiver only when the device receives a join message from the receiver. Consequently, if the source and the downstream router are in the same subnet, and PIM SM traffic snooping is enabled, the device blocks the PIM SM traffic and never starts forwarding the traffic. This is because the device never receives a join message from the downstream router for the group. The downstream router and group find each other without a join message because they are in the same subnet.
NOTE
If the route-only feature is enabled on a Layer 3 Switch, PIM SM traffic snooping will not be supported.
Configuring the IGMP V3 snooping software resource limits Enabling IGMP snooping globally on the device Configuring the global IGMP mode Configuring the global IGMP version Modifying the age interval for group membership entries Modifying the query interval (active IGMP snooping mode only) Modifying the maximum response time Configuring report control (rate limiting) Modifying the wait time before stopping traffic when receiving a leave message Modifying the multicast cache age time Enabling or disabling error and warning messages
1461
Configuring the IGMP mode for a VLAN (active or passive) Disabling IGMP snooping on a VLAN Configuring the IGMP version for a VLAN Configuring static router ports. Turning off static group proxy Enabling IGMP V3 membership tracking and fast leave for the VLAN Enabling fast leave for IGMP V2 Enabling fast convergence
Disabling transmission and receipt of IGMP packets on a port Configuring the IGMP version for individual ports in a VLAN
Syntax: [no] system-max igmp-snoop-mcache <num> where <num> is a value ranges from 256 through 8192. The default is 512.
1462
Syntax: [no] system-max igmp-max-group-addr <num> The <num> variable is a value ranging from 256 through 8192 and the default is 4096.
Syntax: [no] ip multicast version 2 | 3 If you do not specify a version number, IGMP V2 is assumed.
If the route-only feature is enabled on the Layer 3 Switch, then IP multicast traffic reduction
will not be supported.
Active - When active IGMP mode is enabled, a Brocade device actively sends out IGMP queries
to identify multicast groups on the network, and makes entries in the IGMP table based on the group membership reports it receives.
NOTE
Routers in the network generally handle this operation. Use the active IGMP mode only when the device is in a stand-alone Layer 2 Switched network with no external IP multicast router attachments. In this case, enable the active IGMP mode on only one of the devices and leave the other devices configured for passive IGMP mode.
Passive - When passive IGMP mode is enabled, it forwards reports to the router ports which
receive queries. IGMP snooping in the passive mode does not send queries. However, it forwards queries to the entire VLAN.
1463
Syntax: [no] ip multicast [active | passive] If you do not enter either active or passive, the passive mode is assumed.
Syntax: [no] multicast version 2 | 3 If no IGMP version is specified, then the globally-configured IGMP version is used. If an IGMP version is specified for individual ports, those ports use that version, instead of the VLAN version.
Syntax: [no] multicast port-version 2 | 3 ethernet <port> [ethernet <port> | to <port>] Specify the <port> variable in one of the following formats:
FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
1464
To specify a list of ports, enter each port as ethernet <port> followed by a space. For example, ethernet 1/24 ethernet 6/24 ethernet 8/17 To specify a range of ports, enter the first port in the range as ethernet <port> followed by the last port in the range. For example, ethernet 1/1 to 1/8. You can combine lists and ranges in the same command. For example: enable ethernet 1/1 to 1/8 ethernet 1/24 ethernet 6/24 ethernet 8/17.
The above commands disable IGMP snooping on port 1/5 but does not affect the state of IGMP on other ports. Syntax: [no] ip-multicast-disable
1465
Syntax: [no] ip multicast age-interval <interval> The <interval> parameter specifies the aging time. You can specify a value from 20 through 7200 seconds. The default is 260 seconds.
Syntax: [no] ip multicast query-interval <interval> The <interval> parameter specifies the time between queries. You can specify a value from 10 through 3600 seconds. The default is 125 seconds.
Syntax: [no] ip multicast max-response-time <interval> For <interval>, enter a value from 1 through 10 seconds. The default is 10 seconds.
NOTE
1466
The original command, ip igmp-report-control, has been renamed to ip multicast report-control. The original command is still accepted; however, it is renamed when you issue a show configuration command.
Modifying the wait time before stopping traffic when receiving a leave message
You can define the wait time before stopping traffic to a port when a leave message is received. The device sends group-specific queries once per second to ask if any client in the same port still needs this group. Due to internal timer granularity, the actual wait time is between n and (n+1) seconds (n is the configured value).
Brocade(config)# ip multicast leave-wait-time 1
Syntax: [no] ip multicast leave-wait-time <num> <num> is the number of seconds from 1 through 5. The default is 2 seconds.
Syntax: [no] ip multicast mcache-age <num> <num> is the number of seconds from 60 through 3600. The default is 60 seconds.
1467
FSX 800 and FSX 1600 chassis devices <slotnum/portnum> FESX compact switches <portnum>
To specify a list of ports, enter each port as ethernet <port> followed by a space. For example, ethernet 1/24 ethernet 6/24 ethernet 8/17 To specify a range of ports, enter the first port in the range as ethernet <port> followed by the last port in the range. For example, ethernet 1/1 to 1/8. You can combine lists and ranges in the same command. For example: enable ethernet 1/1 to 1/8 ethernet 1/24 ethernet 6/24 ethernet 8/17.
Enabling IGMP V3 membership tracking and fast leave for the VLAN
IGMP V3 gives clients membership tracking and fast leave capability. In IGMP V2, only one client on an interface needs to respond to a router's queries. This can leave some clients invisible to the router, making it impossible to track the membership of all clients in a group. When a client leaves the group, the device sends group-specific queries to the interface to see if other clients on that interface need the data stream of the client who is leaving. If no client responds, the device waits a few seconds before it stops the traffic. You can configure the wait time using the ip multicast leave-wait-time command. IGMP V3 requires every client to respond to queries, allowing the device to track all clients. When tracking is enabled, and an IGMP V3 client sends a leave message and there is no other client, the device immediately stops forwarding traffic to the interface. This feature requires the entire VLAN be configured for IGMP V3 with no IGMP V2 clients. If a client does not send a report during the specified group membership time (the default is 260 seconds), that client is removed from the tracking list. Every group on a physical port keeps its own tracking record. However, it can only track group membership; it cannot track by (source, group). For example, Client A and Client B belong to group1 but each receives traffic streams from different sources. Client A receives a stream from (source_1, group1) and Client B receives a stream from (source_2, group1). The device still waits for the configured leave-wait-time before it stops the traffic because these two clients are in the same group. If the clients are in different groups, then the waiting period is not applied and traffic is stopped immediately.
1468
To enable the tracking and fast leave feature for VLAN 20, enter the following commands.
Brocade(config)# vlan 20 Brocade(config-vlan-20)# multicast tracking
Syntax: [no] multicast tracking The membership tracking and fast leave features are supported for IGMP V3 only. If any port or any client is not configured for IGMP V3, then the multicast tracking command is ignored.
1469
This command enables PIM SM traffic snooping. The PIM SM traffic snooping feature assumes that the network has routers that are running PIM SM. The device must be in passive mode before it can be configured for PIM SM snooping. To disable the feature, enter the no ip pimsm-snooping command.
Brocade(config)# no ip pimsm-snooping
NOTE
If you also want to disable IP multicast traffic reduction, enter the no ip multicast command.
Brocade(config)# no ip multicast
1470
To display the IGMP snooping information for a specific VLAN, enter the following command.
Brocade# show ip multicast vlan 10 Version=3, Intervals: Query=10, Group Age=260, Max Resp=10, Other Qr=30 VL10: cfg V3, vlan cfg passive, , pimsm (vlan cfg), 3 grp, 1 (SG) cache, no rtr port, e2 has 3 groups, non-QR (passive), default V3 **** Warning! has V2 client (life=240), group: 239.0.0.3, life = 240 group: 224.1.1.2, life = 240 group: 224.1.1.1, life = 240 e4 has 0 groups, non-QR (passive), default V3
Syntax: show ip multicast vlan [<vlan-id>] If you do not specify a <vlan-id>, information for all VLANs is displayed. The following table describes the information displayed by the show ip multicast vlan command.
Field
Version Query Group Age Max Resp
Description
The global IGMP version. In this example, the device is configured for IGMP version 2. How often a querier sends a general query on the interface. In this example, the general queries are sent every 125 seconds. The number of seconds membership groups can be members of this group before aging out. The maximum number of seconds a client waits before replying to a query.
1471
Field
Other Qr cfg vlan cfg pimsm rtr port
Description
How long it took a switch with a lower IP address to become a new querier. This value is 2 x Query + Max Resp. The IGMP version for the specified VLAN. In this example, VL10: cfg V3 indicates that VLAN 10 is configured for IGMP V3. The IGMP configuration mode, which is either passive or active. Indicates that PIM SM is enabled on the VLAN. The router ports, which are the ports receiving queries.
Syntax: show ip multicast error The following table describes the output from the show ip multicast error command.
Field
SW processed pkt up-time
Discription
The number of multicast packets processed by IGMP snooping. The time since the IGMP snooping is enabled.
In this example, an IGMP V2 group is in EXCLUDE mode with a source of 0. The group only excludes traffic from the 0 (zero) source list, which actually means that all traffic sources are included. To display detailed IGMP group information for a specific group, enter the show ip multicast group detail command.
1472
Brocade# show ip multicast group 226.1.1.1 detail Display group 226.1.1.1 in all interfaces in details. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL70 : 1 groups, 2 group-port, tracking_enabled group p-port ST QR life mode source 1 226.1.1.1 1/35 yes yes 120 EX 0 group: 226.1.1.1, EX, permit 0 (source, life): life=120, deny 0: group p-port ST QR life mode source 2 226.1.1.1 1/33 yes yes 120 EX 0 group: 226.1.1.1, EX, permit 0 (source, life): life=120, deny 0:
If the tracking and fast leave features are enabled, you can display the list of clients that belong to a particular group by entering the following command.
Brocade# show ip multicast group 224.1.1.1 tracking Display group 224.1.1.1 in all interfaces with tracking enabled. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL70 : 1 groups, 1 group-port, tracking_enabled group p-port ST QR life mode source *** Note: has 1 static groups to the entire vlan, not displayed here 1 224.1.1.1 1/33 no yes 100 EX 0 receive reports from 1 clients: (age) (2.2.100.2 60)
Syntax: show ip multicast group [<group-address> [detail] [tracking]] If you want a report for a specific multicast group, enter that group's address for <group-address>. Enter detail to display the source list of a specific VLAN. Enter tracking for information on interfaces that have tracking enabled. The following table describes the information displayed by the show ip multicast group command.
Field
group p-port ST QR life
Description
The address of the group (destination address in this case, 224.1.1.1) The physical port on which the group membership was received. Yes indicates that the IGMP group was configured as a static group; No means the address was learned from reports. Yes means the port is a querier port; No means it is not. A port becomes a non-querier port when it receives a query from a source with a lower source IP address than the device. The number of seconds the group can remain in EXCLUDE mode. An EXCLUDE mode changes to INCLUDE mode if it does not receive an IS_EX or TO_EX message during a certain period of time. The default is 260 seconds. There is no life displayed in INCLUDE mode. Indicates current mode of the interface: INCLUDE or EXCLUDE. If the interface is in INCLUDE mode, it admits traffic only from the source list. If an interface is in EXCLUDE mode, it denies traffic from the source list and accepts the rest. Identifies the source list that will be included or excluded on the interface. For example, if an IGMP V2 group is in EXCLUDE mode with a source of 0, the group excludes traffic from the 0 (zero) source list, which actually means that all traffic sources are included.
mode
source
1473
Syntax: show ip multicast mcache The following table describes the output of the show ip multicast mcache command.
Field
(source group) cnt OIF age
Description
Source and group addresses of this data stream. (* group) means match group only; (source group) means match both. The number of packets processed in software. Packets are switched in hardware, which increases this number slowly. The output interfaces. If entire vlan is displayed, this indicates that static groups apply to the entire VLAN. The mcache age. The mcache will be reset to 0 if traffic continues to arrive, otherwise the mcache will be aged out when it reaches the time defined by the ip multicast mcache-age command. The up time of this mcache in seconds. Vidx specifies output port list index. Range is from 4096 through 8191 The vidx is shared among mcaches having the same output interfaces. Ref-cnt indicates the number of mcaches using this vidx.
1474
The following table describes the output displayed by the show ip multicast resource command.
Field
alloc in-use avail get-fail limit
Description
The allocated number of units. The number of units which are currently being used. The number of available units. This displays the number of resource failures. NOTE: It is important to pay attention to this field. The upper limit of this expandable field. The limit of multicast group is configured by the system-max igmp-max-group-addr command. The limit of snoop mcache entry is configured by the system-max multicast-snoop-mcache command. The number of memory allocation. This number must continue to increase. The size of a unit (in bytes). The initial allocated amount of memory. More memory may be allocated if resources run out. The output interface (OIF) port mask used by mcache. The entire device has a maximum of 4096 vidx. Different mcaches with the same OIF share the same vidx. If vidx is not available, the stream cannot be hardware-switched.
Syntax: show ip multicast traffic The following table describes the information displayed by the show ip multicast traffic command.
Field
Q Qry QryV2 QryV3 G-Qry
Description
Query General Query Number of general IGMP V2 queries received or sent. Number of general IGMP V3 queries received or sent. Number of group-specific queries received or sent.
1475
Field
GSQry Mbr MbrV2 MbrV3 IsIN IsEX ToIN ToEX ALLO BLK Pkt-Err Pimsm-snooping hello, join, prune
Description
Number of group source-specific queries received or sent. The membership report. The IGMP V2 membership report. The IGMP V3 membership report. Number of source addresses that were included in the traffic. Number of source addresses that were excluded in the traffic. Number of times the interface mode changed from EXCLUDE to INCLUDE. Number of times the interface mode changed from INCLUDE to EXCLUDE. Number of times that additional source addresses were allowed on the interface. Number of times that sources were removed from an interface. Number of packets having errors, such as checksum. Number of PIM sparse hello, join, and prune packets
Active Interface with no other querier present Passive Interface with no other querier present Active Interface with other querier present Passive Interface with other querier present
1476
default V2 3/1/1 has 0 groups, This interface is Querier default V2 3/1/4 has 0 groups, This interface is Querier default V2
Syntax: show ip multicast vlan <vlan-id> If you do not specify a <vlan-id>, information for all VLANs is displayed.
1477
1/1/16 has 4 groups, This interface is Querier default V2 group: 226.6.6.6, life group: 228.8.8.8, life group: 230.0.0.0, life group: 224.4.4.4, life
= = = =
1/1/24 has 1 groups, This interface is Querier default V2 group: 228.8.8.8, life = 240 2/1/16 has 4 groups, This interface is Querier default V2 group: 226.6.6.6, life group: 228.8.8.8, life group: 230.0.0.0, life group: 224.4.4.4, life
= = = =
2/1/24 has 2 groups, This interface is non-Querier Querier is 5.5.5.5 Age is 0 Max response time is 100 default V2 **** Warning! has V3 (age=0) nbrs group: 234.4.4.4, life = 260 group: 226.6.6.6, life = 260 3/1/1 has 4 groups, This interface is Querier default V2 group: 238.8.8.8, life group: 228.8.8.8, life group: 230.0.0.0, life group: 224.4.4.4, life
= = = =
3/1/4 has 1 groups, This interface is non-Querier Querier is 8.8.8.8 Age is 0 Max response time is 100 default V2 **** Warning! has V3 (age=0) nbrs group: 236.6.6.6, life = 260
1478
1/1/16 has 4 groups, This interface is non-Querier (passive) default V2 group: 226.6.6.6, life = 260 group: 228.8.8.8, life = 260 group: 230.0.0.0, life = 260 group: 224.4.4.4, life = 260 1/1/24 has 1 groups, This interface is non-Querier (passive) default V2 group: 228.8.8.8, life = 260 2/1/16 has 4 groups, This interface is non-Querier (passive) default V2 group: 226.6.6.6, life = 260 group: 228.8.8.8, life = 260 group: 230.0.0.0, life = 260 group: 224.4.4.4, life = 260 2/1/24 has 2 groups, This interface is non-Querier (passive) Querier is 5.5.5.5 Age is 0 Max response time is 100 default V2 **** Warning! has V3 (age=0) nbrs group: 234.4.4.4, life = 260 group: 226.6.6.6, life = 260 3/1/1 has 4 groups, This interface is non-Querier (passive) default V2 group: 238.8.8.8, life = 260 group: 228.8.8.8, life = 260 group: 230.0.0.0, life = 260 group: 224.4.4.4, life = 260 3/1/4 has 1 groups, This interface is non-Querier (passive) Querier is 8.8.8.8 Age is 0 Max response time is 100 default V2 **** Warning! has V3 (age=0) nbrs group: 236.6.6.6, life = 260
1479
Displaying PIM SM snooping information Displaying PIM SM snooping information on a Layer 2 switch Displaying PIM SM snooping information for a specific group or source group pair
This output shows the number of PIM join OIF out of the total OIF. The join or prune messages are source-specific. In this case, If the mcache is in (* G), the display function will also print the traffic source information. Syntax: show ip multicast pimsm-snooping [<vlan-id>] Use the <vlan-id> parameter to display PIM SM snooping information for a specific VLAN.
1480
Brocade# show ip multicast pimsm-snooping VLAN ID 100, total 3 entries PIMSM Neighbor list: 1.100.100.12 : 3/3 expire 120 1.100.100.10 : 3/2 expire 170 1.100.100.7 : 3/1 expire 160 1 Group: 224.0.1.22, fid 08ac, NO cam Forwarding Port: 3/3 PIMv2 Group Port: 3/3 (Source, Port) list: 1 entries 2 Group: 239.255.162.2, fid 08aa, cam Forwarding Port: 3/1 3/2 PIMv2 Group Port: 3/1 3/2 (Source, Port) list: 3 entries 3 Group: 239.255.163.2, fid 08a9, cam Forwarding Port: 3/1 3/2 PIMv2 Group Port: 3/1 3/2 (Source, Port) list: 3 entries VLAN ID 4008, total 0 entries PIMSM Neighbor list:
vlan 100
s s s
10
Syntax: show ip pimsm-snooping vlan <vlan-id> Enter the ID of the VLAN for the vlan <vlan-id> parameter. If you want to display PIM SM snooping information for one source or one group, enter a command as in the following example. The command also displays the (source, port) list of the group.
Brocade# show ip pimsm-snooping 239.255.163.2 Show pimsm snooping group 239.255.163.2 in all vlan VLAN ID 100 Group: 239.255.163.2, fid 08a9, cam 10 Forwarding Port: 3/1 3/2 PIMv2 Group Port: 3/1 3/2 (Source, Port) list: 3 entries 1 192.168.176.44, age=0, port: 3/2 2 158.158.158.158, age=0, port: 3/1 3 1.1.7.1, age=0, port: 3/2
Syntax: show ip pimsm-snooping <group-address> | <source-address> If the address you entered is within the range of source addresses, then the router treats it as the source address. Likewise, if the address falls in the range of group addresses, then the router assumes that you are requesting a report for that group. The following table describes the information displayed by the show ip pimsm-snooping command.
Field
VLAN ID PIM SM Neighbor list
Description
The port-based VLAN to which the information listed below apply and the number of members in the VLAN. The PIM SM routers that are attached to the Layer 2 Switch ports. The value following expires indicates how many seconds the Layer 2 Switch will wait for a hello message from the neighbor before determining that the neighbor is no longer present and removing the neighbor from the list. The IP address of the multicast group. NOTE: The fid and camindex values are used by Brocade Technical Support for troubleshooting.
Multicast Group
1481
Field
Forwarding Port PIMv2 Group Port Source, Port list
Description
The ports attached to the group receivers. A port is listed here when it receives a join message for the group, an IGMP membership report for the group, or both. The ports on which the Layer 2 Switch has received PIM SM join messages for the group. The IP address of each PIM SM source and the Layer 2 Switch ports connected to the receivers of the source.
Displaying PIM SM snooping information for a specific group or source group pair
To display PIM SM snooping information for a specific group, enter the following command at any level of the CLI.
Brocade# show ip multicast pimsm-snooping 230.1.1.1 Show pimsm snooping group 230.1.1.1 in all vlans vlan 10,has 2 caches. 1 (*230.1.1.1) has 1 pim join ports out of 1 OIF 1(age=120) 1 has 1 src:20.20.20.66(120)
To display PIM SM snooping information for a specific (source, group) pair, enter the following command at any level of the CLI.
Brocade# show ip multicast pimsm-snooping 230.2.2.2 20.20.20.66 Show pimsm snooping source 20.20.20.66, group 230.2.2.2 in all vlans vlan 10:(*230.2.2.2) has 1 pim join ports out of 2 OIF 1(age=0) 1 has 1 src:20.20.20.66(0)
Syntax: show ip multicast pimsm-snooping <group-address> [<source-ip-address>] The Brocade device determines which address is the group address and which one is the source address based on the ranges that the address fall into. If the address is within the range of source addresses, then the router treats it as the source address. Likewise, if the address falls in the range of group addresses, then the router assumes it is a group address. The following table describes the information displayed by the show ip multicast pimsm-snooping command.
Field
vlan port age src
Description
The VLAN membership ID of the source. The port on which the source is sending traffic. In this example, the port number is 1. The age of the port, in seconds. The source address and age. The age (number of seconds) is indicated in brackets immediately following the source.
1482
Syntax: clear ip multicast vlan <vlan-id> mcache The <vlan-id> parameter specifies the specific VLAN in which the mcache needs to be cleared.
Syntax: clear ip multicast vlan <vlan-id> traffic The <vlan-id> parameter specifies the specific VLAN in which traffic counters needs to be cleared.
1483
1484
Chapter
IP Multicast Traffic Reduction for FastIron WS and Brocade FCX and ICX Switches
35
Table 251 lists the individual Brocade FastIron switches and the IP multicast traffic reduction features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 251
Feature
FWS
FCX
ICX 6610
IGMP v1/v2 Snooping Global IGMP v3 Snooping Global IGMP v1/v2/v3 Snooping per VLAN IGMP v2/v3 Fast Leave (membership tracking) PIM-SM V2 Snooping Multicast static group traffic filtering (for snooping scenarios)
1485
An IGMP device is responsible for broadcasting general queries periodically, and sending group queries when it receives a leave message, to confirm that none of the clients on the port still want specific traffic before removing the traffic from the port. IGMPv2 lets clients specify what group (destination address) will receive the traffic but not to specify the source of the traffic. IGMPv3 is for source-specific multicast traffic, adding the capability for clients to INCLUDE or EXCLUDE specific traffic sources. An IGMPv3 device port state could be INCLUDE or EXCLUDE, and there are different types of group records for client reports. The interfaces respond to general or group queries by sending a membership report that contains one or more of the following records associated with a specific group:
Current-state record that indicates from which sources the interface wants to receive and not
receive traffic. This record contains the source address of interfaces and whether or not traffic will be included (IS_IN) or not excluded (IS_EX) from this source.
Filter-mode-change record. If the interface state changes from IS_IN to IS_EX, a TO_EX record
is included in the membership report. Likewise, if the interface state changes from IS_EX to IS_IN, a TO_IN record appears in the membership report.
An IGMPv2 leave report is equivalent to a TO_IN (empty) record in IGMPv3. This record means
that no traffic from this group will be received regardless of the source.
An IGMPv2 group report is equivalent to an IS_EX (empty) record in IGMPv3. This record means
that all traffic from this group will be received regardless of source.
Source-list-change record. If the interface wants to add or remove traffic sources from its
membership report, the report can contain an ALLOW record, which includes a list of new sources from which the interface wishes to receive traffic. It can also contain a BLOCK record, which lists the current traffic sources from which the interface wants to stop receiving traffic. IGMP protocols provide a method for clients and a device to exchange messages, and let the device build a database indicating which port wants what traffic. The protocols do not specify forwarding methods. They require IGMP snooping or multicast protocols such as PIM or DVMRP to handle packet forwarding. PIM and DVMRP can route multicast packets within and outside a VLAN, while IGMP snooping can switch packets only within a VLAN. Currently, FWS and FCX devices do not support multicast routing. If a VLAN is not IGMP snooping-enabled, it floods multicast data and control packets to the entire VLAN in hardware. When snooping is enabled, IGMP packets are trapped to the CPU. Data packets are mirrored to the CPU in addition to being VLAN flooded. The CPU then installs hardware resources, so that subsequent data packets can be switched to desired ports in hardware without going to the CPU. If there is no client report or port to queriers for a data stream, the hardware resource drops it. The hardware can either match the group address only (* G), or both the source and group (S G) of the data stream. If any IGMPv3 is configured in any port of a VLAN, this VLAN uses (S G) match; otherwise, it uses (* G). This is 32-bit IP address matching, not 23-bit multicast MAC address 01-00-5e-xx-xx-xx matching. Brocade FWS and FCX devices have 16K of hardware resources allocated to MAC learning, IGMP, and MLD snooping. If a data packet does not match any of these resources, it might be sent to the CPU, which increases the CPU burden. This can happen if the device runs out of hardware resource, or is unable to install resources for a specific matching address due to hashing collision. The hardware hashes addresses into 16K entries, with some addresses hashed into the same entry. If the collision number in an entry is more than the hardware chain length, the resource cannot be installed. The chain length can be configured using the hash-chain-length command.
Brocade(config)# hash-chain-length 8
1486
The <num> value can be 4, 8, 16, or 32. Any other value is truncated to the closest lower ceiling. For example, a value of 15 is changed to 8. The default hash chain length is 4. A chain length of more than 4 may affect line rate switching. For this command to take effect, you must save the configuration and reload the switch. The hardware resource limit applies only to the VLANs where IGMP snooping is enabled. Multicast streams are switched in hardware without using any pre-installed resources in a VLAN where snooping is not enabled. FastIron devices support up to 8K of IGMP groups, which are produced by client membership reports.
NOTE
A user can configure the maximum numbers of groups and hardware switched data streams. The device supports static groups that apply to the entire VLAN, or to just a few ports. The
device acts as a proxy to send IGMP reports for the static groups when receiving queries. The static group has a drop option to discard multicast data packets in hardware.
A user can configure static router ports to force all multicast traffic to these specific ports. The devices support fast leave for IGMPv2. Fast leave stops traffic immediately when the port
receives a leave message.
The devices support tracking and fast leave for IGMPv3, tracking all IGMPv3 clients. If the only
client on a port leaves, traffic is stopped immediately.
An IGMP device can be configured as a querier (active) or non-querier (passive). Queriers send
queries. Non-queriers listen for queries and forward them to the entire VLAN.
Every VLAN can be independently configured to be a querier or a non-querier. If a VLAN has a connection to a PIM- or DVMRP-enabled port on another router, this VLAN must
be configured as a non-querier (passive). When multiple snooping devices connect together and there is no connection to PIM or DVMRP ports, one device must be configured as a querier (active). If multiple devices are configured as active (queriers), only one will keep sending queries after exchanging queries.
An IGMP device can be configured to rate-limit the forwarding IGMPv2 membership reports to
queriers.
The querier must configure an IP address to send out queries. When VSRP or VSRP-aware is configured on a VLAN, the VLAN will support IGMP snooping
version 2 only. IGMP version 3 will not be supported on the VLAN.
When OSPF/PIM/VRRP is configured on a VLAN on the FCX, the VLAN will support IGMP
snooping version 1 and version 2. IGMP snooping version 3 will not be supported on the VLAN.
1487
The implementation allows snooping on some VLANs or all VLANs. Each VLAN can independently enable or disable IGMP, or configure V2 or V3. In general, global configuration commands ip multicast apply to every VLAN except those that have local multicast configurations (which supersede the global configuration). IGMP also allows independent configuration of individual ports in a VLAN for either IGMPv2 or IGMPv3. Configuring a specific version on a port or a VLAN only applies to the device's sent queries. The device always processes client reports of any version regardless of the configured version. IGMP snooping requires hardware resources. If resources are inadequate, the data stream without a resource is mirrored to CPU in addition to being VLAN flooded, which can cause high CPU usage. Brocade recommends that you avoid global enabling of snooping unless necessary. When any port in a VLAN is configured for IGMPv3, the VLAN matches both source and group (S G) in hardware switching. If no ports are configured for IGMPv3, the VLAN matches group only (* G). Matching (S G) requires more hardware resources than matching (* G) when there are multiple servers sharing the same group. For example, two data streams from different sources to the same group require two (S G) entries in IGMPv3, but only one (* G) in IGMPv2. To conserve resources, IGMPv3 must be used only in source-specific applications. When VLANs are independently configured for versions, some VLANs can match (* G) while others match (S G). IGMP snooping requires clients to send membership reports in order to receive data traffic. If a client application does not send reports, you must configure static groups to force traffic to client ports. A static group can apply to only some ports or to the entire VLAN.
NOTE
1488
NOTE
This feature applies only to PIM SM version 2 (PIM V2).
1489
Switch snoops for PIM SM join and prune messages. Detects source on port1/1 and receiver for source group on 5/1. Forwards multicast data from source on 1/1 to receiver via 5/1 only.
VLAN 2 Port1/1
Layer 2 Switch
VLAN 2 Port5/1 VLAN 2 Port7/1
Without PIM SM traffic reduction, switch forwards traffic from source out all ports on VLAN.
10.10.10.6 Router sends a PIM SM join message for 239.255.162.1 10.10.10.7 Router Client Receiver for Group 239.255.162.69 Client sends an IGMP group membership report for 239.255.162.69
30.30.30.6
Client
NOTE
IP address 239.192.0.0/14 must be used for IPv4 Organization Local Scope. When PIM SM traffic snooping is enabled, the device starts listening for PIM SM join and prune messages and IGMP group membership reports. Until the device receives a PIM SM join message or an IGMP group membership report, the device forwards IP multicast traffic out all ports. Once the device receives a join message or group membership report for a group, the device forwards subsequent traffic for that group only on the ports from which the join messages or IGMP reports were received. In this example, the router connected to the receiver for group 239.255.162.1 sends a join message toward the group source. Because PIM SM traffic snooping is enabled on the device, the device examines the join message to learn the group ID, then makes a forwarding entry for the group ID and the port connected to the receiver router. The next time the device receives traffic for 239.255.162.1 from the group source, the device forwards the traffic only on port 5/1, because that is the only port connected to a receiver for the group. Notice that the receiver for group 239.255.162.69 is directly connected to the device. As a result, the device does not see a join message on behalf of the client. However, since IP multicast traffic reduction also is enabled, the device uses the IGMP group membership report from the client to select the port for forwarding traffic to group 239.255.162.69 receivers. The IP multicast traffic reduction feature and the PIM SM traffic snooping feature together build a list of groups and forwarding ports for the VLAN. The list includes PIM SM groups learned through join messages as well as MAC addresses learned through IGMP group membership reports. In this case, even though the device never sees a join message for the receiver for group 239.255.162.69, the device nonetheless learns about the receiver and forwards group traffic to the receiver. The device stops forwarding IP multicast traffic on a port for a group if the port receives a prune message for the group.
1490
Notice that the ports connected to the source and the receivers are all in the same port-based VLAN on the device. This is required for the PIM SM snooping feature. The devices on the edge of the Global Ethernet cloud are configured for IP multicast traffic reduction and PIM SM traffic snooping. Although this application uses multiple devices, the feature has the same requirements and works the same way as it does on a single device.
Configuring the hardware and software resource limits on page 1492 Enabling or disabling transmission and receipt of IGMP packets on a port on page 1492 Configuring the global IGMP mode on page 1492 (Must be enabled for IGMP snooping) Modifying the age interval on page 1493 Modifying the query interval (active IGMP snooping mode only) on page 1493 Configuring the global IGMP version on page 1493 Configuring report control on page 1493 (rate limiting) Modifying the wait time before stopping traffic when receiving a leave message on page 1494
Modifying the multicast cache age time on page 1494 Enabling or disabling error and warning messages on page 1494 Enabling or disabling PIM sparse snooping on page 1494
Configuring the IGMP mode for a VLAN on page 1495 (active or passive) Disabling IGMP snooping for the VLAN on page 1495 Disabling PIM sparse mode snooping for the VLAN on page 1495 Configuring the IGMP version for the VLAN on page 1496 Configuring the IGMP version for individual ports on page 1496 Configuring static groups to the entire VLAN or to specific ports on page 1496 Configuring static router ports on page 1497 Turning off static group proxy on page 1497 Enabling IGMPv3 membership tracking and fast leave for the VLAN on page 1497 Configuring fast leave for IGMPv2 on page 1498 Enabling fast convergence on page 1498
1491
Syntax: [no] system-max igmp-snoop-mcache <num> The system supports up to 32K of groups. The configurable range is from 256 through 32768 and the default is 8192. However, for ICX 6430, the range is from 256 through 1024, and the default is 256, while for ICX 6450, the default is 4096. The configured number is the upper limit of an expandable database. Client memberships exceeding the group limits are not processed. Enter the system-max igmp-max-group-addr command to define the maximum number of IGMP group addresses.
Brocade(config)# system-max igmp-max-group-addr 1600
Active - When active IGMP mode is enabled, an FWS or FCX device actively sends out IGMP
queries to identify multicast groups on the network, and makes entries in the IGMP table based on the group membership reports it receives.
Passive - When passive IGMP mode is enabled, it forwards reports to the router ports which
receive queries. IGMP snooping in the passive mode does not send queries. However, it forwards queries to the entire VLAN. To globally set the IGMP mode to active, enter the ip multicast active command.
Brocade(config)# ip multicast active
Syntax: [no] ip multicast [active | passive] If you do not enter either active or passive, the passive mode is assumed.
1492
Syntax: [no] ip multicast age-interval <interval> The <interval> parameter specifies the aging time. You can specify a value from 20 through 7200 seconds. The default is 140 seconds.
Syntax: [no] ip multicast query-interval <interval> The <interval> parameter specifies the time between queries. You can specify a value from 10 through 3600 seconds. The default is 125 seconds.
Syntax: [no] ip multicast version 2 | 3 You can also optionally specify the IGMP version for individual VLANs, or individual ports within VLANs. When no IGMP version is specified for a VLAN, the global IGMP version is used. When an IGMP version is specified for individual ports within a VLAN, the ports use that version, instead of the VLAN version or the global version. The default is IGMPv2.
NOTE
1493
IGMPv2 membership reports of the same group from different clients are considered to be the same and are rate-limited. Use the ip multicast report-control command to alleviate report storms from many clients answering the upstream router query.
Brocade(config)# ip multicast report-control
Syntax: [no] ip multicast report-control The original command, ip igmp-report-control, has been renamed to ip multicast report-control. The original command is still accepted; however, it is renamed when you issue a show configuration command.
Modifying the wait time before stopping traffic when receiving a leave message
You can define the wait time before stopping traffic to a port when a leave message is received. The device sends group-specific queries once per second to ask if any client in the same port still needs this group. The value range is from 1 through 5, and the default is 2. Due to internal timer granularity, the actual wait time is between n and (n+1) seconds (n is the configured value).
Brocade(config)# ip multicast leave-wait-time 1
1494
Syntax: [no] ip pimsm-snooping The device must be in passive mode before it can be configured for PIM snooping.
NOTE
Active - An active IGMP mode device actively sends out IGMP queries to identify multicast
groups on the network, and makes entries in the IGMP table based on the group membership reports received.
Passive - A passive IGMP mode device forwards reports to the router ports which receive
queries. IGMP snooping in the passive mode forwards queries to the entire VLAN, but it does not send queries. To set the IGMP mode for VLAN 20 to active, enter the following commands.
Brocade(config)# vlan 20 Brocade(config-vlan-20)# multicast active
1495
Syntax: [no] multicast version 2 | 3 If no IGMP version is specified, then the globally-configured IGMP version is used. If an IGMP version is specified for individual ports, those ports use that version, instead of the VLAN version.
Syntax: [no] multicast static-group <ipv4-address> [count <num>] [<port-numbers> | drop] The <ipv4-address> parameter is the address of the multicast group. The count is optional, which allows a contiguous range of groups. Omitting the count <num> is equivalent to the count being 1. If no <port-numbers> are entered, the static groups apply to the entire VLAN.
1496
Syntax: [no] multicast router-port ethernet <port> [ethernet <port> | to <port>] Specify the <port> variable in the format <stack-unit/slotnum/portnum>. To specify a list of ports, enter each port as ethernet <port> followed by a space. For example, ethernet 0/1/4 ethernet 0/1/5 ethernet 0/1/8 To specify a range of ports, enter the first port in the range as ethernet <port> followed by the last port in the range. For example, ethernet 0/1/1 to 0/1/8. You can combine lists and ranges in the same command. For example: enable ethernet 0/1/1 to 0/1/8 ethernet 0/1/24 ethernet 0/2/2 ethernet 0/2/4.
Enabling IGMPv3 membership tracking and fast leave for the VLAN
IGMPv3 gives clients membership tracking and fast leave capability. In IGMPv2, only one client on an interface needs to respond to a router's queries. This can leave some clients invisible to the router, making it impossible to track the membership of all clients in a group. When a client leaves the group, the device sends group-specific queries to the interface to see if other clients on that interface need the data stream of the client who is leaving. If no client responds, the device waits a few seconds before it stops the traffic. You can configure the wait time using the ip multicast leave-wait-time command. IGMPv3 requires every client to respond to queries, allowing the device to track all clients. When tracking is enabled, and an IGMPv3 client sends a leave message and there is no other client, the device immediately stops forwarding traffic to the interface. This feature requires the entire VLAN be configured for IGMPv3 with no IGMPv2 clients. If a client does not send a report during the specified group membership time (the default is 140 seconds), that client is removed from the tracking list.
1497
Every group on a physical port keeps its own tracking record. However, it can only track group membership; it cannot track by (source, group). For example, Client A and Client B belong to group1 but each receives traffic streams from different sources. Client A receives a stream from (source_1, group1) and Client B receives a stream from (source_2, group1). The device still waits for the configured leave-wait-time before it stops the traffic because these two clients are in the same group. If the clients are in different groups, then the waiting period is not applied and traffic is stopped immediately. To enable the tracking and fast leave feature for VLAN 20, enter the following commands.
Brocade(config)# vlan 20 Brocade(config-vlan-20)# multicast tracking
Syntax: [no] multicast tracking The membership tracking and fast leave features are supported for IGMPv3 only. If any port or any client is not configured for IGMPv3, then the multicast tracking command is ignored.
1498
Syntax: show ip multicast error The following table describes the output from the show ip multicast error command.
Field
SW processed pkt up-time
Description
The number of multicast packets processed by IGMP snooping. The time since the IGMP snooping is enabled.
In this example, an IGMPv2 group is in EXCLUDE mode with a source of 0. The group only excludes traffic from the 0 (zero) source list, which actually means that all traffic sources are included. To display detailed IGMP group information, enter the show ip multicast group detail command.
Brocade# show ip multicast group 226.1.1.1 detail Display group 226.1.1.1 in all interfaces in details. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL70 : 1 groups, 2 group-port, tracking_enabled group p-port ST QR life mode source 1 226.1.1.1 0/1/35 yes yes 120 EX 0 group: 226.1.1.1, EX, permit 0 (source, life): life=120, deny 0: group p-port ST QR life mode source 2 226.1.1.1 0/1/33 yes yes 120 EX 0 group: 226.1.1.1, EX, permit 0 (source, life): life=120, deny 0:
1499
If the tracking and fast leave features are enabled, you can display the list of clients that belong to a particular group by entering the following command.
Brocade# show ip multicast group 224.1.1.1 tracking Display group 224.1.1.1 in all interfaces with tracking enabled. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL70 : 1 groups, 1 group-port, tracking_enabled group p-port ST QR life mode source *** Note: has 1 static groups to the entire vlan, not displayed here 1 224.1.1.1 0/1/33 no yes 100 EX 0 receive reports from 1 clients: (age) (2.2.100.2 60)
Syntax: show ip multicast group [<group-address> [detail] [tracking]] If you want a report for a specific multicast group, enter that group's address for <group-address>. Enter detail to display the source list of a specific VLAN. Enter tracking for information on interfaces that have tracking enabled. The following table describes the information displayed by the show ip multicast group command.
Field
group p-port ST QR life
Description
The address of the group (destination address in this case, 224.1.1.1) The physical port on which the group membership was received. Yes indicates that the IGMP group was configured as a static group; No means the address was learned from reports. Yes means the port is a querier port; No means it is not. A port becomes a non-querier port when it receives a query from a source with a lower source IP address than the device. The number of seconds the group can remain in EXCLUDE mode. An EXCLUDE mode changes to INCLUDE mode if it does not receive an "IS_EX" or "TO_EX" message during a certain period of time. The default is 140 seconds. There is no life displayed in INCLUDE mode. Indicates current mode of the interface: INCLUDE or EXCLUDE. If the interface is in INCLUDE mode, it admits traffic only from the source list. If an interface is in EXCLUDE mode, it denies traffic from the source list and accepts the rest. Identifies the source list that will be included or excluded on the interface. For example, if an IGMPv2 group is in EXCLUDE mode with a source of 0, the group excludes traffic from the 0 (zero) source list, which actually means that all traffic sources are included.
mode
source
1500
Syntax: show ip multicast mcache The following table describes the output of the show ip multicast mcache command.
Field
(source group) cnt OIF age
Description
Source and group addresses of this data stream. (* group) means match group only; (source group) means match both. The number of packets processed in software. Packets are switched in hardware, which increases this number slowly. The output interfaces. If entire vlan is displayed, this indicates that static groups apply to the entire VLAN. The mcache age. The mcache will be reset to 0 if traffic continues to arrive, otherwise the mcache will be aged out when it reaches the time defined by the ip multicast mcache-age command. The up time of this mcache in minutes. Vidx specifies output port list index. Range is from 4096 to 8191 The vidx is shared among mcaches having the same output interfaces. Ref-cnt indicates the number of mcaches using this vidx.
1501
This output shows the number of OIF due to PIM out of the total OIF. The join or prune messages are source-specific. In this case, if the mcache is in (* G), the display function will also print the traffic source information.
limit 6000 200000 1589248 29696 500000 118784 500000 29696 59392 14848 512 200000 59392 14848 59392 29696 14848 200000
get-mem 0 0 107 0 0 0 0 12 12 12 0 0 0 0 0 0 0 0
init 256 1024 256 128 2000 512 2000 128 256 64 128 2000 256 64 256 128 64 2000
Syntax: show ip multicast resource The following table describes the output from the show ip multicast resource command.
Field
alloc in-use avail get-fail limit
Description
The allocated number of units. The number of units which are currently being used. The number of available units. This displays the number of resource failures. NOTE: It is important to pay attention to this field. The upper limit of this expandable field. The limit of multicast group is configured by the system-max igmp-max-group-addr command. The limit of snoop mcache entry is configured by the system-max multicast-snoop-mcache command. The number of memory allocation. This number should continue to increase. The size of a unit (in bytes). The initial allocated amount of memory. More memory can be allocated if resources run out. The output interface (OIF) port mask used by mcache. The entire device has a maximum of 4096 vidx. Different mcaches with the same OIF share the same vidx. If vidx is not available, the stream cannot be hardware-switched.
1502
Syntax: show ip multicast traffic The following table describes the information displayed by the show ip multicast traffic command.
Field
Q Qry QryV2 QryV3 G-Qry GSQry Mbr MbrV2 MbrV3 IsIN IsEX ToIN ToEX ALLO BLK Pkt-Err Pimsm-snooping hello, join, prune
Description
Query General Query Number of general IGMPv2 queries received or sent. Number of general IGMPv3 queries received or sent. Number of group-specific queries received or sent. Number of group source-specific queries received or sent. The membership report. The IGMPv2 membership report. The IGMPv3 membership report. Number of source addresses that were included in the traffic. Number of source addresses that were excluded in the traffic. Number of times the interface mode changed from EXCLUDE to INCLUDE. Number of times the interface mode changed from INCLUDE to EXCLUDE. Number of times that additional source addresses were allowed on the interface. Number of times that sources were removed from an interface. Number of packets having errors, such as checksum. Number of PIM sparse hello, join, and prune packets
1503
Syntax: show ip multicast vlan [<vlan-id>] If you do not specify a <vlan-id>, information for all VLANs is displayed. The following table describes the information displayed by the show ip multicast vlan command.
Field
version query-t group-aging-t rtr-port
Description
The IGMP version number How often a querier sends a general query on the interface. The number of seconds membership groups can be members of this group before aging out. The router ports which are the ports receiving queries. The display router ports: 0/1/13(140) 1.1.70.3 means port 0/1/13 has a querier with 1.1.70.3 address, and a remaining life of 140 seconds. The maximum number of seconds a client waits before it replies to the query. Indicates that the port is a non-querier. Indicates that the port is a querier. The IGMP version for the specified VLAN. In this example, VL70: dft V2 indicates that the default IGMP version V2 is set for VLAN 70.
Active interface with no other querier present Passive interface with no other querier present Active interface with other querier present Passive interface with other querier present
1504
Syntax: show ip multicast vlan <vlan-id> If you do not specify a <vlan-id>, information for all VLANs is displayed.
1505
This interface is non-Querier (passive) default V2 3/1/1 has 0 groups, This interface is non-Querier (passive) default V2 3/1/4 has 0 groups, This interface is non-Querier (passive) default V2
= = = =
1/1/24 has 1 groups, This interface is Querier default V2 group: 228.8.8.8, life = 240 2/1/16 has 4 groups, This interface is Querier default V2 group: 226.6.6.6, life group: 228.8.8.8, life group: 230.0.0.0, life group: 224.4.4.4, life
= = = =
2/1/24 has 2 groups, This interface is non-Querier Querier is 5.5.5.5 Age is 0 Max response time is 100 default V2 **** Warning! has V3 (age=0) nbrs group: 234.4.4.4, life = 260 group: 226.6.6.6, life = 260 3/1/1 has 4 groups, This interface is Querier default V2 group: 238.8.8.8, life = 260 group: 228.8.8.8, life = 260 group: 230.0.0.0, life = 260
1506
group: 224.4.4.4, life = 260 3/1/4 has 1 groups, This interface is non-Querier Querier is 8.8.8.8 Age is 0 Max response time is 100 default V2 **** Warning! has V3 (age=0) nbrs group: 236.6.6.6, life = 260
1507
group: 224.4.4.4, life = 260 3/1/4 has 1 groups, This interface is non-Querier (passive) Querier is 8.8.8.8 Age is 0 Max response time is 100 default V2 **** Warning! has V3 (age=0) nbrs group: 236.6.6.6, life = 260
Syntax: clear ip multicast vlan <vlan-id> mcache The <vlan-id> parameter specifies the specific VLAN in which to clear the mcache.
Syntax: clear ip multicast vlan <vlan-id> traffic The <vlan-id> parameter specifies the specific VLAN in which to clear the traffic counters.
1508
Chapter
IP Multicast Protocols
36
Table 252 lists the individual Brocade FastIron switches and the IP multicast features they support. These features are supported in the full Layer 3 software image only.
TABLE 252
Feature
FWS
FCX
ICX 6610
Internet Group Management Protocol (IGMP) V1, V2, and V3 (for multicast routing scenarios) IGMPv3 fast leave (for routing)
No No No
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
No No No No No No No No No No No No No No
No No No No No No No No No No No No No No
Distance Vector Multicast Routing Protocol (DVMRP) V2 (RFC 1075) IP tunneling for multicast traffic Anycast RP Multicast Source Discovery Protocol (MSDP) IGMP proxy Passive multicast route insertion (PMRI) Disable CPU processing for select multicast groups Static multicast routes Multicast trace route IP multicast and IGMP snooping on the same device ACLs to control multicast features Static mullticast groups
This chapter describes how to configure Brocade Layer 3 switches for Protocol Independent Multicast (PIM) and Distance Vector Multicast Routing Protocol (DVMRP). Each multicast protocol uses IGMP. IGMP is automatically enabled on an interface when you configure PIM or DVMRP and is disabled on the interface if you disable PIM or DVMRP.
NOTE
1509
IP multicast overview
This chapter applies only to IP multicast routing. To configure Layer 2 multicast features, refer to Chapter 34, IP Multicast Traffic Reduction on Brocade FastIron X Series switches and Chapter 35, IP Multicast Traffic Reduction for FastIron WS and Brocade FCX and ICX Switches.
NOTE
IP multicast overview
Multicast protocols allow a group or channel to be accessed over different networks by multiple stations (clients) for the receipt and transmit of multicast data. Distribution of stock quotes, video transmissions such as news services and remote classrooms, and video conferencing are all examples of applications that use multicast routing.
NOTE
Since there are 5 bits in the IPv4 Group address that are not used in the mapping, there is a possibility for up to 32 IPv4 Multicast Groups to use the same Ethernet Destination MAC address. Taking this into account along with the reserved IPv4 Group address range, it is discouraged for applications to use IPv4 Multicast Group Addresses that may conflict with the reserved addresses at the Layer 2 level. This is because some devices may use just the Ethernet Destination MAC address to take actions on the packet.
1510
NOTE
DVMRP and PIM can concurrently operate on different ports of a Brocade Layer 3 switch.
Multicast terms
The following are commonly used terms in discussing multicast-capable routers. These terms are used throughout this chapter:
Node: Refers to a router or Layer 3 switch. Root Node: The node that initiates the tree building process. It is also the router that sends the
multicast packets down the multicast delivery tree.
Upstream: Represents the direction from which a router receives multicast data packets. An
upstream router is a node that sends multicast packets.
Downstream: Represents the direction to which a router forwards multicast data packets. A
downstream router is a node that receives multicast packets from upstream transmissions.
Group Presence: Means that a multicast group has been learned from one of the directly
connected interfaces. Members of the multicast group are present on the router.
Intermediate nodes: Routers that are in the path between source routers and leaf routers. Leaf nodes: Routers that do not have any downstream routers. Multicast Tree: A unique tree is built for each source group (S,G) pair. A multicast tree is
comprised of a root node and one or more nodes that are leaf or intermediate nodes.
Maximum number of PIM groups You can change the maximum number of groups of each
type for which the software will allocate memory. By default, FastIron X Series Layer 3 switches support up to 1024 PIM groups. Brocade FCX Series Layer 3 switches support up to 4000 PIM groups.
1511
Maximum number of DVMRP groups You can change the maximum number of groups for
which the software will allocate memory. By default, FastIron X Series Layer 3 Switches support up to 1024 DVMRP groups.
Internet Group Membership Protocol (IGMP) V1 and V2 parameters You can change the
query interval, group membership time, and maximum response time.
Hardware forwarding of fragmented IP multicast packets You can enable the Layer 3 switch
to forward all fragments of fragmented IP multicast packets in hardware.
NOTE
The number of interface groups you can configure for DVMRP and PIM is unlimited; therefore, the system-max dvmrp-max-int-group and the system-max pim-max-int-group commands that define their maximum table sizes have been removed. The software allocates memory globally for each group, and also allocates memory separately for each interface IGMP membership in a multicast group. An interface becomes a member of a multicast group when the interface receives an IGMP group membership report. For example, if the Layer 3 switch learns about one multicast group, global memory for one group is used. In addition, if three interfaces on the device receive IGMP group membership reports for the group, interface memory for three IGMP memberships also is used. Since the same group can use multiple allocations of memory (one for the group itself and one for each interface membership in the group), you can increase the maximum number of IGMP memberships, up to 8192. The total for IGMP memberships applies to the device, not to individual interfaces. You can have up to 8192 IGMP memberships on all the individual interfaces, not up to 8192 IGMP memberships on each interface.
NOTE
This command enables the device to have up to 4000 IGMP memberships for PIM. The system-max pim-max-int-group command is no longer available since you can configure an unlimited number of PIM interface groups for DVMRP. Syntax: [no] system-max pim-max-int-group <num>
NOTE
1512
The <num> parameter specifies the maximum number of IGMP memberships for PIM, and can be from 256 8192. To increase the number of IGMP memberships interfaces you can have for DVMRP, enter commands such as the following.
Brocade(config)#system-max dvmrp-max-int-group 3000 Brocade(config)#write memory
The system-max dvmrp-max-int-group command is no longer available since you can configure an unlimited number of DVMRP interface groups. Syntax: [no] system-max dvmrp-max-int-group <num> The <num> parameter specifies the maximum number of IGMP memberships for DVMRP, and can be from 256 8192.
NOTE
NOTE
You do not need to reload the software for these changes to take effect.
Syntax: system-max dvmrp-mcache <num> The <num> parameter specifies the maximum number of multicast cache entries for DVMRP. Enter a number from 128 4096. The default is 512.
Syntax: system-max pim-mcache <num> The <num> parameter specifies the maximum number of multicast cache entries for PIM. Enter a number from 256 4096. The default is 1024.
1513
IGMP query interval Specifies how often the Layer 3 switch queries an interface for group
membership.
IGMP group membership time Specifies how many seconds an IP Multicast group can remain
on a Layer 3 switch interface in the absence of a group report.
IGMP maximum response time Specifies how many seconds the Layer 3 switch will wait for
an IGMP response from an interface before concluding that the group member on that interface is down and then removing the interface from the group. To change these parameters, you must first enable IP multicast routing by entering the ip multicast-routing command at the global CLI level.
Brocade(config)#ip multicast-routing
Syntax: [no] ip multicast-routing You must enter the ip multicast-routing command before changing the global IP Multicast parameters. Otherwise, the changes do not take effect and the software uses the default values.
NOTE
Syntax: ip igmp query-interval <num> The <num> variable specifies the IGMP query interval in number of seconds. Enter a value from 10 through 3600. The default value is 125.
Syntax: ip igmp group-membership-time <num> The <num> variable specifies the IGMP group membership time in number of seconds. Enter a value from 20 through 7200 seconds. The value you enter must be a little more than two times the query interval (2*query-interval +10). The default value is 260.
1514
To change the IGMP (V1 and V2) maximum response time, enter the ip igmp max-response-time <num> command at the global CONFIG level of the CLI.
Brocade(config)#ip igmp max-response-time 8
Syntax: [no] ip igmp max-response-time <num> The <num> parameter specifies the IGMP maximum response time in number of seconds. Enter a value from 1 through 10. The default is 10.
NOTE
Adding an interface to a multicast group You can manually add an interface to a multicast group. This is useful in the following cases:
Hosts attached to the interface are unable to add themselves as members of the group using
IGMP.
This command adds port 1/1 to multicast group 224.2.2.2. To add a port that is a member of a virtual routing interface to a multicast group, enter a command such as the following at the configuration level for the virtual routing interface.
Brocade(config-vif-1)#ip igmp static-group 224.2.2.2 ethernet 5/2
This command adds port 5/2 in virtual routing interface 1 to multicast group 224.2.2.2. Syntax: [no] ip igmp static-group <ip-addr> [ [ count <number>] | drop | [ethernet <portnum>] ] The <ip-addr> parameter specifies the group number. The count <number> parameter specifies the number of contiguous groups per vlan. The <number> variable must be from 1 through 512. The drop parameter specifies the number of dropped multicast packets. The drop option is available only for static groups on a vlan. On FSX devices, the drop option is not available for a multicast group. The ethernet <portnum> parameter specifies the port number. Use this parameter if the port is a member of a virtual routing interface, and you are entering this command at the configuration level for the virtual routing interface.
NOTE
1515
PIM Dense
Manually added groups are included in the group information displayed by the following commands:
PIM Dense
NOTE
This section describes the dense mode of PIM, described in RFC 1075. Refer to PIM Sparse on page 1525 for information about PIM Sparse. PIM was introduced to simplify some of the complexity of the routing protocol at the cost of additional overhead tied with a greater replication of forwarded multicast packets. PIM builds source-routed multicast delivery trees and employs reverse path check when forwarding multicast packets. There are two modes in which PIM operates: Dense and Sparse. The Dense Mode is suitable for densely populated multicast groups, primarily in the LAN environment. The Sparse Mode is suitable for sparsely populated multicast groups with the focus on WAN. PIM uses the IP routing table instead of maintaining its own, thereby being routing protocol independent.
1516
PIM Dense
For example, in Figure 172 the sender with address 207.95.5.1 is sending multicast packets to the group 229.225.0.1. If a PIM switch receives any groups other than that group, the switch discards the group and sends a prune message to the upstream PIM switch. In Figure 173, switch S5 is a leaf node with no group members in its IGMP database. Therefore, the switch must be pruned from the multicast tree. S5 sends a prune message upstream to its neighbor switch S4 to remove itself from the multicast delivery tree and install a prune state, as seen in Figure 173. Switch S5 will not receive any further multicast traffic until the prune age interval expires. When a node on the multicast delivery tree has all of its downstream branches (downstream interfaces) in the prune state, a prune message is sent upstream. In the case of S4, if both S5 and S6 are in a prune state at the same time, S4 becomes a leaf node with no downstream interfaces and sends a prune message to S1. With S4 in a prune state, the resulting multicast delivery tree would consist only of leaf nodes S2 and S3.
FIGURE 172 Transmission of multicast packets from the source to host group members
229.225.0.1
Group Member Group Member
229.225.0.1
Group Group Member Member Group Member
...
R2 Leaf Node R1 R3
R4
...
Intermediate Node (No Group Members)
...
Group Group Member Member Group Member
229.225.0.1
1517
PIM Dense
229.225.0.1
Group Member Group Member
229.225.0.1
Group Group Member Member Group Member
...
R2 R1 R3
R4 Prune Message sent to upstream router (R4) R6 R5 Leaf Node (No Group Members)
...
Intermediate Node (No Group Members)
...
Group Group Group Member Member Member
229.225.0.1
PIM DM versions
Brocade devices support PIM DM V1 and V2. The default is V2. You can specify the version on an individual interface basis. The primary difference between PIM DM V1 and V2 is the methods the protocols use for messaging:
PIM DM V1 uses the Internet Group Management Protocol (IGMP) to send messages PIM DM V2 sends messages to the multicast address 224.0.0.13 (ALL-PIM-ROUTERS) with
protocol number 103
1518
PIM Dense
The CLI commands for configuring and managing PIM DM are the same for V1 and V2. The only difference is the command you use to enable the protocol on an interface. Version 2 is the default PIM DM version. The only difference between version 1 and version 2 is the way the protocol sends messages. The change is not apparent in most configurations. You can use version 2 instead of version 1 with no impact to your network. However, if you want to continue to use PIM DM V1 on an interface, you must change the version, then save the configuration.
NOTE
The note above does not mean you can run different PIM versions on devices that are connected to each other. The devices must run the same version of PIM. If you want to connect a Layer 3 switch running PIM to a device that is running PIM V1, you must change the version on the Layer 3 switch to V1 (or change the version on the device to V2, if supported).
NOTE
PIM DM configuration
This section describes how to configure the dense mode of PIM, described in RFC 1075. Refer to PIM Sparse configuration on page 1527 for information about configuring PIM Sparse.
NOTE
Enable the feature globally. Configure the IP interfaces that will use PIM. Enable PIM locally on the ports that have the IP interfaces you configured for PIM.
Suppose you want to initiate the use of desktop video for fellow users on a sprawling campus network. All destination workstations have the appropriate hardware and software but the Brocade routers that connect the various buildings need to be configured to support PIM multicasts from the designated video conference server as shown in Figure 172 on page 1517. PIM is enabled on each of the Brocade routers shown in Figure 172, on which multicasts are expected. You can enable PIM on each router independently or remotely from one of the routers with a Telnet connection. Follow the same steps for each router. A reset of the router is required when PIM is first enabled. Thereafter, all changes are dynamic. Globally enabling and disabling PIM To globally enable PIM, enter the following command.
Brocade(config)#router pim
Syntax: [no] router pim The behavior of the [no] router pim command is as follows:
Entering router pim command to enable PIM does not require a software reload. Entering a no router pim command removes all configuration for PIM multicast on a Layer 3
switch (router pim level) only.
1519
PIM Dense
Globally Enabling and Disabling PIM without Deleting Multicast Configuration As stated above entering a no router pim command deletes the PIM configuration. If you want to disable PIM without deleting any PIM configuration, enter the following command.
Brocade(config)#router pim Brocade(config-pim-router)#disable-pim
Syntax: [no] disable-pim Use the [no] version of the command to re-enable PIM. Enabling a PIM version Using the CLI To enable PIM on an interface, globally enable PIM, then enable PIM on interface 3, enter the following commands.
Brocade(config)#router pim Brocade(config)#int e 3 Brocade(config-if-e1000-3)#ip address 207.95.5.1/24 Brocade(config-if-e1000-3)#ip pim
Syntax: [no] ip pim [version 1 | 2] The version 1 | 2 parameter specifies the PIM DM version. The default version is 2. If you have enabled PIM version 1 but need to enable version 2 instead, enter either of the following commands at the configuration level for the interface.
Brocade(config-if-1/1)#ip pim version 2 Brocade(config-if-1/1)#no ip pim version 1
Neighbor timeout Hello timer Prune timer Prune wait timer Graft retransmit timer Inactivity timer
Modifying neighbor timeout Neighbor timeout is the interval after which a PIM router will consider a neighbor to be absent. Absence of PIM hello messages from a neighboring router indicates that a neighbor is not present. The default value is 180 seconds.
1520
PIM Dense
To apply a PIM neighbor timeout value of 360 seconds to all ports on the router operating with PIM, enter the following.
Brocade(config)#router pim Brocade(config-pim-router)#nbr-timeout 360
Syntax: nbr-timeout <60-8000> The default is 180 seconds. Modifying hello timer This parameter defines the interval at which periodic hellos are sent out PIM interfaces. Routers use hello messages to inform neighboring routers of their presence. The default rate is 60 seconds. To apply a PIM hello timer of 120 seconds to all ports on the router operating with PIM, enter the following.
Brocade(config)#router pim Brocade(config-pim-router)#hello-timer 120
Syntax: hello-timer <10-3600> The default is 60 seconds. Modifying prune timer This parameter defines how long a Brocade PIM router will maintain a prune state for a forwarding entry. The first received multicast interface is forwarded to all other PIM interfaces on the router. If there is no presence of groups on that interface, the leaf node sends a prune message upstream and stores a prune state. This prune state travels up the tree and installs a prune state. A prune state is maintained until the prune timer expires or a graft message is received for the forwarding entry. The default value is 180 seconds. To set the PIM prune timer to 90, enter the following.
Brocade(config)#router pim Brocade(config-pim-router)##prune-timer 90
Syntax: prune-timer <10-3600> The default is 180 seconds. Modifying the prune wait timer The CLI command prune-wait allows you to configure the amount of time a PIM router will wait before stopping traffic to neighbor routers that do not want the traffic. The value can be from zero to three seconds. The default is three seconds. A smaller prune wait value reduces flooding of unwanted traffic. A prune wait value of zero causes the PIM router to stop traffic immediately upon receiving a prune message. If there are two or more neighbors on the physical port, then the prune-wait command should not be used because one neighbor may send a prune message while the other sends a join message at the during time or in less than three seconds.
1521
PIM Dense
To set the prune wait time to zero, enter the following commands.
Brocade(config)#router pim Brocade(config-pim-router)#prune-wait 0
Syntax: prune-wait <time> where <time> can be 0 - 3 seconds. A value of 0 causes the PIM router to stop traffic immediately upon receiving a prune message. The default is 3 seconds. Viewing the prune wait time To view the prune wait time, enter the show ip pim dense command at any level of the CLI. Refer to Displaying basic PIM Dense configuration information on page 1524. Modifying graft retransmit timer The Graft Retransmit Timer defines the interval between the transmission of graft messages. A graft message is sent by a router to cancel a prune state. When a router receives a graft message, the router responds with a Graft Ack (acknowledge) message. If this Graft Ack message is lost, the router that sent the graft message will resend it. To change the graft retransmit timer from the default of 180 to 90 seconds, enter the following.
Brocade(config)#router pim Brocade(config-pim-router)#graft-retransmit-timer 10
Syntax: graft-retransmit-timer <2 -10> The default is 3 seconds. Modifying inactivity timer The router deletes a forwarding entry if the entry is not used to send multicast packets. The PIM inactivity timer defines how long a forwarding entry can remain unused before the router deletes it. To apply a PIM inactivity timer of 90 seconds to all PIM interfaces, enter the following.
Brocade(config)#router pim Brocade(config-pim-router)#inactivity-timer 90
Syntax: inactivity-timer <10-3600> The default is 180 seconds. Selection of shortest path back to source By default, when a multicast packet is received on a PIM-capable router interface in a multi-path topology, the interface checks its IP routing table to determine the shortest path back to the source. If the alternate paths have the same cost, the first alternate path in the table is picked as the path back to the source. For example, in the table below, the first four routes have the same cost back to the source. However, 137.80.127.3 will be chosen as the path to the source since it is the first one on the list. The router rejects traffic from any port other than Port V11 on which 137.80.127.3 resides.
1522
PIM Dense
Total number of IP routes: 19 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate default Destination NetMask Gateway Port .. 9 172.17.41.4 255.255.255.252*137.80.127.3 v11 172.17.41.4 255.255.255.252 137.80.126.3 v10 172.17.41.4 255.255.255.252 137.80.129.1 v13 172.17.41.4 255.255.255.252 137.80.128.3 v12 10 172.17.41.8 255.255.255.252 0.0.0.0 1/2
Cost Type 2 2 2 2 1 O O O O D
Due to the Highest IP RFP feature, the selection of the shortest path back to the source is based on which Reverse Path Forwarding (RPF) neighbor in the IP routing table has the highest IP address, if the cost of the routes are the same. For example, in the table above, Gateway 137.80.129.1 will be chosen as the shortest path to the source because it is the RPF neighbor with the highest IP address. When choosing the RPF, the router first checks the Multicast Routing Table. If the table is not available, it chooses an RPF from the IP Routing Table. Multicast route is configured using the ip mroute command. The Highest IP RFP feature is enabled by default.
Multicast packets with a TTL value of 1 are switched within the same VLAN. These packets
cannot be routed between different VLANs.
1523
PIM Dense
Syntax: show ip pim dense Table 253 shows the information displayed by the show ip pim dense command.
TABLE 253
Field
Hello interval
Neighbor timeout Graft or Retransmit interval Inactivity interval Route Expiry Interval Route Discard Interval Join or Prune interval
1524
PIM Sparse
TABLE 253
Field
Prune Age
Nbr 0.0.0.0
PhyPort 1/1/3
PIM Sparse
Brocade devices support Protocol Independent Multicast (PIM) Sparse version 2. PIM Sparse provides multicasting that is especially suitable for widely distributed multicast environments. The Brocade implementation is based on RFC 2362. In a PIM Sparse network, a PIM Sparse router that is connected to a host that wants to receive information for a multicast group must explicitly send a join request on behalf of the receiver (host). PIM Sparse routers are organized into domains. A PIM Sparse domain is a contiguous set of routers that all implement PIM and are configured to operate within a common boundary. Figure 174 shows a simple example of a PIM Sparse domain. This example shows three Layer 3 switches configured as PIM Sparse routers. The configuration is described in detail following the figure.
1525
PIM Sparse
This interface is also the Bootstrap Router (BR) for this PIM Sparse domain, and the Rendezvous Point (RP) for the PIM Sparse groups in this domain. PIM Sparse Switch B Port2/1 207.95.8.10 Port2/2 207.95.7.1
Port3/8 207.95.7.2
209.157.24.162
PMBR A PIM switch that has some interfaces within the PIM domain and other interface
outside the PIM domain. PBMRs connect the PIM domain to the Internet.
NOTE
You cannot configure a Brocade routing interface as a PMBR interface for PIM Sparse in the current software release.
BSR The Bootstrap Router (BSR) distributes RP information to the other PIM Sparse switches
within the domain. Each PIM Sparse domain has one active BSR. For redundancy, you can configure ports on multiple switches as candidate BSRs. The PIM Sparse protocol uses an election process to select one of the candidate BSRs as the BSR for the domain. The BSR with the highest BSR priority (a user-configurable parameter) is elected. If the priorities result in a tie, then the candidate BSR interface with the highest IP address is elected. In the example in Figure 174, PIM Sparse switch B is the BSR. Port 2/2 is configured as a candidate BSR.
RP The RP is the meeting point for PIM Sparse sources and receivers. A PIM Sparse domain
can have multiple RPs, but each PIM Sparse multicast group address can have only one active RP. PIM Sparse switches learn the addresses of RPs and the groups for which they are responsible from messages that the BSR sends to each of the PIM Sparse switches. In the example in Figure 174, PIM Sparse Switch B is the RP. Port 2/2 is configured as a candidate Rendezvous Point (RP).
1526
PIM Sparse
To enhance overall network performance, Brocade Layer 3 switches use the RP to forward only the first packet from a group source to the group receivers. After the first packet, the Layer 3 switch calculates the shortest path between the receiver and source (the Shortest Path Tree, or SPT) and uses the SPT for subsequent packets from the source to the receiver. The Layer 3 switch calculates a separate SPT for each source-receiver pair.
NOTE
Brocade recommends that you configure the same ports as candidate BSRs and RPs.
Configure the following global parameter: Enable the PIM Sparse mode of multicast routing. Configure the following interface parameters: Configure an IP address on the interface Enable PIM Sparse. Identify the interface as a PIM Sparse border, if applicable.
NOTE
You cannot configure a Brocade routing interface as a PMBR interface for PIM Sparse in the current software release.
Configure the following PIM Sparse global parameters: Identify the Layer 3 switch as a candidate PIM Sparse Bootstrap Router (BSR), if
applicable.
Identify the Layer 3 switch as a candidate PIM Sparse Rendezvous Point (RP), if applicable. Specify the IP address of the RP (if you want to statically select the RP).
1527
PIM Sparse
NOTE
Brocade recommends that you configure the same Layer 3 switch as both the BSR and the RP.
PIM Border Routers (PMBRs) are not supported. Thus, you cannot configure a Brocade routing
interface as a PMBR interface for PIM Sparse.
PIM Sparse and regular PIM (dense mode) cannot be used on the same interface. You cannot configure or display PIM Sparse information using the Web Management Interface.
(You can display some general PIM information, but not specific PIM Sparse information.)
NOTE
You do not need to globally enable IP multicast routing when configuring PIM Sparse. The command in this example enables IP multicast routing, and enables the PIM Sparse mode of IP multicast routing. The command does not configure the Layer 3 switch as a candidate PIM Sparse Bootstrap Router (BSR) and candidate Rendezvous Point (RP). You can configure a Brocade Layer 3 switch as a PIM Sparse switch without configuring the it as a candidate BSR and RP. However, if you do configure the Layer 3 switch as one of these, Brocade recommends that you configure it as both. Refer to Configuring BSRs on page 1529. The behavior of the [no] router pim command is as follows:
Entering no router pim command to disable PIM or DVMRP does not require a software reload. Entering a no router pim command removes all configuration for PIM multicast on a Layer 3
switch (router pim level) only.
Globally enabling and disabling PIM without deleting the multicast configuration
As stated above entering a no router pim command deletes the PIM configuration. If you want to disable PIM without deleting any PIM configuration, enter the following command.
Brocade(config)#router pim Brocade(config-pim-router)#disable-pim
Syntax: [no] disable-pim Use the [no] version of the command to re-enable PIM.
1528
PIM Sparse
Syntax: [no] ip pim-sparse The commands in this example add an IP interface to port 2/2, then enable PIM Sparse on the interface. If the interface is on the border of the PIM Sparse domain, you also must enter the following command.
Brocade(config-if-2/2)#ip pim border
NOTE
You cannot configure a Brocade routing interface as a PMBR interface for PIM Sparse in the current software release.
Configuring BSRs
In addition to the global and interface parameters in the sections above, you need to identify an interface on at least one Layer 3 switch as a candidate PIM Sparse boot strap router (BSR) and candidate PIM Sparse Rendezvous Point (RP). It is possible to configure the Layer 3 switch as only a candidate BSR or RP, but Brocade recommends that you configure the same interface on the same Layer 3 switch as both a BSR and an RP. This section presents how to configure BSRs. Refer to Configuring RPs on page 1530 for instructions on how to configure RPs. To configure the Layer 3 switch as a candidate BSR and RP, enter commands such as the following.
Brocade(config)#router pim Brocade(config-pim-router)#bsr-candidate ethernet 2/2 30 255 BSR address: 207.95.7.1, hash mask length: 30, priority: 255
NOTE
This command configures the PIM Sparse interface on port 2/2 as a BSR candidate, with a hash mask length of 30 and a priority of 255. The information shown in italics above is displayed by the CLI after you enter the candidate BSR configuration command. Syntax: [no] bsr-candidate ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> <hash-mask-length> [<priority>] The <slotnum> parameter is required on chassis devices. The <portnum> | loopback <num> | ve <num> parameter specifies the interface. The Layer 3 switch will advertise the specified interface IP address as a candidate BSR:
1529
PIM Sparse
Enter ethernet [<slotnum>/] <portnum> for a physical interface (port). Enter ve <num> for a virtual interface. Enter loopback <num> for a loopback interface.
The <hash-mask-length> parameter specifies the number of bits in a group address that are significant when calculating the group-to-RP mapping. You can specify a value from 1 32. Brocade recommends you specify 30 for IP version 4 (IPv4) networks. The <priority> specifies the BSR priority. You can specify a value from 0 255. When the election process for BSR takes place, the candidate BSR with the highest priority becomes the BSR. The default is 0. Enter the command show ip pim bsr to display BSR information. Refer to Displaying BSR information on page 1541.
NOTE
Configuring RPs
Enter a command such as the following to configure the Layer 3 switch as a candidate rendezvous point (RP).
Brocade(config-pim-router)#rp-candidate ethernet 2/2
Syntax: [no] rp-candidate ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> The <slotnum> parameter is required on chassis devices. The <portnum> | loopback <num> | ve <num> parameter specifies the interface. The Layer 3 switch will advertise the specified interface IP address as a candidate RP:
Enter ethernet [<slotnum>/]<portnum> for a physical interface (port). Enter ve <num> for a virtual interface. Enter loopback <num> for a loopback interface.
By default, this command configures the Layer 3 switch as a candidate RP for all group numbers beginning with 224. As a result, the Layer 3 switch is a candidate RP for all valid PIM Sparse group numbers. You can change this by adding or deleting specific address ranges. The following example narrows the group number range for which the Layer 3 switch is a candidate RP by explicitly adding a range.
Brocade(config-pim-router)#rp-candidate add 224.126.0.0 16
Syntax: [no] rp-candidate add <group-addr> <mask-bits> The <group-addr> <mask-bits> specifies the group address and the number of significant bits in the subnet mask. In this example, the Layer 3 switch is a candidate RP for all groups that begin with 224.126. When you add a range, you override the default. The Layer 3 switch then becomes a candidate RP only for the group address ranges you add. You also can change the group numbers for which the Layer 3 switch is a candidate RP by deleting address ranges. For example, to delete all addresses from 224.126.22.0 224.126.22.255, enter the rp-candidate delete command.
Brocade(config-pim-router)#rp-candidate delete 224.126.22.0 24
1530
PIM Sparse
The usage of the <group-addr> <mask-bits> parameter is the same as for the rp-candidate add command. If you enter both commands shown in the example above, the net effect is that the Layer 3 switch becomes a candidate RP for groups 224.126.0.0 224.126.21.255 and groups 224.126.23.0 224.126.255.255. Updating PIM-Sparse forwarding entries with new RP configuration If you make changes to your static RP configuration, the entries in the PIM-Sparse multicast forwarding table continue to use the old RP configuration until they are aged out. The clear pim rp-map command allows you to update the entries in the static multicast forwarding table immediately after making RP configuration changes. This command is meant to be used with rp-address command. To update the entries in a PIM sparse static multicast forwarding table with new RP configuration, enter the following command at the privileged EXEC level of the CLI.
Brocade#clear pim rp-map
Syntax: clear pim rp-map Statically specifying the RP Brocade recommends that you use the PIM Sparse protocol RP election process so that a backup RP can automatically take over if the active RP router becomes unavailable. However, if you do not want the RP to be selected by the RP election process but instead you want to explicitly identify the RP by its IP address, you can do using the following CLI method. Even if you explicitly specify the RP, by default the Layer 3 switch uses the set of candidate RPs supplied by the BSR and overrides the specified RP for all group-to-RP mappings. Specify the same IP address as the RP on all PIM Sparse routers within the PIM Sparse domain. Make sure the router is on the backbone or is otherwise well connected to the rest of the network. To specify the IP address of the RP, enter commands such as the following.
Brocade(config)#router pim Brocade(config-pim-router)#rp-address 207.95.7.1
NOTE
Syntax: [no] rp-address <ip-addr> The <ip-addr> parameter specifies the IP address of the RP. The command in the example above identifies the router interface at IP address 207.95.7.1 as the RP for the PIM Sparse domain. The Layer 3 switch will use the specified RP and ignore group-to-RP mappings received from the BSR.
Path through the RP This is the path the Layer 3 switch uses the first time it receives traffic
for a PIM group. However, the path through the RP may not be the shortest path from the Layer 3 switch to the receiver.
1531
PIM Sparse
Shortest Path Each PIM Sparse router that is a DR for a multicast source calculates a
shortest path tree (SPT) to all the PIM Sparse group receivers within the domain, with the Layer 3 switch itself as the root of the tree. The first time a Brocade Layer 3 switch configured as a PIM router receives a packet for a PIM receiver, the Layer 3 switch sends the packet to the RP for the group. The Layer 3 switch also calculates the SPT from itself to the receiver. The next time the Layer 3 switch receives a PIM Sparse packet for the receiver, the Layer 3 switch sends the packet toward the receiver using the shortest route, which may not pass through the RP. By default, the device switches from the RP to the SPT after receiving the first packet for a given PIM Sparse group. The Layer 3 switch maintains a separate counter for each PIM Sparse source-group pair. After the Layer 3 switch receives a packet for a given source-group pair, the Layer 3 switch starts a PIM data timer for that source-group pair. If the Layer 3 switch does not receive another packet for the source-group pair before the timer expires, it reverts to using the RP for the next packet received for the source-group pair. In accordance with the PIM Sparse RFC recommendation, the timer is 210 seconds and is not configurable. The counter is reset to zero each time the Layer 3 switch receives a packet for the source-group pair. You can change the number of packets that the Layer 3 switch sends using the RP before switching to using the SPT. To do so, use the following CLI method.
Brocade(config)#router pim Brocade(config-pim-router)#spt-threshold 1000
Syntax: [no] spt-threshold infinity | <num> The infinity | <num> parameter specifies the number of packets. If you specify infinity, the Layer 3 switch sends packets using the RP indefinitely and does not switch over to the SPT. If you enter a specific number of packets, the Layer 3 switch does not switch over to using the SPT until it has sent the number of packets you specify using the RP. Since the hardware is not programmed for RPT, the rate that the client receives multicast traffic depends on the software forwarding capability of the CPU when the Layer 3 Switch sends packets using the RPT.
NOTE
NOTE
Use the same Join/Prune message interval on all the PIM Sparse routers in the PIM Sparse domain. If the routers do not all use the same timer interval, the performance of PIM Sparse can be adversely affected. To change the Join/Prune interval, enter commands such as the following.
Brocade(config)#router pim Brocade(config-pim-router)#message-interval 30
1532
PIM Sparse
The <num> parameter specifies the number of seconds and can from 1 65535. The default is 60.
Syntax: [no] rp-address <ip_address> [<acl-num>] Use the ip address parameter to specify the IP address of the device you want to designate as an RP device. Use the acl-num parameter to specify standard numbered ACL that specifies which multicast groups use this RP.
NOTE
Only standard numbered ACLs are supported when configuring an ACL based RP assignment.
1533
PIM Sparse
Use the show ip pim rp-map command to display all current multicast group addresses to RP address mapping.
Brocade(config)# show ip pim rp-map Number of group-to-RP mappings: 5 Group address RP address ---------------------------------------1 230.0.0.1 100.1.1.1 2 230.0.0.2 100.1.1.1 3 230.0.0.3 100.1.1.1 4 230.0.0.4 100.1.1.1 5 230.0.0.5 100.1.1.1
Anycast RP
Anycast RP is a method of providing intra-domain redundancy and load-balancing between multiple Rendezvous Points (RP) in a Protocol Independent Multicast Sparse mode (PIM-SM) network. It is accomplished by configuring all RPs within a domain with the same anycast RP address which is typically a loopback IP address. Multicast Source Discovery Protocol (MSDP) is used between all of the RPs in a mesh configuration to keep all RPs in sync regarding the active sources. PIM-SM routers are configured to register (statically or dynamically) with the RP using the same anycast RP address. Since multiple RPs have the same anycast address, an Interior Gateway Protocol (IGP) such as OSPF routes the PIM-SM router to the RP with the best route. If the PIM-SM routers are distributed evenly throughout the domain, the loads on RPs within the domain will be distributed. If the RP with the best route goes out of service, the PIM-SM router IGP changes the route to the closest operating RP that has the same anycast address. This configuration works because MSDP is configured between all of the RPs in the domain. Consequently, all of the RPs share information about active sources.
Configuring Anycast RP
To configure Anycast RP, you must do the following:
Configure a loopback interface with the anycast RP address on each of the RPs within the
domain and enable PIM-SM on these interfaces.
Ensure that the anycast RP address is leaked into the IGP domain. This is typically done by
enabling the IGP on the loopback interface (in passive mode) or redistributing the connected loopback IP address into the IGP.
1534
PIM Sparse
NOTE
Enable PIM-SM on all interfaces on which multicast routing is desired. Enable an IGP on each of the loopback interfaces and physical interfaces configured for
PIM-SM.
Configure loopback interfaces with unique IP addresses on each of the RPs for MSDP peering.
This loopback interface is also used as the MSDP originator-id.
The non-RP PIM-SM routers may be configured to use the anycast RP address statically or
dynamically (by the PIMv2 bootstrap mechanism).
Common PIM Sparse Domain RP 1 Loopback 1 10.0.0.1 5/1 Loopback 2 10.1.1.1 5/2 Cost 5 6/2
Cos t 10
Loopback 1 10.0.0.1
5/3
0
6/3
1/3
PIMR2
1535
PIM Sparse
RP 1 configuration The following commands provide the configuration for the RP 1 router in Figure 175.
Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade RP1(config)#router ospf RP1(config-ospf-router)# area 0 RP1(config-ospf-router)# exit RP1(config)# interface loopback 1 RP1(config-lbif-1)# ip ospf area 0 RP1(config-lbif-1)# ip ospf passive RP1(config-lbif-1)# ip address 10.0.0.1/32 RP1(config-lbif-1)# ip pim-sparse RP1(config-lbif-1)# exit RP1(config)# interface loopback 2 RP1(config-lbif-2)# ip ospf area 0 RP1(config-lbif-2)# ip ospf passive RP1(config-lbif-2)# ip address 10.1.1.1/32 RP1(config-lbif-2)# exit RP1(config)# interface ethernet 5/1 RP1(config-if-e1000-5/1)# ip ospf area 0 RP1(config-if-e1000-5/1)# ip address 192.1.1.1/24 RP1(config-if-e1000-5/1)# ip pim-sparse RP1(config)# interface ethernet 5/2 RP1(config-if-e1000-5/2)# ip ospf area 0 RP1(config-if-e1000-5/2)# ip ospf cost 5 RP1(config-if-e1000-5/2)# ip address 192.2.1.1/24 RP1(config-if-e1000-5/2)# ip pim-sparse RP1(config)# interface ethernet 5/3 RP1(config-if-e1000-5/3)# ip ospf area 0 RP1(config-if-e1000-5/3)# ip ospf cost 10 RP1(config-if-e1000-5/3)# ip address 192.3.1.1/24 RP1(config-if-e1000-5/3)# ip pim-sparse RP1(config-if-e1000-5/3)# exit RP1(config)# router pim RP1(config-pim-router)# rp-candidate loopback 1 RP1(config-pim-router)# exit RP1(config)# router msdp RP1(config-msdp-router)# msdp-peer 10.1.1.2 connect-source loopback 2 RP1(config-msdp-router)# originator-id loopback 2
RP 2 configuration The following commands provide the configuration for the RP 2 router in Figure 175.
Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade RP2(config)#router ospf RP2(config-ospf-router)# area 0 RP2(config-ospf-router)# exit RP2(config)# interface loopback 1 RP2(config-lbif-1)# ip ospf area 0 RP2(config-lbif-1)# ip ospf passive RP2(config-lbif-1)# ip address 10.0.0.1/32 RP2(config-lbif-1)# ip pim-sparse RP2(config-lbif-1)# exit RP2(config)# interface loopback 2 RP2(config-lbif-2)# ip ospf area 0 RP2(config-lbif-2)# ip ospf passive RP2(config-lbif-2)# ip address 10.1.1.2/32 RP2(config-lbif-2)# exit RP2(config)# interface ethernet 5/1 RP2(config-if-e1000-5/1)# ip ospf area 0 RP2(config-if-e1000-5/1)# ip address 192.1.1.2/24
1536
PIM Sparse
Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade
RP2(config-if-e1000-5/1)# ip pim-sparse RP2(config)# interface ethernet 5/2 RP2(config-if-e1000-5/2)# ip ospf area 0 RP2(config-if-e1000-5/2)# ip ospf cost 5 RP2(config-if-e1000-5/2)# ip address 192.5.2.1/24 RP2(config-if-e1000-5/2)# ip pim-sparse RP2(config)# interface ethernet 5/3 RP2(config-if-e1000-5/3)# ip ospf area 0 RP2(config-if-e1000-5/3)# ip ospf cost 10 RP2(config-if-e1000-5/3)# ip address 192.6.1.2/24 RP2(config-if-e1000-5/3)# ip pim-sparse RP2(config-if-e1000-5/3)# exit RP2(config)# router pim RP2(config-pim-router)# rp-candidate loopback 1 RP2(config-pim-router)# exit RP2(config)# router msdp RP2(config-msdp-router)# msdp-peer 10.1.1.1 connect-source loopback 2 RP2(config-msdp-router)# originator-id loopback 2
PIMR1configuration The following commands provide the configuration for the PIMR1 router in Figure 175.
Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade PIMR1(config)#router ospf PIMR1(config-ospf-router)# area 0 PIMR1(config-ospf-router)# exit PIMR1(config)# interface ethernet 6/2 PIMR1(config-if-e1000-6/2)# ip ospf area 0 PIMR1(config-if-e1000-6/2)# ip ospf cost 5 PIMR1(config-if-e1000-6/2)# ip address 192.2.1.2/24 PIMR1(config-if-e1000-6/2)# ip pim-sparse PIMR1(config)# interface ethernet 6/3 PIMR1(config-if-e1000-6/3)# ip ospf area 0 PIMR1(config-if-e1000-6/3)# ip ospf cost 10 PIMR1(config-if-e1000-6/3)# ip address 192.6.1.1/24 PIMR1(config-if-e1000-6/3)# ip pim-sparse PIMR1(config-if-e1000-6/3)# exit PIMR1(config)# router pim PIMR1(config-pim-router)# rp-address 10.0.0.1 PIMR1(config-pim-router)# exit
PIMR2 configuration The following commands provide the configuration for the PIMR2 router in Figure 175.
Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade PIMR2(config)#router ospf PIMR2(config-ospf-router)# area 0 PIMR2(config-ospf-router)# exit PIMR2(config)# interface ethernet 1/2 PIMR2(config-if-e1000-1/2)# ip ospf area 0 PIMR2(config-if-e1000-1/2)# ip ospf cost 5 PIMR2(config-if-e1000-1/2)# ip address 192.5.2.2/24 PIMR2(config-if-e1000-1/2)# ip pim-sparse PIMR2(config)# interface ethernet 1/3 PIMR2(config-if-e1000-1/3)# ip ospf area 0 PIMR2(config-if-e1000-1/3)# ip ospf cost 10 PIMR2(config-if-e1000-1/3)# ip address 192.3.1.2/24 PIMR2(config-if-e1000-1/3)# ip pim-sparse
1537
PIM Sparse
PIMR2(config-if-e1000-1/3)# exit PIMR2(config)# router pim PIMR2(config-pim-router)# rp-address 10.0.0.1 PIMR2(config-pim-router)# exit
1538
PIM Sparse
Basic PIM Sparse configuration information Group information BSR information Candidate RP information RP-to-group mappings RP information for a PIM Sparse group RP set list PIM Neighbor information The PIM flow cache The PIM multicast cache PIM traffic statistics
1539
PIM Sparse
Table 254 shows the information displayed by the show ip pim sparse command.
TABLE 254
Field
Neighbor timeout
SPT Threshold
TTL Threshold
Local Address
1540
PIM Sparse
Ports e3/11
Syntax: show ip pim group This display shows the following information.
TABLE 255
Field
The index number of the table entry in the display. The multicast group address The Layer 3 switch ports connected to the receivers of the groups.
This example show information displayed on a Layer 3 switch that has been elected as the BSR. The following example shows information displayed on a Layer 3 switch that is not the BSR. Notice that some fields shown in the example above do not appear in the example below.
Brocade#show ip pim bsr PIMv2 Bootstrap information, state=ELECTED-BSR local BSR address = 99.99.99.5, age=0 local BSR priority = 255
1541
PIM Sparse
Table 256 shows the information displayed for the show ip pim bsr command.
TABLE 256
Field
BSR address or local BSR address Uptime BSR priority or local BSR priority
The number of significant bits in the IP multicast group comparison mask. This mask determines the IP multicast group numbers for which the Layer 3 switch can be a BSR. The default is 32 bits, which allows the Layer 3 switch to be a BSR for any valid IP multicast group number. NOTE: This field appears only if this Layer 3 switch is the BSR. Indicates how many seconds will pass before the BSR sends its next Bootstrap message. NOTE: This field appears only if this Layer 3 switch is the BSR. Indicates how many seconds will pass before the BSR sends its next candidate PR advertisement message. NOTE: This field appears only if this Layer 3 switch is the BSR. Indicates the IP address of the Rendezvous Point (RP). NOTE: This field appears only if this Layer 3 switch is the BSR. Indicates the multicast groups for which the RP listed by the previous field is a candidate RP. NOTE: This field appears only if this Layer 3 switch is the BSR. Indicates how frequently the BSR sends candidate RP advertisement messages. NOTE: This field appears only if this Layer 3 switch is the BSR.
1542
PIM Sparse
avail get-fail limit 6 0 512 256 0 8192 0 0 48960 48 0 11600 63 0 16384 512 0 14848 254 0 4096 995 0 231304 9 0 997 197 0 45704 256 0 59392 128 0 40960 1998 0 464000 97 0 22504 1998 0 464000 1022 0 237568 1024 0 237568 4 0 29696 256 0 59392 128 0 29696 255 0 4096 996 0 231304 255 0 4096 1023 0 200000 7293 0 32768 0 0 29696 0 0 500000 0 0 118784 1999 0 500000
get-mem 24950 36 0 1384 14 100648 35 35 0 0 0 0 208 0 208 208 0 508 0 951 129 129 112 112 58601 0 0 0 112
size init 20 64 27 256 9 1530 12 50 10 64 20 64 137 256 8 997 124 9 10 197 8 256 24 128 14 2000 8 97 14 2000 20 1024 12 1024 8 128 24 256 12 128 266 256 8 997 16 256 22 1024 29 256 12 128 10 2000 10 512 8 2000
# of PIM ports: physical 1, VEs 253 (max: 512), loopback 1, tunnels 0 Available VIDX: 4059, Blackhole VIDX: 0 Total Mlls in pool: 4095(Hw),8190(Sw) Allocated MLL: 1(Hw),2(Sw) Available MLL: 4094(Hw),8188(Sw) SW processed pkts 0
1543
PIM Sparse
Table 257 shows the information displayed for each software data structure listed in the output of the show ip pim resource command.
TABLE 257
Field
alloc in-use avail get-fail limit get-mem size init #of PIM ports
NOTE
When the product of the number of active PIM interfaces multiplied by the number of multicast streams exceeds the total number of MLL, the CLI displays the message, MLL pool out of memory.
The total number of MLL available changes according to the hardware configuration.
NOTE
This example show information displayed on a Layer 3 switch that is a candidate RP. The following example shows the message displayed on a Layer 3 switch that is not a candidate RP.
Brocade#show ip pim rp-candidate This system is not a Candidate-RP.
Syntax: show ip pim rp-candidate Table 258 shows the information displayed by the show ip pim rp-candidate command.
1544
PIM Sparse
TABLE 258
Field
Candidate-RP-advertisement period
Syntax: show ip pim rp-map Table 259 shows the information displayed by the show ip pim rp-map command.
TABLE 259
Field
Syntax: show ip pim rp-hash <group-addr> The <group-addr> parameter is the address of a PIM Sparse IP multicast group.
1545
PIM Sparse
Table 260 shows the information displayed by the show ip pim rp-hash command.
TABLE 260
Field
RP
Info source
Syntax: show ip pim rp-set Table 261 shows the information displayed by the show ip pim rp-set command.
TABLE 261
Field
priority age
holdtime
Holdtime indicates the time allowed by the Bootstrap Router (BSR) before timing out RPs. If the BSR does not receive a candidate RP advertisement from an RP within the holdtime, the BSR removes that router from its list of candidate RPs.
1546
PIM Sparse
UpTime 17144 UpTime 17144 UpTime 17084 UpTime 17144 UpTime 17144
GenID 0x2CB53BBB GenID 0x26976038 GenID 0x7F6E7643 GenID 0x6A014EB4 GenID 0x14FF45A1
Syntax: show ip pim neighbor Table 262 shows the information displayed by the show ip pim neighbor command.
TABLE 262
Field
Port Neighbor Holdtime
1547
PIM Sparse
Syntax: show ip pim | dvmrp rpf <IP address> where <IP address> is a valid source IP address. If there are multiple equal cost paths to the source, the show ip pim rpf command output may not be accurate. If your system has multiple equal cost paths, use the command show ip pim mcache to view information about the upstream neighbor.
NOTE
Outbound Ports for Multicast flow (0.0.0.0 228.2.2.2): L2 : 8192 Hardware MC Entry not found 2 flow printed
Syntax: show ip pim flowcache In the above output of the show ip pim flowcache command, ethe 3/14is the outbound interface on which the multicast traffic is being sent out.
1548
PIM Sparse
Syntax: show ip pim mcache Table 263 shows the information displayed by the show ip pim mcache command.
TABLE 263
Field
(<source>, <group>) The comma-separated values in parentheses is a source-group pair. The <source> is the PIM source for the multicast <group>. For example, the following entry means source 209.157.24.162 for group 239.255.162.1: (209.157.24.162,239.255.162.1) If the <source> value is * (asterisk), this cache entry uses the RP path. The * value means all sources. If the <source> is a specific source address, this cache entry uses the SPT path. RP<ip-addr> Indicates the RP for the group for this cache entry. NOTE: The RP address appears only if the RPT flag is set to 1 and the SPT flag is set to 0 (see below). forward port Count The port through which the Layer 3 switch reaches the source. The number of packets forwarded using this cache entry.
1549
PIM Sparse
TABLE 263
Field
Sparse Mode
RPT
SPT
Indicates whether the cache entry uses the RP path or the SPT path. The SP flag can have one of the following values: 0 The RP path is used instead of the SPT path. 1 The SPT path is used instead of the RP path. NOTE: The values of the RP and SPT flags are always opposite (one is set to 0 and the other is set to 1).
Register Suppress
Indicates whether the Register Suppress timer is running. This field can have one of the following values: 0 The timer is not running. 1 The timer is running. Indicates the Layer 3 switch physical ports to which the receivers for the source and group are attached. The receivers can be directly attached or indirectly attached through other PIM Sparse routers. Indicates the virtual interfaces to which the receivers for the source and group are attached. The receivers can be directly attached or indirectly attached through other PIM Sparse routers. Indicates the physical ports on which the Layer 3 switch has received a prune notification (in a Join/Prune message) to remove the receiver from the list of recipients for the group. Indicates the virtual interfaces ports on which the Layer 3 switch has received a prune notification (in a Join/Prune message) to remove the receiver from the list of recipients for the group.
member ports
virtual ports
Tx] 0 0 0 0 0 0
1550
PIM Sparse
If you have configured interfaces for standard PIM (dense mode) on the Layer 3 switch, statistics for these interfaces are listed first by the display. This display shows the following information.
NOTE
TABLE 264
Field
Port Hello J/P Register RegStop Assert
Syntax: show ip pim error This command displays the number of warnings and non-zero PIM errors on the device. This count can increase during transition periods such as reboots and topology changes; however, if the device is stable, the number of errors should not increase. If warnings keep increasing in a stable topology, then there may be a configuration error or problems on the device. To clear the counter for PIM errors, enter the clear pim counters command.
Brocade#clear pim counters
1551
PIM Passive
PIM Passive
PIM Passive is used to reduce and minimize unnecessary PIM Hello and other PIM control messages. PIM Passive allows you to specify that the interface is passive in regards to PIM. No PIM control packets are sent or processed (if received), but hosts can still send and receive multicast traffic and IGMP control traffic on that interface. Also, PIM Passive prevents any malicious router from taking over as the designated router (DR), which can prevent all hosts on the LAN from joining multicast traffic outside the LAN. The following guidelines apply to PIM Passive: 1. This is a Layer 3 interface [Ethernet/Ve] level feature. 2. Since the loopback interfaces are never used to form PIM neighbors, this feature is not supported on loopback interface. 3. Both PIM SM and PIM DM modes support this feature. 4. Applying the PIM Passive on an interface requires PIM to be enabled on that interface. 5. The sent and received statistics of a PIM Hello message are not changed for an interface, while it is configured as PIM passive. To enable PIM Passive on an interface, enter the following commands:
Brocade# config term Brocade(config)#router pim Brocade(config-pim-router)#exit Brocade(config)#interface ethernet 2 Brocade(config-if-e1000-2)#ip pim Brocade(config-if-e1000-2)#ip pim passive Brocade(config-if-e1000-2)#exit Brocade(config)#interface ve 2 Brocade(config-vif-2)#ip pim-sparse Brocade(config-vif-2)#ip pim passive Brocade(config-vif-2)#exit
NOTE
1552
Figure 176 shows an example of some PIM Sparse domains. For simplicity, this example shows only one Designated Router (DR), one group source, and one receiver for the group. Only one PIM Sparse router within each domain needs to run MSDP.
1553
PIM Sparse Domain 1 2. RP sends SA message through MSDP to its MSDP peers in other PIM Sparse domains.
Rendezvous Point (RP) 206.251.17.41 Source Advertisement message 206.251.14.22 Source for Group 232.1.0.95 1. DR receives traffic from source and registers source with RP. 3. RP that receives the SA floods the SA to all its MSDP peers, except the one that sent the SA.
4. When SA caching is enabled, the RP immediately responds to Join messages from receivers. Otherwise, the RP and receiver must wait for the next SA message for the group. Rendezvous Point (RP)
In this example, the source for PIM Sparse multicast group 232.0.1.95 is in PIM Sparse domain 1. The source sends a packet for the group to its directly attached DR. The DR sends a Group Advertisement message for the group to the domain RP. The RP is configured for MSDP, which enables the RP to exchange source information with other PIM Sparse domains by communicating with RPs in other domains that are running MSDP. The RP sends the source information to each of its peers by sending a Source Active message. The message contains the IP address of the source, the group address to which the source is sending, and the IP address of the RP interface with its peer. By default, the IP address included in the RP address field of the SA message is the IP address of the originating RP. However, if MSDP is instructed to use a specific address as the IP address of the RP in a Source Address message (CLI command originator-id <type> <number>), the Source Active message can be the IP address of any interface on the originating RP. The interface is usually a loopback interface. In this example, the Source Active message contains the following information:
1554
Figure 176 shows only one peer for the MSDP router (which is also the RP here) in domain 1, so the Source Active message goes to only that peer. When an MSDP router has multiple peers, it sends a Source Active message to each of those peers. Each peer sends the Source Advertisement to its other MSDP peers. The RP that receives the Source Active message also sends a Join message for the group if the RP that received the message has receivers for the group.
NOTE
MSDP is supported only on FSX devices. The MSDP routers in domains 3 and 4 also forward the Source Active message to all their peers except the ones that sent them the message. Figure 176 does not show additional peers.
NOTE
1555
However, if Source Active caching is enabled on the MSDP and RP router, the RP caches the Source Active messages it receives. In this case, even if the RP does not have a receiver for a group when the RP receives the Source Active message for the group, the RP can immediately send a Join for a new receiver that wants to join the group, without waiting for the next Source Active message from the RP in the source domain. The maximum size of the cache used to store MSDP Source Active messages is 8K and the default size is 4K.
MSDP configuration
To configure Multicast Source Discovery Protocol (MSDP) on a Layer 3 switch, perform the following tasks:
NOTE
Routers that run MSDP must also run BGP. Also, the source address used by the MSDP router must be the same source address used by BGP.
Enabling MSDP
To enable MSDP, enter the router msdp command.
Brocade(config)# router msdp
NOTE
When enabling and disabling MSDP, you do not need to save the configuration and reload the software. The configuration change takes effect immediately, as soon as you enter the CLI command. Syntax: [no] router msdp
Syntax: [no] msdp-peer <ip-addr> [connect-source loopback <num>] The <ip-addr> parameter specifies the IP address of the neighbor. The connect-source loopback <num> parameter specifies the loopback interface you want to use as the source for sessions with the neighbor.
1556
It is strongly recommended that you use the connect-source loopback <num> parameter when issuing the msdp-peer command. If you do not use this parameter, the Layer 3 switch uses the subnet interface configured on the port. Also, make sure the IP address of the connect-source loopback is the same as the source IP address used by the MSDP router, the PIM-RP, and the BGP router. The commands in the following example add an MSDP neighbor and specify a loopback interface as the source interface for sessions with the neighbor. By default, the Layer 3 switch uses the subnet address configured on the physical interface where you configure the neighbor as the source address for sessions with the neighbor.
Brocade(config)# interface loopback 1 Brocade(config-lbif-1)# ip address 9.9.9.9/32 Brocade(config-lbif-1)#exit Brocade(config)# router msdp Brocade(config-msdp-router)# msdp-peer 2.2.2.99 connect-source loopback 1
NOTE
Syntax: [no] originator-id <type> <number> The originator-id parameter instructs MSDP to use the specified address as the IP address of the RP in an SA message. This address must be the address of the interface used to connect the RP to the source. There are no default originator-ids. The <type> parameter indicates the type of interface used by the RP. Ethernet, loopback and virtual routing interfaces (ve) can be used. The <number> parameter specifies the interface number (for example: loopback number, port number or virtual routing interface number.)
1557
For peer 2.2.2.99, all source-group pairs in Source-Active messages from the neighbor are
filtered out (dropped).
For peer 2.2.2.97, all source-group pairs except those with 10.x.x.x as the source are
permitted.
For peer 2.2.2.96, all source-group pairs except those associated with RP 2.2.42.3 are
permitted. Example of configuring MSDP peers The following commands configure an IP address on port 3/1. This is the port on which the MSDP neighbors will be configured.
Brocade(config)# interface ethernet 3/1 Brocade(config-if-3/1)# ip address 2.2.2.98/24 Brocade(config-if-3/1)# exit
The following commands configure a loopback interface. The Layer 3 switch will use this interface as the source address for communicating with the MSDP neighbors.
Brocade(config)# interface loopback 1 Brocade(config-lbif-1)# ip address 9.9.9.8/32 Brocade(config-lbif-1)# exit
The following commands configure extended ACLs. The ACLs will be used in route maps, which will be used by the Source-Active filters.
Brocade(config)# access-list 123 permit 10.0.0.0 0.255.255.255 any Brocade(config)# access-list 124 permit 2.2.42.3 0.0.0.0 any Brocade(config)# access-list 125 permit any any
1558
The default action rule for route-map is to deny all routes that are not explicitly permitted. If you configure a deny route map but want to permit other routes that do not match the rule, configure an empty permit route map, as shown in the following example. Brocade(config)#route-map abc deny 10 Brocade(config-routemap abc)#match metric 20 Brocade(config-routemap abc)#route-map abc permit 20 Without the last line in the above example, all routes would be denied. The following commands enable MSDP and configure the MSDP neighbors on port 3/1.
Brocade(config)# router msdp Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# msdp-peer 2.2.2.99 connect-source loopback 1 msdp-peer 2.2.2.97 connect-source loopback 1 msdp-peer 2.2.2.96 connect-source loopback 1 exit
NOTE
sa-filter in 2.2.2.99 This command drops all source-group pairs received from neighbor
2.2.2.99.
NOTE
The default action is to deny all source-group pairs from the specified neighbor. If you want to permit some pairs, use route maps.
sa-filter in 2.2.2.97 route-map msdp_map This command drops source-group pairs received
from neighbor 2.2.2.97 if the pairs have source address 10.x.x.x and any group address.
1559
The default filter action is deny. If you want to permit some source-group pairs, use a route map. A permit action in the route map allows the Layer 3 switch to receive the matching source-group pairs. A deny action in the route map drops the matching source-group pairs.
NOTE
The following commands configure an IP address on port 3/1. This is the port on which the MSDP neighbors will be configured.
Brocade(config)# interface ethernet 3/1 Brocade(config-if-3/1)# ip address 2.2.2.98/24 Brocade(config-if-3/1)# exit
The following commands configure a loopback interface. The Layer 3 switch will use this interface as the source address for communicating with the MSDP neighbors.
Brocade(config)# interface loopback 1 Brocade(config-lbif-1)# ip address 9.9.9.8/32 Brocade(config-lbif-1)# exit
The following command configures an extended ACL to specify the source and group addresses you want to filter.
Brocade(config)# access-list 123 permit 10.0.0.0 0.255.255.255 any
The following commands configure a route map. The map matches on source address 10.x.x.x and any group address. Since the action is deny, the Source-Active filter that uses this route map will remove the source-group pairs that match this route map from the Source-Active messages to the neighbor.
Brocade(config)# route-map msdp_map deny 1 Brocade(config-routemap msdp_map)# match ip address 123 Brocade(config-routemap msdp_map)# exit
This filter removes source-group pairs that match route map msdp_map from Source-Active messages before sending them to MSDP neighbors. Syntax: [no] sa-filter originate [route-map <map-tag>]
1560
The route-map <map-tag> parameter specifies a route map. The Layer 3 switch applies the filter to source-group pairs that match the route map. Use the match ip address <acl-id> command in the route map to specify an extended ACL that contains the source and group addresses. The default filter action is deny. If you want to permit some source-group pairs, use a route map. A permit action in the route map allows the Layer 3 switch to receive the matching source-group pairs. A deny action in the route map drops the matching source-group pairs.
NOTE
Syntax: [no] mesh-group <group-name> <peer-address> The example configuration above reflects the configuration in Figure 177. On RP 1.1.1.1, you specify its peers within the same domain (1.1.3.1, 1.1.4.1, and 1.1.2.1). You first configure the MSDP peers using the msdp-peer command to assign their IP addresses and the loopback interfaces. This information will be used as the source for sessions with the neighbor. Next, place the MSDP peers within a domain into a mesh group. Use the mesh-group command. There are no default mesh groups. The group-name parameter identifies the group. Enter up to 31 characters for group-name. You can have up to 4 mesh groups within a multicast network. Each mesh group can include up to 32 peers.
1561
The peer-address parameter specifies the IP address of the MSDP peer that is being placed in the group. On each of the device that will be part of the mesh-group, there must be a mesh-group definition for all the peers in the mesh-group. Up to 32 MSDP peers can be configured per mesh group. Example configuration of an MSDP mesh group In Figure 177, devices A, B, C, and D are in Mesh Group 1234. The example configuration following the figure shows how the devices are configured to be part of the MSDP mesh group. The example also shows the features that need to be enabled for the MSDP mesh group to work.
NOTE
PIM Sparse Domain 10 MSDP Mesh Group 1234 35.35.35.5 Device C 1.1.3.1 Device D 1.1.4.1 134.134.134.13
17.17.17.7
48.48.48.8
MSDP mesh group configuration for Device A The following set of commands configure the MSDP peers of Device A (1.1.1.1) that are inside and outside MSDP mesh group 1234. Device A peers inside the mesh group 1234 are 1.1.2.1, 1.1.3.1, and 1.1.4.1. Device 17.17.17.7 is a peer of Device A, but is outside mesh group 1234. Multicast is enabled on Device A interfaces. PIM and BGP are also enabled.
Brocade(config)# router pim
1562
Brocade(config)# router msdp Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)#
msdp-peer 1.1.3.1 connect-source loopback 1 msdp-peer 1.1.4.1 connect-source loopback 1 msdp-peer 1.1.2.1 connect-source loopback 1 msdp-peer 17.17.17.7 mesh-group 1234 1.1.4.1 mesh-group 1234 1.1.3.1 mesh-group 1234 1.1.2.1 exit
Brocade(config)# interface loopback 1 Brocade(config-lbif-1)#ip address 1.1.1.1 255.255.255.0 Brocade(config-lbif-1)# ip pim-sparse Brocade(config-lbif-1)# exit Brocade(config)# interface ethernet 1/1 Brocade(config-if-1/1)# ip address 14.14.14.1 255.255.255.0 Brocade(config-if-1/1)# ip pim-sparse Brocade(config-if-1/1)# exit Brocade(config)# interface ethernet 2/1 Brocade(config-if-2/1)# ip address 12.12.12.1 255.255.255.0 Brocade(config-if-2/1)# ip pim-sparse Brocade(config-if-2/1)# exit Brocade(config)# interface ethernet 2/20 Brocade(config-if-2/20)# ip address 159.159.159.1 255.255.255.0 Brocade(config-if-2/20)# ip pim-sparse Brocade(config-if-2/20)# exit Brocade(config)# interface ethernet 4/1 Brocade(config-if-4/1)# ip address 31.31.31.1 255.255.255.0 Brocade(config-if-4/1)# ip pim-sparse Brocade(config-if-4/1)# exit Brocade(config)# interface ethernet 4/8 Brocade(config-if-4/8)# ip address 17.17.17.1 255.255.255.0 Brocade(config-if-4/8)# ip pim-sparse Brocade(config-if-4/8)# ip pim border Brocade(config-if-4/8)# exit Brocade(config)# router pim Brocade(config-router-pim)# bsr-candidate loopback 1 1 31 Brocade(config-router-pim)# rp-candidate loopback 1 Brocade(config-router-pim)# exit Brocade(config)# router bgp Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)# Brocade(config-bgp-router)#
local-as 111 neighbor 31.31.31.3 remote-as 333 neighbor 31.31.31.3 next-hop-self neighbor 12.12.12.2 remote-as 222 neighbor 12.12.12.2 next-hop-self neighbor 14.14.14.4 remote-as 444 neighbor 14.14.14.4 next-hop-self neighbor 17.17.17.7 remote-as 777 neighbor 17.17.17.7 next-hop-self redistribute connected write memory
1563
MSDP mesh group configuration for Device B The following set of commands configure the MSDP peers of Device B. All Device B peers (1.1.1.1, 1.1.3.1, and 1.1.4.1) are in the MSDP mesh group 1234. Multicast is enabled on Device B interfaces. PIM and BGP are also enabled.
Brocade(config)# router pim Brocade(config)# router msdp Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)#
msdp-peer 1.1.3.1 connect-source loopback 1 msdp-peer 1.1.1.1 connect-source loopback 1 msdp-peer 1.1.4.1 connect-source loopback 1 mesh-group 1234 1.1.1.1 mesh-group 1234 1.1.3.1 mesh-group 1234 1.1.4.1 exit
Brocade(config)# interface loopback 1 Brocade(config-lbif-1)# ip address 1.1.2.1 255.255.255.0 Brocade(config-lbif-1)# ip pim-sparse Brocade(config-lbif-1)# exit Brocade(config)# interface ethernet 1/1 Brocade(config-if-1/1)# ip address 12.12.12.2 255.255.255.0 Brocade(config-if-1/1)# ip pim-sparse Brocade(config-if-1/1)# exit Brocade(config)# interface ethernet 1/12 Brocade(config-if-1/12)# ip address 165.165.165.1 255.255.255.0 Brocade(config-if-1/12)# ip pim-sparse Brocade(config-if-1/12)# exit Brocade(config)# interface ethernet 1/24 Brocade(config-if-1/24)# ip address 168.72.2.2 255.255.255.0 Brocade(config-if-1/24)# exit Brocade(config)# interface ethernet 1/25 Brocade(config-if-1/25)# ip address 24.24.24.2 255.255.255.0 Brocade(config-if-1/25)# ip pim-sparse Brocade(config-if-1/24)# exit Brocade(config)# interface ethernet 8/1 Brocade(config-if-8/1)# ip address 32.32.32.2 255.255.255.0 Brocade(config-if-8/1)# ip pim-sparse Brocade(config-if-1/24)# exit Brocade(config)# router pim Brocade(config-router-pim)# bsr-candidate loopback 1 2 32 Brocade(config-router-pim)# rp-candidate loopback 1 Brocade(config-router-pim)# exit Brocade(config)# router bgp Brocade(config-router-bgp)# Brocade(config-router-bgp)# Brocade(config-router-bgp)# Brocade(config-router-bgp)# Brocade(config-router-bgp)# Brocade(config-router-bgp)#
1564
Brocade(config-router-bgp)# neighbor 12.12.12.1 next-hop-self Brocade(config-router-bgp)# redistribute connected Brocade(config-router-bgp)# write memory
MSDP mesh group configuration for Device C The following set of commands configure the MSDP peers of Device C (1.1.3.1) that are inside and outside MSDP mesh group 1234. Device C peers inside the mesh group 1234 are 1.1.1.1, 1.1.2.1, and 1.1.4.1. Device 35.35.35.5 is a peer of Device C, but is outside mesh group 1234. Multicast is enabled on Device C interfaces. PIM and BGP are also enabled.
Brocade(config)# router pim Brocade(config)# router msdp Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)# Brocade(config-msdp-router)#
msdp-peer 35.35.35.5 msdp-peer 1.1.2.1 connect-source loopback 1 msdp-peer 1.1.4.1 connect-source loopback 1 msdp-peer 1.1.1.1 connect-source loopback 1 mesh-group 1234 1.1.2.1 mesh-group 1234 1.1.1.1 mesh-group 1234 1.1.4.1 exit
Brocade(config)# interface loopback 1 Brocade(config-lbif-1)# ip address 1.1.3.1 255.255.255.0 Brocade(config-lbif-1)# ip pim-sparse Brocade(config-lbif-1)# exit Brocade(config)# interface ethernet 3/1 Brocade(config-if-3/1)# ip address 32.32.32.3 255.255.255.0 Brocade(config-if-3/1)# ip pim-sparse Brocade(config-if-3/1)# exit Brocade(config)# interface ethernet 10/1 Brocade(config-if-10/1)# ip address 31.31.31.3 255.255.255.0 Brocade(config-if-10/1)# ip pim-sparse Brocade(config-if-10/1)# exit Brocade(config)# interface ethernet 10/8 Brocade(config-if-10/8)# ip address 35.35.35.3 255.255.255.0 Brocade(config-if-10/8)# ip pim-sparse Brocade(config-if-10/8)# ip pim border Brocade(config-if-10/8)# exit Brocade(config)# interface ethernet 12/2 Brocade(config-if-12/1)# ip address 34.34.34.3 255.255.255.0 Brocade(config-if-12/1)# ip pim-sparse Brocade(config-if-12/1)# exit Brocade(config)# interface ethernet 14/4 Brocade(config-if-14/4)# ip address 154.154.154.1 255.255.255.0 Brocade(config-if-12/1)# ip pim-sparse Brocade(config-if-12/1)# exit Brocade(config)# router pim Brocade(config-router-pim)# bsr-candidate loopback 1 1 3 Brocade(config-router-pim)# rp-candidate loopback 1 Brocade(config-router-pim)# exit
1565
Brocade(config)# router bgp Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)# Brocade(config-router-bsr)#
local-as 333 neighbor 35.35.35.5 remote-as 555 neighbor 35.35.35.5 next-hop-self neighbor 32.32.32.2 remote-as 222 neighbor 32.32.32.2 next-hop-self neighbor 34.34.34.4 remote-as 444 neighbor 34.34.34.4 next-hop-self neighbor 31.31.31.1 remote-as 111 neighbor 31.31.31.1 next-hop-self redistribute connected write memory
MSDP mesh group configuration for Device D The following set of commands configure the MSDP peers of Device D (1.1.4.1) that are inside and outside MSDP mesh group 1234. Device D peers inside the mesh group 1234 are 1.1.1.1, 1.1.2.1, and 1.1.3.1. Device 48.48.48.8 and 134.134.134.13 are also peers of Device D, but are outside mesh group 1234. Multicast is enabled on Device D interfaces. PIM and BGP are also enabled.
Brocade(config)# router pim Brocade(config)# router msdp Brocade(config-msdp-router)# msdp-peer 1.1.3.1 connect-source loopback 1 Brocade(config-msdp-router)# msdp-peer 1.1.1.1 connect-source loopback 1 Brocade(config-msdp-router)# msdp-peer 1.1.2.1 connect-source loopback 1 Brocade(config-msdp-router)# msdp-peer 48.48.48.8 Brocade(config-msdp-router)# msdp-peer 134.134.134.13 Brocade(config-msdp-router)# mesh-group 1234 1.1.1.1 Brocade(config-msdp-router)# mesh-group 1234 1.1.3.1 Brocade(config-msdp-router)# mesh-group 1234 1.1.2.1 Brocade(config-msdp-router)# exit Brocade(config)# interface loopback 1 Brocade(config-lbif-)# ip address 1.1.4.1 255.255.255.0 Brocade(config-lbif-)# ip pim-sparse Brocade(config-lbif-)# exit Brocade(config)# interface ethernet 1/1 Brocade(config-if-)# ip address 24.24.24.4 255.255.255.0 Brocade(config-if-)# ip pim-sparse Brocade(config-if-)# exit Brocade(config)# interface ethernet 2/6 Brocade(config-if-)# ip address 156.156.156.1 255.255.255.0 Brocade(config-if-)# ip pim-sparse Brocade(config-if-)# exit Brocade(config)# interface ethernet 5/1 Brocade(config-if-)# ip address 34.34.34.4 255.255.255.0 Brocade(config-if-)# ip pim-sparse Brocade(config-if-)# exit Brocade(config)# interface ethernet 7/1 Brocade(config-if-)# ip address 14.14.14.4 255.255.255.0 Brocade(config-if-)# ip pim-sparse Brocade(config-if-)# exit Brocade(config)# interface ethernet 7/7 Brocade(config-if-)# ip address 48.48.48.4 255.255.255.0 Brocade(config-if-)# ip pim-sparse Brocade(config-if-)# ip pim border Brocade(config-if-)# exit
1566
Brocade(config)# interface ethernet 7/8 Brocade(config-if-)# ip address 134.134.134.4 255.255.255.0 Brocade(config-if-)# ip pim-sparse Brocade(config-if-)# ip pim border Brocade(config-if-)# exit Brocade(config)# router pim Brocade(config-router-pim)# bsr-candidate loopback 1 14 34 Brocade(config-router-pim)# rp-candidate loopback 1 Brocade(config-router-pim)# exit Brocade(config)# router bgp Brocade(config-router-bsr)# local-as 444 Brocade(config-router-bsr)# neighbor 34.34.34.3 remote-as 333 Brocade(config-router-bsr)# neighbor 34.34.34.3 next-hop-self Brocade(config-router-bsr)# neighbor 14.14.14.1 remote-as 111 Brocade(config-router-bsr)# neighbor 14.14.14.1 next-hop-self Brocade(config-router-bsr)# neighbor 24.24.24.2 remote-as 222 Brocade(config-router-bsr)# neighbor 24.24.24.2 next-hop-self Brocade(config-router-bsr)# neighbor 48.48.48.8 remote-as 888 Brocade(config-router-bsr)# neighbor 48.48.48.8 next-hop-self Brocade(config-router-bsr)# neighbor 134.134.134.13 remote-as 1313 Brocade(config-router-bsr)# neighbor 134.134.134.13 next-hop-self Brocade(config-router-bsr)# redistribute connected Brocade(config-router-bsr)# write memory
Summary information the IP addresses of the peers, the state of the Layer 3 switch MSDP
session with each peer, and statistics for Keepalive, Source Active, and Notification messages sent to and received from each of the peers
Peer information the IP address of the peer, along with detailed MSDP and TCP statistics Source Active cache entries the Source Active messages cached by the Layer 3 switch
NOT In 0 0 Out 0 0
1567
TABLE 265
Field
Peer Address State
1568
Brocade(config-msdp-router)# show ip msdp peer Total number of MSDP Peers: 2 IP Address 206.251.17.30 Keep Alive Time 60 State ESTABLISHED Hold Time 90
Message Sent Message Received Keep Alive 2 3 Notifications 0 0 Source-Active 0 640 Last Connection Reset Reason:Reason Unknown Notification Message Error Code Received:Unspecified Notification Message Error SubCode Received:Not Applicable Notification Message Error Code Transmitted:Unspecified Notification Message Error SubCode Transmitted:Not Applicable TCP Connection state: ESTABLISHED Local host: 206.251.17.29, Local Port: 8270 Remote host: 206.251.17.30, Remote Port: 639 ISentSeq: 16927 SendNext: 685654 TotUnAck: 0 SendWnd: 16384 TotSent: 668727 ReTrans: 1 IRcvSeq: 45252428 RcvNext: 45252438 RcvWnd: 16384 TotalRcv: 10 RcvQue: 0 SendQue: 0
Syntax: show ip msdp peer This display shows the following information.
TABLE 266
Field
Hold Time
Keep Alive Message Sent Keep Alive Message Received Notifications Sent
1569
TABLE 266
Field
Notifications Received Source-Active Sent Source-Active Received Last Connection Reset Reason Notification Message Error Code Received
Notification Message Error SubCode Received Notification Message Error Code Transmitted Notification Message Error SubCode Transmitted TCP Statistics
1570
TABLE 266
Field
Local host Local port Remote host Remote port ISentSeq SendNext TotUnAck SendWnd TotSent ReTrans IRcvSeq RcvNext RcvWnd TotalRcv RcvQue SendQue
1571
Syntax: show ip msdp sa-cache This display shows the following information.
TABLE 267
Field
Total Entry Used Free Index SourceAddr GroupAddr RP Age
1572
The command in this example clears the MSDP peer connection with MSDP router 205.216.162.1. The CLI displays a message to indicate when the connection has been successfully closed.
Syntax: clear ip msdp sa-cache [<source-addr> | <group-addr>] The command in this example clears all the cache entries. Use the <source-addr> parameter to clear only the entries for a specified course. Use the <group-addr> parameter to clear only the entries for a specific group.
Syntax: clear ip msdp statistics [<ip-addr>] The command in this example clears statistics for all the peers. To clear statistics for a specific peer, enter the peer IP address.
Syntax: [no] hardware-drop When PMRI is enabled, the show ip pim mcache command output displays the multicast cache entry along with a drop flag, indicating that the device is dropping packets in hardware. If the HW flag is set to 1 (HW=1), it implies that the packets are being dropped in hardware. If the HW flag is set to 0, (HW=0), it indicates that the packets are being processed in software. The following shows an example display output.
1573
DVMRP overview
Brocade#show ip pim mcache 1 (10.10.10.18 226.0.1.56) in v10 (e1), cnt=2 Source is directly connected Sparse Mode, RPT=0 SPT=1 REG=1 MSDP Adv=0 MSDP Create=0 fast=0 slow=0 pru=1 graft age drop age=0s up-time=2m HW=1 L2-vidx=8191
DVMRP overview
Brocade routers provide multicast routing with the Distance Vector Multicast Routing Protocol (DVMRP) routing protocol. DVMRP uses Internet Group Membership Protocol (IGMP) to manage the IP multicast groups. DVMRP is a broadcast and pruning multicast protocol that delivers IP multicast datagrams to its intended receivers. The receiver registers the interested groups using IGMP. DVMRP builds a multicast delivery tree with the sender forming the root. Initially, multicast datagrams are delivered to all nodes on the tree. Those leaves that do not have any group members send prune messages to the upstream router, noting the absence of a group. The upstream router maintains a prune state for this group for the given sender. A prune state is aged out after a given configurable interval, allowing multicasts to resume. DVMRP employs reverse path forwarding and pruning to keep source specific multicast delivery trees with the minimum number of branches required to reach all group members. DVMRP builds a multicast tree for each source and destination host group. DVMRP is supported only on FastIron SX devices.
NOTE
1574
DVMRP overview
229.225.0.1
Group Member Group Member
229.225.0.1
Group Group Member Member Group Member
...
R2 Leaf Node R1 R3
R4
...
Intermediate Node (No Group Members)
...
Group Group Member Member Group Member
229.225.0.1
1575
229.225.0.1
Group Member Group Member
229.225.0.1
Group Group Member Member Group Member
...
R2 R1 R3
R4 Prune Message sent to upstream router (R4) R6 R5 Leaf Node (No Group Members)
...
Intermediate Node (No Group Members)
...
Group Group Group Member Member Member
229.225.0.1
1576
DVMRP is enabled on each of the Brocade Layer 3 switches shown in Figure 178, on which multicasts are expected. You can enable DVMRP on each Layer 3 switch independently or remotely from one Layer 3 switch by a Telnet connection. Follow the same steps for each Layer 3 switch.
Entering a router dvmrp command to enable DVMRP does not require a software reload. Entering a no router dvmrp command removes all configuration for PIM multicast on a Layer 3
switch (router pim level) only.
Syntax: [no] disable-dvmrp Use the [no] version of the command to re-enable DVMRP.
Neighbor timeout Route expire time Route discard time Prune age Graft retransmit time Probe interval Report interval Trigger interval
1577
Default route
1578
To modify the setting for graft retransmit time to 120, enter the graft <num> command.
Brocade(config-dvmrp-router)#graft 120
1579
NOTE
This command is not supported on Brocade Layer 2 Switches. To set a metric of 15 for a DVMRP interface, enter the following commands.
Brocade(config)#interface 3/5 Brocade(config-if-3/5)#ip dvmrp metric 15
Enabling advertising
You can turn the advertisement of a local route on (enable) or off (disable) on the interface. By default, advertising is enabled. To enable advertising on an interface, enter the following commands.
Brocade(config-if-1/4)#ip dvmrp advertise-local on
1580
IP tunnel configuration
Syntax: show ip dvmrp rpf <IP address> where <IP address> is a valid source IP address If there are multiple equal cost paths to the source, the show ip dvmrp rpf command output may not be accurate. If your system has multiple equal cost paths, use the command show ip dvmrp mcache to view information about the upstream neighbor.
NOTE
Syntax: [no] disable-dvmrp Use the [no] version of the command to re-enable DVMRP.
IP tunnel configuration
IP tunnels are used to send traffic through routers that do not support IP multicasting. IP Multicast datagrams are encapsulated within an IP packet and then sent to the remote address. Routers that are not configured for IP Multicast route the packet as a normal IP packet. When the IP Multicast router at the remote end of the tunnel receives the packet, the router strips off the IP encapsulation and forwards the packet as an IP Multicast packet.
1581
An IP tunnel must have a remote IP interface at each end. Also, for IP tunneling to work, the remote routers must be reachable by an IP routing protocol.
NOTE
Multiple tunnels configured on a router cannot share the same remote address.
Example
NOTE
To configure an IP tunnel as seen in Figure 178, enter the IP tunnel destination address on an interface of the router. To configure an IP address on Router A, enter the following commands.
FastIron(config)#int e1 FastIron(config-if-1)#ip tunnel 192.3.45.6
The IP tunnel address represents the configured IP tunnel address of the destination router. In the case of Router A, its destination router is Router B. Router A is the destination router of Router B. For router B, enter the following.
FastIron(config-if-1)#ip tunnel 192.58.4.1
NOTE
Router A
Group Member
Group Member
...
...
Limit the number of multicast groups that are covered by a static rendezvous point (RP) Control which multicast groups for which candidate RPs sends advertisement messages to
bootstrap routers
1582
To configure an RP that covers multicast groups in 239.255.162.x, enter commands such as the following.
Brocade(config)#access-list 2 permit 239.255.162.0 0.0.0.255 Brocade(config)#router pim Brocade(config-pim-router)#rp-address 43.43.43.1 2
To configure an RP that covers multicast groups in the 239.255.162.x range, except the 239.255.162.2 group, enter commands such as the following.
Brocade(config)#access-list 5 deny host 239.255.162.2 Brocade(config)#access-list 5 permit 239.255.0.0 0.0.255.255 Brocade(config)#router pim Brocade(config-pim-router)#bsr-candidate ve 43 32 100 Brocade(config-pim-router)#rp-candidate ve 43 Brocade(config-pim-router)#rp-address 99.99.99.5 5
To configure an RP for multicast groups using the override switch, enter commands such as the following.
Brocade(config)#access-list 44 permit 239.255.162.0 0.0.0.255 Brocade(config)#router pim Brocade(config-pim-router)#rp-address 43.43.43.1 Brocade(config-pim-router)#rp-address 99.99.99.5 44 override
Syntax: [no] rp-address <ip-address> [<access-list-num>] [override] The access-list-num parameter is the number of the standard ACL that will filter the multicast group. Extended ACLs cannot be used to limit static RP groups. The override parameter directs the Layer 3 switch to ignore the information learned by a BSR if there is a conflict between the RP configured in this command and the information that is learned by the BSR. An RP address learned dynamically from PIM Bootstrap protocol takes precedence over static RP configuration unless the override parameter is used. You can use the show ip pim rp-set command to display the ACLs used to filter the static RP groups.
Example
Brocade#show ip pim rp-set Group address Static-RP-address Override --------------------------------------------------Access-List 44 99.99.99.5 On Number of group prefixes Learnt from BSR: 1 Group prefix = 224.0.0.0/4 #RPs: 1 RP 1: 43.43.43.1 priority=0 age=0
NOTE
The Group Address table shows the static RP address that is covered by the access list, and
whether or not the override parameter has been enabled.
The Group prefix line shows the multicast group prefix for the static RP. The RP #line shows the configured IP address of the RP candidate.
1583
Enter the show ip pim rp-map command to display the group-to-RP mapping.
router(config)# show ip pim rp-map Number of group-to-RP mappings: 5 Group address RP address ---------------------------------------1 230.0.0.1 100.1.1.1 2 230.0.0.2 100.1.1.1 3 230.0.0.3 100.1.1.1 4 230.0.0.4 100.1.1.1 5 230.0.0.5 100.1.1.1
The display shows the multicast group addresses covered by the RP candidate and the IP address of the RP for the listed multicast group. In the example above, you see the following:
The first three lines show the multicast group addresses that are covered by the RP candidate. The last three lines show the multicast group addresses covered by the static RP.
The example above shows a configuration for an Ethernet interface. To configure ACLs that are applied to a virtual routing interface, enter commands such as the following.
Brocade(config)#interface ve 16 Brocade(config-vif-16)#ip address 16.16.16.1 255.255.255.0 Brocade(config-vif-16)#ip pim-sparse Brocade(config-vif-16)#exit Brocade(config)#access-list 5 deny host 239.255.162.2 Brocade(config)#access-list 5 permit 239.255.0.0 0.0.255.255 Brocade(config)#router pim Brocade(config-pim-router)#bsr-candidate ve 16 32 100 Brocade(config-pim-router)#rp-candidate ve 16 group-list 5
To configure ACLs that are applied to a loopback interface, enter commands such as the following.
Brocade(config)#interface loopback 1 Brocade(config-lbif-1)#ip address 88.88.88.8 255.255.255.0 Brocade(config-lbif-1)#ip pim-sparse Brocade(config-lbif-1)#exit
1584
Brocade(config)#access-list 5 deny host 239.255.162.2 Brocade(config)#access-list 5 permit 239.255.0.0 0.0.255.255 Brocade(config)#router pim Brocade(config-pim-router)#bsr-candidate loopback 1 32 100 Brocade(config-pim-router)#rp-candidate loopback 1 group-list 5
Syntax: [no] rp-candidate ethernet [<slotnum>/]<portnum> | loopback <num> | ve <num> [group-list <access-list-num>] The <slotnum> parameter is required on chassis devices. The <portnum> | loopback <num> | ve <num> parameter specifies the interface. The Layer 3 switch will advertise the specified interface IP address as a candidate RP:
Enter ethernet [<slotnum>/]<portnum> for a physical interface (port). Enter ve <num> for a virtual interface. Enter loopback <num> for a loopback interface.
The group-list <access-list-num> indicates that a standard ACL is used to filter for which multicast group the advertisement will be made. Extended ACLs cannot be used for group-list.
NOTE
TABLE 268
224.0.0.1 224.0.0.2 224.0.0.3 224.0.0.4 224.0.0.5
Multicast address
1585
TABLE 268
224.0.0.6 224.0.0.9 224.0.0.13 224.0.0.18 224.0.0.22
Multicast address
Syntax: [no] disable multicast-to-cpu <multicast group address> [<multicast group range end address>] The <multicast group address> must be in the range 224.0.0.1 - 224.0.0.254, but cannot be one of the reserved multicast addresses listed in Table 268 on page 1585.
To display disabled multicast addresses for a particular VLAN, include the VLAN ID with the show disabled-multicast-to-cpu command. The following shows an example display
.
Brocade# show disabled-multicast-to-cpu 5 Disabled multicast addresses to cpu for PORT-VLAN 5 : 224.0.0.5 224.0.0.14 to 224.0.0.230
1586
Syntax: show disabled-multicast-to-cpu [<vlan-id>] For <vlan-id>, enter a valid VLAN ID. Note that each VLAN must have at least one port added to it.
NOTE
Syntax: mroute <route-num> <ip-addr> interface ethernet [<slotnum>/]<portnum> | ve <num> [distance <num>] or Syntax: mroute <route-num> <ip-addr> rpf_address <rpf-num> The <route-num> parameter specifies the route number. The <ip-addr> command specifies the PIM source for the route. In IP multicasting, a route is handled in terms of its source, rather than its destination. You can use the ethernet [<slotnum>/]<portnum> parameter to specify a physical port or the ve <num> parameter to specify a virtual interface.
NOTE
NOTE
The ethernet [<slotnum>/]<portnum> parameter does not apply to PIM SM. The distance <num> parameter sets the administrative distance for the route. When comparing multiple paths for a route, the Layer 3 switch prefers the path with the lower administrative distance. Regardless of the administrative distances, the Layer 3 switch always prefers directly connected routes over other routes. The rpf_address <rpf-num> parameter specifies an RPF number.
NOTE
1587
The example above configures two static multicast routes. The first route is for a specific source network, 207.95.10.0/24. If the Layer 3 switch receives multicast traffic for network 207.95.10.0/24, the traffic must arrive on port 1/2. The second route is for all other multicast traffic. Traffic from multicast sources other than 207.95.10.0/24 must arrive on port 2/3. Figure 181 shows an example of an IP Multicast network. The two static routes configured in the example above apply to this network. The commands in the example above configure PIM router A to accept PIM packets from 207.95.10.0/24 when they use the path that arrives at port 1/2, and accept all other PIM packets only when they use the path that arrives at port 2/3. The distance parameter sets the administrative distance. This parameter is used by the software to determine the best path for the route. Thus, to ensure that the Layer 3 switch uses the default static route, assign a low administrative distance value. When comparing multiple paths for a route, the Layer 3 switch prefers the path with the lower administrative distance.
9.9.9.10.1
Client e6/14
PIM Switch D
e4/1 207.95.6.1
e2/3 207.95.7.2
e1/4 207.95.7.1
e1/5 207.95.8.10
e1/8 207.95.8.1
PIM Switch A
e3/11 8.8.8.164
PIM Switch B
209.157.24.62
PIM Switch C
Server
To add a static route to a virtual interface, enter commands such as the following.
Brocade(config)#mroute 3 0.0.0.0 0.0.0.0 int ve 1 distance 1 Brocade(config)#write memory
1588
NOTE
Syntax: mrinfo <ip-addr> The <ip-addr> parameter specifies the IP address of the PIM router. The output in this example is based on the PIM group shown in Figure 174 on page 1526. The output shows the PIM interfaces configured on PIM router C (207.95.8.1). In this example, the PIM router has six PIM interfaces. One of the interfaces goes to PIM router B. The other interfaces go to leaf nodes, which are multicast end nodes attached to the router PIM interfaces. (For simplicity, the figure shows only one leaf node.) When the arrow following an interface in the display points to a router address, this is the address of the next hop PIM router on that interface. In this example, PIM interface 207.95.8.1 on PIM router 207.95.8.1 is connected to PIM router 207.95.8.10. The connection can be a direct one or can take place through non-PIM routers. In this example, the PIM routers are directly connected. When the arrow following an interface address points to zeros (0.0.0.0), the interface is not connected to a PIM router. The interface is instead connected to a leaf node. This display shows the PIM interface configuration information, but does not show the link states for the interfaces. The information in brackets indicates the following:
NOTE
The multicast interface type (always PIM; this display is not supported in DVMRP) The Time-to-Live (TTL) for the interface. The metric for the interface Whether the interface is connected to a leaf node (leaf indicates a leaf node and blank indicates another PIM router)
For example, the information for the first interface listed in the display is PIM/0 /1. This information indicates that the interface is a PIM interface, has a TTL of 0, and a metric of 1. The interface is not a leaf node interface and thus is an interface to another PIM router.
1589
IGMP V3
The information for the second interface in the display is PIM/0 /1/leaf. This information indicates that the interface is a PIM interface, has a TTL of 0 and a metric of 1, and is connected to a leaf node.
IGMP V3
The Internet Group Management Protocol (IGMP) allows an IPV4 interface to communicate IP Multicast group membership information to its neighboring routers. The routers in turn limit the multicast of IP packets with multicast destination addresses to only those interfaces on the router that are identified as IP Multicast group members. This release introduces the support of IGMP version 3 (IGMP V3) on Layer 3 switches. In IGMP V2, when a router sent a query to the interfaces, the clients on the interfaces respond with a membership report of multicast groups to the router. The router can then send traffic to these groups, regardless of the traffic source. When an interface no longer needs to receive traffic from a group, it sends a leave message to the router which in turn sends a group-specific query to that interface to see if any other clients on the same interface is still active. In contrast, IGMP V3 provides selective filtering of traffic based on traffic source. A router running IGMP V3 sends queries to every multicast enabled interface at the specified interval. These queries determine if any interface wants to receive traffic from the router. The queries include the IP address of the traffic source (S) or the ID of the multicast group (G, or both). The interfaces respond to these queries by sending a membership report that contains one or more of the following records that are associated with a specific group:
Current-State Record that indicates from which sources the interface wants to receive and not
receive traffic. The record contains source address of interfaces and whether or not traffic will be received or included (IS_IN) or not received or excluded (IS_EX) from that source.
Filter-mode-change record. If the interface changes its current state from IS_IN to IS_EX, a
TO_EX record is included in the membership report. Likewise, if an interface current state changes from IS_EX to IS_IN, a TO_IN record appears in the membership report. IGMP V2 Leave report is equivalent to a TO_IN(empty) record in IGMP V3. This record means that no traffic from this group will be received regardless of the source. An IGMP V2 group report is equivalent to an IS_EX(empty) record in IGMP V3. This record means that all traffic from this group will be received regardless of source.
Source-List-Change Record. If the interface wants to add or remove traffic sources from its
membership report, the membership report can have an ALLOW record, which contains a list of new sources from which the interface wishes to receive traffic. It can also contains a BLOCK record, which lists current traffic sources from which the interfaces wants to stop receiving traffic. In response to membership reports from the interfaces, the router sends a Group-Specific or a Group-and-Source Specific query to the multicast interfaces. Each query is sent three times with a one-second interval in between each transmission to ensure the interfaces receive the query. For example, a router receives a membership report with a Source-List-Change record to block old sources from an interface. The router sends Group-and-Source Specific Queries to the source and group (S,G) identified in the record. If none of the interfaces is interested in the (S,G), it is removed from (S,G) list for that interface on the router.
1590
IGMP V3
Each IGMP V3-enabled router maintains a record of the state of each group and each physical port within a virtual routing interface. This record contains the group, group-timer, filter mode, and source records information for the group or interface. Source records contain information on the source address of the packet and source timer. If the source timer expires when the state of the group or interface is in Include mode, the record is removed.
Syntax: ip igmp version <version-number> Enter 1, 2, or 3 for <version-number>. Version 2 is the default version.
1591
IGMP V3
To specify the IGMP version for a virtual routing interface on a physical port, enter a command such as the following.
Brocade(config)#interface ve 3 Brocade(config-vif-1) ip igmp version 3
Syntax: [no] ip igmp version <version-number> Enter 1, 2, or 3 for <version-number>. Version 2 is the default version.
Enabling the IGMP version on a physical port within a virtual routing interface
To specify the IGMP version recognized by a physical port that is a member of a virtual routing interface, enter a command such as the following.
Brocade(config)#interface ve 3 Brocade(config-vif-3)#ip igmp version 2 Brocade(config-vif-3)#ip igmp port-version 3 e1/3-e1/7 e2/9
In this example, the second line sets IGMP V2 on virtual routing interface 3. However, the third line set IGMP V3 on ports 1/3 through 1/7 and port e2/9. All other ports in this virtual routing interface are configured with IGMP V2. Syntax: ip igmp port-version <version-number> ethernet [<slotnum>/]<port-number> Enter 1, 2, or 3 for <version-number>. IGMP V2 is the default version. The ethernet <port-number> parameter specifies which physical port within a virtual routing interface is being configured. If you are entering this command on a chassis device, specify the slot number as well as the port number.
1592
IGMP V3
If the interface, to which the client belongs, has IGMP V3 clients only. Therefore, all physical
ports on a virtual routing interface must have IGMP V3 enabled and no IGMP V1 or V2 clients can be on the interface. (Although IGMP V3 can handle V1 and V2 clients, these two clients cannot be on the interface in order for fast leave to take effect.)
No other client on the interface is receiving traffic from the group to which the client belongs.
Every group on the physical interface of a virtual routing interface keeps its own tracking record. However, it can track group membership only; it cannot track by (source, group). For example, two clients (Client A and Client B) belong to group1 but each is receiving traffic streams from different sources. Client A receives a stream from (source_1, group1) and Client B receives it from (source_2, group1). The router still waits for three seconds before it stops the traffic because the two clients are in the same group. If the clients are in different groups, then the three second waiting period is not applied and traffic is stopped immediately. The show ip igmp group tracking command displays that clients in a group that are being tracked. If a client sends a leave message, the client is immediately removed from the group. If a client does not send a report during the the specified group membership time (the default is 140 seconds), that client is removed from the tracking list. To enable the tracking and fast leave feature, enter commands such as the following.
Brocade(config)#interface ve 13 Brocade(config-vif-13)#ip igmp tracking
Syntax: ip igmp query-interval <num> The <num> variable specifies the IGMP query interval in number of seconds. Enter a value from 10 through 3600. The default value is 125.
Syntax: ip igmp group-membership-time <num> The <num> variable specifies the IGMP group membership time in number of seconds. Enter a value from 20 through 7200 seconds. The value you enter must be a little more than two times the query interval (2*query-interval +10). The default value is 260.
1593
IGMP V3
Syntax: [no] ip igmp max-response-time <num> The <num> parameter specifies the IGMP maximum response time in number of seconds. Enter a value from 1 through 10. The default is 10.
Enabling SSM
To enable the SSM protocol on a Brocade device running PIM-SM, enter a command such as the following.
Brocade(config)#router pim Brocade(config-pim-router)#ssm-enable
Syntax: [no] ssm-enable Enter the ssm-enable command under the router pim level to globally enable the SSM protocol on a Layer 3 switch.
1594
IGMP V3
NOTE
To display the status of one IGMP multicast group, enter a command such as the following.
Brocade#show ip igmp group 239.0.0.1 detail Display group 239.0.0.1 in all interfaces. Interface v18 : 1 groups group phy-port static querier life mode #_src 1 239.0.0.1 e4/20 no yes include 19 group: 239.0.0.1, include, permit 19 (source, life): (3.3.3.1 40) (3.3.3.2 40) (3.3.3.3 40) (3.3.3.4 40) (3.3.3.5 40) (3.3.3.6 40) (3.3.3.7 40) (3.3.3.8 40) (3.3.3.9 40) (3.3.3.10 40) (3.3.3.11 40) (3.3.3.12 40) (3.3.3.13 40) (3.3.3.14 40) (3.3.3.15 40) (3.3.3.16 40) (3.3.3.17 40) (3.3.3.18 40) (3.3.3.19 40) Interface v110 : 1 groups group phy-port static querier life mode #_src 2 239.0.0.1 e4/5 no yes include 10 group: 239.0.0.1, include, permit 10 (source, life): (2.2.3.0 80) (2.2.3.1 80) (2.2.3.2 80) (2.2.3.3 80) (2.2.3.4 80) (2.2.3.5 80) (2.2.3.6 80) (2.2.3.7 80) (2.2.3.8 80) (2.2.3.9 80)
If the tracking and fast leave feature is enabled, you can display the list of clients that belong to a particular group by entering commands such as the following.
Brocade#show ip igmp group 224.1.10.1 tracking Display group 224.1.10.1 in all interfaces with tracking enabled. Interface v13 : 1 groups, tracking_enabled group phy-port static querier life mode #_src 1 224.1.10.1 e4/15 no yes include 3 receive reports from 3 clients: 110.110.110.7 110.110.110.8 110.110.110.9
Syntax: show ip igmp group [ <group-address> ] [ detail | tracking ] If you want a report for a specific multicast group, enter that group address for <group-address>. Omit the <group-address> if you want a report for all multicast groups. Enter detail if you want to display the source list of the multicast group. Enter tracking if you want information on interfaces that have tracking enabled. The following table defines the statistics for the show ip igmp group command output.
1595
IGMP V3
TABLE 269
Field
Group Phy-port Static
Querier
Life
Mode
#_src
Group:
NOTE
1596
IGMP V3
Brocade#show ip igmp interface query interval = 60, max response time= 3, group membership time=140 v5: default V2, PIM dense, addr=1.1.1.2 e4/12 has 0 groups, non-Querier (age=40), default V2 v18: default V2, DVMRP, addr=2.2.2.1 e4/20 has 0 groups, Querier, default V2 v20: configured V3, PIM dense (port down), addr=1.1.20.1 v110: configured V3, PIM dense, addr=110.110.110.1 e4/6 has 2 groups, Querier, default V3 group: 239.0.0.1, exclude, life=100, deny 13 group: 224.1.10.1, include, permit 2 e4/5 has 3 groups, Querier, default V3 group: 224.2.2.2, include, permit 100 group: 239.0.0.1, include, permit 10 group: 224.1.10.1, include, permit 1
Syntax: show ip igmp interface [ ve | ethernet <number> <group-address>] Enter ve and its <number> or ethernet and its <number> to display information for a specific virtual routing interface or ethernet interface. Entering an address for <group-address> displays information for a specified group on the specified interface. The report shows the following information.
TABLE 270
Field
Query interval
1597
IGMP V3
NOTE
IsIN 0 60 142
Syntax: show ip igmp traffic The report shows the following information.
TABLE 271
Field
QryV2 QryV3 G-Qry GSQry MbrV2 MbrV3 Leave IsIN IsEX ToIN ToEX ALLOW BLK
Syntax: clear igmp traffic This command clears all the multicast traffic information on all interfaces on the device.
1598
IGMP Proxy
IGMP Proxy
IGMP Proxy provides a means for the FastIron X Series routers to receive any or all multicast traffic from an upstream device if the router is not able to run PIM. IGMP Proxy enables the router to issue IGMP host messages on behalf of hosts that the router discovered through standard PIM interfaces. The router acts as a proxy for its hosts and performs the host portion of the IGMP task on the upstream interface as follows:
When queried, the router sends group membership reports for the groups learned When one of its hosts joins a multicast address group to which none of its other hosts belong,
the router sends unsolicited membership reports to that group.
When the last of its hosts in a particular multicast group leaves the group, the FastIron X Series
router sends an unsolicited leave group membership report to group for all routers (multicast IP address 224.0.0.2)
IGMP Proxy is only supported in a PIM Dense environment where there are IGMP clients
connected to the Brocade device. The Brocade device will not send IGMP reports on an IGMP proxy interface for remote clients connected to a PIM neighbor, as it will not be aware of groups that the remote clients are interested in.
2. Configure an IP address on the interface (physical or virtual routing interface) that will serve as the IGMP proxy for an upstream device by entering commands such as the following.
Brocade(config)#int e 1/3 Brocade(config-if-e1000-1/3)#ip address 207.95.5.1/24
1599
Once IGMP Proxy is configured and the FastIron X Series router receives a query on an IGMP Proxy interface, the router sends a report in response to the query before the IGMP maximum response time expires.
BLK 0 0
Syntax: show ip igmp traffic Refer to Displaying IGMP traffic status on page 1598 to interpret the information in the output. The fields in bold show information for IGMP Proxy.
1600
Server 1 multicast active Vlan Server 2 FESXv4 (DUT) Physical port Vlan B (with VE)
ip pim Interfaces
PIM Forwarding
1601
Server 10.10.10.100
Both Sources for Group 230.1.1.1 Server 20.20.20.1 e1 Vlan 20 (with VE 20) e21 20.20.20.x/24 30.30.30.x/24
Vlan 10
e4
e3 FES/FESX e4 Router
40.40.40.x/24
2. On the FESXv4 device, enable PIM routing between VLAN/VE 20 and Interface e 13.
Brocade(config)#vlan 20 by port Brocade(config-vlan-20)#untagged e 21 to 24 Added untagged port(s) ethe 21 to 24 to port-vlan 20. Brocade(config-vlan-20)#router-interface ve 20 Brocade(config-vlan-20)#exit Brocade(config)#router pim Brocade(config-pim-router)#exit Brocade(config)#interface ve 20 Brocade(config-vif-20)#ip address 20.20.20.10/24 Brocade(config-vif-20)#ip pim
1602
1603
1604
Chapter
37
Table 272 lists the individual Brocade FastIron switches and the Multicast Listening Discovery (MLD) snooping features they support. These features are supported in the Layer 2, base Layer 3, and full Layer 3 software images.
TABLE 272
Feature
FWS
FCX
ICX 6610
This chapter describes MLD snooping on the FESX, FSX 800 and FSX 1600. For information about MLD snooping on other FastIron devices, see Chapter 38, MLD Snooping on FastIron WS and Brocade FCX and ICX Switches.
MLD fast leave for V1 MLD tracking and fast leave for V2 Static MLD and IGMP groups with support for proxy
1605
An IPv6 multicast address is a destination address in the range of FF00::/8. A limited number of multicast addresses are reserved. Since packets destined for the reserved addresses may require VLAN flooding, FESX and FSX devices do not snoop in the FF0X::00X range (where X is from 00 to FF). Data packets destined to these addresses are flooded to the entire VLAN by hardware and mirrored to the CPU. Multicast data packets destined to addresses outside the FF0X::00X range are snooped. A client must send MLD reports in order to receive traffic. An MLD device periodically broadcasts general queries and sends group queries upon receiving a leave message, to ensure no other clients at the same port still want this specific traffic before removing it. MLDv1 allows clients to specify which group (destination IPv6 address) will receive traffic. (MLDv1 cannot choose the source of the traffic.) MLDv2 deals with source-specific multicasts, adding the capability for clients to INCLUDE or EXCLUDE specific traffic sources. An MLDv2 device's port state can either be in INCLUDE or EXCLUDE mode. There are different types of group records for client reports. Clients respond to general queries by sending a membership report containing one or more of the following records associated with a specific group:
Current-state record - Indicates the sources from which the client wants to receive or not
receive traffic. This record contains the source addresses of the clients and indicates whether or not traffic will be included (IS_IN) or excluded (IS_EX) from that source address.
Filter-mode-change record - If the client changes its current state from IS_IN to IS_EX, a TO_EX
record is included in the membership report. Likewise, if a client current state changes from IS_EX to IS_IN, a TO_IN record appears in the membership report.
MLDv1 leave report - Equivalent to a TO_IN (empty) record in MLDv2. This record means that
no traffic from this group will be received, regardless of the source.
An MLDv1 group report - Equivalent to an IS_EX (empty) record in MLDv2. This record means
that all traffic from this group will be received, regardless of the source.
Source-list-change record - If the client wants to add or remove traffic sources from its
membership report, the report can include an ALLOW record, which contains a list of new sources from which the client wishes to receive traffic. The report can also contain a BLOCK record, which lists current traffic sources from which the client wants to stop receiving traffic.
1606
For two multicast traffic streams, Source_1 and Group1 (S1,G1) and Source_2 and Group2 (S2,G2), with the same or different source addresses, if the lowest 32 bits of the 128-bit IPv6 group address are the same, they would map to the same destination MAC. Because the FESX and FSX support MAC-based forwarding for MLD snooping, the final multicast MAC address entry would be a superset of all the IPv6 groups mapped to it. For example, consider the following three IPv6 multicast streams sent from port 5 of a Brocade device:
(S1,G1) = (2060::5, ff1e::12), client port 1, port 2 (S2,G2) = (2060::6, ff1e::12), client port 2, port 3 (S3,G1) = (2060::7, ff1e::12), client port 4
Because the lowest 32 bits of the group address for G1 and G2 are the same, all three streams would use 0x33-33-00-00-00-12 as the destination MAC address. MLD snooping would build a MAC entry with the MAC address 0x33-33-00-00-00-12 on egress ports 1, 2, 3, and 4. As a result, all three streams would be sent to ports 1, 2, 3, and 4. Note that the above example assumes the following:
The Brocade device is running MLD snooping on VLAN 10 and all three streams are in VLAN 10 There are clients on port 1 and port 2 for (S1,G1) There are clients on port 2 and port 3 for (S2,G2) There are clients on port 4 for (S3,G1)
The default MLD version is V1, where the source address is not sensitive. In the example given
in the preceding section (How MLD snooping uses MAC addresses to forward multicast packets on page 1606), (S1,G1) and (S3,G1) would be considered the same group as (*,G1).
If MLDv2 is configured on any port of a VLAN, you can check the source information, but
because MLD snooping is MAC based, (S,G) switching is not feasible.
Hardware resources are installed only when there is data traffic. Up to 4K collective entries for IGMP Snooping, MLD snooping, and Multi-port Static MAC
Addresses are supported.
You can configure the maximum number of groups and the multicast cache (mcache) number. The device supports static groups applying to specific ports. The device acts as a proxy to send
MLD reports for the static groups when receiving queries.
A user can configure static router ports, forcing all multicast traffic to be sent to these ports. Brocade devices support fast leave for MLDv1, which stops traffic immediately to any port that
has received a leave message.
Brocade devices support tracking and fast leave for MLDv2, which tracks all MLDv2 clients. If
the only client on a port leaves, traffic is stopped immediately.
An MLD device can be configured as a querier (active) or non-querier (passive). Queriers send
queries. Non-queriers listen for queries and forward them to the entire VLAN.
1607
A VLAN that has a connection to an IPv6 PIM-enabled port on another router should be
configured as a non-querier. When multiple snooping devices connect together and there is no connection to IPv6 PIM ports, only one device should be configured as the querier. If multiple devices are configured as active, only one will continue to send queries after the devices have exchanged queries. Refer to MLD snooping-enabled queriers and non-queriers on page 1608.
An MLD device can be configured to rate-limit the forwarding of MLDv1 membership reports to
queriers.
Because an IPv6 link-local address as the source address when sending queries, a global
address is not required.
The MLD implementation allows snooping on some VLANs or on all VLANs. MLD can be
enabled or disabled independently for each VLAN. In addition, individual ports of a VLAN can be configured as MLDv1 and MLDv2. In general, global configuration commands such as ipv6 mld-snooping.. apply to all VLANs except those with a local mld-snooping.. configuration, which supersedes the global configuration. Configuring the version on a port or a VLAN only affects the device sent query version. The device always processes all versions of client reports regardless of the version configured.
MLD snooping requires hardware resources. If the device has insufficient resources, the data
stream without a resource is mirrored to the CPU in addition to being VLAN flooded, which can cause high CPU usage. To avoid this situation, Brocade recommends that you avoid enabling snooping globally unless necessary.
To receive data traffic, MLD snooping requires clients to send membership reports. If a client
does not send reports, you must configure a static group to force traffic to client ports.
Multicast Router Discovery (MRD) messages are useful for determining which nodes attached
to a switch have multicast routing enabled. This capability is useful in a Layer 2 bridge domain with snooping switches. By utilizing MRD messages, Layer 2 switches can determine where to send multicast source data and group membership messages. Multicast source data and group membership reports must be received by all multicast routers on a segment. Using the group membership protocol Query messages to discover multicast routers is insufficient due to query suppression. Since Brocade does not support MRD, this can lead to stream loss when non-Querier router ports age out on the Querier after the initial Query election. To avoid such stream loss, configure a static router port on the querier on each interface that connects to a non-querier snooping device.
1608
Because non-queriers always forward multicast data traffic and MLD messages to router ports which receive MLD queries or IPv6 PIM hellos, Brocade recommends that you configure the devices with the data traffic source (server) as queriers. If a server is attached to a non-querier, the non-querier always forwards traffic to the querier regardless of whether or not there are clients on the querier. In a topology with one or more connected devices, at least one device must be running PIM, or configured as active. Otherwise, no devices can send queries, and traffic cannot be forwarded to clients. To configure the MLD mode (querier or non-querier) on an MLD snooping-enabled device, refer to Configuring the global MLD mode on page 1611. To configure the MLD mode on a VLAN, refer to Configuring the MLD mode for a VLAN on page 1613.
NOTE
NOTE
FastIron Configuration Guide 53-1002494-01
Configuring hardware and software resource limits Disabling transmission and receipt of MLD packets on a port Configuring the MLD mode: active or passive (must be enabled for MLD snooping) Modifying the age interval Modifying the interval for query messages (active MLD mode only) Specifying the global MLD version Enabling and disabling report control (rate limiting)
1609
Modifying the leave wait time Modifying the mcache age interval Disabling error and warning messages
MLD snooping VLAN-specific tasks:
Configuring the MLD mode for the VLAN: active or passive Enabling or disabling MLD snooping for the VLAN Configuring the MLD version for the VLAN Configuring the MLD version for individual ports Configuring static groups to the entire VLAN or some ports Configuring static router ports Disabling proxy activity for a static group Enabling client tracking and the fast leave feature for MLDv2 Configuring fast leave for MLDv1 Configuring fast-convergence
Syntax: [no] system-max mld-snoop-mcache <num> <num> is a value from 256 8192. The default is 512. The system supports up to 32K of multicast groups. The default is 8192. The configured number is the upper limit of an expandable database. Client memberships exceeding the group limits are not processed. To define the maximum number of multicast group addresses supported, enter the system-max mld-max-group-addr <num> command.
Brocade(config)#system-max mld-max-group-addr 4000
Syntax: [no] system-max mld-snoop-mcache <num> <num> is a value from 256 32768. The default is 8192.
1610
This command has no effect on a VLAN that is not snooping-enabled because all multicast traffic is VLAN flooded.
Brocade(config)#interface ethernet 1/3 Brocade(config-if-e1000-1/3)#ipv6-multicast-disable
NOTE
Active In active MLD mode, a device actively sends out MLD queries to identify IPv6 multicast
groups on the network, and makes entries in the MLD table based on the group membership reports it receives from the network.
Passive In passive MLD mode, the device forwards reports to the router ports which receive
queries. MLD snooping in passive mode does not send queries, but does forward queries to the entire VLAN. To globally set the MLD mode to active, enter the ipv6 mld-snooping active command.
Brocade(config)#ipv6 mld-snooping active
Syntax: [no] ipv6 mld-snooping [active | passive] Omitting both the active and passive keywords is the same as entering ipv6 mld-snooping passive.
Syntax: [no] ipv6 mld-snooping age-interval <interval> The <interval> parameter specifies the aging time. You can specify a value from 20 7200 seconds. The default is 140 seconds.
1611
Syntax: [no] ipv6 mld-snooping query-interval <interval> The <interval> parameter specifies the interval between queries. You can specify a value from 10 3600 seconds. The default is 60 seconds.
Syntax: [no] ipv6 mld-snooping version 1 | 2 You can also specify the MLD version for individual VLANs, or individual ports within VLANs. If no MLD version is specified for a VLAN, then the globally configured MLD version is used. If an MLD version is specified for individual ports in a VLAN, those ports use that version instead of the version specified for the VLAN or the globally specified version. The default is MLDv1.
NOTE
Modifying the wait time before stopping traffic when receiving a leave message
You can define the wait time before stopping traffic to a port when the device receives a leave message for that port. The device sends group-specific queries once per second to determine if any client on the same port still needs the group.
Brocade(config)#ipv6 mld-snooping leave-wait-time 1
Syntax: [no] ipv6 mld-snooping leave-wait-time <num> where <num> is a value from 1 to 5. The default is 2. Because of the internal timer accuracy, the actual wait time is between n and (n+1) seconds, where n is the configured value.
1612
Syntax: [no] ipv6 mld-snooping mcache-age <num> where <num> is a value from 60 to 3600 seconds, and the default is 60 seconds.
Active In active MLD mode, the device actively sends out MLD queries to identify IPv6
multicast groups on the network, and makes entries in the MLD table based on the group membership reports it receives from the network.
Passive In passive MLD mode, the device forwards reports to router ports that receive
queries. MLD snooping in the passive mode does not send queries. However, it does forward queries to the entire VLAN. To set the MLD mode for VLAN 20 to active, enter the following commands.
Brocade(config)#vlan 20 Brocade(config-vlan-20)#mld-snooping active
1613
Syntax: [no] mld-snooping version 1 | 2 When no MLD version is specified, the globally-configured MLD version is used. If an MLD version is specified for individual ports, these ports use that version, instead of the version specified for the VLAN.
1614
Brocade(config)#vlan 20 Brocade(config-vlan-20)#mld-snooping static-group ff05::100 count 2 ethe 1/3 ethe 1/5 to 1/7 Brocade(config-vlan-20)#mld-snooping static-group ff10::200
Syntax: [no] mld-snooping static-group <ipv6-address> [count <num>] [<port-numbers>] The ipv6-address parameter is the IPv6 address of the multicast group. The count is optional, which allows a contiguous range of groups. Omitting the count <num> is equivalent to the count being 1. Except on FastIron X Series devices, if there are no port-numbers, the static groups apply to the entire VLAN.
Enabling MLDv2 membership tracking and fast leave for the VLAN
MLDv2 provides membership tracking and fast leave services to clients. In MLDv1, only one client per interface must respond to a router queries; leaving some clients invisible to the router, which makes it impossible for the device to track the membership of all clients in a group. In addition, when a client leaves the group, the device sends group-specific queries to the interface to see if other clients on that interface need the data stream of the client who is leaving. If no client responds, the device waits a few seconds before stopping the traffic. You can configure the wait time with the ipv6 mld-snooping leave-wait-time command. Refer to Modifying the wait time before stopping traffic when receiving a leave message on page 1612.
1615
MLDv2 requires that every client respond to queries, allowing the device to track every client. When the tracking feature is enabled, the device immediately stops forwarding traffic to the interface if an MLDv2 client sends a leave message, and there is no other client. This feature requires the entire VLAN to be configured for MLDv2 and have no MLDv1 clients. If a client does not send a report during the specified group membership time (the default is 140 seconds), that client is removed from the tracking list. Every group on a physical port keeps its own tracking record. However, it can track group membership only; it cannot track by (source, group). For example, Client A and Client B belong to group1 but each is receiving traffic from different sources. Client A receives a traffic stream from (source_1, group1) and Client B receives a traffic stream from (source_2, group1). The device waits for the configured leave-wait-time before it stops the traffic because the two clients are in the same group. If the clients are in different groups, the waiting period is ignored and traffic is stopped immediately. To enable tracking and fast leave for VLAN 20, enter the following commands.
Brocade(config)#vlan 20 Brocade(config-vlan-20)#mld-snooping tracking
Syntax: [no] mld-snooping tracking The membership tracking and fast leave features are supported for MLDv2 only. If a port or client is not configured for MLDv2, the mld-snooping tracking command is ignored.
1616
If the L2 protocol is unable to detect a topology change, the fast-convergence feature may not work. For example, if the direct connection between two devices switches from one interface to another, the rapid spanning tree protocol (802.1w) considers this an optimization action, rather than a topology change. In this case, other devices will not receive topology change notifications and will be unable to send queries to speed up the convergence. The original spanning tree protocol does not recognize optimization actions, and fast-convergence works in all cases. To enable fast-convergence, enter commands such as the following.
Brocade(config)#vlan 70 Brocade(config-vlan-70)#mld-snooping fast-convergence
MLD snooping error information Group and forwarding information for VLANs Information about MLD snooping mcache MLD memory pool usage Status of MLD traffic MLD information by VLAN
Syntax: show ipv6 mld-snooping error The following table describes the output from the show ipv6 mld-snooping error command.
Field
SW processed pkt up-time
Description
The number of IPv6 multicast packets processed by MLD snooping. The MLD snooping up time.
1617
In this example, an MLDv1 group is in EXCLUDE mode with a source of 0. The group excludes traffic from the 0 (zero) source list, which actually means that all traffic sources are included. To display detailed MLD group information, enter the following command.
Brocade#show ipv6 mld-snooping group ff0e::ef00:a096 detail Display group ff0e::ef00:a096 in all interfaces in details. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL1 : 1 grp, 1 grp-port, tracking_enabled group p-port ST QR life mode source 1 ff0e::ef00:a096 1/7 N Y 100 EX 0 group: ff0e::ef00:a096, EX, permit 0 (source, life): life=100, deny 0:
NOTE
If tracking and fast leave are enabled, you can display the list of clients for a particular group by entering the following command.
Brocade#show ipv6 mld-snooping group ff0e::ef00:a096 tracking Display group ff0e::ef00:a096 in all interfaces with tracking enabled. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL1 : 1 grp, 1 grp-port, tracking_enabled group p-port ST QR life mode source 1 ff0e::ef00:a096 1/7 N Y 80 EX 0 receive reports from 1 clients: (age) (fe80::1011:1213:1415 60)
Syntax: show ipv6 mld-snooping group [<group-address> [detail] [tracking]] To receive a report for a specific multicast group, enter that group address for <group-address>. Enter detail to display the source list of a specific VLAN. Enter tracking for information on interfaces that are tracking-enabled. The following table describes the information displayed by the show ipv6 mld-snooping group command.
Field.
group p-port ST QR life
Description
The address of the IPv6 group (destination IPv6 address). The physical port on which the group membership was received. Yes indicates that the MLD group was configured as a static group; No means it was learned from reports. Yes means the port is a querier port; No means it is not. A port becomes a non-querier port when it receives a query from a source with a lower source IP address than the port. The number of seconds the group can remain in EXCLUDE mode. An EXCLUDE mode changes to INCLUDE if it does not receive an IS_EX or TO_EX message during a specified period of time. The default is 140 seconds. There is no life displayed in INCLUDE mode. The current mode of the interface: INCLUDE or EXCLUDE. If the interface is in INCLUDE mode, it admits traffic only from the source list. If the interface is in EXCLUDE mode, it denies traffic from the source list and accepts the rest.
mode
1618
Field.
source
Description
Identifies the source list that will be included or excluded on the interface. An MLDv1 group is in EXCLUDE mode with a source of 0. The group excludes traffic from 0 (zero) source list, which actually means that all traffic sources are included. If you requested a detailed report, the following information is displayed: The multicast group address The mode of the group Sources from which traffic will be admitted (INCLUDE) or denied (EXCLUDE) on the interface. The life of each source list. If you requested a tracking/fast leave report, the clients from which reports were received are identified.
group
Syntax: show ipv6 mld-snooping mcache The following table describes the output from the ipv6 mld-snooping mcache command.
Field
(abcd:ef50 0:100): cnt OIF age uptime vidx ref-cnt
Description
The lowest 32 bits of source and group. It is displayed in XXXX:XXXX hex format. Here XXXX is a 16-bit hex number. The number of packets processed in software. Output interfaces. Entire vlan means that static groups apply to the entire VLAN. The mcache age in seconds. The mcache is reset to 0 if traffic continues to arrive, otherwise it is aged out when it reaches the time defined by ipv6 mld-snooping mcache-age. The up time of this mcache in seconds. The vidx is shared among mcaches using the same output interfaces. The vidx specifies the output port list, which shows the index. Valid range is from 4096 to 8191. The number of mcaches using this vidx.
1619
Syntax: show ipv6 mld-snooping resource The following table describes the output from the show ipv6 mld-snooping resource command.
This field...
alloc in-use avail get-fail limit
Displays...
The allocated number of units. The number of units which are currently used. The number of available units. The number of resource failures. NOTE: It is important to pay close attention to this field. The upper limit of this expandable field. The MLD group limit is configured using the system-max mld-max-group-addr command. The snoop mcache entry limit is configured using the system-max mld-snoop-mcache command. The current memory allocation. This number should continue to increase. The size of a unit (in bytes). The initial allocated amount of memory. NOTE: This number can be increased. (More memory can be allocated if necessary.) The output interface (OIF) port mask used by mcache. The entire device has a maximum of 4096 vidx. Different mcaches with the same OIF share the same vidx. If vidx is not available, the stream cannot be hardware-switched.
1620
Syntax: show ipv6 mld-snooping traffic The following table describes the information displayed by the show ipv6 mld-snooping traffic command.
Field
Q Qry QryV1 QryV2 G-Qry GSQry MBR MbrV1 MbrV2 IsIN IsEX ToIN ToEX ALLO BLK Pkt-Err
Description
Query General Query Number of general MLDv1 queries received or sent. Number of general MLDv2 snooping queries received or sent. Number of group specific queries received or sent. Number of group source specific queries received or sent. The membership report. The MLDv1 membership report. The MLDv2 membership report. Number of source addresses that were included in the traffic. Number of source addresses that were excluded in the traffic. Number of times the interface mode changed from EXCLUDE to INCLUDE. Number of times the interface mode changed from INCLUDE to EXCLUDE. Number of times additional source addresses were allowed on the interface. Number of times sources were removed from an interface. Number of packets having errors such as checksum errors.
1621
Syntax: show ipv6 mld-snooping vlan [<vlan-id>] If you do not specify a vlan-id, information for all VLANs is displayed. The following table describes information displayed by the show ipv6 mld-snooping vlan command.
Field
version query-t group-aging-t rtr-port
Description
The MLD version number. How often a querier sends a general query on the interface. Number of seconds membership groups can be members of this group before aging out. The router ports which are the ports receiving queries. The display router ports: 1/36(120) fe80::2e0:52ff:fe00:9900 means port 1/36 has a querier with fe80::2e0:52ff:fe00:9900 as the link-local address, and the remaining life is 120 seconds. The maximum number of seconds a client can wait before it replies to the query. Indicates that the port is a non-querier. Indicates that the port is a querier.
max-resp-t non-QR QR
1622
Syntax: clear ipv6 mld-snooping vlan <vlan-id> mcache The <vlan-id> parameter specifies the specific VLAN from which to clear the cache.
Syntax: clear ipv6 mld-snooping vlan <vlan-id> traffic The <vlan-id> parameter specifies the specific VLAN from which to clear the traffic counters.
1623
1624
Chapter
38
Table 273 lists the individual Brocade FastIron switches and the Multicast Listening Discovery (MLD) snooping features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images.
TABLE 273
Feature
FWS
FCX
ICX 6610
MLD V1/V2 snooping (global and local) MLD fast leave for V1 MLD tracking and fast leave for V2 Static MLD and IGMP groups with support for proxy
1625
The interfaces respond to general queries by sending a membership report containing one or more of the following records associated with a specific group:
Current-state record - Indicates the sources from which the interface wants to receive or not
receive traffic. This record contains the source addresses of the interfaces and whether or not traffic will be included (IS_IN) or excluded (IS_EX) from that source address.
Filter-mode-change record - If the interface changes its current state from IS_IN to IS_EX, a
TO_EX record is included in the membership report. Likewise, if an interface current state changes from IS_EX to IS_IN, a TO_IN record appears in the membership report.
MLDv1 leave report - Equivalent to a TO_IN (empty) record in MLDv2. This record means that
no traffic from this group will be received regardless of the source.
An MLDv1 group report - Equivalent to an IS_EX (empty) record in MLDv2. This record means
that all traffic from this group will be received regardless of source.
Source-list-change record - If the interface wants to add or remove traffic sources from its
membership report, the report can include an ALLOW record, which contains a list of new sources from which the interface wishes to receive traffic. The report can also contain a BLOCK record, which lists current traffic sources from which the interface wants to stop receiving traffic. MLD protocols provide a way for clients and a device to exchange messages, and allow the device to build a database indicating which port wants what traffic. Since the MLD protocols do not specify forwarding methods, MLD Snooping or multicast protocols such as IPv6 PIM-Sparse Mode (PIM SM) are required to handle packet forwarding. PIM SM can route multicast packets within and outside a VLAN, while MLD Snooping can switch packets only within a VLAN. These devices do not support PIM-SM routing. If a VLAN is not MLD Snooping-enabled, it floods IPv6 multicast data and control packets to the entire VLAN in hardware. When snooping is enabled, MLD packets are trapped to the CPU. Data packets are mirrored to the CPU and VLAN flooded. The CPU then installs hardware resources so subsequent data packets can be hardware-switched to desired ports without going through the CPU. If there is no client report, the hardware resource drops the data stream. The hardware can either match group addresses only (* G), or both source and group (S G) addresses in the data stream. If MLDv2 is configured in any port of a VLAN, the VLAN uses an (S G) match, otherwise it uses (* G). Because the hardware can match only the lowest 32 bits of a 128 bit IPv6 address, the output interfaces (OIF) of a hardware resource are the superset of the OIF of all data streams sharing the same lowest 32 bits. For example, if groups ff10::1234:5678:abcd and ff20::5678:abcd share the same hardware resource, then the OIF of the hardware matching (* 5678:abcd) is the superset of these two groups. Stackable devices allocate 16K of hardware resources for MAC learning, IGMP, and MLD snooping. If a data packet does not match any of these resources, it might be sent to the CPU, increasing the CPU burden. This can happen if the device runs out of hardware resources, or is unable to install a resource for a specific matching address due to a hashing collision. Because the hardware hashes addresses into 16K entries, some addresses may be hashed into the same entry. If the collision number in an entry is more than the hardware chain length, the resource cannot be installed. The chain length can be configured using the hash-chain-length command, as follows.
Brocade(config)#hash-chain-length 8
1626
The <num> parameter range is 4 to 32, in multiples of 4. If the input value is not a multiple of 4, then it will be changed to the multiple of 4 lower than then the input value (e.g. 11 will be changed to 8). The default hash chain length is 4. A chain length of more than 4 may affect line rate switching. For this command to take effect, you must save the configuration and reload the switch. The hardware resource limit applies only to snooping-enabled VLANs. In VLANs where snooping is not enabled, multicast streams are switched in hardware without using any pre-installed resources. The Brocade device supports up to 32K of MLD groups. They are produced by client membership reports.
NOTE
You can configure the maximum number of groups and hardware-switched data streams. The device supports static groups applying to the entire VLAN, or to specific ports. The device
acts as a proxy to send MLD reports for the static groups when receiving queries.
A user can configure static router ports, forcing all multicast traffic to be sent to these ports. All devices support fast leave for MLDv1, which stops traffic immediately to any port that has
received a leave message.
All devices support tracking and fast leave for MLDv2, which tracks all MLDv2 clients. If the
only client on a port leaves, traffic is stopped immediately.
An MLD device can be configured as a querier (active) or non-querier (passive). Queriers send
queries. Non-queriers listen for queries and forward them to the entire VLAN.
Every VLAN can be independently configured as a querier or a non-querier. A VLAN that has a connection to an IPv6 PIM-enabled port on another router should be
configured as a non-querier. When multiple snooping devices connect together and there is no connection to IPv6 PIM ports, only one device should be configured as the querier. If multiple devices are configured as active, only one will continue to send queries after the devices have exchanged queries. Refer to Configuring queriers and non-queriers on MLD snooping-enabled devices on page 1628.
An MLD device can be configured to rate-limit the forwarding of MLDv1 membership reports to
queriers.
Because these devices use an IPv6 link-local address as the source address when sending
queries, no global address is required. The MLD implementation allows snooping on some VLANs or on all VLANs. MLD can be enabled or disabled independently for each VLAN. In addition, individual ports of a VLAN can be configured as MSLv1 and MLDv2. In general, global configuration commands such as ipv6 mld-snooping... apply to all VLANs except those with a local mld-snooping.. configuration, which supersedes the global configuration. Configuring the version on a port or a VLAN only affects the device sent query version. The device always processes all versions of client reports regardless of the version configured.
1627
MLD Snooping requires hardware resources. If the device has insufficient resources, the data stream without a resource is mirrored to the CPU in addition to being VLAN flooded, which can cause high CPU usage. To avoid this situation, Brocade recommends that you avoid enabling snooping globally unless necessary. When any port of a VLAN is configured for MLDv2, the VLAN matches both source and group (S G) in hardware switching. If no port is configured for MLDv2, the VLAN matches group only (* G). Matching (S G) requires more hardware resources than (* G) when there are multiple servers sharing the same group. For example, two data streams from different sources to the same group require two (S G) entries in MLDv2, compared to only one (* G) in MLDv1. Brocade recommends that you use MLDv2 only in a source-specific application. Because each VLAN can be configured for the version independently, some VLANs might match (* G) while others match (S G). To receive data traffic, MLD Snooping requires clients to send membership reports. If a client does not send reports, you must configure a static group to force traffic to client ports. The static group can either apply to some ports or to the entire VLAN.
NOTE
In a topology with one or more connected devices, at least one device must be running PIM, or configured as active. Otherwise, no devices can send queries, and traffic cannot be forwarded to clients.
1628
NOTE
To avoid version deadlock, when an interface receives a report with a lower version than that for which it has been configured, the interface does not automatically downgrade the running MLD version.
1629
Syntax: [no] system-max mld-snoop-mcache <num> The system supports up to 32K of groups. The configurable range is 256 to 32768 and the default is 8192. The configured number is the upper limit of an expandable database. Client memberships exceeding the group limits are not processed.
NOTE
Active In active MLD mode, the device actively sends out MLD queries to identify IPv6
multicast groups on the network, and makes entries in the MLD table based on the group membership reports it receives from the network.
Passive In passive MLD mode, the device forwards reports to the router ports which receive
queries. MLD Snooping in passive mode does not send queries, but does forward queries to the entire VLAN. To globally set the MLD mode to active for the device, enter the ipv6 mld-snooping active command.
Brocade(config)#ipv6 mld-snooping active
1630
Omitting both the active and passive keywords is the same as entering ipv6 mld-snooping passive.
Syntax: [no] ipv6 mld-snooping age-interval <interval> The <interval> parameter specifies the aging time. You can specify a value from 20 7200 seconds. The default is 140 seconds.
Syntax: [no] ipv6 mld-snooping query-interval <interval> The <interval> parameter specifies the interval between queries. You can specify a value from 10 3600 seconds. The default is 60 seconds.
Syntax: [no] ipv6 mld-snooping version 1 | 2 You can also specify the MLD version for individual VLANs, or individual ports within VLANs. If no MLD version is specified for a VLAN, then the globally configured MLD version is used. If an MLD version is specified for individual ports in a VLAN, those ports use that version instead of the version specified for the VLAN or the globally specified version. The default is MLDv1.
1631
You can configure report control to rate-limit report forwarding for the same group to no more than once per 10 seconds. This rate limiting does not apply to the first report answering a group-specific query. This feature applies to MLDv1 only. The leave messages are not rate limited. MLDv1 membership reports for the same group from different clients are considered to be the same, and are rate-limited. This alleviates the report storm caused by multiple clients answering the upstream router query. To enable report-control, use the ipv6 mld-snooping report-control command.
Brocade(config)#ipv6 mld-snooping report-control
NOTE
Modifying the wait time before stopping traffic when receiving a leave message
You can define the wait time before stopping traffic to a port when the device receives a leave message for that port. The device sends group-specific queries once per second to determine if any client on the same port still needs the group. The value range is from 1 to 5, and the default is 2. Due to the internal timer accuracy, the actual wait time is between n and (n+1) seconds, where n is the configured value.
Brocade(config)#ipv6 mld-snooping leave-wait-time 1
1632
Active In active MLD mode, a device actively sends out MLD queries to identify IPv6 multicast
groups on the network, and makes entries in the MLD table based on the group membership reports it receives from the network.
Passive In passive MLD mode, the device forwards reports to router ports which receive
queries. MLD snooping in the passive mode does not send queries. However, it does forward queries to the entire VLAN. To set the MLD mode for VLAN 20 to active, enter the following commands.
Brocade(config)#vlan 20 Brocade(config-vlan-20)#mld-snooping active
Syntax: [no] mld-snooping version 1 | 2 When no MLD version is specified, the globally-configured MLD version is used. If an MLD version is specified for individual ports, these ports use that version, instead of the version specified for the VLAN.
1633
Syntax: [no]mld-snooping port-version 1 | 2 ethernet <stack-unit/slot/port> [ethernet <stack-unit/slot/port>] [to ethernet <stack-unit/slot/port>]
Syntax: [no] mld-snooping static-group <ipv6-address> [count <num>] [<stack-unit/slot/port>] The ipv6-address parameter is the IPv6 address of the multicast group. The count is optional, which allows a contiguous range of groups. Omitting the count <num> is equivalent to the count being 1. If there are no <stack-unit/slot/port> numbers, the static groups apply to the entire VLAN.
1634
Enabling MLDv2 membership tracking and fast leave for the VLAN
MLDv2 provides membership tracking and fast leave services to clients. In MLDv1, only one client per interface must respond to a router queries; leaving some clients invisible to the router, which makes it impossible for the device to track the membership of all clients in a group. In addition, when a client leaves the group, the device sends group-specific queries to the interface to see if other clients on that interface need the data stream of the client who is leaving. If no client responds, the device waits a few seconds before stopping the traffic. You can configure the wait time with the ipv6 mld-snooping leave-wait-time command. MLDv2 requires that every client respond to queries, allowing the device is able to track every client. When the tracking feature is enabled, the device immediately stops forwarding traffic to the interface if an MLDv2 client sends a leave message, and there is no other client. This feature requires the entire VLAN to be configured for MLDv2 and have no MLDv1 clients. If a client does not send a report during the specified group membership time (the default is 140 seconds), that client is removed from the tracking list. Every group on a physical port keeps its own tracking record. However, it can track group membership only; it cannot track by (source, group). For example, Client A and Client B belong to group1 but each is receiving traffic from different sources. Client A receives a traffic stream from (source_1, group1) and Client B receives a traffic stream from (source_2, group1). The device waits for the configured leave-wait-time before it stops the traffic because the two clients are in the same group. If the clients are in different groups, the waiting period is ignored and traffic is stopped immediately. To enable tracking and fast leave for VLAN 20, enter the following commands.
Brocade(config)#vlan 20 Brocade(config-vlan-20)#mld-snooping tracking
Syntax: [no] mld-snooping tracking The membership tracking and fast leave features are supported for MLDv2 only. If a port or client is not configured for MLDv2, the mld-snooping tracking command is ignored.
1635
MLD Snooping error information Information about VLANs Group and forwarding information for VLANs MLD memory pool usage Status of MLD traffic MLD information by VLAN
Syntax: show ipv6 mld-snooping error The following table describes the output from the show ipv6 mld-snooping error command.
Field
SW processed pkt up-time
Description
The number of IPv6 multicast packets processed by MLD snooping. The time since the MLD snooping last occurred is enabled.
1636
In this example, an MLDv1 group is in EXCLUDE mode with a source of 0. The group excludes traffic from the 0 (zero) source list, which actually means that all traffic sources are included. To display detailed MLD group information, enter the show ipv6 mld-snooping group detail command.
Brocade#show ipv6 mld-snooping group ff0e::ef00:a096 detail Display group ff0e::ef00:a096 in all interfaces in details. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL1 : 1 grp, 1 grp-port, tracking_enabled group p-port ST QR life mode source 1 ff0e::ef00:a096 0/1/7 N Y 100 EX 0 group: ff0e::ef00:a096, EX, permit 0 (source, life): life=100, deny 0:
NOTE
If tracking and fast leave are enabled, you can display the list of clients for a particular group by entering the show ipv6 mld-snooping group tracking command.
Brocade#show ipv6 mld-snooping group ff0e::ef00:a096 tracking Display group ff0e::ef00:a096 in all interfaces with tracking enabled. p-:physical, ST:static, QR:querier, EX:exclude, IN:include, Y:yes, N:no VL1 : 1 grp, 1 grp-port, tracking_enabled group p-port ST QR life mode source 1 ff0e::ef00:a096 0/1/7 N Y 80 EX 0 receive reports from 1 clients: (age) (fe80::1011:1213:1415 60)
Syntax: show ipv6 mld-snooping group [<group-address> [detail] [tracking]] To receive a report for a specific multicast group, enter that group address for <group-address>. Enter detail to display the source list of a specific VLAN. Enter tracking for information on interfaces that are tracking-enabled. The following table describes the information displayed by the show ipv6 mld-snooping group command.
Field
group p-port ST
Description
The address of the IPv6 group (destination IPv6 address). The physical port on which the group membership was received. Yes indicates that the MLD group was configured as a static group; No means it was learned from reports.
1637
Field
QR life
Description
Yes means the port is a querier port; No means it is not. A port becomes a non-querier port when it receives a query from a source with a lower source IP address than the port. The number of seconds the group can remain in EXCLUDE mode. An EXCLUDE mode changes to INCLUDE if it does not receive an IS_EX or TO_EX message during a specified period of time. The default is 140 seconds. There is no life displayed in INCLUDE mode. The current mode of the interface: INCLUDE or EXCLUDE. If the interface is in INCLUDE mode, it admits traffic only from the source list. If the interface is in EXCLUDE mode, it denies traffic from the source list and accepts the rest. Identifies the source list that will be included or excluded on the interface. An MLDv1 group is in EXCLUDE mode with a source of 0. The group excludes traffic from 0 (zero) source list, which actually means that all traffic sources are included. If you requested a detailed report, the following information is displayed: The multicast group address The mode of the group Sources from which traffic will be admitted (INCLUDE) or denied (EXCLUDE) on the interface. The life of each source list. If you requested a tracking/fast leave report, the clients from which reports were received are identified.
mode
source
group
Syntax: show ipv6 mld-snooping mcache The following table describes the output from the ipv6 mld-snooping mcache command.
Field
(abcd:ef50 0:100): cnt OIF age
Description
The lowest 32 bits of source and group. It is displayed in XXXX:XXXX hex format. Here XXXX is a 16-bit hex number. The number of packets processed in software. IPv6 packets are switched in software, causing this number to increase slowly. Output interfaces. Entire vlan means that static groups apply to the entire VLAN. The mcache age. The mcache is reset to 0 if traffic continues to arrive, otherwise it is aged out when it reaches the time defined by ipv6 mld-snooping mcache-age.
1638
Field
uptime vidx ref-cnt
Description
The up time of this mcache in minutes. The vidx is shared among mcaches using the same output interfaces. The vidx specifies the output port list, which shows the index. Valid range is from 4096 to 8191. The number of mcaches using this vidx.
Syntax: show ipv6 mld-snooping resource The following table describes the output from the show ipv6 mld-snooping resource command.
Field
alloc in-use avail get-fail limit
Description
The allocated number of units. The number of units which are currently used. The number of available units. Displays the number of resource failures. NOTE: It is important to pay close attention to this field. The upper limit of this expandable field. The MLD group limit is configured using the system-max mld-max-group-addr command. The snoop mcache entry limit is configured using the system-max mld-snoop-mcache command. The number of memory allocation. This number should continue to increase. The size of a unit (in bytes). The initial allocated amount of memory. NOTE: This number can be increased. More memory can be allocated if necessary. The output interface (OIF) port mask used by mcache. The entire device has a maximum of 4096 vidx. Different mcaches with the same OIF share the same vidx. If vidx is not available, the stream cannot be hardware-switched.
1639
Syntax: show ipv6 mld-snooping traffic The following table describes the information displayed by the show ipv6 mld-snooping traffic command.
This field
Q Qry QryV1 QryV2 G-Qry GSQry MBR MbrV1 MbrV2 IsIN IsEX ToIN ToEX ALLO BLK Pkt-Err
Displays
Query General Query Number of general MLDv1 queries received or sent. Number of general MLDv2 snooping queries received or sent. Number of group specific queries received or sent. Number of group source specific queries received or sent. The membership report. The MLDv1 membership report. The MLDv2 membership report. Number of source addresses that were included in the traffic. Number of source addresses that were excluded in the traffic. Number of times the interface mode changed from EXCLUDE to INCLUDE. Number of times the interface mode changed from INCLUDE to EXCLUDE. Number of times additional source addresses were allowed on the interface. Number of times sources were removed from an interface. Number of packets having errors such as checksum errors.
1640
Syntax: show ipv6 mld-snooping vlan [<vlan-id>] If you do not specify a vlan-id, information for all VLANs is displayed. The following table describes information displayed by the show ipv6 mld-snooping vlan command.
This field
version query-t group-aging-t rtr-port
Displays
The MLD version number. How often a querier sends a general query on the interface. Number of seconds membership groups can be members of this group before aging out. The router ports which are the ports receiving queries. The display router ports: 0/1/36(120) fe80::2e0:52ff:fe00:9900 means port 0/1/36 has a querier with fe80::2e0:52ff:fe00:9900 as the link-local address, and the remaining life is 120 seconds. The maximum number of seconds a client can wait before it replies to the query. Indicates that the port is a non-querier. Indicates that the port is a querier.
max-resp-t non-QR QR
1641
Syntax: clear ipv6 mld-snooping vlan <vlan-id> mcache The <vlan-id> parameter specifies the specific VLAN from which to clear the cache.
Syntax: clear ipv6 mld-snooping vlan <vlan-id> traffic The <vlan-id> parameter specifies the specific VLAN from which to clear the traffic counters.
1642
Chapter
39
Table 274 lists the individual Brocade FastIron switches and the Virtual Router Redundancy Protocol (VRRP) and Virtual Router Redundancy Protocol Extended (VRRP-E) features they support. VRRP is supported in the base Layer 3, edge Layer 3, and full Layer 3 codes. VRRP support in the base Layer 3 and edge Layer 3 code is the same as in the full Layer 3 code. VRRP-E is supported with premium and ADV FastIron devices that are running the edge Layer 3 or full Layer 3 code.
NOTE
TABLE 274
Feature
FWS
FCX
ICX 6610
ICX 6450
Virtual Router Redundancy Protocol (VRRP) VRRP timer scaling VRRP Extended (VRRP-E) IPv6 VRRP-E IPv6 VRRP v3 VRRP-E slow start timer VRRP-E timer scale Forcing a Master router to abdicate to a standby router VRRP-E Extension for Server Virtualization
This chapter describes how to configure Brocade Layer 3 switches with the following router redundancy protocols:
Virtual Router Redundancy Protocol (VRRP) The standard router redundancy protocol
described in RFC 2338. The FastIron devices support VRRP version 2 (v2) and VRRP version 3 (v3). VRRP v2 supports the IPv4 environment, and VRRP v3 supports the IPv6 environment.
VRRP Extended (VRRP-E) An enhanced version of VRRP that overcomes limitations in the
standard protocol. The FastIron devices support VRRP-E v2 and VRRP-E v3. VRRP-E v2 supports the IPv4 environment, and VRRP-E v3 supports the IPv6 environment. VRRP and VRRP-E are separate protocols. You cannot use them together.
NOTE
1643
You can use a Brocade Layer 3 switch configured for VRRP with another Brocade Layer 3 switch or a third-party router that is also configured for VRRP. However, you can use a Brocade Layer 3 switch configured for VRRP-E only with another Brocade Layer 3 switch that also is configured for VRRP-E.
NOTE
The maximum number of supported VRRP or VRRP-E router instances is 254 for IPv4 environments. The maximum number of supported VRRP or VRRP-E router instances is 128 for IPv6 environments. For a summary of how these two router redundancy protocols differ, refer to Comparison of VRRP and VRRP-E on page 1652.
NOTE
VRRP overview
Virtual Router Redundancy Protocol (VRRP) provides redundancy to routers within a LAN. VRRP allows you to provide alternate router paths for a host without changing the IP address or MAC address by which the host knows its gateway. Consider the situation shown in Figure 184.
FIGURE 184 Switch 1 is the Host1 default gateway but is a single point of failure
e 2/4
e 3/2
Switch 1
e 1/6 192.53.5.1
Switch 2
e 1/5
Switch 2
1644
Switch 1 is the host default gateway out of the subnet. If this interface goes down, Host1 is cut off from the rest of the network. Switch 1 is thus a single point of failure for Host1s access to other networks. If Switch 1 fails, you could configure Host1 to use Switch 2. Configuring one host with a different default gateway might not require too much extra administration. However, consider a more realistic network with dozens or even hundreds of hosts per subnet; reconfiguring the default gateways for all the hosts is impractical. It is much simpler to configure a VRRP virtual router on Switch 1 and Switch 2 to provide a redundant path for the hosts. Figure 185 shows the same example network shown in Figure 184, but with a VRRP virtual router configured on Switch 1 and Switch 2.
FIGURE 185 Switch 1 and Switch 2 configured as VRRP virtual routers for redundant network access for Host1
Switch1
e 2/4
e 3/2
Switch2
VRID1 Switch2 = Backup IP address = 192.53.5.1 MAC address = 00-00-5E-00-01-01 Priority = 100
VRID1 e 1/6 192.53.5.1 Switch1 = Master IP address = 192.53.5.1 MAC address = 00-00-5E-00-01-01 Owner Priority = 255
192.53.5.3 e 1/5
The dashed box in Figure 185 represents a VRRP virtual router. When you configure a virtual router, one of the configuration parameters is the virtual router ID (VRID), which can be a number from 1 through 255. In this example, the VRID is 1. You can provide more redundancy by also configuring a second VRID with Switch 2 as the Owner and Switch 1 as the Backup. This type of configuration is sometimes called Multigroup VRRP.
NOTE
1645
Virtual router ID
A virtual router ID (VRID) consists of one Master router and one or more Backup routers. The Master router is the router that owns the IP addresses you associate with the VRID. For this reason, the Master router is sometimes called the Owner. Configure the VRID on the router that owns the default gateway interface. The other router in the VRID does not own the IP addresses associated with the VRID but provides the backup path if the Master router becomes unavailable.
NOTE
NOTE
NOTE
When a Backup router takes over forwarding responsibilities from a failed Master router, the Backup forwards traffic addressed to the VRID MAC address, which the host believes is the MAC address of the router interface for its default gateway. However, the Backup router cannot reply to IP pings sent to the IP addresses associated with the VRID. Because the IP addresses are owned by the Owner, if the Owner is unavailable, the IP addresses are unavailable as packet destinations.
1646
Master negotiation
The routers within a VRID use the VRRP priority values associated with each router to determine which router becomes the Master. When you configure the VRID on a router interface, you specify whether the router is the Owner of the IP addresses you plan to associate with the VRID or a Backup router. If you indicate that the router is the Owner of the IP addresses, the software automatically sets the router VRRP priority for the VRID to 255, the highest VRRP priority. The router with the highest priority becomes the Master. Backup routers can have a priority from 3 through 254, which you assign when you configure the VRID on the Backup router interfaces. The default VRRP priority for Backup routers is 100. Because the router that owns the IP addresses associated with the VRID always has the highest priority, when all the routers in the virtual router are operating normally, the negotiation process results in the Owner of the VRID IP addresses becoming the Master router. Thus, the VRRP negotiation results in the normal case, in which the hosts path to the default route is to the router that owns the interface for that route.
Hello messages
Virtual routers use Hello messages for negotiation to determine the Master router. Virtual routers send Hello messages to IP Multicast address 224.0.0.18. The frequency with which the Master sends Hello messages is the Hello interval. Only the Master sends Hello messages. However, a Backup router uses the Hello interval you configure for the Backup router if it becomes the Master. The Backup routers wait for a period of time called the dead interval for a Hello message from the Master. If a Backup router does not receive a Hello message by the time the dead interval expires, the Backup router assumes that the Master router is dead and negotiates with the other Backup routers to select a new Master router. The Backup router with the highest priority becomes the new Master.
NOTE
1647
Regardless of the setting for the preempt parameter, the Owner always becomes the Master again when it comes back online.
NOTE
Authentication
The Brocade implementations of VRRP and VRRP-E can use simple passwords to authenticate VRRP and VRRP-E packets. VRRP-E can also use HMAC-MD5-96 to authenticate VRRP-E packets. VRRP and VRRP-E authentication is configured on the router interfaces. The VRRP authentication configuration of every router interface must match. For example, if you want to use simple passwords to authenticate VRRP traffic within a router, you must configure VRRP simple password authentication with the same password on all of the participating router interfaces.
1648
The HMAC-MD5-96 authentication type is supported for VRRP-E, but not supported for VRRP.
NOTE
NOTE
VRRP-E overview
The most important difference between VRRP and VRRP-E is that all VRRP-E routers are Backup routers; there is no Owner router. VRRP-E overcomes the limitations in standard VRRP by removing the Owner. VRRP-E is supported in the edge Layer 3 and full Layer 3 code only. It is not supported in the base Layer 3 code. The following points explain how VRRP-E differs from VRRP:
NOTE
Owners and Backup routers - VRRP has an Owner and one or more Backup routers for each VRID. The Owner is the
router on which the VRID's IP address is also configured as a real address. All the other routers supporting the VRID are Backup routers.
VRRP-E does not use Owners. All routers are Backup routers for a given VRID. The router with the highest priority becomes the Master. If there is a tie for highest priority, the router with the highest IP address becomes the Master. The elected Master owns the virtual IP address and answers pings and ARP requests.
VRID's IP address - VRRP requires that the VRIDs IP address also be a real IP address configured on the
VRID's interface on the Owner.
VRRP-E requires only that the VRID be in the same subnet as an interface configured on the VRID's interface. VRRP-E does not allow you to specify a real IP address configured on the interface as the VRID IP address.
1649
VRID's MAC address - VRRP uses the source MAC address as a virtual MAC address defined as
00-00-5E-00-01-<vrid>, where <vrid> is the VRID. The Master owns the virtual MAC address.
VRRP-E uses the MAC address of the interface as the source MAC address. The MAC address is 02-04-80-<hash-value>-<vrid>, where <hash-value> is a two-octet hashed value for the IP address and <vrid> is the VRID.
Hello packets - VRRP sends Hello messages to IP Multicast address 224.0.0.18. - VRRP-E uses UDP to send Hello messages in IP multicast messages. The Hello packets
use the MAC address of the interface and the IP address as the source addresses. The destination MAC address is 01-00-5E-00-00-02, and the destination IP address is 224.0.0.2 (the well-known IP multicast address for all routers). Both the source and destination UDP port number is 8888. VRRP-E messages are encapsulated in the data portion of the packet.
Track ports and track priority - VRRP changes the priority of the VRID to the track priority, which typically is lower than the
VRID priority and lower than the VRID priorities configured on the Backup routers. For example, if the VRRP interface priority is 100 and a tracked interface with track priority 20 goes down, the software changes the VRRP interface priority to 20.
VRRP-E reduces the priority of a VRRP-E interface by the amount of a tracked interface priority if the tracked interface link goes down. For example, if the VRRP-E interface priority is 200 and a tracked interface with track priority 20 goes down, the software changes the VRRP-E interface priority to 180. If another tracked interface goes down, the software reduces the VRID priority again, by the amount of the tracked interface track priority.
VRRP-E can use HMAC-MD5-96 for authenticating VRRP-E packets. VRRP can use only simple
passwords.
1650
FIGURE 186 Switch 1 and Switch 2 are configured to provide dual redundant network access for the host
Internet
VRID 1 Switch 1 = Master Virtual IP address 192.53.5.254 Priority = 110 Track Port = e 2/4 Track Priority = 20 VRID 2 Switch 1 = Backup Virtual IP address 192.53.5.253 Priority = 100 (Default) Track Port = e 2/4 Track Priority = 20
e 2/4
e 3/2
Switch 1
e 1/6 192.53.5.2
Switch 2
e 5/1 192.53.5.3
VRID 1 Switch 2 = Backup Virtual IP address 192.53.5.254 Priority = 100 (Default) Track port = e 3/2 Track priority = 20 VRID 2 Switch 2 = Master Virtual IP address 192.53.5.253 Priority = 110 Track Port = e 3/2 Track Priority = 20
In this example, Switch 1 and Switch 2 use VRRP-E to load share as well as provide redundancy to the hosts. The load sharing is accomplished by creating two VRRP-E groups. Each group has its own virtual IP addresses. Half of the clients point to VRID 1's virtual IP address as their default gateway and the other half point to VRID 2's virtual IP address as their default gateway. This organization enables some of the outbound Internet traffic to go through Switch 1 and the rest to go through Switch 2. Switch 1 is the Master router for VRID 1 (backup priority = 110) and Switch 2 is the Backup router for VRID 1 (backup priority = 100). Switch 1 and Switch 2 both track the uplinks to the Internet. If an uplink failure occurs on Switch 1, its backup priority is decremented by 20 (track priority = 20), so that all traffic destined to the Internet is sent through Switch 2 instead. Similarly, Switch 2 is the Master router for VRID 2 (backup priority = 110) and Switch 1 is the Backup router for VRID 2 (backup priority = 100). Switch 1 and Switch 2 are both tracking the uplinks to the Internet. If an uplink failure occurs on Switch 2, its backup priority is decremented by 20 (track priority = 20), so that all traffic destined to the Internet is sent through Switch 1 instead.
1651
VRRP
VRRP is a standards-based protocol, described in RFC 2338. The Brocade implementation of VRRP contains the features in RFC 2338. The Brocade implementation also provides the following additional features:
Track ports A Brocade feature that enables you to diagnose the health of all the Layer 3
switch ports used by the backed-up VRID, instead of only the port connected to the client subnet. Refer to Track ports and track priority on page 1648.
Suppression of RIP advertisements on Backup routers for the backed-up interface You can
enable the Layer 3 switches to advertise only the path to the Master router for the backed-up interface. Normally, a VRRP Backup router includes route information for the interface it is backing up in RIP advertisements. Brocade Layer 3 switches configured for VRRP can interoperate with third-party routers using VRRP.
VRRP-E
VRRP-E is a Brocade protocol that provides the benefits of VRRP without the limitations. VRRP-E is unlike VRRP in the following ways:
There is no Owner router. You do not need to use an IP address configured on one of the
Layer 3 switches as the virtual router ID (VRID), which is the address you are backing up for redundancy. The VRID is independent of the IP interfaces configured in the Layer 3 switches. As a result, the protocol does not have an Owner as VRRP does.
There is no restriction on which router can be the default Master router. In VRRP, the Owner
(the Layer 3 switch on which the IP interface that is used for the VRID is configured) must be the default Master. Brocade Layer 3 switches configured for VRRP-E can interoperate only with other Brocade Layer 3 switches.
1652
Management protocol
VRRP VRRP routers send VRRP Hello and Hello messages to IP Multicast address
224.0.0.18.
VRRP-E The virtual router IP address is the gateway address you want to back up, but does
not need to be an IP interface configured on one of the Layer 3 switch ports or a virtual interface.
VRRP-E The Master and Backup routers are selected based on their priority. You can
configure any of the Layer 3 switches to be the Master by giving it the highest priority. There is no Owner.
1653
TABLE 275
Parameter
Protocol
Default
Disabled NOTE: Only one of the protocols can be enabled at a time. Inactive
The Brocade Layer 3 switch active participation as a VRRP or VRRP-E router. Enabling the protocol does not activate the Layer 3 switch for VRRP or VRRP-E. You must activate the switch as a VRRP or VRRP-E router after you configure the VRRP or VRRP-E parameters. The ID of the virtual router you are creating by configuring multiple routers to back up an IP interface. You must configure the same VRID on each router that you want to use to back up the address. This is the address you are backing up. VRRP The virtual router IP address must be a real IP address configured on the VRID interface on one of the VRRP routers. This router is the IP address Owner and is the default Master. VRRP-E The virtual router IP address must be in the same subnet as a real IP address configured on the VRRP-E interface, but cannot be the same as a real IP address configured on the interface.
None
page 1646 page 1658 page 1662 page 1646 page 1658 page 1662
None
The source MAC address in VRRP or VRRP-E packets sent from the VRID interface, and the destination for packets sent to the VRID: VRRP A virtual MAC address defined as 00-00-5E-00-01-<vrid> for IPv4 VRRP, and 00-00-5E-00-02-<vrid> for VRRP v3. The Master owns the virtual MAC address. VRRP-E A virtual MAC address defined as 02-E0-52-<hash-value>-<vrid> for IPv4 VRRP-E and IPv6 VRRP-E, where <hash-value> is a two-octet hashed value for the IP address and <vrid> is the ID of the virtual router.
Not configurable
page 1646
1654
TABLE 275
Parameter
Default
No authentication
Authentication type
Router type
Whether the router is an Owner or a Backup. Owner (VRRP only) The router on which the real IP address used by the VRID is configured. Backup Routers that can provide routing services for the VRID but do not have a real IP address matching the VRID.
VRRP The Owner is always the router that has the real IP address used by the VRID. All other routers for the VRID are Backups. VRRP-E All routers for the VRID are Backups. VRRP v2 and IPv6 VRRP v3 - The value is 255 for the Owner and 100 for the Backups. VRRP-E v2 and IPv6 VRRP-E v3 -The value is 100 for all Backups.
page 1667
Backup priority
A numeric value that determines a Backup routers preferability for becoming the Master for the VRID. During negotiation, the router with the highest priority becomes the Master. VRRP The Owner has the highest priority (255); other routers (backups) can have a priority from 3 through 254. VRRP-E All routers are Backups and have the same priority by default. If two or more Backups are tied with the highest priority, the Backup interface with the highest IP address becomes the Master for the VRID. A router that is running RIP normally advertises routes to a backed-up VRID even when the router is not currently the active router for the VRID. Suppression of these advertisements helps ensure that other routers do not receive invalid route paths for the VRID. NOTE: Suppression of RIP advertisements is not supported for VRRP v3 and VRRP-E v3.
page 1667
Disabled
page 1668
Hello interval
The number of seconds or milliseconds between Hello messages from the Master to the Backups for a given VRID. The interval can be from 1 through 84 seconds for VRRP v2, VRRP-E v2, and IPv6 VRRP-E. The interval for VRRP v3 can be from 100 through 8400 milliseconds.
One second (VRRP v2 and VRRP-E v2, and IPv6 VRRP-E) 1000 milliseconds (VRRP v3).
1655
TABLE 275
Parameter
Dead interval
Default
The dead interval calculation for VRRP v6 or VRRP-E v6 is: Dead Interval: ( 3 X Hello Interval ) + Skew Time Skew Time is 256 Priority X Hello Interval / 256. For VRRP v3, the default is 3600 milliseconds. The configurable range is from 100 through 8400 milliseconds. For VRRP-E v3, the default is 3600 milliseconds. The configurable range is from 1 through 84 seconds.
The number of seconds between Hello messages from a Backup to the Master. The message interval can be from 60 through 3600 seconds. You must enable the Backup to send the messages. The messages are disabled by default on Backups. The current Master (whether the VRRP Owner or a Backup) sends Hello messages by default. Another Layer 3 switch port or virtual interface whose link status is tracked by the VRID interface. If the link for a tracked interface goes down, the VRRP or VRRP-E priority of the VRID interface is changed, causing the devices to renegotiate for the Master. NOTE: Track port is not supported by VRRP v3. A VRRP or VRRP-E priority value assigned to the tracked ports. If a tracked port link goes down, the VRID port VRRP or VRRP-E priority changes: VRRP The priority changes to the value of the tracked port priority. VRRP-E The VRID port priority is reduced by the amount of the tracked port priority. NOTE: Track priority is not supported by VRRP v3. Prevents a Backup with a higher VRRP priority from taking control of the VRID from another Backup that has a lower priority but has already assumed control of the VRID. Adjusts the timers for the Hello interval, Dead interval, Backup Hello interval, and Hold-down interval. NOTE: The timer scale is not supported for IPv6 VRRP v3.
Track port
None
Track priority
VRRP 2 VRRP-E 5
Enabled
page 1672
page 1672
1656
TABLE 275
Parameter
VRRP-E slow start timer
Default
Disabled
Short-path forwarding
Disabled
page 1668
NOTE
If you have disabled the protocol but have not yet saved the configuration to the startup-config file and reloaded the software, you can restore the configuration information by re-entering the command to enable the protocol (for example, router vrrp). If you have already saved the configuration to the startup-config file and reloaded the software, the information is gone. If you are testing a VRRP or VRRP-E configuration and are likely to disable and re-enable the protocol, you may want to make a backup copy of the startup-config file containing the protocol configuration information. This way, if you remove the configuration information by saving the configuration after disabling the protocol, you can restore the configuration by copying the backup copy of the startup-config file onto the flash memory.
1657
An IP address associated with the VRID must be on only one router. The Hello interval must be set to the same value on the Owner and Backup routers for the
VRID.
The dead interval must be set to the same value on the Owner and Backup routers for the
VRID.
The track priority on a router must be lower than the router VRRP priority. Also, the track
priority on the Owner must be higher than the track priority on the Backup routers. IPv6 VRRP and IPv6 VRRP-E v3 are supported on Brocade FESX, FSX 800, FSX 1600, and FCX IPv6 modules. IPv4 VRRP v3 is not supported on FCX devices.
NOTE
NOTE
When you use the router vrrp command or the ipv6 router vrrp command to enter the VRRP configuration mode, the command prompt does not change and results in the following general configuration command prompt: Brocade(config)#. This differs from entering the VRRP extended mode, where entering the router vrrp-extended command results in a command prompt such as the following: (config-VRRP-E-router)#. For IPv6 VRRP extended mode, when entering the ipv6 router vrrp-extended command, this results in a command prompt such as the following:
(config-ipv6-VRRP-E-router)#.
Syntax: [no] router vrrp Syntax: [no] ip-address <ip-addr> Syntax: [no] ip vrrp vrid <num> Syntax: [no] owner [track-priority <value>] Syntax: [no] activate
1658
The <ip-addr> variable specifies the IPv4 address of the Owner router. The IP address you assign to the Owner must be an IP address configured on an interface that belongs to the virtual router. The <num> variable specifies the virtual router ID. The track-priority <value> option changes the track-port priority for this interface and the VRID from the default (2) to a value from 1 through the maximum VRID supported by the device.
NOTE
You must first configure the ipv6 unicast-routing command at the global configuration level to enable IPv6 VRRP on the router.
Brocade Router1(config)# ipv6 unicast-routing Brocade Router1(config)# ipv6 router vrrp Brocade Router1(config)# interface ethernet 1/6 Brocade Router1(config-if-e10000-1/6)# ipv6-address 3013::1/64 Brocade Router1(config-if-e10000-1/6)# ipv6 vrrp vrid 1 Brocade Router1(config-if-e10000-1/6-vrid-1)# owner Brocade Router1(config-if-e10000-1/6-vrid-1)# ipv6-address 3013::1 Brocade Router1(config-if-e10000-1/6-vrid-1)# activate VRRP router 1 for this interface is activating
Syntax: [no] ipv6 unicast-routing Syntax: [no] ipv6 router vrrp Syntax: [no] ipv6-address <ipv6-address> Syntax: [no] ipv6 vrrp vrid <num> Syntax: [no] owner Syntax: [no] activate The <num> variable specifies the virtual router ID. The <ipv6-addr> variable specifies the IPv6 address of the Owner router. The IP address you assign to the Owner must be an IP address configured on an interface that belongs to the virtual router. The ipv6 router vrrp command enables IPv6 VRRP v3 routing on the interface. All IPv6 VRRP router instances for a VRID are also enabled on the interface. When the no ipv6 router vrrp command is enabled, all IPv6 VRRP router instances for a specific VRID are deleted from the interface, and the running configuration is lost when writing to flash. You must enable the write memory command to save your configuration. The following message is displayed when the no ipv6 router vrrp command is enabled.
Router1(config)#no ipv6 router vrrp ipv6 router vrrp is disabled. All vrrp (ipv6) config data will be lost when writing to flash!!
1659
Syntax: [no] router vrrp Syntax: [no] ip-address <ip-addr> Syntax: [no] ip vrrp vrid <num> Syntax: [no] backup [priority <value>] [track-priority <value>] Syntax: [no] advertise backup Syntax: [no] activate When you configure a Backup router, the router interface on which you are configuring the VRID must have a real IP address that is in the same subnet as the address associated with the VRID by the Owner. However, the address cannot be the same. The <num> variable specifies the virtual router ID. The priority <value> option specifies the VRRP priority for this virtual router. You can specify a value from 3 through 254. The default is 100. The track-priority <value> option specifies that VRRP monitors the state of the interface. You can specify a value from 3 through 254. The default is 100. By default, Backup routers do not send Hello messages to advertise themselves to the Master. The advertise backup command is used to enable a Backup router to send Hello messages to the Master.
When you configure a Backup router, the router interface on which you are configuring the VRID must have a real IP address that is in the same subnet as the address associated with the VRID by the Owner. However, the address cannot be the same. Syntax: [no] ipv6 router vrrp Syntax: [no] ipv6-address <ipv6-addr>
1660
Syntax: [no] ipv6 vrrp vrid <num> Syntax: [no] backup [priority <value>] Syntax: [no] advertise backup Syntax: [no] activate The <ipv6-addr> variable specifies the IPv6 address of the Backup router. The <num> variable specifies the virtual router ID. The priority <value> option specifies the IPv6 VRRP priority for this virtual Backup router. You can specify a value from 3 through 254. The default is 100. By default, Backup routers do not send Hello messages to advertise themselves to the Master. The advertise backup command is used to enable a Backup router to send Hello messages to the Master.
Configuration considerations for IPv6 VRRP v3 and IPv6 VRRP-E v3 support on Brocade devices
Consider the following when enabling IPv6 VRRP v3 mode and IPv6 VRRP-E v3 mode on FCX devices:
You can configure only one protocol (Layer 3 VSRP, VRRP, or VRRP-E) on a router at a single
time. However, VRRP or VRRP-E can be configured with IPv4 and IPv6 concurrently on a router.
Scale timer configuration does not affect timer values, nor does it scale timer values for virtual
routers configured with sub-second time values for IPv6 VRRP and IPv4 VRRP v3 modes.
For IPv6 VRRP v3 only, the tracking port configuration is not allowed if the router is configured as the VRRP Owner. This conforms to RFC 5798. For the IPv6 VRRP v3 Owner router only, the priority configuration is not allowed. The Owner router priority is always 255. This conforms to RFC 5798.
Hitless switchover is not supported for IPv6 VRRP and IPv6 VRRP-E environments. Interoperability is not supported for a VRID when VRRP routers are configured as VRRP v2 or
v3.
Brocade does not recommend that you re-use the same VRID across IPv6 VRRP-E and IPv4
VRRP-E if they are in the same broadcast domain.
There is no specified restriction for configuring VRRP or VRRP-E instances if they are within the
maximum VRID range. The maximum number of supported VRRP or VRRP-E router instances is 254 for IPv4 environments. The maximum number of supported VRRP or VRRP-E router instances is 128 for IPv6 environments.
1661
The interfaces of all routers in a VRID must be in the same IP subnet. The IP address associated with the VRID cannot be configured on any of the Layer 3 switches. The Hello interval must be set to the same value on all the Layer 3 switches. The dead interval must be set to the same value on all the Layer 3 switches. The track priority for a VRID must be lower than the VRRP-E priority.
Syntax: [no] router vrrp-extended Syntax: [no] ip-address <ip-address> Syntax: [no] ip vrrp-extended vrid <vrid> Syntax: [no] backup [priority <value>] [track-priority <value>] Syntax: [no] advertise backup Syntax: [no] activate The <vrid> variable specifies the virtual router ID. The <ip-addr> variable specifies the IPv4 address of the router. You must identify a VRRP-E router as a Backup before you can activate the virtual router on a Brocade device. However, after you configure the virtual router, you can use the backup command to change its priority or track priority. The priority <value> option specifies the IPv4 VRRP-E priority for this virtual Backup router. You can specify a value from 3 through 254. The default is 100. The track-priority <value> option changes the track port priority of a Backup router. You can specify a value from 1 through 254. The default is 2.
1662
You also can use the enable command to activate the configuration. This command does the same thing as the activate command.
NOTE
NOTE
Syntax: [no] ipv6 unicast-routing Syntax: ipv6 router vrrp-extended Syntax: [no] ipv6-address <ipv6-addr> Syntax: ipv6 vrrp-extended vrid <vrid> Syntax: [no] backup [priority <value>] [track-priority <value>] Syntax: [no] activate The <vrid> variable specifies the virtual router ID. The <ipv6-addr> variable specifies the IPv6 address of the router. You must identify a VRRP-E router as a Backup before you can activate the virtual router on a Brocade device. However, after you configure the virtual router, you can use the backup command to change its priority or track priority. The priority <value> option specifies the IPv6 VRRP-E priority for this virtual Backup router. You can specify a value from 3 through 254. The default is 100. The track-priority <value> option changes the track port priority of a Backup router. You can specify a value from 1 through 254. The default is 2. You also can use the enable command to activate the configuration. This command does the same thing as the activate command.
NOTE
1663
When the no ipv6 router vrrp-extended command is enabled, all IPv6 VRRP-E instances for a specific VRID are deleted from the interface, and the running configuration is lost when writing to flash. You must enable the write memory command to save your configuration. The following message is displayed when the no ipv6 router vrrp-extended command is enabled.
Brocade Router2(config)#no ipv6 router vrrp-extended ipv6 router VRRP-E is disabled. All VRRP-E (ipv6) config data will be lost when writing to flash!!
Authentication type (if the interfaces on which you configure the VRID use authentication) Router type (Owner or Backup)
NOTE
For VRRP, change the router type only if you have moved the real IP address from one router to another or you accidentally configured the IP address Owner as a Backup. For VRRP-E, the router type is always Backup. You cannot change the type to Owner.
Suppression of RIP advertisements on Backup routes for the backed-up interface Hello interval Dead interval Backup Hello messages and message timer (Backup advertisement) Track port Track priority Backup preempt mode Timer scale VRRP-E slow start timer VRRP-E extension for server virtualization (short-path forwarding)
Refer to VRRP and VRRP-E parameters on page 1654 for a summary of the parameters and their defaults.
1664
No authentication The interfaces do not use authentication. This is the default for VRRP and
VRRP-E.
Simple The interfaces use a simple text-string as a password in packets sent on the
interface. If the interfaces use simple password authentication, the VRID configured on the interfaces must use the same authentication type and the same password. VRRP-E also supports the following authentication type:
VRRP syntax Syntax: auth-type no-auth | simple-text-auth <auth-data> The auth-type no-auth option indicates that the VRID and the interface it is configured on do not use authentication. The simple-text-auth <auth-data> option indicates that the VRID and the interface it is configured on use a simple text password for authentication. The <auth-data> variable is the password. If you use this variable, make sure all interfaces on all the routers supporting this VRID are configured for simple password authentication and use the same password. For VRRP v3, authentication is deprecated by RFC 5768.
NOTE
1665
VRRP-E syntax For IPv4 VRRP-E: Syntax: ip vrrp-extended auth-type no-auth | simple-text-auth <auth-data> | md5-auth [0 |1] <key> For IPv6 VRRP-E: Syntax: ipv6 vrrp-extended auth-type no-auth | simple-text-auth <auth-data> | md5-auth [0 |1] <key> The values for the no-auth and simple-text-auth <auth-data> options are the same as for VRRP. The md5-auth option configures the interface to use HMAC-MD5-96 for VRRP-E authentication. The <key> variable is the MD5 encryption key, which can be up to 64 characters long. The optional [0 |1] parameter configures whether the MD5 password is encrypted, as follows:
If you do not enter this parameter and enter the key as clear text, the key appears encrypted in
the device configuration and command outputs.
If you enter 0 and enter the key as clear text, the key appears as clear text in the device
configuration and command outputs.
If you enter 1 and enter the key in encrypted format, the key appears in encrypted format in the
device configuration and command outputs.
1666
NOTE
You can force a VRRP Master router to abdicate (give away control) of the VRID to a Backup router by temporarily changing the Master VRRP priority to a value less than the Backup. Refer to Forcing a Master router to abdicate to a Backup router on page 1677.
NOTE
The IP addresses you associate with the Owner must be real IP addresses on the interface on which you configure the VRID. When you configure a Backup router, the router interface on which you are configuring the VRID must have a real IP address that is in the same subnet as the address associated with the VRID by the Owner. However, the address cannot be the same.
NOTE
1667
VRRP v2 and IPv6 VRRP v3 syntax Syntax: owner [track-priority <value>] The track-priority <value> option changes the track port priority for this interface and VRID from the default (2) to a value from 1 through 254. Syntax: backup [priority <value>] [track-priority <value>] The priority <value> option specifies the VRRP priority for this interface and VRID. You can specify a value from 3 through 254. The default is 100. The track-priority <value> option is the same as with the owner [track-priority <value>] command. VRRP-E v2 and IPv6 VRRP-E v3 syntax Syntax: backup [priority <value>] [track-priority <value>] The software requires you to identify a VRRP-E interface as a Backup for its VRID before you can activate the interface for the VRID. However, after you configure the VRID, you can use this command to change its priority or track priority. The option values are the same as for VRRP.
1668
Syntax: use-vrrp-path The syntax is the same for VRRP and VRRP-E.
NOTE
Syntax: [no] hello-interval <seconds> The <seconds> variable specifies the Hello interval value from 1 through 84 seconds for VRRP v2, VRRP-E v2, and IPv6 VRRP-E. The default is 1 second. To change the Hello interval on the Master to 200 milliseconds for IPv6 VRRP v3, enter the following commands.
Brocade Router1(config)# interface ethernet 1/6 Brocade Router1(config-if-1/6)# ipv6 vrrp vrid 1 Brocade Router1(config-if-1/6-vrid-1)# hello-interval 200
Syntax: [no] hello-interval <milliseconds> The <milliseconds> variable can be from 100 through 8400 milliseconds. The default is 1000 milliseconds.
1669
Syntax: dead-interval <value> The <value> variable is from 1 through 84 seconds for VRRP v2 and VRRP-E v2. For other versions, the <value> variable is from 100 through 8400 milliseconds. The default is 3600 milliseconds.
NOTE
If the dead-interval command is not configured on a VRRP v3 interface, then a zero value is displayed in the output of the show ipv6 VRRP-Extended command.
Syntax: [no] advertise backup When you enable a Backup to send Hello messages, the Backup sends a Hello message to the Master every 60 seconds by default. You can change the interval to be up to 3600 seconds. To change the Hello message interval, enter the following commands.
Brocade(config)#router vrrp Brocade(config)#interface ethernet 1/6 Brocade(config-if-1/6)#ip vrrp vrid 1 Brocade(config-if-1/6-vrid-1)#backup-hello-interval 180
Syntax: [no] backup-hello-interval <num> The <num> variable specifies the message interval and can be from 60 through 3600 seconds. The default is 60 seconds. The syntax is the same for VRRP v2 and IPv6 VRRP v3, and VRRP-E v2 and IPv6 VRRP-E v3.
1670
Syntax: track-port ethernet [<slotnum>/ <portnum> | ve <num>] The syntax is the same for VRRP and VRRP-E.
For VRRP, the software changes the priority of the VRID to the track priority, which typically is
lower than the VRID priority and lower than the VRID priorities configured on the Backups. For example, if the VRRP interface priority is 100 and a tracked interface with track priority 60 goes down, the software changes the VRRP interface priority to 60.
For VRRP-E, the software reduces the VRID priority by the amount of the priority of the tracked
interface that went down. For example, if the VRRP-E interface priority is 100 and a tracked interface with track priority 60 goes down, the software changes the VRRP-E interface priority to 40. If another tracked interface goes down, the software reduces the VRID priority again, by the amount of the tracked interface track priority. The default track priority for an Owner for VRRP v2, IPv6 VRRP v3, and VRRP-E v2 and IPv6 VRRP-E v3 is 2. The default track priority for Backup routers is 1. You enter the track priority as a value with the owner or backup command. Refer to Track port configuration on page 1671. Syntax: owner [track-priority <value>] Syntax: backup [priority <value>] [track-priority <value>] The syntax is the same for VRRP and VRRP-E.
1671
NOTE
In VRRP, regardless of the setting for the preempt parameter, the Owner always becomes the Master again when it comes back online. To disable preemption on a Backup, enter commands such as the following.
Brocade Router1(config)#interface ethernet 1/6 Brocade Router1(config-if-1/6)#ip vrrp vrid 1 Brocade Router1(config-if-1/6-vrid-1)#non-preempt-mode
Syntax: [no] non-preempt-mode The syntax is the same for VRRP and VRRP-E.
TABLE 276
Timer
Hello interval
Timer value
1 second 0.5 seconds 3 seconds 1.5 seconds
Dead interval
1 2
1672
TABLE 276
Timer
Timer value
60 seconds 30 seconds 2 seconds 1 second
Hold-down interval
1 2
If you configure the device to receive its timer values from the Master, the Backup also receives the timer scale value from the Master. To change the timer scale, enter a command such as the following at the global CONFIG level of the CLI.
Brocade(config)# scale-timer 2
This command changes the scale to 2. All VSRP, VRRP, and VRRP-E timer values will be divided by 2. Syntax: [no] scale-timer <num> The <num> variable specifies the multiplier. You can specify a timer scale from 1 through 10. However, Brocade recommends the timer scale of 1 or 2 for VRRP and VRRP-E.
NOTE
Be cautious when configuring the scale-timer command in a VRRP or VRRP-E scaled environment. VSRP, VRRP, and VRRP-E are time-sensitive protocols and system behavior cannot be predicted when the timers are scaled.
To set the IPv6 VRRP-E slow start timer to 60 seconds, enter the following commands.
Brocade(config)#ipv6 router vrrp-extended Brocade(config-ipv6-VRRP-E-router)#slow-start 60
Syntax: [no] slow-start <seconds> The <seconds> variable specifies a value from 1 through 255. If the Master subsequently comes back up again, the amount of time specified by the VRRP-E slow start timer elapses (in the IPv4 example, 30 seconds) before the Master takes over from the Backup.
1673
The VRRP-E slow start timer is effective only if the VRRP-E Backup router detects another VRRP-E Master (Standby) router. It is not effective during the initial bootup. The slow start timer is effective on a Backup router if the priority of the Backup router is equal to the configured priority on the Backup state router. The VRRP-E slow start timer applies only to VRRP-E configurations. It does not apply to VRRP configurations.
NOTE
Although it is not required, it is recommended that interfaces on different routers with the
same VRID have the same SPF configuration. This ensures that the SPF behavior is retained after a failover. Different VRIDs, however, can have different SPF configurations.
1674
To Clients 10.32.0.X
To Clients 10.0.0.X
R1
WAN Link
Host Server 2
(with virtualization software)
Short-path-forwarding enabled
Host Server 1
(with virtualization software)
Virtual Servers can move between Host Server 1 and Host Server 2 Virtual server 4 GW: 10.71.2.1 Virtual server 2 GW: 10.71.2.1
1675
The revert-priority <value> parameter uses the priority value as the threshold to determine whether the short-path forwarding (SPF) behavior is effective. Typically, when short-path forwarding is enabled, the Backup router enforces SPF. For each port that goes down, the current priority of the VRRP-E router is lowered by the number specified in the track-port command. When the current priority is lower than the threshold, the SPF behavior is temporarily suspended and reverts back to the pre-SPF VRRP-E forwarding behavior. The value range is from 1 through 255.
The following example displays information about VRID 1 when short-path forwarding and revert-priority are configured.
Brocade# show ip vrrp-e vrid 1 VRID 1 Interface ethernet v100 state backup administrative-status enabled priority 110 current priority 90 hello-interval 1000 msec dead-interval 0 msec current dead-interval 3500 msec preempt-mode true virtual ip address 100.1.1.3 virtual mac address 02e0.5289.7001 advertise backup: disabled master router 100.1.1.1 expires in 00:00:02.7 track-port 1/13(down) short-path-forwarding enabled <revertible priority 80
1676
NOTE
NOTE
Syntax: [no] owner priority <num> The <num> variable specifies the new priority and can be a number from 1 through 254. When the command is enabled, the software changes the priority of the Master to the specified priority. If the new priority is lower than at least one Backup priority for the same VRID, the Backup router takes over and becomes the new Master until the next software reload or system reset. To verify the change, enter the following command from any level of the CLI.
Brocade#show ip vrrp Total number of VRRP routers defined: 1 Interface ethernet v3 auth-type simple text password VRID 3 state backup administrative-status enabled mode non-owner(backup) priority 110 current priority 110 hello-interval 1000 msec dead-interval 0 msec current dead-interval 3500 msec preempt-mode true ip-address 172.21.3.1 virtual mac address 0000.5e00.0103 advertise backup: enabled next hello sent in 00:00:26.1 master router 172.21.3.1 expires in 00:00:02.7
This example shows that even though this Layer 3 switch is the Owner of the VRID (mode owner), the Layer 3 switch priority for the VRID is 110 and the state is now backup instead of active. In addition, the administrative status is enabled.
1677
To change the Master priority back to the default Owner priority 255, enter no followed by the command you entered to change the priority. For example, to change the priority of a VRRP Owner back to 255 from 110, enter the following command.
Brocade(config-if-1/6-vrid-1)#no owner priority 110
You cannot set the priority to 255 using the owner priority command.
Summary configuration and status information Detailed configuration and status information VRRP and VRRP-E statistics CPU utilization statistics
To display summary information for IPv6 VRRP, enter the show ipv6 vrrp brief command at any level of the CLI.
Brocade#show ipv6 vrrp brief Total number of VRRP routers defined: 1 Interface VRID CurPri P State Master addr Backup addr VIP 1/5 1 255 P Master Master addr: Local Backup addr: fe80::212:f2ff:fea8:3900 VIP : 2001::1
1678
To display summary information for IPv6 VRRP-E v3 , enter the show ipv6 vrrp-extended brief command at any level of the CLI.
Brocade#show ipv6 vrrp-extended brief Total number of VRRP-Extended routers defined: 3 Interface VRID CurPri P State Master addr Backup addr VIP 1/1/1 1 100 P Master Master addr: Local Backup addr: fe80::212:f2ff:fea8:5b00 VIP : 2000:1::100 1/1/2 2 150 P Master Master addr: Local Backup addr: fe80::212:f2ff:fea8:5b00 VIP : 2000:2::100 v51 100 100 P Master Master addr: Local Backup addr: fe80::212:f2ff:fea8:5b00 VIP : 2000:51::100
Syntax for IPv4 VRRP v2 and IPv6 VRRP v3: Syntax: show ip vrrp brief | ethernet [<slotnum>/]<portnum> | ve <num> | stat | vrid <num> Syntax: show ipv6 vrrp brief | ethernet [<slotnum>/]<portnum> | ve <num> | stat | vrid <num> Syntax for IPv4 VRRP-E v2 and IPv6 VRRP-E v3: Syntax: show ip vrrp-extended brief | ethernet [<slotnum>/]<portnum> | ve <num> | stat | vrid <num> Syntax: show ipv6 vrrp-extended brief | ethernet [<slotnum>/]<portnum> | ve <num> | stat | vrid <num> The brief option displays the summary information. If you do not use this option, detailed information is displayed instead. Refer to Displaying detailed information on page 1680. The ethernet <slotnum> option is required on chassis devices if you specify a port number. The ethernet <portnum> option specifies an Ethernet port. If you use this option, the command displays VRRP or VRRP-E information only for the specified port. The ve <num> option specifies a virtual interface. If you use this option, the command displays VRRP or VRRP-E information only for the specified virtual interface. The stat option displays statistics. Refer to Displaying statistics on page 1686. The vrid <num> option specifies the virtual router ID. Enter a value from 1 through 255. Table 277 shows a description of the output for the show ip vrrp brief and show ip vrrp-extended brief commands.
TABLE 277
Field
1679
TABLE 277
Field
VRID CurPri P State
IP address of the router interface that is currently Master for the VRID. IP addresses of router interfaces that are currently Backups for the VRID. The virtual IP address that is being backed up by the VRID.
1680
Syntax: show ip vrrp brief | ethernet [<slotnum>/]<portnum> | ve <num> | stat Syntax: show ip vrrp-extended brief | ethernet [<slotnum>/]<portnum> | ve <num> | stat The brief option displays summary information. Refer to Displaying summary information on page 1678. The ethernet <portnum> option specifies an Ethernet port. If you use this option, the command displays VRRP or VRRP-E information only for the specified port. Also, you must specify the <slotnum> variable on chassis devices.
1681
The ve <num> option specifies a virtual interface. If you use this option, the command displays VRRP or VRRP-E information only for the specified virtual interface. The stat option displays statistics. Refer to Displaying statistics on page 1686. Table 278 shows a description of the output for the show ip vrrp and show ip vrrp-extended commands.
TABLE 278
Field
Interface parameters
Interface The interface on which VRRP, VRRP v3, VRRP-E, or IPv6 VRRP-E is configured. If VRRP, VRRP v3, VRRP-E, or IPv6 VRRP-E is configured on multiple interfaces, information for each interface is listed separately. The authentication type enabled on the interface.
auth-type
VRID parameters
VRID state The VRID configured on this interface. If multiple VRIDs are configured on the interface, information for each VRID is listed separately. This Layer 3 switch VRRP, VRRP v3, VRRP-E, or IPv6 VRRP-E state for the VRID. The state can be one of the following: initialize The VRID is not enabled (activated). If the state remains initialize after you activate the VRID, make sure that the VRID is also configured on the other routers and that the routers can communicate with each other. NOTE: If the state is initialize and the mode is incomplete, make sure you have specified the IP address for the VRID. backup This Layer 3 switch is a Backup for the VRID. master This Layer 3 switch is the Master for the VRID. administrative-status The administrative status of the VRID. The administrative status can be one of the following: disabled The VRID is configured on the interface but VRRP or VRRP-E has not been activated on the interface. enabled VRRP, VRRP v3, VRRP-E, or IPv6 VRRP-E has been activated on the interface. Indicates whether the Layer 3 switch is the Owner or a Backup for the VRID. NOTE: If incomplete appears after the mode, configuration for this VRID is incomplete. For example, you might not have configured the virtual IP address that is being backed up by the VRID. NOTE: This field applies only to VRRP or VRRP v3. All Layer 3 switches configured for VRRP-E are Backups. priority The device preferability for becoming the Master for the VRID. During negotiation, the router with the highest priority becomes the Master. If two or more devices are tied with the highest priority, the Backup interface with the highest IP address becomes the active router for the VRID.
mode
1682
TABLE 278
Field
current priority
hello-interval
dead interval
The configured value for the dead interval. This is the amount of time, in milliseconds, that a Backup waits for a Hello message from the Master for the VRID before determining that the Master is no longer active. If the Master does not send a Hello message before the dead interval expires, the Backups negotiate (compare priorities) to select a new Master for the VRID. NOTE: If the value is 0, then you have not configured this parameter. NOTE: This field does not apply to VRRP Owners. NOTE: All timer fields (Hello interval, dead interval, current dead interval, and so on) are displayed in milliseconds.
The current value of the dead interval. This value is equal to the value configured for the dead interval. If the value for the dead interval is not configured, then the current dead interval is equal to three times the Hello interval plus Skew time (where Skew time is equal to 256 minus priority divided by 256). NOTE: This field does not apply to VRRP Owners. Whether the backup preempt mode is enabled. NOTE: This field does not apply to VRRP Owners. The virtual IP addresses that this VRID is backing up. The address can be an IPv4 or IPv6 address. The virtual MAC addresses for the VRID. The MAC address can be an IPv4 or IPv6 address. The IP addresses of Backups that have advertised themselves to this Layer 3 switch by sending Hello messages. NOTE: Hello messages from Backups are disabled by default. You must enable the Hello messages on the Backup for the Backup to advertise itself to the current Master. Refer to Hello messages on page 1647.
The IP addresses of Backups that have advertised themselves to this Master by sending Hello messages. The <time> value indicates how long before the Backup expires. A Backup expires if you disable the advertise backup option on the Backup or the Backup becomes unavailable. Otherwise, the Backup next Hello message arrives before the Backup expires. The Hello message resets the expiration timer. An expired Backup does not necessarily affect the Master. However, if you have not disabled the advertise backup option on the Backup, then the expiration may indicate a problem with the Backup. NOTE: This field applies only when Hello messages are enabled on the Backups (using the advertise backup option).
1683
TABLE 278
Field
The IP address of the Master and the amount of time until the Master dead interval expires. If the Backup does not receive a Hello message from the Master by the time the interval expires, either the IP address listed for the Master will change to the IP address of the new Master, or this Layer 3 switch itself will become the Master. NOTE: This field applies only when this Layer 3 switch is a Backup. The interfaces that the VRID interface is tracking. If the link for a tracked interface goes down, the VRRP, VRRP v3, VRRP-E, or IPv6 VRRP-E priority of the VRID interface is changed, causing the devices to renegotiate for Master. NOTE: This field is displayed only if track interfaces are configured for this VRID.
track port
To display information about the settings configured for a specified IPv6 VRRP VRID, enter the show ipv6 vrrp vrid command.
1684
Brocade#show ipv6 vrrp vrid 1 VRID 1 Interface ethernet 5 state backup administrative-status enabled version v3 mode non-owner(backup) priority 100 current priority 100 hello-interval 1000 msec dead-interval 0 msec current dead-interval 3000 msec preempt-mode true ip-address a7a7:a7a7:a7a7::1 virtual mac address 0000.5e00.0201 advertise backup: enabled
Syntax: show ip vrrp vrid <num> [ethernet <num> | ve <num>] Syntax: show ipv6 vrrp vrid <num> [ethernet <num> | ve <num>] The <num> variable specifies the VRID. The ethernet <num> | ve <num> options specify an interface on which the VRID is configured. If you specify an interface, VRID information is displayed for that interface only. Otherwise, information is displayed for all the interfaces on which the specified VRID is configured. Table 279 shows a description of the output for the show ip vrrp vrid command.
TABLE 279
Field
VRID Interface State
The configured VRRP priority of this Layer 3 switch for the VRID. The current VRRP priority of this Layer 3 switch for the VRID. The new VRRP priority that the router receives for this VRID if the interface goes down. How often the Master router sends Hello messages to the Backups. The amount of time a Backup waits for a Hello message from the Master before determining that the Master is dead.
1685
TABLE 279
Field
preempt mode
advertise backup
Displaying statistics
To display statistics on most Brocade devices, enter the show ip vrrp stat command at any level of the CLI.
Brocade#show ip vrrp stat Interface ethernet 1/5 rxed vrrp header error count = 0 rxed vrrp auth error count = 0 rxed vrrp auth passwd mismatch error count = 0 rxed vrrp vrid not found error count = 0 VRID 1 rxed arp packet drop count = 0 rxed ip packet drop count = 0 rxed vrrp port mismatch count = 0 rxed vrrp ip address mismatch count = 0 rxed vrrp hello interval mismatch count = 0 rxed vrrp priority zero from master count = 0 rxed vrrp higher priority count = 0 transitioned to master state count = 1 transitioned to backup state count = 1
To display IPv6 VRRP-E v3 statistics on a device, enter the following command at any level of the CLI.
Brocade#show ipv6 vrrp-extended stat ve 51 Interface ethernet v51 rxed vrrp header error count = 0 rxed vrrp auth error count = 0 rxed vrrp auth passwd mismatch error count = 0 rxed vrrp vrid not found error count = 0 VRID 100 rxed arp packet drop count = 0 rxed ip packet drop count = 0 rxed vrrp port mismatch count = 0 rxed vrrp ip address mismatch count = 0 rxed vrrp hello interval mismatch count = 0 rxed vrrp priority zero from master count = 0 rxed vrrp higher priority count = 0
1686
Table 280 shows a description of the output for the show ip vrrp stat and show ip vrrp- extended stat commands.
TABLE 280
Field
Interface statistics
Interface The interface on which VRRP or VRRP-E is configured. If VRRP or VRRP-E is configured on more than one interface, the display lists the statistics separately for each interface. The number of VRRP or VRRP-E packets received by the interface that had a header error. The number of VRRP or VRRP-E packets received by the interface that had an authentication error. The number of VRRP or VRRP-E packets received by the interface that had a password value that does not match the password used by the interface for authentication. The number of VRRP or VRRP-E packets received by the interface that contained a VRID that is not configured on this interface.
rxed vrrp header error count rxed vrrp auth error count rxed vrrp auth passwd mismatch error count rxed vrrp vrid not found error count
VRID statistics
rxed arp packet drop count rxed ip packet drop count rxed vrrp port mismatch count rxed vrrp ip address mismatch count rxed vrrp hello interval mismatch count rxed vrrp priority zero from master count rxed vrrp higher priority count The number of ARP packets addressed to the VRID that were dropped. The number of IP packets addressed to the VRID that were dropped. The number of packets received that did not match the configuration for the receiving interface. The number of packets received that did not match the configured IP addresses. The number of packets received that did not match the configured Hello interval. Indicates that the current Master has resigned. The number of VRRP or VRRP-E packets received by the interface that had a higher backup priority for the VRID than this Layer 3 switch backup priority for the VRID. The number of times this Layer 3 switch has changed from the backup state to the master state for the VRID. The number of times this Layer 3 switch has changed from the master state to the backup state for the VRID.
1687
Syntax: clear ip vrrp-stat To clear IPv6 VRRP v3 or IPv6 VRRP-E v3 statistics, enter the following command at the Privileged EXEC level or any configuration level of the CLI.
Brocade#clear ipv6 vrrp-stat
5Min(%) 0.02 0.00 0.00 0.00 0.01 0.11 0.07 0.00 0.78 0.50 5Min(%) 0.99 0.06 0.01 0.00 0.00 0.21
15Min(%) 0.02 0.00 0.00 0.00 0.01 0.08 0.06 0.00 0.57 0.37 15Min(%) 1.40 0.04 0.01 0.00 0.00 0.14
Runtime(ms) 15532 0 0 0 8608 72959 85015 98 568586 357133 Runtime(ms) 917973 38508 6691 45 1515 143506
If the software has been running less than 15 minutes (the maximum interval for utilization statistics), the command indicates how long the software has been running, as shown in the following example.
1688
Brocade#show process cpu The system has only been up for 6 seconds. Process Name 5Sec(%) 1Min(%) 5Min(%) ARP 0.01 0.00 0.00 BGP 0.00 0.00 0.00 GVRP 0.00 0.00 0.00 ICMP 0.01 0.00 0.00 IP 0.00 0.00 0.00 OSPF 0.00 0.00 0.00 RIP 0.00 0.00 0.00 STP 0.00 0.00 0.00 VRRP 0.00 0.00 0.00
15Min(%) 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
Runtime(ms) 0 0 0 1 0 0 0 0 0
To display utilization statistics for a specific number of seconds, enter a command such as the following. In the following output example, IPv6 protocols are also displayed for a specific number of seconds.
Brocade#show process cpu 2 Statistics for last 1 sec and 999 ms Process Name Sec(%) Time(ms) ARP 0.01 0 BGP 0.00 0 DOT1X 0.00 0 GVRP 0.00 0 ICMP 0.01 0 IP 0.04 0 OSPF 0.07 1 RIP 0.00 0 STP 0.97 19 VRRP 0.53 10 Statistics for last 1 sec and 999 ms Process Name Sec(%) Time(ms) IPv6 0.09 1 ICMP6 0.05 1 ND6 0.00 0 RIPng 0.00 0 OSPFv3 0.00 0 IPV6_RX 0.04 0
When you specify how many seconds of statistics you want to display, the software selects the sample that most closely matches the number of seconds you specified. In this example, statistics are requested for the previous two seconds. The closest sample available is for the previous 1 second plus 80 milliseconds. Syntax: show process cpu [<num>] The <num> variable specifies the number of seconds and can be a value from 1 through 900. If you use this variable, the command lists the usage statistics only for the specified number of seconds. If you do not use this variable, the command lists the usage statistics for the previous one-second, one-minute, five-minute, and fifteen-minute intervals.
1689
To display information for an IPv6 VRRP Backup, enter the show ipv6 vrrp command at any level of the CLI.
1690
Brocade#show ipv6 vrrp Total number of VRRP routers defined: 26 Interface ethernet v52 auth-type no authentication VRID 52 state backup administrative-status enabled version v3 mode non-owner(backup) priority 101 current priority 20 track-priority 20 hello-interval 100 msec dead-interval 0 msec current dead-interval 300 msec preempt-mode true ipv6-address 2172:52::52:3 virtual mac address 0000.5e00.0234 advertise backup: enabled next hello sent in 00:00:36.5 master router fe80::768e:f8ff:fe33:8600 expires in 00:00:00.2 track-port 2/1/3*4/1/4(down) v41(up)
Syntax: show ipv6 vrrp brief | ethernet <stack-unit>/<slotnum>/<portnum> | stat [ethernet <stack-unit>/<slotnum>/<portnum| ve <num>] | vrid <num> To display detailed information for IPv6 VRRP-E, enter the show ipv6 vrrp-extended command at any level of the CLI.
Brocade#show ipv6 vrrp-extended Total number of VRRP-Extended routers defined: 1 Interface ethernet v201 auth-type md5 authentication VRID 201 state master administrative-status enabled priority 100 current priority 100 hello-interval 1000 msec dead-interval 0 msec current dead-interval 3600 msec preempt-mode true virtual ipv6 address 2201:201::201:5 virtual mac address 02e0.5202.bac9 advertise backup: enabled next hello sent in 00:00:01.0
Syntax: show ipv6 vrrp-extended brief | ethernet <stack-unit>/<slotnum>/<portnum> | stat [ethernet <stack-unit>/<slotnum>/<portnum| ve <num>] | vrid <num> For more information on the field descriptions for the show ipv6 vrrp command and the show ipv6 vrrp -extended command, refer to CLI display of VRRP or VRRP-E detailed information on page 1682.
1691
Configuration examples
Configuration examples
The following sections contain the CLI commands for implementing the VRRP and VRRP-E configurations shown in Figure 185 on page 1645 and Figure 186 on page 1651.
VRRP example
To implement the VRRP configuration shown in Figure 185 on page 1645, use the following method.
1692
Configuration examples
Configuring Switch 1
To configure VRRP Switch 1, enter the following commands.
Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Switch1(config)#switch vrrp Switch1(config)#interface ethernet 1/6 Switch1(config-if-1/6)#ip-address 192.53.5.1 Switch1(config-if-1/6)#ip vrrp vrid 1 Switch1(config-if-1/6-vrid-1)#owner track-priority 20 Switch1(config-if-1/6-vrid-1)#track-port ethernet 2/4 Switch1(config-if-1/6-vrid-1)#ip-address 192.53.5.1 Switch1(config-if-1/6-vrid-1)#activate
NOTE
When you configure the Master (Owner), the address you enter with the ip-address command must already be configured on the interface.
Configuring Switch 2
To configure Switch 2 in Figure 185 on page 1645 after enabling VRRP, enter the following commands.
Brocade Brocade Brocade Brocade Brocade Brocade Brocade Brocade Switch2(config)#switch vrrp Switch2(config)#interface ethernet 1/5 Switch2(config-if-1/5)#ip-address 192.53.5.3 Switch2(config-if-1/5)#ip vrrp vrid 1 Switch2(config-if-1/5-vrid-1)#backup priority 100 track-priority 19 Switch2(config-if-1/5-vrid-1)#track-port ethernet 3/2 Switch2(config-if-1/5-vrid-1)#ip-address 192.53.5.1 Switch2(config-if-1/5-vrid-1)#activate
The backup command specifies that this router is a VRRP Backup for virtual router VRID1. The IP address entered with the ip-address command is the same IP address as the one entered when configuring Switch 1. In this case, the IP address cannot also exist on Switch 2, but the interface on which you are configuring the VRID Backup must have an IP address in the same subnet. By entering the same IP address as the one associated with this VRID on the Owner, you are configuring the Backup to back up the address, but you are not duplicating the address. When you configure a Backup router, the router interface on which you are configuring the VRID must have a real IP address that is in the same subnet as the address associated with the VRID by the Owner. However, the address cannot be the same. The priority parameter establishes the router VRRP priority in relation to the other VRRP routers in this virtual router. The track-priority parameter specifies the new VRRP priority that the router receives for this VRID if the interface goes down. Refer to Track ports and track priority on page 1648. The activate command activates the VRID configuration on this interface. The interface does not provide backup service for the virtual IP address until you activate the VRRP configuration. Alternatively, you can use the enable command. The activate and enable commands do the same thing.
NOTE
1693
Configuration examples
Syntax: router vrrp Syntax: ip vrrp vrid <vrid> Syntax: owner [track-priority <value>] Syntax: backup [priority <value>] [track-priority <value>] Syntax: track-port ethernet [<slotnum>/]<portnum> | ve <num> Syntax: ip-address <ip-addr> Syntax: activate
VRRP-E example
To implement the VRRP-E configuration shown in Figure 186 on page 1651, use the following CLI method.
Configuring Switch 1
To configure VRRP Switch 1 in Figure 186 on page 1651, enter the following commands.
Brocade Switch1(config)#switch vrrp-extended Brocade Switch1(config)#interface ethernet 1/6 Brocade Switch1(config-if-1/6)#ip-address 192.53.5.2/24 Brocade Switch1(config-if-1/6)#ip vrrp-extended vrid 1 Brocade Switch1(config-if-1/6-vrid-1)#backup priority 110 track-priority 20 Brocade Switch1(config-if-1/6-vrid-1)#track-port ethernet 2/4 Brocade Switch1(config-if-1/6-vrid-1)#ip-address 192.53.5.254 Brocade Switch1(config-if-1/6-vrid-1)#activate VRRP Switch 1 for this interface is activating Brocade Switch1(config-if-1/6-vrid-1)#exit Brocade Switch1(config)#interface ethernet 1/6 Brocade Switch1(config-if-1/6)#ip vrrp-extended vrid 2 Brocade Switch1(config-if-1/6-vrid-1)#backup priority 100 track-priority 20 Brocade Switch1(config-if-1/6-vrid-1)#track-port ethernet 2/4 Brocade Switch1(config-if-1/6-vrid-1)#ip-address 192.53.5.253 Brocade Switch1(config-if-1/6-vrid-1)#activate VRRP Switch 1 for this interface is activating
The address you enter with the ip-address command cannot be the same as a real IP address configured on the interface.
NOTE
Configuring Switch 2
To configure Switch 2, enter the following commands.
Brocade Switch2(config)#switch vrrp-extended Brocade Switch2(config)#interface ethernet 5/1 Brocade Switch2(config-if-5/1)#ip-address 192.53.5.3/24 Brocade Switch2(config-if-5/1)#ip vrrp-extended vrid 1 Brocade Switch2(config-if-5/1-vrid-1)#backup priority 100 track-priority 20 Brocade Switch2(config-if-5/1-vrid-1)#track-port ethernet 3/2 Brocade Switch2(config-if-5/1-vrid-1)#ip-address 192.53.5.254 Brocade Switch2(config-if-5/1-vrid-1)#activate VRRP Switch 2 for this interface is activating
1694
Configuration examples
Brocade Switch2(config-if-5/1-vrid-1)#exit Brocade Switch2(config)#interface ethernet 5/1 Brocade Switch2(config-if-5/1)#ip vrrp-extended vrid 2 Brocade Switch2(config-if-5/1-vrid-1)#backup priority 110 track-priority 20 Brocade Switch2(config-if-5/1-vrid-1)#track-port ethernet 2/4 Brocade Switch2(config-if-5/1-vrid-1)#ip-address 192.53.5.253 Brocade Switch2(config-if-5/1-vrid-1)#activate VRRP Switch 2 for this interface is activating
The backup command specifies that this router is a VRRP-E Backup for virtual router VRID1. The IP address entered with the ip-address command is the same IP address as the one entered when configuring Switch 1. In this case, the IP address cannot also exist on Switch 2, but the interface on which you are configuring the VRID Backup must have an IP address in the same subnet. By entering the same IP address as the one associated with this VRID on the Owner, you are configuring the Backup to back up the address, but you are not duplicating the address. When you configure a Backup router, the router interface on which you are configuring the VRID must have a real IP address that is in the same subnet as the address associated with the VRID by the Owner. However, the address cannot be the same. The priority parameter establishes the router VRRP-E priority in relation to the other VRRP-E routers in this virtual router. The track-priority parameter specifies the new VRRP-E priority that the router receives for this VRID if the interface goes down. Refer to Track ports and track priority on page 1648. The activate command activates the VRID configuration on this interface. The interface does not provide backup service for the virtual IP address until you activate the VRRP-E configuration. Alternatively, you can use the enable command. The activate and enable commands do the same thing. Syntax: router vrrp-extended Syntax: ip vrrp-extended vrid <vrid> Syntax: backup [priority <value>] [track-priority <value>] Syntax: track-port ethernet [<slotnum>/]<portnum> | ve <num> Syntax: ip-address <ip-addr> Syntax: activate
NOTE
1695
Configuration examples
1696
Chapter
Rule-Based IP ACLs
40
Table 281 and Table 282 list the individual Brocade FastIron switches and Access Control List (ACL) features they support. Table 281 lists the features supported on inbound traffic, while Table 282 lists the features supported on outbound traffic. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 281
Feature
FWS
FCX
ICX 6610
Hardware-based ACLs Standard named and numbered ACLs Extended named and numbered ACLs User input preservation for ACL TCP/UDP port numbers ACL comment text ACL logging of denied packets ACL logging with traffic rate limiting (to prevent CPU overload)
This feature is enabled by default on FWS, FCX and ICX devices. There is no CLI command to enable or disable it. Yes Yes Yes Yes Yes Yes Yes ICX 6450 only
Strict control of ACL filtering of fragmented packets ACL support for switched traffic in the router image
To enable, use This feature is enabled by default on FWS, FCX and the ICX devices. There is no CLI command to enable or bridged-routed disable it. parameter.. ACL filtering based on VLAN membership or VE port membership ACLs to filter ARP packets Filtering on IP precedence and ToS value Combined DSCP and internal marking in one ACL rule QoS options for IP ACLs DSCP CoS mapping Priority mapping using ACLs Yes No Yes Yes Yes Yes Yes Yes Yes Yes No Yes No Yes Yes No Yes No Yes No Yes Yes No Yes No Yes No Yes Yes No Yes No Yes1 No Yes
1697
Rule-Based IP ACLs
TABLE 281
Feature
FWS
FCX
ICX 6610
Hardware usage statistics Policy-based routing (PBR) (Supported in the full Layer 3 code only)
Yes No
Yes Yes
Yes Yes
1. ICX 6430 devices have only four priority queues. See Queues for the ICX 6430 switch on page 1965 for more information.
TABLE 282
Feature
FESX
No No No No No No No No No
FWS
No No No No No No No No No
FCX
Yes Yes Yes Yes Yes No No Yes Yes
ICX 6610
Yes Yes Yes Yes Yes No No Yes Yes
Hardware-based ACLs Standard named and numbered ACLs Extended named and numbered ACLs User input preservation for ACL TCP/UDP port numbers ACL comment text ACL logging of denied packets ACL logging with traffic rate limiting (to prevent CPU overload) Strict control of ACL filtering of fragmented packets ACL support for switched traffic in the router image
This feature is enabled by default for outbound ACLs on platforms that support outbound ACL support. There is no CLI command to enable or disable it. ACL filtering based on VLAN membership or VE port membership ACLs to filter ARP packets Filtering on IP precedence and ToS value Combined DSCP and internal marking in one ACL rule QoS options for IP ACLs2 DSCP CoS mapping Priority mapping using ACLs Hardware usage statistics Policy-based routing (PBR) (Supported in the full Layer 3 code only) Yes Yes Yes No Not applicable for outbound traffic. Not applicable for outbound traffic. No Yes Yes Yes
Not applicable for outbound traffic, as DSCP CoS mapping is not supported. No No Yes Yes Yes
DSCP CoS mapping is not supported for outgoing traffic. Internal priority marking is not supported for outgoing traffic. No No Yes Yes Yes No
1698
ACL overview
1. ACL features for outbound traffic are only supported on specific FastIron SX 800 & FastIron SX 1600 modules. Please check with your Brocade Support representative for details.
2.
This chapter describes how Access Control Lists (ACLs) are implemented and configured in the Brocade devices. For information about IPv6 ACLs, refer to Chapter 41, IPv6 ACLs.
NOTE
ACL overview
Brocade devices support rule-based ACLs (sometimes called hardware-based ACLs), where the decisions to permit or deny packets are processed in hardware and all permitted packets are switched or routed in hardware. All denied packets are also dropped in hardware. In addition, FastIron FWS devices support inbound ACLs only. Outbound ACLs are not supported on those devices. FSX, FCX, and ICX devices support both inbound and outbound ACLs. The ACL features supported on inbound and outbound traffic are as listed in Table 281 and Table 282 respectively and discussed in more detail in the rest of this chapter.
NOTE
FastIron devices do not support flow-based ACLs. Also, please note that Egress ACLs are only supported on specific FastIron SX 800 & FastIron SX 1600 modules. Please check with your Brocade Support representative on details. Rule-based ACLs program the ACL entries you assign to an interface into Content Addressable Memory (CAM) space allocated for the ports. The ACLs are programmed into hardware at startup (or as new ACLs are entered and bound to ports). Devices that use rule-based ACLs program the ACLs into the CAM entries and use these entries to permit or deny packets in the hardware, without sending the packets to the CPU for processing. Rule-based ACLs are supported on the following interface types:
Gbps Ethernet ports 10 Gbps Ethernet ports Trunk groups Virtual routing interfaces
Types of IP ACLs
You can configure the following types of IP ACLs:
Standard Permits or denies packets based on source IP address. Valid standard ACL IDs are
1 99 or a character string.
Extended Permits or denies packets based on source and destination IP address and also
based on IP protocol information. Valid extended ACL IDs are a number from 100 199 or a character string.
1699
ACL overview
ACL ID An ACL ID is a number from 1 99 (for a standard ACL) or 100 199 (for an extended
ACL) or a character string. The ACL ID identifies a collection of individual ACL entries. When you apply ACL entries to an interface, you do so by applying the ACL ID that contains the ACL entries to the interface, instead of applying the individual entries to the interface. This makes applying large groups of access filters (ACL entries) to interfaces simple. Refer to Numbered and named ACLs on page 1700.
NOTE
This is different from IP access policies. If you use IP access policies, you apply the individual policies to interfaces.
ACL entry Also called an ACL rule, this is a filter command associated with an ACL ID. The
maximum number of ACL rules you can configure is a system-wide parameter and depends on the device you are configuring. You can configure up to the maximum number of entries in any combination in different ACLs. For example, on a FESX switch, you can configure 4095 entries in one ACL, 2046 entries in two ACLs, etc.. The total number of entries in all ACLs cannot exceed the system maximum listed in Table 283.
TABLE 283
System
FESX Layer 2 Switch FESX Layer 3 Switch FSX 800 and FSX 1600 Layer 2 Switch FSX 800 and FSX 1600 Layer 3 Switch FWS base Layer 3 Switch FCX Layer 2 or Layer 3 Switch ICX 6610 ICX 6430 ICX 6450
You configure ACLs on a global basis, then apply them to the incoming or outgoing traffic on specific ports. The software applies the entries within an ACL in the order they appear in the ACL configuration. As soon as a match is found, the software takes the action specified in the ACL entry (permit or deny the packet) and stops further comparison for that packet.
Numbered ACL If you refer to the ACL by a numeric ID, you can use 1 99 for a standard ACL
or 100 199 for an extended ACL.
Named ACL If you refer to the ACL by a name, you specify whether the ACL is a standard ACL
or an extended ACL, then specify the name.
1700
You can configure up to 99 standard numbered IP ACLs and 100 extended numbered IP ACLs. You also can configure up to 99 standard named ACLs and 100 extended named ACLs by number.
If you want to tightly control access, configure ACLs consisting of permit entries for the access
you want to permit. The ACLs implicitly deny all other access.
If you want to secure access in environments with many users, you might want to configure
ACLs that consist of explicit deny entries, then add an entry to permit all access to the end of each ACL. The software permits packets that are not denied by the deny entries.
If a packet received on the interface matches an ACL rule in the Layer 4 CAM, the device
permits or denies the packet according to the ACL.
If a packet does not match an ACL rule, the packet is dropped, since the default action on an
interface that has ACLs is to deny the packet.
The first fragment of a packet is permitted or denied using the ACLs. The first fragment is
handled the same way as non-fragmented packets, since the first fragment contains the Layer 4 source and destination application port numbers. The device uses the Layer 4 CAM entry if one is programmed, or applies the interface's ACL entries to the packet and permits or denies the packet according to the first matching ACL.
For other fragments of the same packet, they are subject to a rule only if there is no Layer 4
information in the rule or in any preceding rules. The fragments are forwarded even if the first fragment, which contains the Layer 4 information, was denied. Generally, denying the first fragment of a packet is sufficient, since a transaction cannot be completed without the entire packet.
NOTE
On 48GC, 8x10GC, 2x10GC and 24GF modules, the first IP fragment packet is also treated as an IP packet fragment. For tighter control, you can configure the port to drop all packet fragments. Refer to Enabling strict control of ACL filtering of fragmented packets on page 1726.
1701
Hardware-based ACLs are supported on the following devices: Gbps Ethernet ports 10 Gbps Ethernet ports Trunk groups Virtual routing interfaces
NOTE
Brocade FCX devices do not support ACLs on Group VEs, even though the CLI contains commands for this action.
Inbound ACLs apply to all traffic, including management traffic. By default outbound ACLs are
not applied to traffic generated by the CPU. This must be enabled using the enable egress-acl-on-control-traffic command. See Applying egress ACLs to Control (CPU) traffic on page 1719 for details.
The number of ACLs supported per device is listed in Table 283. Hardware-based ACLs support only one ACL per port. The ACL of course can contain multiple
entries (rules). For example, hardware-based ACLs do not support ACLs 101 and 102 on port 1, but hardware-based ACLs do support ACL 101 containing multiple entries.
For devices that support both, inbound ACLs and outbound ACLs can co-exist. When an
inbound ACL and an outbound ACL are configured on the same port, the outbound ACL is applied only on outgoing traffic.
ACLs are affected by port regions. For example, on the FESX and FSX, multiple ACL groups
share 1016 ACL rules per port region. Each ACL group must contain one entry for the implicit deny all IP traffic clause. Also, each ACL group uses a multiple of 8 ACL entries. For example, if all ACL groups contain 5 ACL entries, you could add 127ACL groups (1016/8) in that port region. If all your ACL groups contain 8 ACL entries, you could add 63 ACL groups, since you must account for the implicit deny entry.
By default, the first fragment of a fragmented packet received by the Brocade device is
permitted or denied using the ACLs, but subsequent fragments of the same packet are forwarded in hardware. Generally, denying the first fragment of a packet is sufficient, since a transaction cannot be completed without the entire packet.
ACLs are supported on member ports of a VLAN on which DHCP snooping and Dynamic ARP
Inspection (DAI) are enabled. Also, IP source guard and ACLs are supported together on the same port, as long as both features are configured at the port-level or per-port-per-VLAN level. Brocade ports do not support IP source guard and ACLs on the same port if one is configured at the port-level and the other is configured at the per-port-per-VLAN level.
Ingress MAC filters can be applied to the same port as an outbound ACL.
1702
A DOS attack configuration on a port will only apply on the ingress traffic. Outbound ACLs cannot be configured through a RADIUS server as dynamic or user-based ACLs.
However, outbound ACLs can still be configured with MAC-AUTH/DOT1X enabled, as they the two are configured in different directions.
The following ACL features and options are not supported on the FastIron devices: Applying an ACL on a device that has Super Aggregated VLANs (SAVs) enabled. ACL logging of permitted packets ACL logging is supported for packets that are sent to the
CPU for processing (denied packets) for inbound traffic. ACL logging is not supported for packets that are processed in hardware (permitted packets).
Flow-based ACLs Layer 2 ACLs You can apply an ACL to a port that has TCP SYN protection or ICMP smurf protection, or both,
enabled.
NOTE
To specify the host name instead of the IP address, the host name must be configured using the DNS resolver on the Brocade device. To configure the DNS resolver name, use the ip dns server-address command at the global CONFIG level of the CLI.
1703
The <wildcard> parameter specifies the mask value to compare against the host address specified by the <source-ip> parameter. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address must match the <source-ip>. Ones mean any value matches. For example, the <source-ip> and <wildcard> values 209.157.22.26 0.0.0.255 mean that all hosts in the Class C subnet 209.157.22.x match the policy. If you prefer to specify the wildcard (mask value) in CIDR format, you can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For example, you can enter the CIDR equivalent of 209.157.22.26 0.0.0.255 as 209.157.22.26/24. The CLI automatically converts the CIDR number into the appropriate ACL mask (where zeros instead of ones are the significant bits) and changes the non-significant portion of the IP address into ones. For example, if you specify 209.157.22.26/24 or 209.157.22.26 0.0.0.255, then save the changes to the startup-config file, the value appears as 209.157.22.0/24 (if you have enabled display of subnet lengths) or 209.157.22.0 0.0.0.255 in the startup-config file. If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in /<mask-bits> format. To enable the software to display the CIDR masks, enter the ip show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format to configure the ACL entry regardless of whether the software is configured to display the masks in CIDR format. If you use the CIDR format, the ACL entries appear in this format in the running-config and startup-config files, but are shown with subnet mask in the display produced by the show ip access-list command. The host <source-ip> | <hostname> parameter lets you specify a host IP address or name. When you use this parameter, you do not need to specify the mask. A mask of all zeros (0.0.0.0) is implied. The any parameter configures the policy to match on all host addresses. The log argument configures the device to generate Syslog entries and SNMP traps for inbound packets that are denied by the access policy. The in | out parameter applies the ACL to incoming or outgoing traffic on the interface to which you apply the ACL. You can apply the ACL to an Ethernet port, or virtual interface.
NOTE
NOTE
If the ACL is for a virtual routing interface, you also can specify a subset of ports within the VLAN containing that interface when assigning an ACL to the interface.
1704
The commands in this example configure an ACL to deny packets from three source IP addresses from being received on port 1/1. The last ACL entry in this ACL permits all packets that are not explicitly denied by the first three ACL entries.
1705
The <ACL-num> parameter allows you to specify an ACL number if you prefer. If you specify a number, you can specify from 1 99 for standard ACLs. For convenience, the software allows you to configure numbered ACLs using the syntax for named ACLs. The software also still supports the older syntax for numbered ACLs. Although the software allows both methods for configuring numbered ACLs, numbered ACLs are always formatted in the startup-config and running-config files in using the older syntax, as follows.
access-list access-list access-list access-list 1 deny host 209.157.22.26 log 1 deny 209.157.22.0 0.0.0.255 log 1 permit any 101 deny tcp any any eq http log
NOTE
The deny | permit parameter indicates whether packets that match a policy in the access list are denied (dropped) or permitted (forwarded). The <source-ip> parameter specifies the source IP address. Alternatively, you can specify the host name.
NOTE
To specify the host name instead of the IP address, the host name must be configured using the DNS resolver on the Brocade device. To configure the DNS resolver name, use the ip dns server-address command at the global CONFIG level of the CLI. The <wildcard> parameter specifies the mask value to compare against the host address specified by the <source-ip> parameter. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address must match the <source-ip>. Ones mean any value matches. For example, the <source-ip> and <wildcard> values 209.157.22.26 0.0.0.255 mean that all hosts in the Class C subnet 209.157.22.x match the policy. If you prefer to specify the wildcard (mask value) in CIDR format, you can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For example, you can enter the CIDR equivalent of 209.157.22.26 0.0.0.255 as 209.157.22.26/24. The CLI automatically converts the CIDR number into the appropriate ACL mask (where zeros instead of ones are the significant bits) and changes the non-significant portion of the IP address into ones. For example, if you specify 209.157.22.26/24 or 209.157.22.26 0.0.0.255, then save the changes to the startup-config file, the value appears as 209.157.22.0/24 (if you have enabled display of subnet lengths) or 209.157.22.0 0.0.0.255 in the startup-config file. If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in /<mask-bits> format. To enable the software to display the CIDR masks, enter the ip show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format to configure the ACL entry regardless of whether the software is configured to display the masks in CIDR format. If you use the CIDR format, the ACL entries appear in this format in the running-config and startup-config files, but are shown with subnet mask in the display produced by the show ip access-list command.
NOTE
1706
The host <source-ip> | <hostname> parameter lets you specify a host IP address or name. When you use this parameter, you do not need to specify the mask. A mask of all zeros (0.0.0.0) is implied. The any parameter configures the policy to match on all host addresses. The log argument configures the device to generate Syslog entries and SNMP traps for inbound packets that are denied by the access policy. You can enable logging on inbound ACLs and filters that support logging even when the ACLs and filters are already in use. To do so, re-enter the ACL or filter command and add the log parameter to the end of the ACL or filter. The software replaces the ACL or filter command with the new one. The new ACL or filter, with logging enabled, takes effect immediately. The in | out parameter applies the ACL to incoming or outgoing traffic on the interface to which you apply the ACL. You can apply the ACL to an Ethernet port or virtual interface.
NOTE
NOTE
If the ACL is bound to a virtual routing interface, you also can specify a subset of ports within the VLAN containing that interface when assigning an ACL to the interface. See Enabling ACL filtering based on VLAN membership or VE port membership on page 1728 for further details.
The commands in this example configure a standard ACL named Net1. The entries in this ACL deny packets from three source IP addresses from being forwarded on port 1. Since the implicit action for an ACL is deny, the last ACL entry in this ACL permits all packets that are not explicitly denied by the first three ACL entries. For an example of how to configure the same entries in a numbered ACL, refer to Configuring standard numbered ACLs on page 1703. Notice that the command prompt changes after you enter the ACL type and name. The std in the command prompt indicates that you are configuring entries for a standard ACL. For an extended ACL, this part of the command prompt is ext. The nACL indicates that you are configuring a named ACL.
1707
IP protocol Source IP address or host name Destination IP address or host name Source TCP or UDP port (if the IP protocol is TCP or UDP) Destination TCP or UDP port (if the IP protocol is TCP or UDP)
The IP protocol can be one of the following well-known names or any IP protocol number from 0 255:
Internet Control Message Protocol (ICMP) Internet Group Management Protocol (IGMP) Internet Gateway Routing Protocol (IGRP) Internet Protocol (IP) Open Shortest Path First (OSPF) Transmission Control Protocol (TCP) User Datagram Protocol (UDP)
For TCP and UDP, you also can specify a comparison operator and port name or number. For example, you can configure a policy to block web access to a specific website by denying all TCP port 80 (HTTP) packets from a specified source IP address to the website IP address.
1708
The <wildcard> parameter specifies the portion of the source IP host address to match against. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packets source address must match the <source-ip>. Ones mean any value matches. For example, the <source-ip> and <wildcard> values 209.157.22.26 0.0.0.255 mean that all hosts in the Class C subnet 209.157.22.x match the policy. If you prefer to specify the wildcard (mask value) in Classless Interdomain Routing (CIDR) format, you can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For example, you can enter the CIDR equivalent of 209.157.22.26 0.0.0.255 as 209.157.22.26/24. The CLI automatically converts the CIDR number into the appropriate ACL mask (where zeros instead of ones are the significant bits) and changes the non-significant portion of the IP address into zeros. For example, if you specify 209.157.22.26/24 or 209.157.22.26 0.0.0.255, then save the changes to the startup-config file, the value appears as 209.157.22.0/24 (if you have enabled display of subnet lengths) or 209.157.22.0 0.0.0.255 in the startup-config file. If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in /<mask-bits> format. To enable the software to display the CIDR masks, enter the ip show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format to configure the ACL entry regardless of whether the software is configured to display the masks in CIDR format. If you use the CIDR format, the ACL entries appear in this format in the running-config and startup-config files, but are shown with subnet mask in the display produced by the show ip access-list command. The <destination-ip> | <hostname> parameter specifies the destination IP host for the policy. If you want the policy to match on all destination addresses, enter any. The <icmp-type> | <icmp-num> parameter specifies the ICMP protocol type:
NOTE
This parameter applies only if you specified icmp as the <ip-protocol> value. If you use this parameter, the ACL entry is sent to the CPU for processing. If you do not specify a message type, the ACL applies to all types of ICMP messages.
The <icmp-num> parameter can be a value from 0 255. The <icmp-type> parameter can have one of the following values, depending on the software version the device is running:
any-icmp-type echo echo-reply information-request log mask-reply mask-request parameter-problem redirect source-quench
1709
The QoS options listed below are only available if a specific ICMP type is specified for the <icmp-type> parameter and cannot be used with the any-icmp-type option above. See QoS options for IP ACLs on page 1734for more information on using ACLs to perform QoS. The <tcp/udp comparison operator> parameter specifies a comparison operator for the TCP or UDP port number. This parameter applies only when you specify tcp or udp as the IP protocol. For example, if you are configuring an entry for HTTP, specify tcp eq http. You can enter one of the following operators:
NOTE
eq The policy applies to the TCP or UDP port name or number you enter after eq. established This operator applies only to TCP packets. If you use this operator, the policy
applies to TCP packets that have the ACK (Acknowledgment) or RST (Reset) bits set on (set to 1) in the Control Bits field of the TCP packet header. Thus, the policy applies only to established TCP sessions, not to new sessions. Refer to Section 3.1, Header Format, in RFC 793 for information about this field.
NOTE
This operator applies only to destination TCP ports, not source TCP ports.
gt The policy applies to TCP or UDP port numbers greater than the port number or the
numeric equivalent of the port name you enter after gt.
lt The policy applies to TCP or UDP port numbers that are less than the port number or the
numeric equivalent of the port name you enter after lt.
neq The policy applies to all TCP or UDP port numbers except the port number or port name
you enter after neq.
range The policy applies to all TCP or UDP port numbers that are between the first TCP or
UDP port name or number and the second one you enter following the range parameter. The range includes the port names or numbers you enter. For example, to apply the policy to all ports between and including 23 (Telnet) and 53 (DNS), enter the following: range 23 53. The first port number in the range must be lower than the last number in the range. The <tcp/udp-port> parameter specifies the TCP or UDP port number or well-known name. You can specify a well-known name for any application port whose number is less than 1024. For other application ports, you must enter the number. Enter ? instead of a port to list the well-known names recognized by the CLI. The in | out parameter specifies that the ACL applies to incoming traffic on the interface to which you apply the ACL. You can apply the ACL to an Ethernet port or a virtual interface. If the ACL is for a virtual routing interface, you also can specify a subset of ports within the VLAN containing that interface when assigning an ACL to the interface. Refer to Configuring standard numbered ACLs on page 1703.
NOTE
1710
The precedence <name> | <num> parameter of the ip access-list command specifies the IP precedence. The precedence option for of an IP packet is set in a three-bit field following the four-bit header-length field of the packets header. You can specify one of the following:
critical or 5 The ACL matches packets that have the critical precedence. If you specify the
option number instead of the name, specify number 5.
flash or 3 The ACL matches packets that have the flash precedence. If you specify the option
number instead of the name, specify number 3.
flash-override or 4 The ACL matches packets that have the flash override precedence. If you
specify the option number instead of the name, specify number 4.
immediate or 2 The ACL matches packets that have the immediate precedence. If you
specify the option number instead of the name, specify number 2.
internet or 6 The ACL matches packets that have the internetwork control precedence. If you
specify the option number instead of the name, specify number 6.
network or 7 The ACL matches packets that have the network control precedence. If you
specify the option number instead of the name, specify number 7.
priority or 1 The ACL matches packets that have the priority precedence. If you specify the
option number instead of the name, specify number 1.
routine or 0 The ACL matches packets that have the routine precedence. If you specify the
option number instead of the name, specify number 0. The tos <name> | <num> parameter of the ip access-list command specifies the IP ToS. You can specify one of the following:
max-reliability or 2 The ACL matches packets that have the maximum reliability ToS. The
decimal value for this option is 2.
max-throughput or 4 The ACL matches packets that have the maximum throughput ToS. The
decimal value for this option is 4.
min-delay or 8 The ACL matches packets that have the minimum delay ToS. The decimal
value for this option is 8.
min-monetary-cost or 1 The ACL matches packets that have the minimum monetary cost
ToS. The decimal value for this option is 1.
NOTE
normal or 0 The ACL matches packets that have the normal ToS. The decimal value for
this option is 0.
<num> A number from 0 15 that is the sum of the numeric values of the options you
want. The ToS field is a four-bit field following the Precedence field in the IP header. You can specify one or more of the following. To select more than one option, enter the decimal value that is equivalent to the sum of the numeric values of all the ToS options you want to select. For example, to select the max-reliability and min-delay options, enter number 10. To select all options, select 15.
NOTE
The following QoS options are only available if a specific ICMP type is specified and cannot be used with the any-icmp-type option set for the <icmp-type> parameter. See QoS options for IP ACLs on page 1734 for more information on using ACLs to perform QoS.
1711
The 802.1p-priority-matching option inspects the 802.1p bit in the ACL that can be used with adaptive rate limiting. Enter a value from 0 7. For details, refer to Inspecting the 802.1p bit in the ACL for adaptive rate limiting on page 1773. The dscp-cos-mapping option maps the DSCP value in incoming packets to a hardware table that provides mapping of each of the 0 63 DSCP values, and distributes them among eight traffic classes (internal priorities) and eight 802.1p priorities. The dscp-cos-mapping option overrides port-based priority settings.
NOTE
The dscp-cos-mapping option is not supported for FCX devices. The dscp-marking option enables you to configure an ACL that marks matching packets with a specified DSCP value Enter a value from 0 63. Refer to Using an IP ACL to mark DSCP values (DSCP marking) on page 1736. The dscp-matching option matches on the packets DSCP value. Enter a value from 0 63. This option does not change the packets forwarding priority through the device or mark the packet. Refer to DSCP matching on page 1738. The log parameter enables SNMP traps and Syslog messages for inbound packets denied by the ACL:
NOTE
You can enable logging on inbound ACLs and filters that support logging even when the ACLs
and filters are already in use. To do so, re-enter the ACL or filter command and add the log parameter to the end of the ACL or filter. The software replaces the ACL or filter command with the new one. The new ACL or filter, with logging enabled, takes effect immediately. The traffic-policy option enables the device to rate limit inbound traffic and to count the packets and bytes per packet to which ACL permit or deny clauses are applied. For configuration procedures and examples, refer to the chapter Traffic Policies on page 1765.
Here is another example of commands for configuring an extended ACL and applying it to an interface. These examples show many of the syntax choices. Notice that some of the entries are configured to generate log entries while other entries are not thus configured.
1712
perm icmp 209.157.22.0/24 209.157.21.0/24 deny igmp host rkwong 209.157.21.0/24 log deny igrp 209.157.21.0/24 host rkwong log deny ip host 209.157.21.100 host 209.157.22.1 log deny ospf any any log permit ip any any
The first entry permits ICMP traffic from hosts in the 209.157.22.x network to hosts in the 209.157.21.x network. The second entry denies IGMP traffic from the host device named rkwong to the 209.157.21.x network. The third entry denies IGMP traffic from the 209.157.21.x network to the host device named rkwong. The fourth entry denies all IP traffic from host 209.157.21.100to host 209.157.22.1 and generates Syslog entries for packets that are denied by this entry. The fifth entry denies all OSPF traffic and generates Syslog entries for denied traffic. The sixth entry permits all packets that are not explicitly denied by the other entries. Without this entry, the ACL would deny all incoming or outgoing IP traffic on the ports to which you assign the ACL. The following commands apply ACL 102 to the incoming traffic on port 1/2 and to the incoming traffic on port 4/3.
Brocade(config)#int eth 1/2 Brocade(config-if-1/2)#ip access-group 102 in Brocade(config-if-1/2)#exit Brocade(config)#int eth 4/3 Brocade(config-if-4/3)#ip access-group 102 in Brocade(config)#write memory
The first entry in this ACL denies TCP traffic from the 209.157.21.x network to the 209.157.22.x network. The second entry denies all FTP traffic from the 209.157.21.x network to the 209.157.22.x network. The third entry denies TCP traffic from the 209.157.21.x network to the 209.157.22.x network, if the TCP port number of the traffic is less than the well-known TCP port number for Telnet (23), and if the TCP port is not equal to 5. Thus, TCP packets whose TCP port numbers are 5 or are greater than 23 are allowed.
1713
The fourth entry denies UDP packets from any source to the 209.157.22.x network, if the UDP port number from the source network is 5 or 6 and the destination UDP port is 7 or 8. The fifth entry permits all packets that are not explicitly denied by the other entries. Without this entry, the ACL would deny all incoming or outgoing IP traffic on the ports to which you assign the ACL. The following commands apply ACL 103 to the incoming traffic on ports 2/1 and 2/2.
Brocade(config)#int eth 2/1 Brocade(config-if-2/1)#ip access-group 103 in Brocade(config-if-2/1)#exit Brocade(config)#int eth 0/2/2 Brocade(config-if-2/2)#ip access-group 103 in Brocade(config)#write memory
IP protocol Source IP address or host name Destination IP address or host name Source TCP or UDP port (if the IP protocol is TCP or UDP) Destination TCP or UDP port (if the IP protocol is TCP or UDP)
The IP protocol can be one of the following well-known names or any IP protocol number from 0 255:
Internet Control Message Protocol (ICMP) Internet Group Management Protocol (IGMP) Internet Gateway Routing Protocol (IGRP) Internet Protocol (IP) Open Shortest Path First (OSPF) Transmission Control Protocol (TCP) User Datagram Protocol (UDP)
For TCP and UDP, you also can specify a comparison operator and port name or number. For example, you can configure a policy to block web access to a specific website by denying all TCP port 80 (HTTP) packets from a specified source IP address to the websites IP address.
1714
NOTE
1715
The <destination-ip> | <hostname> parameter specifies the destination IP host for the policy. If you want the policy to match on all destination addresses, enter any. The <icmp-type> | <icmp-num> parameter specifies the ICMP protocol type:
This parameter applies only if you specified icmp as the <ip-protocol> value. If you use this parameter, the ACL entry is sent to the CPU for processing. If you do not specify a message type, the ACL applies to all types of ICMP messages.
The <icmp-num> parameter can be a value from 0 255. The <icmp-type> parameter can have one of the following values, depending on the software version the device is running:
any-icmp-type echo echo-reply information-request log mask-reply mask-request parameter-problem redirect source-quench time-exceeded timestamp-reply timestamp-request traffic policy unreachable <num>
NOTE
The QoS options listed below are only available if a specific ICMP type is specified for the <icmp-type> parameter and cannot be used with the any-icmp-type option above. See QoS options for IP ACLs on page 1734for more information on using ACLs to perform QoS. The <tcp/udp comparison operator> parameter specifies a comparison operator for the TCP or UDP port number. This parameter applies only when you specify tcp or udp as the IP protocol. For example, if you are configuring an entry for HTTP, specify tcp eq http. You can enter one of the following operators:
eq The policy applies to the TCP or UDP port name or number you enter after eq. established This operator applies only to TCP packets. If you use this operator, the policy
applies to TCP packets that have the ACK (Acknowledgment) or RST (Reset) bits set on (set to 1) in the Control Bits field of the TCP packet header. Thus, the policy applies only to established TCP sessions, not to new sessions. Refer to Section 3.1, Header Format, in RFC 793 for information about this field.
1716
This operator applies only to destination TCP ports, not source TCP ports.
NOTE
gt The policy applies to TCP or UDP port numbers greater than the port number or the
numeric equivalent of the port name you enter after gt.
lt The policy applies to TCP or UDP port numbers that are less than the port number or the
numeric equivalent of the port name you enter after lt.
neq The policy applies to all TCP or UDP port numbers except the port number or port name
you enter after neq.
range The policy applies to all TCP or UDP port numbers that are between the first TCP or
UDP port name or number and the second one you enter following the range parameter. The range includes the port names or numbers you enter. For example, to apply the policy to all ports between and including 23 (Telnet) and 53 (DNS), enter the following: range 23 53. The first port number in the range must be lower than the last number in the range. The <tcp/udp-port> parameter specifies the TCP or UDP port number or well-known name. You can specify a well-known name for any application port whose number is less than 1024. For other application ports, you must enter the number. Enter ? instead of a port to list the well-known names recognized by the CLI. The in | out parameter specifies that the ACL applies to incoming traffic on the interface to which you apply the ACL. You can apply the ACL to an Ethernet port or a virtual interface.
NOTE
If the ACL is for a virtual routing interface, you also can specify a subset of ports within the VLAN containing that interface when assigning an ACL to the interface. Refer to Configuring standard numbered ACLs on page 1703. The precedence <name> | <num> parameter of the ip access-list command specifies the IP precedence. The precedence option for of an IP packet is set in a three-bit field following the four-bit header-length field of the packets header. You can specify one of the following:
critical or 5 The ACL matches packets that have the critical precedence. If you specify the
option number instead of the name, specify number 5.
flash or 3 The ACL matches packets that have the flash precedence. If you specify the option
number instead of the name, specify number 3.
flash-override or 4 The ACL matches packets that have the flash override precedence. If you
specify the option number instead of the name, specify number 4.
immediate or 2 The ACL matches packets that have the immediate precedence. If you
specify the option number instead of the name, specify number 2.
internet or 6 The ACL matches packets that have the internetwork control precedence. If you
specify the option number instead of the name, specify number 6.
network or 7 The ACL matches packets that have the network control precedence. If you
specify the option number instead of the name, specify number 7.
priority or 1 The ACL matches packets that have the priority precedence. If you specify the
option number instead of the name, specify number 1.
routine or 0 The ACL matches packets that have the routine precedence. If you specify the
option number instead of the name, specify number 0. The tos <name> | <num> parameter of the ip access-list command specifies the IP ToS. You can specify one of the following:
1717
max-reliability or 2 The ACL matches packets that have the maximum reliability ToS. The
decimal value for this option is 2.
max-throughput or 4 The ACL matches packets that have the maximum throughput ToS. The
decimal value for this option is 4.
min-delay or 8 The ACL matches packets that have the minimum delay ToS. The decimal
value for this option is 8.
min-monetary-cost or 1 The ACL matches packets that have the minimum monetary cost
ToS. The decimal value for this option is 1.
NOTE
normal or 0 The ACL matches packets that have the normal ToS. The decimal value for
this option is 0.
<num> A number from 0 15 that is the sum of the numeric values of the options you
want. The ToS field is a four-bit field following the Precedence field in the IP header. You can specify one or more of the following. To select more than one option, enter the decimal value that is equivalent to the sum of the numeric values of all the ToS options you want to select. For example, to select the max-reliability and min-delay options, enter number 10. To select all options, select 15.
NOTE
The following QoS options are only available if a specific ICMP type is specified and cannot be used with the any-icmp-type option set for the <icmp-type> parameter. See QoS options for IP ACLs on page 1734 for more information on using ACLs to perform QoS. The 802.1p-priority-matching option inspects the 802.1p bit in the ACL that can be used with adaptive rate limiting. Enter a value from 0 7. For details, refer to Inspecting the 802.1p bit in the ACL for adaptive rate limiting on page 1773. The dscp-cos-mapping option maps the DSCP value in incoming packets to a hardware table that provides mapping of each of the 0 63 DSCP values, and distributes them among eight traffic classes (internal priorities) and eight 802.1p priorities. The dscp-cos-mapping option overrides port-based priority settings.
NOTE
NOTE
The dscp-cos-mapping option is not supported for FCX devices. The dscp-marking option enables you to configure an ACL that marks matching packets with a specified DSCP value Enter a value from 0 63. Refer to Using an IP ACL to mark DSCP values (DSCP marking) on page 1736. The dscp-matching option matches on the packets DSCP value. Enter a value from 0 63. This option does not change the packets forwarding priority through the device or mark the packet. Refer to DSCP matching on page 1738. The log parameter enables SNMP traps and Syslog messages for inbound packets denied by the ACL:
1718
You can enable logging on inbound ACLs and filters that support logging even when the ACLs
and filters are already in use. To do so, re-enter the ACL or filter command and add the log parameter to the end of the ACL or filter. The software replaces the ACL or filter command with the new one. The new ACL or filter, with logging enabled, takes effect immediately. The traffic-policy option enables the device to rate limit inbound traffic and to count the packets and bytes per packet to which ACL permit or deny clauses are applied. For configuration procedures and examples, refer to the chapter Traffic Policies on page 1765.
The options at the ACL configuration level and the syntax for the ip access-group command are the same for numbered and named ACLs and are described in Extended numbered ACL configuration on page 1708 and Extended numbered ACL configuration on page 1708.
Syntax: ip preserve-ACL-user-input-format The following example shows how this feature works for a TCP port (this feature works the same way for UDP ports). In this example, the user identifies the TCP port by number (80) when configuring ACL group 140. However, show ip access-list 140 reverts back to the port name for the TCP port (http in this example). After the user issues the new ip preserve-ACL-user-input-format command, show ip access-list 140 displays either the TCP port number or name, depending on how it was configured by the user.
1719
Brocade(config)#access-list 140 permit tcp any any eq 80 Brocade(config)#access-list 140 permit tcp any any eq ftp Brocade#show ip access-lists 140 Extended IP access list 140 permit tcp any any eq http permit tcp any any eq ftp Brocade(config)#ip preserve-ACL-user-input-format Brocade#show ip access-lists 140 Extended IP access list 140 permit tcp any any eq 80 permit tcp any any eq ftp
You can add comments to entries in a numbered ACL using the syntax for named ACLs. For example, using the same example configuration above, you could instead enter the following commands.
Brocade(config)#ip access-list extended 100 Brocade(config-ext-nACL)#remark The following line permits TCP packets Brocade(config-ext-nACL)#permit tcp 192.168.4.40/24 2.2.2.2/24 Brocade(config-ext-nACL)#remark The following permits UDP packets Brocade(config-ext-nACL)#permit udp 192.168.2.52/24 2.2.2.2/24 Brocade(config-ext-nACL)#deny ip any any
Syntax: [no] access-list <ACL-num> remark <comment-text> or Syntax: [no] ip access-list standard | extended <ACL-num> Syntax: remark <comment-text> For <ACL-num>, enter the number of the ACL. The <comment-text> can be up to 128 characters in length. The comment must be entered separately from the actual ACL entry; that is, you cannot enter the ACL entry and the ACL comment with the same access-list or ip access-list command. Also, in order for the remark to be displayed correctly in the output of show commands, the comment must be entered immediately before the ACL entry it describes. Note that an ACL comment is tied to the ACL entry immediately following the comment. Therefore, if the ACL entry is removed, the ACL comment is also removed.
1720
Syntax: [no] access-list standard | extended <ACL-name> Syntax: remark <comment-text> The standard | extended parameter indicates the ACL type. For <ACL-name>, enter the name of the ACL. The <comment-text> can be up to 128 characters in length. The comment must be entered separately from the actual ACL entry; that is, you cannot enter the ACL entry and the ACL comment with the same ip access-list command. Also, in order for the remark to be displayed correctly in the output of show commands, the comment must be entered immediately before the ACL entry it describes. Note that an ACL comment is tied to the ACL entry immediately following the comment. Therefore, if the ACL entry is removed, the ACL comment is also removed.
1721
Syntax: show running-config The following example shows the comment text for an ACL in a show access-list display. The output is identical in a show ip access-list display.
Brocade#show access-list IP access list rate-limit 100 aaaa.bbbb.cccc Extended IP access list TCP/UDP (Total flows: N/A, Total packets: N/A) ACL Remark: The following line permits TCP packets permit tcp 0.0.0.40 255.255.255.0 0.0.0.2 255.255.255.0 (Flows: N/A, Packets: N/A) ACL Remark: The following line permits UDP packets permit udp 0.0.0.52 255.255.255.0 0.0.0.2 255.255.255.0 (Flows: N/A, Packets: N/A) deny ip any any (Flows: N/A, Packets: N/A)
Syntax: show access-list <ACL-num> | <ACL-name> | all or Syntax: show ip access-list <ACL-num> | <ACL-name> | all
1722
ACL logging
Brocade(config-ext-nACL)#permit ip 10.15.1.0 0.0.0.255 any log Brocade(config-ext-nACL)#permit ip 192.168.10.0 0.0.0.255 any log Brocade(config-ext-nACL)#end Brocade#
ACL logging
Brocade devices support ACL logging of inbound packets that are sent to the CPU for processing (denied packets). ACL logging is not supported for outbound packets or any packets that are processed in hardware (permitted packets). You may want the software to log entries in the Syslog for packets that are denied by ACL filters. ACL logging is disabled by default; it must be explicitly enabled on a port. When you enable logging for ACL entries, statistics for packets that match the deny conditions of the ACL entries are logged. For example, if you configure a standard ACL entry to deny all packets from source address 209.157.22.26, statistics for packets that are explicitly denied by the ACL entry are logged in the Syslog buffer and in SNMP traps sent by the Brocade device. The first time an ACL entry denies a packet, the software immediately generates a Syslog entry and an SNMP trap. The software also starts a five-minute timer. The timer keeps track of all packets explicitly denied by the ACL entries. After five minutes, the software generates a single Syslog entry for each ACL entry that denied a packet. The Syslog entry (message) indicates the number of packets denied by the ACL entry during the previous five minutes. Note however that packet count may be inaccurate if the packet rate is high and exceeds the CPU processing rate. If no ACL entries explicitly deny packets during an entire five-minute timer interval, the timer stops. The timer restarts when an ACL entry explicitly denies a packet.
NOTE
NOTE
The timer for logging packets denied by MAC address filters is a different timer than the ACL logging timer.
ACL logging is supported for denied packets, which are sent to the CPU for logging. ACL logging
is not supported for permitted packets.
ACL logging is not supported for dynamic ACLs with multi-device port authentication and
802.1X.
Packets that are denied by ACL filters are logged in the Syslog based on a sample time-period. You can enable ACL logging on physical and virtual interfaces. When ACL logging is disabled, packets that match the ACL rule are forwarded or dropped in
hardware.
ACL logging is supported on FCX and ICX devices for ACLs that are applied to network
management access features such as Telnet, SSH, Web, and SNMP.
1723
ACL logging
When an ACL that includes an entry with a logging option is applied to a port that has logging
enabled, and then the same ACL is applied to another port on the same system, traffic on the latter port is also logged, whether logging is explicitly enabled for that latter port or not. On the other hand, when an ACL is applied to a port that has logging disabled, and then the same ACL is applied to another port on the same system, traffic on the latter port is also not logged, whether logging is explicitly enabled for that latter port or not.
NOTE
The above limitation applies only to IPv4 ACLs, it does not apply to the use of ACLs to log IPv6 traffic.
When ACL logging is enabled on FastIron WS, Brocade FCX Series and ICX devices, packets
sent to the CPU are automatically rate limited to prevent CPU overload.
When ACL logging is enabled on FastIron X Series devices, Brocade recommends that you
configure a traffic conditioner, then link the ACL to the traffic conditioner to prevent CPU overload. For example:
Brocade(config)#traffic-policy TPD1 rate-limit fixed 100 exceed-action drop Brocade(config)#access-list 101 deny ip host 210.10.12.2 any traffic-policy TPD1 log
ACL logging is intended for debugging purposes. Brocade recommends that you disable ACL
logging after the debug session is over.
NOTE
The command syntax for enabling ACL logging is different on IPv4 devices than on IPv6 devices. See the configuration examples in the next section. 3. Bind the ACLs to the ports on which ACL logging is enabled
The above commands create ACL entries that include the log option, enable ACL logging on interface e 1/4, then bind the ACL to interface e 1/4. Statistics for packets that match the deny statements will be logged.
1724
ACL logging
The ACL-logging command shown above is not required for FWS devices. Syntax: ACL-logging The ACL-logging command applies to IPv4 devices only. For IPv6 devices, use the logging-enable command as shown in the following example. The following shows an example configuration on an IPv6 device.
Brocade(config)#ipv6 acc ACL_log_v6 Brocade(config-ipv6-access-list ACL_log_v6)#logging-enable Brocade(config-ipv6-access-list ACL_log_v6)# deny ipv6 host 2001::1 any log Brocade(config-ipv6-access-list ACL_log_v6)#inter e 9/12 Brocade(config-if-e1000-9/12)#ipv6 traffic-filter ACL_log_v6 in
NOTE
The above commands create ACL entries that include the log option, then bind the ACL to interface e 9/12. Statistics for packets that match the deny statement will be logged. Syntax: logging-enable
NOTE
The logging-enabled command applies to IPv6 devices only. For IPv4 devices, use the ACL-logging command as shown in the previous example.
NOTE
1725
Brocade#show log Syslog logging: enabled (0 messages dropped, 2 Buffer logging: level ACDMEINW, 9 messages level code: A=alert C=critical D=debugging I=informational N=notification
Dynamic Log Buffer (50 lines): 0d00h12m18s:W:ACL: ACL: List 122 denied tcp 20.20.15.6(0)(Ethernet 4 20.20.18.6(0), 1 event(s) 0d00h12m18s:W:ACL: ACL: List 122 denied tcp 20.20.15.2(0)(Ethernet 4 20.20.18.2(0), 1 event(s) 0d00h12m18s:W:ACL: ACL: List 122 denied tcp 20.20.15.4(0)(Ethernet 4 20.20.18.4(0), 1 event(s) 0d00h12m18s:W:ACL: ACL: List 122 denied tcp 20.20.15.3(0)(Ethernet 4 20.20.18.3(0), 1 event(s) 0d00h12m18s:W:ACL: ACL: List 122 denied tcp 20.20.15.5(0)(Ethernet 4 20.20.18.5(0), 1 event(s) 0d00h12m18s:I:ACL: 122 applied to port 4 by from console session 0d00h10m12s:I:ACL: 122 removed from port 4 by from console session 0d00h09m56s:I:ACL: 122 removed from port 4 by from console session 0d00h09m38s:I:ACL: 122 removed from port 4 by from console session
The first fragment of a packet is permitted or denied using the ACLs. The first fragment is
handled the same way as non-fragmented packets, since the first fragment contains the Layer 4 source and destination application port numbers. The device uses the Layer 4 CAM entry if one is programmed, or applies the interface's ACL entries to the packet and permits or denies the packet according to the first matching ACL.
For other fragments of the same packet, they are subject to a rule only if there is no Layer 4
information in the rule or in any preceding rules. The fragments are forwarded even if the first fragment, which contains the Layer 4 information, was denied. Generally, denying the first fragment of a packet is sufficient, since a transaction cannot be completed without the entire packet. For tighter control, you can configure the port to drop all packet fragments. To do so, enter commands such as the following.
Brocade(config)#interface ethernet 1/1 Brocade(config-if-1/1)#ip access-group frag deny
This option begins dropping all fragments received by the port as soon as you enter the command. This option is especially useful if the port is receiving an unusually high rate of fragments, which can indicate a hacker attack. Syntax: [no] ip access-group frag deny
1726
NOTE
By default, when an ACL is applied to a physical or virtual routing interface, the Brocade Layer 3 device filters routed traffic only. It does not filter traffic that is switched from one port to another within the same VLAN or virtual routing interface, even if an ACL is applied to the interface. You can enable the device to filter switched traffic within a VLAN or virtual routing interface. When filtering is enabled, the device uses the ACLs applied to inbound traffic to filter traffic received by a port from another port in the same virtual routing interface. To enable this feature, enter a command such as the following.
Brocade(config)#ip access-list 101 bridged-routed
Applying the ACL rule above to an interface enables filtering of traffic switched within a VLAN or virtual routing interface. Syntax: [no] ip access-list <ACL-ID> bridged-routed The <ACL-ID> parameter specifies a standard or extended numbered or named ACL. You can use the bridged-routed feature in conjunction with enable ACL-per-port-per-vlan, to assign an ACL to certain ports of a VLAN under the virtual interface configuration level. In this case, all of the Layer 3 traffic (bridged and routed) are filtered by the ACL. The following shows an example configuration.
Brocade(config)#vlan 101 by port FastIron(config-vlan-101)#tagged ethernet 1 to 4 FastIron(config-vlan-101)#router-interface ve 101 Brocade(config-vlan-101)#exit Brocade(config)#enable ACL-per-port-per-vlan Brocade(config)#ip access-list 101 bridged-routed Brocade(config)#write memory Brocade(config)#exit Brocade#reload ... Brocade(config-vif-101)#ip access group 1 in ethernet 1 ethernet 3 ethernet 4
For FastIron X Series devices, the enable ACL-per-port-per-vlan command must be followed by the write-memory and reload commands to place the change into effect.
NOTE
1727
NOTE
NOTE
For complete configuration examples, see Applying an IPv4 ACL to specific VLAN members on a port (Layer 2 devices only) on page 1728 and Applying an IPv4 ACL to a subset of ports on a virtual interface (Layer 3 devices only) on page 1729.
NOTE
For FastIron X Series devices, you must save the configuration and reload the software to place the change into effect. Syntax: [no] enable ACL-per-port-per-vlan Enter the no form of the command to disable this feature.
Applying an IPv4 ACL to specific VLAN members on a port (Layer 2 devices only)
NOTE
This section applies to IPv4 ACLs only. IPv6 ACLs do not support ACL filtering based on VLAN membership.
1728
When you bind an IPv4 ACL to a port, the port filters all inbound traffic on the port. However, on a tagged port, there may be a need to treat packets for one VLAN differently from packets for another VLAN. In this case, you can configure a tagged port on a Layer 2 device to filter packets based on the packets VLAN membership. To apply an IPv4 ACL to a specific VLAN on a port, enter commands such as the following.
Brocade(config)#enable ACL-per-port-per-vlan ... Brocade(config)#vlan 12 name vlan12 Brocade(config-vlan-12)#untag ethernet 5 to 8 Brocade(config-vlan-12)#tag ethernet 23 to 24 Brocade(config-vlan-12)#exit Brocade(config)#access-list 10 deny host 209.157.22.26 log Brocade(config)#access-list 10 deny 209.157.29.12 log Brocade(config)#access-list 10 deny host IPHost1 log Brocade(config)#access-list 10 permit Brocade(config)#int e 1/23 Brocade(config-if-e1000-1/23))#per-vlan 12 Brocade(config-if-e1000-1/23-vlan-12))#ip access-group 10 in
NOTE
For FastIron X Series devices, the enable ACL-per-port-per-vlan command must be followed by the write-memory and reload commands to place the change into effect. . The commands in this example configure port-based VLAN 12, and add ports e 5 8 as untagged ports and ports e 23 24 as tagged ports to the VLAN. The commands following the VLAN configuration commands configure ACL 10. Finally, the last three commands apply ACL 10 on VLAN 12 for which port e 23 is a member. Syntax: per-vlan <VLAN ID> Syntax: [no] ip access-group <ACL ID> The <VLAN ID> parameter specifies the VLAN name or number to which you will bind the ACL. The <ACL ID> parameter is the access list name or number.
Applying an IPv4 ACL to a subset of ports on a virtual interface (Layer 3 devices only)
NOTE
This section applies to IPv4 ACLs only. IPv6 ACLs do not support ACL filtering based on VE port membership. You can apply an IPv4 ACL to a virtual routing interface. The virtual interface is used for routing between VLANs and contains all the ports within the VLAN. The IPv4 ACL applies to all the ports on the virtual routing interface. You also can specify a subset of ports within the VLAN containing a specified virtual interface when assigning an ACL to that virtual interface. Use this feature when you do not want the IPv4 ACLs to apply to all the ports in the virtual interface VLAN or when you want to streamline IPv4 ACL performance for the VLAN.
1729
To apply an ACL to a subset of ports within a virtual interface, enter commands such as the following.
Brocade(config)#enable ACL-per-port-per-vlan ... Brocade(config)#vlan 10 name IP-subnet-vlan Brocade(config-vlan-10)#untag ethernet 1/1 to 2/12 Brocade(config-vlan-10)#router-interface ve 1 Brocade(config-vlan-10)#exit Brocade(config)#access-list 1 deny host 209.157.22.26 log Brocade(config)#access-list 1 deny 209.157.29.12 log Brocade(config)#access-list 1 deny host IPHost1 log Brocade(config)#access-list 1 permit any Brocade(config)#interface ve 1/1 Brocade(config-vif-1/1)#ip access-group 1 in ethernet 1/1 ethernet 1/3 ethernet 2/1 to 2/4
NOTE
For FastIron X Series devices, the enable ACL-per-port-per-vlan command must be followed by the write-memory and reload commands to place the change into effect. The commands in this example configure port-based VLAN 10, add ports 1/1 2/12 to the VLAN, and add virtual routing interface 1 to the VLAN. The commands following the VLAN configuration commands configure ACL 1. Finally, the last two commands apply ACL 1 to a subset of the ports associated with virtual interface 1. Syntax: [no] ip access-group <ACL ID> in ethernet <port> [to <port>] The <ACL ID> parameter is the access list name or number. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
NOTE
1730
Normally ARP hijacking is not a problem because IP assignments are done dynamically; however, in some cases, ARP hijacking can occur, such as when a configuration allows a router interface to share the IP address of another router interface. Since multiple VLANs and the router interfaces that are associated with each of the VLANs share the same IP segment, it is possible for two hosts in two different VLANs to fight for the same IP address in that segment. ARP filtering using ACLs protects an IP host record in the ARP table from being overwritten by a hijacking host. Using ACLs to filter ARP requests checks the source IP address in the received ARP packet. Only packets with the permitted IP address will be allowed to be to be written in the ARP table; others are dropped.
The feature is available on physical interfaces and virtual routing interfaces. It is supported on
the following physical interface types Ethernet and trunks.
ACLs used to filter ARP packets on a virtual routing interface can be inherited from a previous
interface if the virtual routing interface is defined as a follower virtual routing interface.
Syntax: [no] ip use-ACL-on-arp [ <access-list-number> ] When the use-ACL-on-arp command is configured, the ARP module checks the source IP address of the ARP request packets received on the interface. It then applies the specified ACL policies to the packet. Only the packet with the IP address that the ACL permits will be allowed to be to be written in the ARP table; those that are not permitted will be dropped.
1731
The <access-list-number> parameter identifies the ID of the standard ACL that will be used to filter the packet. Only the source and destination IP addresses will be used to filter the ARP packet. You can do one of the following for <access-list-number>:
Enter an ACL ID to explicitly specify the ACL to be used for filtering. In the example above, the
line FastIron(config-ve-2)# ip use-ACL-on-arp 103 specifies ACL 103 to be used as the filter.
Allow the ACL ID to be inherited from the IP ACLs that have been defined for the device. In the
example above, the line FastIron(config-ve-4)# ip use-ACL-on-arp allows the ACL to be inherited from IP ACL 101 because of the ip follow relationship between virtual routing interface 2 and virtual routing interface 4. Virtual routing interface 2 is configured with IP ACL 101; thus virtual routing interface 4 inherits IP ACL 101. ARP requests will not be filtered by ACLs if one of the following conditions occur:
If the ACL is to be inherited from an IP ACL, but there is no IP ACL defined. An ACL ID is specified for the use-ACL-on-arp command, but no IP address or any any filtering
criteria have been defined under the ACL ID.
Syntax: show ACL-on-arp [ethernet <port> | loopback [ <num> ] | ve [ <num> ] ] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
If the <port> variable is not specified, all ports on the device that use ACLs for ARP filtering will be included in the display. The Filter Count column shows how many ARP packets have been dropped on the interface since the last time the count was cleared.
The above command resets the filter count on all interfaces in a device back to zero. Syntax: clear ACL-on-arp
1732
The first entry in this ACL denies TCP traffic from the 209.157.21.x network to the 209.157.22.x network, if the traffic has the IP precedence option internet (equivalent to 6). The second entry denies all FTP traffic from the 209.157.21.x network to the 209.157.22.x network, if the traffic has the IP precedence value 6 (equivalent to internet). The third entry permits all packets that are not explicitly denied by the other entries. Without this entry, the ACL would deny all incoming or outgoing IP traffic on the ports to which you assign the ACL. To configure an IP ACL that matches based on ToS, enter commands such as the following.
Brocade(config)#access-list 104 deny tcp 209.157.21.0/24 209.157.22.0/24 tos normal Brocade(config)#access-list 104 deny tcp 209.157.21.0/24 eq ftp 209.157.22.0/24 tos 13 Brocade(config)#access-list 104 permit ip any any
The first entry in this IP ACL denies TCP traffic from the 209.157.21.x network to the 209.157.22.x network, if the traffic has the IP ToS option normal (equivalent to 0). The second entry denies all FTP traffic from the 209.157.21.x network to the 209.157.22.x network, if the traffic has the IP ToS value 13 (equivalent to max-throughput, min-delay, and min-monetary-cost). The third entry permits all packets that are not explicitly denied by the other entries. Without this entry, the ACL would deny all incoming or outgoing IP traffic on the ports to which you assign the ACL.
1733
dscp-marking Marks the DSCP value in the outgoing packet with the value you specify. internal-priority-marking and 802.1p-priority-marking Supported with the DSCP marking
option, these commands assign traffic that matches the ACL to a hardware forwarding queue (internal-priority-marking), and re-mark the packets that match the ACL with the 802.1p priority (802.1p-priority-marking).
dscp-matching Matches on the packet DSCP value. This option does not change the packet
forwarding priority through the device or mark the packet.
802.1p-priority-matching Inspects the 802.1p bit in the ACL that can be used with adaptive
rate limiting. For details, refer to Inspecting the 802.1p bit in the ACL for adaptive rate limiting on page 1773. These QoS options are only available if a specific ICMP type is specified for the <icmp-type> parameter while configuring extended ACLS, and cannot be used with the any-icmp-type option. See Extended numbered ACL syntax on page 1708 and Extended named ACL syntax on page 1715for the syntax for configuring extended ACLs.
NOTE
1734
or
FastIron(config)#access-list 101 permit ip any any 802.1p-priority-marking
or
FastIron(config)#access-list 101 permit ip any any internal-priority-marking 6
NOTE
The complete CLI syntax for this feature is shown in Extended numbered ACL configuration on page 1708 and Extended named ACL configuration on page 1714. The following shows the syntax specific to the DSCP Cos mapping feature. Syntax: ... [dscp-marking <dscp-value> dscp-cos-mapping] or Syntax: ...[dscp-cos-mapping] The dscp-cos-mapping option should not be used when assigning an 802.1p priority. To assign an 802.1p priority to a specific DSCP (using dscp-match), re-assign the DSCP value as well. For example
FastIron(config)#access-list 100 permit ip any any dscp-match 0 dscp-marking 0 802.1p 0 internal 1
NOTE
1735
Syntax: ...dscp-marking <dscp-value> The dscp-marking <dscp-value> parameter maps a DSCP value to an internal forwarding priority. The DSCP value can be from 0 63.
NOTE
FWS, FCX, FESX, and ICX devices FastIron SX modules, with the exception of SX-48GCPP modules, released prior to hardware
release 07.3.00, including:
On the following devices, if the user does not set a specific internal marking priority, then the internal priority does not change:
SX-48GCPP modules All FastIron SX modules released in hardware release 07.3.00 and later releases, including:
1736
Priority values range from 0 to 7. Two new ACL parameters support this feature, one required for priority marking and one optional for internal priority marking. These parameters apply to IP, and TCP, and UDP. For IP
Brocade(config)#acc 104 per ip any any 802.1p-priority-marking 1
Syntax: access-list <num(100-199)> permit ip any any 802.1p-priority-marking <priority value (0-7)> [internal-priority-marking <value (0-7)>] For TCP
Brocade(config)#acc 105 per tcp any any 802.1p-priority-marking 1
Syntax: access-list <num(100-199)> permit tcp any any 802.1p-priority-marking <priority value (0-7)> [internal-priority-marking <value (0-7)>] For UDP
Brocade(config) #acc 105 per udp any any 802.1p-priority-marking 1
Syntax: access-list <num(100-199)> permit udp any any 802.1p-priority-marking <priority value (0-7)> [internal-priority-marking <value (0-7)>] In each of these examples, in the first command the internal-priority value is not specified, which means it maintains a default value of 1 (equal to that of the 802.1p value). In the second command, the internal-priority value has been configured by the user to 5.
1737
The internal-priority-marking parameter overrides port-based priority settings. On the FCX platform, using either 802.1p-priority-marking or 802.1p-priority-marking with internal-priority-marking performs both marking and internal prioritization. In addition to changing the internal forwarding priority, if the outgoing interface is an 802.1Q interface, this parameter maps the specified priority to its equivalent 802.1p (CoS) priority and marks the packet with the new 802.1p priority. Table 284 lists the default mappings of hardware forwarding queues to 802.1p priorities on the FESX and FSX.
NOTE
TABLE 284
802.1p
The complete CLI syntax for 802.1p priority marking and internal priority marking is shown in Extended numbered ACL configuration on page 1708 and Extended named ACL configuration on page 1714. The following shows the syntax specific to these features. Syntax: ... dscp-marking <0 63> 802.1p-priority-marking <0 7> internal-priority-marking <0 7>]
DSCP matching
The dscp-matching option matches on the packet DSCP value. This option does not change the packet forwarding priority through the device or mark the packet. To configure an ACL that matches on a packet with DSCP value 29, enter a command such as the following.
Brocade(config)#access-list 112 permit ip 1.1.1.0 0.0.0.255 2.2.2.x 0.0.0.255 dscp-matching 29
The complete CLI syntax for this feature is shown in Extended numbered ACL configuration on page 1708 and Extended named ACL configuration on page 1714. The following shows the syntax specific to this feature. Syntax: ...dscp-matching <0 63> For complete syntax information, refer to Extended numbered ACL syntax on page 1708.
NOTE
NOTE
Brocade devices support ACL-based rate limiting for inbound traffic. This feature is not supported for outbound traffic.
1738
ACL statistics
For more details, including configuration procedures, refer to Chapter 42, Traffic Policies.
ACL statistics
ACL statistics is a mechanism for counting the number of packets and the number of bytes per packet to which ACL filters are applied. To see the configuration procedures for ACL statistics, refer to Chapter 42, Traffic Policies. The terms ACL statistics and ACL counting are used interchangeably in this guide and mean the same thing.
NOTE
Limit the number of multicast groups that are covered by a static rendezvous point (RP) Control which multicast groups for which candidate RPs sends advertisement messages to
bootstrap routers
The first command enables hardware usage statistics, and the second command displays the hardware usage for IP access list 100.
NOTE
Hardware usage statistics for ACLs differ for SX 800 and SX 1600 devices with one or more SX-FI48GPP interface modules, compared to devices that do not have this interface module. The following displays an example of the show output for an SX 800 device in which an SX-FI48GPP interface module is installed.
1739
Brocade#show access-list all Standard IP access list 1 (hw usage (if applied on 24GC modules) : 2) (hw usage (if applied on 48GC modules) : 2) permit any (hw usage (if applied on 24GC modules) : 1) (hw usage (if applied on 48GC modules) : 1)
Extended IP access list 100 (hw usage (if applied on 24GC modules) : 7) (hw usage (if applied on 48GC modules) : 7) deny tcp any range newacct src any (hw usage (if applied on 24GC modules) : 6) (hw usage (if applied on 48GC modules) : 6) FastIron SX 800 Router#sh mod Module Status F1: SX-FISF Switch Fabric active F2: SX-FISF Switch Fabric active S1: S2: S3: Configured as SX-FI648 48-port 100/1000 Copper S4: SX-FI648PP 48-port 100/1000 Copper OK S5: SX-FI624C 24-port Gig Copper OK S6: S7: SX-FI624C 24-port Gig Copper OK S8: S9: SX-FIZMR6 0-port Management Standby { Status : OK } S10: SX-FIZMR6 0-port Management Active { Status : OK }
48 24 24 0 0
Syntax: show access-list hw-usage on | off Syntax: show access-list <access-list-id> | all By default, hardware usage statistics are disabled. To disable hardware usage statistics after is has been enabled, use the show access-list hw-usage off command. The <access-list-id> variable is a valid ACL name or number.
Syntax: show access-list <ACL-num> | <ACL-name> | all The Rule cam use field lists the number of CAM entries used by the ACL or entry. The number of CAM entries listed for the ACL itself is the total of the CAM entries used by the ACL entries.
1740
Troubleshooting ACLs
For flow-based ACLs, the Total flows and Flows fields list the number of Layer 4 session table flows in use for the ACL. The Total packets and Packets fields apply only to flow-based ACLs.
Troubleshooting ACLs
Use the following methods to troubleshoot access control lists (ACLs):
To display the number of Layer 4 CAM entries being used by each ACL, enter the show
access-list <ACL-num> | <ACL-name> | all command. Refer to Displaying ACL information on page 1740.
To determine whether the issue is specific to fragmentation, remove the Layer 4 information
(TCP or UDP application ports) from the ACL, then reapply the ACL. If you are using another feature that requires ACLs, either use the same ACL entries for filtering and for the other feature, or change to flow-based ACLs.
Select the next-hop gateway. Send the packet to the null interface (null0).
When a PBR policy has multiple next hops to a destination, PBR selects the first live next hop specified in the policy that is up. If none of the policy's direct routes or next hops are available, the packet is routed in the normal way.
1741
The number of route maps that you can define is limited by the available system memory,
which is determined by the system configuration and how much memory other features use. When a route map is used in a PBR policy, the PBR policy uses up to six instances of a route map, up to five ACLs in a matching policy of each route map instance, and up to six next hops in a set policy of each route map instance. Note that the CLI will allow you configure more than six next hops in a route map; however, the extra next hops will not be placed in the PBR database. The route map could be used by other features like BGP or OSPF, which may use more than six next hops.
ACLs with the log option configured should not be used for PBR purposes. PBR ignores explicit or implicit deny ip any any ACL entries, to ensure that for route maps that
use multiple ACLs, the traffic is compared to all the ACLs. PBR also ignores any deny clauses in an ACL. Traffic that matches a deny clause is routed normally using Layer 3 paths.
PBR always selects the first next hop from the next hop list that is up. If a PBR policy's next hop
goes down, the policy uses another next hop if available. If no next hops are available, the device routes the traffic in the normal way.
PBR is not supported for fragmented packets. If the PBR ACL filters on Layer 4 information like
TCP/UDP ports, fragmented packed are routed normally.
You can change route maps or ACL definitions dynamically and do not need to rebind the PBR
policy to an interface.
Configure ACLs that contain the source IP addresses for the IP traffic you want to route using
PBR.
Configure a route map that matches on the ACLs and sets the route information. Apply the route map to an interface.
The command in this example configures a standard ACL that permits traffic from subnet 209.157.23.0/24. After you configure a route map that matches based on this ACL, the software uses the route map to set route attributes for the traffic, thus enforcing PBR. Do not use an access group to apply the ACL to an interface. Instead, use a route map to apply the ACL globally or to individual interfaces for PBR, as shown in the following sections. Syntax: [no]access-list <num> deny | permit <source-ip> | <hostname> <wildcard>
NOTE
1742
or Syntax: [no]access-list <num> deny | permit <source-ip>/<mask-bits> | <hostname> Syntax: [no]access-list <num> deny | permit host <source-ip> | <hostname> Syntax: [no]access-list <num> deny | permit any The <num> parameter is the access list number and can be from 1 99. The deny | permit parameter indicates whether packets that match a policy in the access list are denied (dropped) or permitted (forwarded). If you are configuring the ACL for use in a route map, always specify permit. Otherwise, the Brocade device will ignore deny clauses and packets that match deny clauses are routed normally. The <source-ip> parameter specifies the source IP address. Alternatively, you can specify the host name.
NOTE
NOTE
To specify the host name instead of the IP address, the host name must be configured using the DNS resolver on the Brocade device. To configure the DNS resolver name, use the ip dns server-address command at the global CONFIG level of the CLI. The <wildcard> parameter specifies the mask value to compare against the host address specified by the <source-ip> parameter. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address must match the <source-ip>. Ones mean any value matches. For example, the <source-ip> and <wildcard> values 209.157.22.26 0.0.0.255 mean that all hosts in the Class C subnet 209.157.22.x match the policy. If you prefer to specify the wildcard (mask value) in CIDR format, you can enter a forward slash after the IP address, then enter the number of significant bits in the mask. For example, you can enter the CIDR equivalent of 209.157.22.26 0.0.0.255 as 209.157.22.26/24. The CLI automatically converts the CIDR number into the appropriate ACL mask (where zeros instead of ones are the significant bits) and changes the non-significant portion of the IP address into zeros. For example, if you specify 209.157.22.26/24 or 209.157.22.26 0.0.0.255, then save the changes to the startup-config file, the value appears as 209.157.22.0/24 (if you have enabled display of subnet lengths) or 209.157.22.0 0.0.0.255 in the startup-config file. If you enable the software to display IP subnet masks in CIDR format, the mask is saved in the file in /<mask-bits> format. To enable the software to display the CIDR masks, enter the ip show-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR format to configure the ACL entry regardless of whether the software is configured to display the masks in CIDR format. If you use the CIDR format, the ACL entries appear in this format in the running-config and startup-config files, but are shown with subnet mask in the display produced by the show ip access-list command. The host <source-ip> | <hostname> parameter lets you specify a host IP address or name. When you use this parameter, you do not need to specify the mask. A mask of all zeros (0.0.0.0) is implied.
NOTE
1743
The any parameter configures the policy to match on all host addresses. Do not use the log option in ACLs that will be used for PBR.
NOTE
NOTE
The match and set statements described in this section are the only route-map statements supported for PBR. Other route-map statements described in the documentation apply only to the protocols with which they are described. To configure a PBR route map, enter commands such as the following.
Brocade(config)#route-map test-route permit 99 Brocade(config-routemap test-route)#match ip address 99 Brocade(config-routemap test-route)#set ip next-hop 192.168.2.1 Brocade(config-routemap test-route)#exit
The commands in this example configure an entry in a route map named test-route. The match statement matches on IP information in ACL 99. The set statement changes the next-hop IP address for packets that match to 192.168.2.1. Syntax: [no]route-map <map-name> permit | deny <num> The <map-name> is a string of characters that names the map. Map names can be up to 32 characters in length. You can define an unlimited number of route maps on the Brocade device, as long as system memory is available. The permit | deny parameter specifies the action the Brocade device will take if a route matches a match statement:
If you specify deny, the Brocade device does not apply a PBR policy to packets that match the
ACLs in a match clause. Those packets are routed normally,
If you specify permit, the Brocade device applies the match and set statements associated
with this route map instance. The <num> parameter specifies the instance of the route map you are defining. Routes are compared to the instances in ascending numerical order. For example, a route is compared to instance 1, then instance 2, and so on. PBR uses up to six route map instances for comparison and ignores the rest. Syntax: [no] match ip address <ACL-num-or-name> The <ACL-num> parameter specifies a standard or extended ACL number or name. Syntax: [no] set ip next hop <ip-addr> This command sets the next-hop IP address for traffic that matches a match statement in the route map. Syntax: [no] set interface null0 This command sends the traffic to the null0 interface, which is the same as dropping the traffic.
1744
Enabling PBR
After you configure the ACLs and route map entries, you can enable PBR globally, on individual interfaces, or both as described in this section. To enable PBR, you apply a route map you have configured for PBR globally or locally. Enabling PBR globally To enable PBR globally, enter a command such as the following at the global CONFIG level.
Brocade(config)#ip policy route-map test-route
This command applies a route map named test-route to all interfaces on the device for PBR. Syntax: ip policy route-map <map-name> Enabling PBR locally To enable PBR locally, enter commands such as the following.
Brocade(config)#interface ve 1 Brocade(config-vif-1)#ip policy route-map test-route
The commands in this example change the CLI to the Interface level for virtual interface 1, then apply the test-route route map to the interface. You can apply a PBR route map to Ethernet ports or virtual interfaces. Syntax: ip policy route-map <map-name> Enter the name of the route map you want to use for the route-map <map-name> parameter.
Syntax: [no] route-map <map-name> permit | deny <num> Syntax: [no] set ip next hop <ip-addr>
1745
This command sets the next-hop IP address for traffic that matches a match statement in the route map.
Packets from 209.157.23.x are sent to 192.168.2.1. Packets from 209.157.24.x are sent to 192.168.2.2. Packets from 209.157.25.x are sent to 192.168.2.3.
The following commands configure three standard ACLs. Each ACL contains one of the ACLs listed above. Make sure you specify permit instead of deny in the ACLs, so that the Brocade device permits the traffic that matches the ACLs to be further evaluated by the route map. If you specify deny, the traffic that matches the deny statements are routed normally. Notice that these ACLs specify any for the destination address.
Brocade(config)#access-list 50 permit 209.157.23.0 0.0.0.255 Brocade(config)#access-list 51 permit 209.157.24.0 0.0.0.255 Brocade(config)#access-list 52 permit 209.157.25.0 0.0.0.255
The following commands configure three entries in a route map called test-route. The first entry (permit 50) matches on the IP address information in ACL 50 above. For IP traffic from subnet 209.157.23.0/24, this route map entry sets the next-hop IP address to 192.168.2.1.
Brocade(config)#route-map test-route permit 50 Brocade(config-routemap test-route)#match ip address 50 Brocade(config-routemap test-route)#set ip next-hop 192.168.2.1 Brocade(config-routemap test-route)#exit
The following commands configure the second entry in the route map. This entry (permit 51) matches on the IP address information in ACL 51 above. For IP traffic from subnet 209.157.24.0/24, this route map entry sets the next-hop IP address to 192.168.2.2.
Brocade(config)#route-map test-route permit 51 Brocade(config-routemap test-route)#match ip address 51 Brocade(config-routemap test-route)#set ip next-hop 192.168.2.2 Brocade(config-routemap test-route)#exit
The following commands configure the third entry in the test-route route map. This entry (permit 52) matches on the IP address information in ACL 52 above. For IP traffic from subnet 209.157.25.0/24, this route map entry sets the next-hop IP address to 192.168.2.3.
Brocade(config)#route-map test-route permit 52 Brocade(config-routemap test-route)#match ip address 52 Brocade(config-routemap test-route)#set ip next-hop 192.168.2.3 Brocade(config-routemap test-route)#exit
The following command enables PBR by globally applying the test-route route map to all interfaces.
Brocade(config)#ip policy route-map test-route
1746
Alternatively, you can enable PBR on specific interfaces, as shown in the following example. The commands in this example configure IP addresses in the three source subnets identified in ACLs 50, 51, and 52, then apply route map test-route to the interface.
Brocade(config)#interface ve 1 Brocade(config-vif-1)#ip address 209.157.23.1/24 Brocade(config-vif-1)#ip address 209.157.24.1/24 Brocade(config-vif-1)#ip address 209.157.25.1/24 Brocade(config-vif-1)#ip policy route-map test-route
The following commands configure an entry in a route map called file-13. The first entry (permit 56) matches on the IP address information in ACL 56 above. For IP traffic from the host 209.168.1.204/32, this route map entry sends the traffic to the null interface instead of forwarding it, thus sparing the rest of the network the unwanted traffic.
Brocade(config)#route-map file-13 permit 56 Brocade(config-routemap file-13)#match ip address 56 Brocade(config-routemap file-13)#set interface null0 Brocade(config-routemap file-13)#exit
The following command enables PBR by globally applying the route map to all interfaces.
Brocade(config)#ip policy route-map file-13
Alternatively, you can enable PBR on specific interfaces, as shown in the following example. The commands in this example configure IP addresses in the source subnet identified in ACL 56, then apply route map file-13 to the interface.
Brocade(config)#interface ethernet 3/11 Brocade(config-if-e10000-3/11)#ip address 192.168.1.204/32 Brocade(config-if-e10000-3/11)#ip policy route-map file-13
1747
1748
Chapter
IPv6 ACLs
41
Table 285 lists the individual Brocade FastIron switches and the IPv6 Access Control Lists (ACL) features they support. These features are supported in Brocade FastIron switches that can be configured as an IPv6 host in an IPv6 network, and in devices that support IPv6 routing. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 285
Feature
FWS
FCX1
ICX 6610
IPv6 ACLs Applying an IPv6 ACL to an interface IPv6 ACL comment text IPv6 ACL logging of denied packets
1.
No No No No
IPv6 ACLs are not supported on base Layer 3 software images on the FSX and FCX platforms
This chapter describes how Access Control Lists (ACLs) are implemented and configured on a Brocade FastIron IPv6 switch.
1749
You can configure an IPv6 ACL on a global basis, then apply it to the incoming IPv6 packets on specified interfaces. You can apply only one IPv6 ACL to an interface. When an interface receives an IPv6 packet, it applies the statements within the ACL in their order of appearance to the packet. As soon as a match occurs, the Brocade device takes the specified action (permit or deny the packet) and stops further comparison for that packet. IPv6 ACLs are supported on:
Gbps Ethernet ports 10 Gbps Ethernet ports Trunk groups Virtual routing interfaces
IPv6 ACLs are supported on inbound traffic and are implemented in hardware, making it possible for the Brocade device to filter traffic at line-rate speed on 10 Gbps interfaces.
NOTE
IPv6 protocol Source IPv6 address Destination IPv6 address IPv6 message type Source TCP or UDP port (if the IPv6 protocol is TCP or UDP) Destination TCP or UDP port (if the IPv6 protocol is TCP or UDP)
Authentication Header (AHP) Encapsulating Security Payload (ESP) Internet Control Message Protocol (ICMP) Internet Protocol Version 6 (IPv6) Stream Control Transmission Protocol (SCTP) Transmission Control Protocol (TCP) User Datagram Protocol (UDP)
TCP and UDP filters will be matched only if they are listed as the first option in the extension header.
NOTE
1750
For TCP and UDP, you also can specify a comparison operator and port name or number. For example, you can configure a policy to block web access to a specific website by denying all TCP port 80 (HTTP) packets from a specified source IPv6 address to the website IPv6 address. IPv6 ACLs also provide support for filtering packets based on DSCP.
IPv4 source guard and IPv6 ACLs are supported together on the same device, as long as they
are not configured on the same port or virtual Interface.
IPv6 ACLs do not support ACL filtering based on VLAN membership or VE port membership. IPv6 ACLs cannot be used with GRE IPv6 ACLs cannot be employed to implement a user-based ACL scheme If an IPv6 ACL has the implicit deny condition, make sure it also permits the IPv6 link-local address, in addition to the global unicast address. Otherwise, routing protocols such as OSPF will not work. To view the link-local address, use the show ipv6 interface command. enabled on the interface, the system will display the following error message.
Brocade(config-if-e1000-7)#ipv6 traffic-filter netw in Error: IPv6 is not enabled for interface 7
IPv6 must be enabled on the interface before an ACL can be applied to it. If IPv6 is not
To enable IPv6 on an interface, enter ipv6 enable at the Interface level of the CLI, or assign an IPv6 address to the interface as described in IPv6 configuration on each router interface on page 362 and further discussed in Enabling IPv6 on an interface to which an ACL will be applied on page 1761.
You cannot disable IPv6 on an interface to which an ACL is bound. Attempting to do so will
cause the system to return the following error message.
Brocade(config-if-e1000-7)#no ipv6 enable Error: Port 7 has IPv6 ACL configured. Cannot disable IPv6
For notes on applying IPv6 ACLs to trunk ports, see Applying an IPv6 ACL to a trunk group on
page 1762.
For notes on applying IPv6 ACLs to virtual ports, see Applying an IPv6 ACL to a virtual interface
in a protocol-based or subnet-based VLAN on page 1762.
dscp-cos-mapping is not suppoprted on Brocade FCX Series and Brocade ICX 6610 Series
devices.
1751
The following is another example of commands for configuring an ACL and applying it to an interface.
Brocade(config)# ipv6 access-list netw Brocade(config-ipv6-access-list-netw)# 2001:3782::/64 Brocade(config-ipv6-access-list-netw)# 2000:2383:e0aa:0::24 Brocade(config-ipv6-access-list-netw)# Brocade(config-ipv6-access-list-netw)#
permit icmp 2000:2383:e0bb::/64 deny ipv6 host 2000:2383:e0ac::2 host deny udp any any permit ipv6 any any
The first condition permits ICMP traffic from hosts in the 2000:2383:e0bb::x network to hosts in the 2001:3782::x network. The second condition denies all IPv6 traffic from host 2000:2383:e0ac::2 to host 2000:2383:e0aa:0::24. The third condition denies all UDP traffic. The fourth condition permits all packets that are not explicitly denied by the other entries. Without this entry, the ACL would deny all incoming IPv6 traffic on the ports to which you assigned the ACL. The following commands apply the ACL "netw" to the incoming traffic on port 1/2 and to the incoming traffic on port 4/3.
Brocade(config)# int eth 1/2 Brocade(config-if-1/2)# ipv6 enable Brocade(config-if-1/2)# ipv6 traffic-filter netw in Brocade(config-if-1/2)# exit Brocade(config)# int eth 4/3 Brocade(config-if-4/3)# ipv6 enable Brocade(config-if-4/3)# ipv6 traffic-filter netw in Brocade(config)# write memory
1752
The first condition in this ACL denies TCP traffic from the 2001:1570:21::x network to the 2001:1570:22::x network. The next condition denies UDP packets from any source with source UDP port in ranges 5 to 6 and whose destination is to the 2001:1570:22::/24 network. The third condition permits all packets containing source and destination addresses that are not explicitly denied by the first two. Without this entry, the ACL would deny all incoming IPv6 traffic on the ports to which you assign the ACL. A show running-config command displays the following.
Brocade(config)# show running-config ipv6 access-list rtr deny tcp 2001:1570:21::/24 2001:1570:22::/24 deny udp any range rje 6 2001:1570:22::/24 permit ipv6 any any
The following commands apply the ACL rtr to the incoming traffic on ports 2/1 and 2/2.
Brocade(config)# int eth 2/1 Brocade(config-if-2/1)# ipv6 enable Brocade(config-if-2/1)# ipv6 traffic-filter rtr in Brocade(config-if-2/1)# exit Brocade(config)# int eth 2/2 Brocade(config-if-2/2)# ipv6 enable Brocade(config-if-2/2)# ipv6 traffic-filter rtr in Brocade(config)# write memory
If you want to tightly control access, configure ACLs consisting of permit entries for the access
you want to permit. The ACLs implicitly deny all other access.
1753
If you want to secure access in environments with many users, you might want to configure
ACLs that consist of explicit deny entries, then add an entry to permit all access to the end of each ACL. The permit entry permits packets that are not denied by the deny entries. Every IPv6 ACL has the following implicit conditions as its last match conditions.
permit icmp any any nd-na Allows ICMP neighbor discovery acknowledgements. permit icmp any any nd-ns Allows ICMP neighbor discovery solicitations. deny ipv6 any any Denies IPv6 traffic. You must enter a permit ipv6 any any as the last
statement in the access-list if you want to permit IPv6 traffic that were not denied by the previous statements.
NOTE
If an IPv6 ACL has the implicit deny condition, make sure it also permits the IPv6 link-local address, in addition to the global unicast address. Otherwise, routing protocols such as OSPF will not work. To view the link-local address, use the show ipv6 interface command. The conditions are applied in the order shown above, with deny ipv6 any any as the last condition applied. For example, if you want to deny ICMP neighbor discovery acknowledgement, then permit any remaining IPv6 traffic, enter commands such as the following.
Brocade(config)# ipv6 access-list netw Brocade(config-ipv6-access-list-netw)# permit icmp 2000:2383:e0bb::/64 2001:3782::/64 Brocade(config-ipv6-access-list-netw)# deny icmp any any nd-na Brocade(config-ipv6-access-list-netw)# permit ipv6 any any
The first permit statement permits ICMP traffic from hosts in the 2000:2383:e0bb::x network to hosts in the 2001:3782::x network. The deny statement denies ICMP neighbor discovery acknowledgement. The last entry permits all packets that are not explicitly denied by the other entries. Without this entry, the ACL will deny all incoming IPv6 traffic on the ports to which you assigned the ACL. Furthermore, if you add the statement deny icmp any any in the access list, then all neighbor discovery messages will be denied. You must explicitly enter the permit icmp any any nd-na and permit icmp any any nd-ns statements just before the deny icmp statement if you want the ACLs to permit neighbor discovery as in the example below.
Brocade(config)#ipv6 access-list netw Brocade(config-ipv6-access-list-netw)#permit icmp 2000:2383:e0bb::/64 2001:3782::/64 Brocade(config-ipv6-access-list-netw)#permit icmp any any nd-na Brocade(config-ipv6-access-list-netw)#permit icmp any any nd-ns Brocade(config-ipv6-access-list-netw)#deny icmp any any Brocade(config-ipv6-access-list-netw)#permit ipv6 any any
1754
This creates an access list that blocks all Telnet traffic from IPv6 host 2000:2382:e0bb::2.
NOTE
ipv6-operator flow-label ipv6-operator fragments when any protocol is specified. The option "fragments" can be
specified only when "permit/deny ipv6" is specified. If you specify "tcp" or any other protocol instead of "ipv6" the keyword, "fragments" cannot be used.
ipv6-operator routing when any protocol is specified. (Same limitation as for ipv6-operator
fragments) When creating ACLs, use the appropriate syntax below for the protocol you are filtering.
For IPv6 and supported protocols other than ICMP, TCP, or UDP
Syntax: [no] ipv6 access-list <ACL name> Syntax: permit | deny <protocol> <ipv6-source-prefix/prefix-length> | any | host <source-ipv6_address> <ipv6-destination-prefix/prefix-length> | any | host <ipv6-destination-address> [ipv6-operator [<value>]] [802.1p-priority-matching <number>] [dscp-marking <number> 802.1p-priority-marking <number> internal-priority-marking <number>] | [dscp-marking <dscp-value> dscp-cos-mapping] | [dscp-cos-mapping]
For ICMP
Syntax: [no] ipv6 access-list <ACL name> Syntax: permit | deny icmp <ipv6-source-prefix/prefix-length> | any | host <source-ipv6_address> <ipv6-destination-prefix/prefix-length> | any | host <ipv6-destination-address> [ipv6-operator [<value>]] [ [<icmp-type>][<icmp-code>] ] | [<icmp-message>] [dscp-marking <number>]
1755
For TCP
Syntax: [no] ipv6 access-list <ACL name> Syntax: permit | deny <tcp> <ipv6-source-prefix/prefix-length> | any | host <source-ipv6_address> [tcp-udp-operator [source-port-number]] <ipv6-destination-prefix/prefix-length> | any | host <ipv6-destination-address> [tcp-udp-operator [destination-port- number]] [ipv6-operator [<value>]] [802.1p-priority-matching <number>] [dscp-marking <number> 802.1p-priority-marking <number> internal-priority-marking <number>] [dscp-marking <dscp-value> dscp-cos-mapping] [dscp-cos-mapping]
For UDP
Syntax: [no] ipv6 access-list <ACL name> Syntax: permit | deny <udp> <ipv6-source-prefix/prefix-length> | any | host <source-ipv6_address> [tcp-udp-operator [source port number]] <ipv6-destination-prefix/prefix-length> | any | host <ipv6-destination-address> [tcp-udp-operator [destination port number]] [ipv6-operator [<value>]] [802.1p-priority-matching <number>] [dscp-marking <number> 802.1p-priority-marking <number> internal-priority-marking <number>] [dscp-marking <dscp-value> dscp-cos-mapping] [dscp-cos-mapping]
1756
TABLE 286
Syntax descriptions
Description
Enables the IPv6 configuration level and defines the name of the IPv6 ACL. The <ACL name> can contain up to 199 characters and numbers, but cannot begin with a number and cannot contain any spaces or quotation marks. The ACL will permit (forward) packets that match a policy in the access list. The ACL will deny (drop) packets that match a policy in the access list. Indicates the you are filtering ICMP packets. The type of IPv6 packet you are filtering. You can specify a well-known name for some protocols whose number is less than 255. For other protocols, you must enter the number. Enter ? instead of a protocol to list the well-known names recognized by the CLI. IPv6 protocols include AHP Authentication Header ESP Encapsulating Security Payload IPv6 Internet Protocol version 6 SCTP Stream Control Transmission Protocol
<ipv6-source-prefix>/<prefix-length The <ipv6-source-prefix>/<prefix-length> parameter specify a source prefix > and prefix length that a packet must match for the specified action (deny or permit) to occur. You must specify the <ipv6-source-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. <ipv6-destination-prefix>/<prefix-le ngth> The <ipv6-destination-prefix>/<prefix-length> parameter specify a destination prefix and prefix length that a packet must match for the specified action (deny or permit) to occur. You must specify the <ipv6-destination-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter When specified instead of the <ipv6-source-prefix>/<prefix-length> or <ipv6-destination-prefix>/<prefix-length> parameters, matches any IPv6 prefix and is equivalent to the IPv6 prefix::/0. Allows you specify a host IPv6 address. When you use this parameter, you do not need to specify the prefix length. A prefix length of all128 is implied. ICMP packets can be filtered by ICMP message type. The type is a number from 0 to 255. ICMP packets, which are filtered by ICMP message type can also be filtered by the ICMP message code. The code is a number from 0 to 255, ICMP packets are filtered by ICMP messages. Refer to ICMP message configurations on page 1760 for a list of ICMP message types. Indicates the you are filtering TCP packets. Indicates the you are filtering UDP packets.
any
1757
TABLE 286
<ipv6-source-prefix>/<prefix-length The <ipv6-source-prefix>/<prefix-length> parameter specify a source prefix > and prefix length that a packet must match for the specified action (deny or permit) to occur. You must specify the <ipv6-source-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter. <ipv6-destination-prefix>/<prefix-le ngth> The <ipv6-destination-prefix>/<prefix-length> parameter specify a destination prefix and prefix length that a packet must match for the specified action (deny or permit) to occur. You must specify the <ipv6-destination-prefix> parameter in hexadecimal using 16-bit values between colons as documented in RFC 2373. You must specify the <prefix-length> parameter as a decimal value. A slash mark (/) must follow the <ipv6-prefix> parameter and precede the <prefix-length> parameter When specified instead of the <ipv6-source-prefix>/<prefix-length> or <ipv6-destination-prefix>/<prefix-length> parameters, matches any IPv6 prefix and is equivalent to the IPv6 prefix::/0. Allows you specify a host IPv6 address. When you use this parameter, you do not need to specify the prefix length. A prefix length of all128 is implied. The <tcp-udp-operator> parameter can be one of the following: eq The policy applies to the TCP or UDP port name or number you enter after eq. gt The policy applies to TCP or UDP port numbers greater than the port number or the numeric equivalent of the port name you enter after gt. Enter "?" to list the port names. lt The policy applies to TCP or UDP port numbers that are less than the port number or the numeric equivalent of the port name you enter after lt. neq The policy applies to all TCP or UDP port numbers except the port number or port name you enter after neq. range The policy applies to all TCP port numbers that are between the first TCP or UDP port name or number and the second one you enter following the range parameter. The range includes the port names or numbers you enter. For example, to apply the policy to all ports between and including 23 (Telnet) and 53 (DNS), enter the following range 23 53. The first port number in the range must be lower than the last number in the range. The <source-port number> and <destination-port-number> for the tcp-udp-operator is the number of the port.
any
host tcp-udp-operator
1758
TABLE 286
ipv6-operator
NOTE: This option is not applicable to filtering based on source or destination port, TCP flags, and ICMP flags. routing The policy applies only to IPv6 source-routed packets.
NOTE
This option is not applicable to filtering based on source or destination port, TCP flags, and ICMP flags. 802.1p-priority-matching <number> Enables the device to match only those packets that have the same 802.1p priorities as specified in the ACL. Enter 0 7. Use this option in conjunction with traffic policies to rate limit traffic for a specified 802.1p priority value. For details, refer to Inspecting the 802.1p bit in the ACL for adaptive rate limiting on page 1773. Use the dscp-marking <number> parameter to specify a new QoS value to the packet. If a packet matches the filters in the ACL statement, this parameter assigns the DSCP value that you specify to the packet. Enter 0 63. Use the 802.1p-priority-marking <number> parameter to specify a new QoS value to the packet (0-7). If a packet matches the filters in the ACL statement, the following actions happen: On FSX devices, this parameter assigns the 802.1p priority that you specify to the packet. On all platforms other than FSX, this parameter assigns the priority that you specify to the 802.1p priority and the internal priority. Use the internal-priority-marking <number> parameter to specify a new QoS value to the packet (0-7). If a packet matches the filters in the ACL statement, the following actions happen: On FSX devices, this parameter assigns the internal priority that you specify to the packet. On all platforms other than FSX, this parameter assigns the priority that you specify to the internal priority and the 802.1p priority. Use the dscp-marking <number> dscp-cos-mapping parameters parameters to specify a DSCP value and map that value to an internal QoS table to obtain the packet new QoS value. The following occurs when you use these parameters. You enter 0 63 for the dscp-marking <number> parameter. The dscp-cos-mapping parameter takes the DSCP value you specified and compares it to an internal QoS table, which is indexed by DSCP values. The corresponding 802.1p priority, internal forwarding priority, and DSCP value is assigned to the packet. Use dscp-cos-mapping if you want to use the DSCP value in the packet header to alter its QoS value. When you enter dscp-cos-mapping, the DSCP value in the packet header is compared to a column in the internal QoS table. The 802.1p priority, internal forwarding priority, and DSCP value that are mapped to the matching column is assigned to the packet.
dscp-marking <number>
802.1p-priority-marking <number>
internal-priority-marking <number>
dscp-marking <number>
dscp-cos-mapping1
1759
1.
dscp-cos-mapping is not suppoprted on Brocade FCX Series and Brocade ICX 6610 Series devices.
beyond-scope destination-unreachable echo-reply echo-request header hop-limit mld-query mld-reduction mld-report nd-na nd-ns next-header no-admin no-route packet-too-big parameter-option parameter-problem port-unreachable reassembly-timeout renum-command renum-result renum-seq-number router-advertisement router-renumbering router-solicitation time-exceeded unreachable
NOTE
If you do not specify a message type, the ACL applies to all types ICMP messages types.
1760
These commands enable IPv6 on Ethernet interface 1/1 ready for an IPv6 ACL to be applied.
Gbps Ethernet ports 10 Gbps Ethernet ports Trunk groups Virtual routing interfaces
This example applies the IPv6 ACL access1 to incoming IPv6 packets on Ethernet interface 3/1. As a result, Ethernet interface 3/1 denies all incoming packets from the site-local prefix fec0:0:0:2::/64 and the global prefix 2001:100:1::/48 and permits all other incoming packets.
1761
Syntax: remark <comment-text> The <comment-text> can be up to 256 characters in length. The following shows the comment text for the ACL named "rtr" in a show running-config display.
Brocade#show running-config ipv6 access-list rtr remark This entry permits ipv6 packets from 3002::2 to any destination permit ipv6 host 3000::2 any remark This entry denies udp packets from any source to any destination deny udp any any remark This entry denies IPv6 packets from any source to any destination deny ipv6 any any
1762
Syntax: no remark <comment-text> For <comment-text>, enter the text exactly as you did when you created the comment.
Syntax: show ipv6 access-list To display a specific IPv6 ACL configured on a device, enter the show ipv6 access-list command followed by the ACL name. The following example shows the ACL named "rtr".
1763
Brocade#show ipv6 access-list rtr ipv6 access-list rtr: 3 entries remark This entry permits ipv6 packets from 3002::2 to any destination permit ipv6 host 3000::2 any remark This entry denies udp packets from any source to any destination deny udp any any remark This entry denies IPv6 packets from any source to any destination deny ipv6 any any
Syntax: show ipv6 access-list [<access-list-name>] For the <access-list-name> parameter, specify the name of an IPv6 ACL created using the ipv6 access-list command.
1764
Chaptera
Traffic Policies
42
Table 287 lists the individual Brocade FastIron switches and the traffic policy features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 287
Feature
FWS
FCX
ICX 6610
Traffic policies ACL-based fixed rate limiting ACL-based adaptive rate limiting 802.1p priority bit inspection in the ACL for adaptive rate limiting ACL statistics
Yes Yes No No
Yes
Yes
Yes
Yes. ICX 6430 does not support creating a policy that only counts packets. Yes
CPU rate-limiting
Yes
Yes
Yes
Yes
To rate limit inbound traffic To count the packets and bytes per packet to which ACL permit or deny clauses are applied
Traffic policies consist of policy names and policy definitions:
Traffic policy name A string of up to eight alphanumeric characters that identifies individual
traffic policy definitions.
Traffic policy definition (TPD) The command filter associated with a traffic policy name. A
TPD can define any one of the following:
1765
ACL counting policy Combined rate limiting and ACL counting policy
The maximum number of supported active TPDs is a system-wide parameter and depends on the device you are configuring. The total number of active TPDs cannot exceed the system maximum. Refer to Maximum number of traffic policies supported on a device on page 1767. When you apply a traffic policy to an interface, you do so by adding a reference to the traffic policy in an ACL entry, instead of applying the individual traffic policy to the interface. The traffic policy becomes an active traffic policy or active TPD when you bind its associated ACL to an interface. To configure traffic policies for ACL-based rate limiting, refer to Configuring ACL-based fixed rate limiting on page 1769 and ACL-based adaptive rate limiting configuration on page 1770. To configure traffic policies for ACL counting, refer to Enabling ACL statistics on page 1775.
Traffic policies applies to IP ACLs only. Traffic policies are supported on FastIron X Series devices, but not on the 10 Gbps Ethernet
interfaces of the SX-FI62XG and SX-FI42XG modules.
The maximum number of supported active TPDs is a system-wide parameter and depends on
the device you are configuring. The total number of active TPDs cannot exceed the system maximum. Refer to Maximum number of traffic policies supported on a device on page 1767.
You can reference the same traffic policy in more than one ACL entry within an ACL. For
example, two or more ACL statements in ACL 101 can reference a TPD named TPD1.
You can reference the same traffic policy in more than one ACL. For example, ACLs 101 and
102 could both reference a TPD named TPD1.
To modify or delete an active traffic policy, you must first unbind the ACL that references the
traffic policy.
When you define a TPD (when you enter the CLI command traffic-policy), explicit marking of
CoS parameters, such as traffic class and 802.1p priority, are not available on the device. In the case of a TPD defining rate limiting, the device re-marks CoS parameters based on the DSCP value in the packet header and the determined conformance level of the rate limited traffic, as shown in Table 288.
1766
TABLE 288
0 (Green) or 1 (Yellow)
CoS parameters for packets that use rate limiting traffic policies
Packet DSCP value
07 8 15 16 23 24 31 32 39 40 47 48 55 56 63
2 (Red)
N/A
When you define a TPD, reference the TPD in an ACL entry, and then apply the ACL to a VE in
the Layer 3 router code, the rate limit policy is accumulative for all of the ports in the port region. If the VE or VLAN contains ports that are in different port regions, the rate limit policy is applied per port region. For example, TPD1 has a rate limit policy of 600M and is referenced in ACL 101. ACL 101 is applied to VE 1, which contains ports e 1/11 to e 1/14. Because ports e 1/11 and 1/12 are in a different port region than e 1/13 and 1/14, the rate limit policy will be 600M for ports e 1/11 and 1/12, and 600M for ports e 1/13 and 1/14.
By default, up to 1024 active traffic policies are supported on Layer 2 switches. This value is
fixed on Layer 2 switches and cannot be modified.
For FastIron devices other than the FCX, the number of active traffic policies supported on
Layer 3 switches varies depending on the configuration and the available system memory. The default value and also the maximum number of traffic policies supported on Layer 3 switches is 50.
On FCX devices, up to 1024 active traffic policies are supported on Layer 3 switches. This is
the default value as well as the maximum value.
NOTE
On FCX devices, by default 992 of the maximum of 1024 active traffic policies are applied. The other 32 are reserved and the show traff command returns zero references/bindings beyond the 992 traffic policies. The show default values command displays the maximum number of traffic conditioners that can be applied, in the hw-traffic-conditioner section of the results. The configurable tables and their defaults and maximum values can be obtained using the show default command.
1767
NOTE
NOTE
You must save the configuration and reload the software to place the change into effect. Syntax: [no] system-max hw-traffic-conditioner <num> The <num> variable is a value from 0 through n, where 0 disables hardware resources for traffic policies, and n is a number up to 50. The maximum number you can configure depends on the configuration and available memory on your device. If the configuration you enter causes the device to exceed the available memory, the device will reject the configuration and display a warning message on the console. Brocade does not recommend setting the system maximum for traffic policies to 0 (zero), because this renders traffic policies ineffective.
NOTE
1768
Specific VLAN members on a port (refer to Applying an IPv4 ACL to specific VLAN members on
a port (Layer 2 devices only) on page 1728)
A subset of ports on a virtual interface (refer to Applying an IPv4 ACL to a subset of ports on a
virtual interface (Layer 3 devices only) on page 1729)
NOTE
Fixed rate limiting Enforces a strict bandwidth limit. The device forwards traffic that is within
the limit but either drops all traffic that exceeds the limit, or forwards all traffic that exceeds the limit at the lowest priority level, according to the action specified in the traffic policy.
Adaptive rate limiting Enforces a flexible bandwidth limit that allows for bursts above the
limit. You can configure adaptive rate limiting to forward traffic, modify the IP precedence of and forward traffic, or drop traffic based on whether the traffic is within the limit or exceeds the limit.
2. Create an extended ACL entry or modify an existing extended ACL entry that references the traffic policy. Enter a command such as the following.
Brocade(config)#access-list 101 permit ip host 210.10.12.2 any traffic-policy TPD1
1769
The previous commands configure a fixed rate limiting policy that allows port e5 to receive a maximum traffic rate of 100 kbps. If the port receives additional bits during a given one-second interval, the port drops the additional inbound packets that are received within that one-second interval. Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action <action> [count] Syntax: access-list <num> permit | deny.... traffic policy <TPD name> Syntax: [no] ip access-group <num> in For brevity, some parameters were omitted from the access-list syntax. The software allows you to add a reference to a non-existent TPD in an ACL statement and to bind that ACL to an interface. The software does not issue a warning or error message for non-existent TPDs. Use the no form of the command to delete a traffic policy definition. Note that you cannot delete a traffic policy definition if it is currently in use on a port. To delete a traffic policy, first unbind the associated ACL. The traffic-policy <TPD name> parameter is the name of the traffic policy definition. This value can be eight or fewer alphanumeric characters. The rate-limit fixed <cir value>parameter specifies that the traffic policy will enforce a strict bandwidth.The <cir value> variable is the committed information rate in kbps. This value can be from 64 through 1,000,000 Kbps. The exceed-action <action> parameter specifies the action to be taken when packets exceed the configured committed information rate (CIR) value. Refer to Specifying the action to be taken for packets that are over the limit on page 1773. The count parameter is optional and enables ACL counting. Refer to ACL statistics and rate limit counting on page 1774.
NOTE
NOTE
1770
TABLE 289
Parameter
If a port receives more than the configured bit or byte rate in a one-second interval, the port will either drop or forward subsequent data in hardware, depending on the action you specify.
2. Create a new extended ACL entry or modify an existing extended ACL entry that references the traffic policy. Enter a command such as the following.
Brocade(config)#access-list 104 permit ip host 210.10.12.2 any traffic-policy TPDAfour
The previous commands configure an adaptive rate limiting policy that enforces a guaranteed committed rate of 10000 kbps on port e7 and allows bursts of up to 1600 bytes. It also enforces a peak rate of 20000 kbps and allows bursts of 4000 bytes above the PIR limit. If the port receives additional bits during a given one-second interval, the port drops all packets on the port until the next one-second interval starts. Syntax: [no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs value> exceed-action <action> [count] Syntax: access-list <num> permit | deny.... traffic policy <TPD name> Syntax: [no] ip access-group <num> in
NOTE
For brevity, some parameters were omitted from the access-list syntax.
1771
The software allows you to add a reference to a non-existent TPD in an ACL statement and to bind that ACL to an interface. The software does not issue a warning or error message for non-existent TPDs. Use the no form of the command to delete a traffic policy definition. Note that you cannot delete a traffic policy definition if it is currently in use on a port. To delete a traffic policy, first unbind the associated ACL. The traffic-policy <TPD name> parameter is the name of the traffic policy definition. This value can be eight or fewer alphanumeric characters. The rate-limit adaptive cir <cir value> specifies that the policy will enforce a flexible bandwidth limit that allows for bursts above the limit.The <cir value> variable is the committed information rate in kbps. Refer to Table 289. The cbs <cbs value> parameter is the committed burst size in bytes. Refer to Table 289. The pir <pir value> parameter is the peak information rate in kbps. Refer to Table 289. The pbs <pbs value> parameter is the peak burst size in bytes. Refer to Table 289. The exceed-action <action> parameter specifies the action to be taken when packets exceed the configured values. Refer to Specifying the action to be taken for packets that are over the limit on page 1773. The count parameter is optional and enables ACL counting. Refer to ACL statistics and rate limit counting on page 1774.
1772
Inspecting the 802.1p bit in the ACL for adaptive rate limiting
This feature is supported on FastIron X Series IPv6 devices and Brocade FCX Series devices only. It is not supported on FastIron WS Series devices. You can configure the Brocade device to rate limit traffic for a specified 802.1p priority value. To do so, complete the following configuration steps. 1. Create an adaptive rate limiting traffic policy. Enter command such as the following:
Brocade(config)#traffic-policy adap rate-limit adaptive cir 1000 cbs 1000 pir 2000 pbs 10000 exceed-action drop
NOTE
2. Create an IPv4 extended ACL or IPv6 ACL that includes the traffic policy and 802.1p priority matching value. Enter a command such as the following:
Brocade(config)#access-list 136 permit ip any any 802.1p-priority matching 3 traffic-policy adap
Use the show access-list accounting command to view accounting statistics. For more information, refer to Viewing ACL and rate limit counters on page 1776.
Specifying the action to be taken for packets that are over the limit
You can specify the action to be taken when packets exceed the configured CIR value for fixed rate limiting, or the CIR, CBS, PIR, and PBS values for adaptive rate limiting. You can specify one of the following actions:
Drop packets that exceed the limit. Permit packets that exceed the limit and forward them at the lowest priority level.
The command sets the fragment threshold at 10,000 packet fragments per second. If the port receives more than 10,000 packet fragments in a one-second interval, the device drops the excess fragments. Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action drop The following example shows an adaptive rate limiting configuration.
1773
Brocade(config)#traffic-policy TPDAfour rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000 exceed-action drop
The command configures an adaptive rate limiting policy that enforces a guaranteed committed rate of 10000 kbps and allows bursts of up to 1600 bytes. It also enforces a peak rate of 20000 kbps and allows bursts of 4000 bytes above the PIR limit. If the port receives additional bits during a given one-second interval, the port drops all packets on the port until the next one-second interval starts. Syntax: [no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs value> exceed-action drop
The command sets the fragment threshold at 10,000 packet fragments per second. If the port receives more than 10,000 packet fragments in a one-second interval, the device takes the specified action. The action specified with this command is to permit excess fragments and forward them at the lowest priority level. Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action permit-at-low-pri The following example shows an adaptive rate limiting configuration.
Brocade(config)#traffic-policy TPDAfour rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000 exceed-action permit-at-low-pri
The command configures an adaptive rate limiting policy that enforces a guaranteed committed rate of 10000 kbps and allows bursts of up to 1600 bytes. It also enforces a peak rate of 20000 kbps and allows bursts of 4000 bytes above the PIR limit. If the port receives additional bits during a given one-second interval, the port permits all packets on the port and forwards the packets at the lowest priority level. Syntax: [no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs value> exceed-action permit-at-low-pri
1774
The FastIron WS does not support the use of traffic policies for ACL statistics only. However, these models do support the use of traffic policies for ACL statistics together with rate limiting traffic policies. Refer to Enabling ACL statistics with rate limiting traffic policies on page 1776. Use the procedures in this section to configure ACL statistics. Before configuring ACL statistics, see what to consider in Configuration notes and feature limitations for traffic policies on page 1766. To enable ACL statistics on a FastIron X Series device, first create a traffic policy, and then reference the traffic policy in an extended ACL entry. Lastly, bind the ACL to an interface. The ACL counting policy becomes effective on ports to which the ACLs are bound. You also can enable ACL statistics when you create a traffic policy for rate limiting. Refer to Enabling ACL statistics with rate limiting traffic policies on page 1776. Complete the following steps to implement the ACL statistics feature. 1. Create a traffic policy. Enter a command such as the following.
Brocade(config)#traffic-policy TPD5 count
NOTE
2. Create an extended ACL entry or modify an existing extended ACL entry that references the traffic policy definition. Enter a command such as the following.
Brocade(config)#access-list 101 permit ip host 210.10.12.2 any traffic-policy TPD5
The previous commands configure an ACL counting policy and apply it to port e4. Port e4 counts the number of packets and the number of bytes on the port that were permitted or denied by ACL filters. Syntax: [no] traffic-policy <TPD name> count Syntax: access-list <num> permit | deny.... traffic policy <TPD name> Syntax: [no] ip access-group <num> in For brevity, some parameters were omitted from the access-list syntax. The software allows you to add a reference to a non-existent TPD in an ACL statement and to bind that ACL to an interface. The software does not issue a warning or error message for non-existent TPDs. Use the no form of the command to delete a traffic policy definition. Note that you cannot delete a traffic policy definition if it is currently in use on a port. To delete a traffic policy, first unbind the associated ACL.
NOTE
1775
The <TPD name> variable is the name of the traffic policy definition. This value can be eight alphanumeric characters or less.
Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> count Syntax: [no] traffic-policy <TPD name> rate-limit fixed <cir value> exceed-action <action> count To enable ACL counting while defining traffic policies for adaptive rate limiting, enter commands such as the following at the global CONFIG level of the CLI.
Brocade(config)#traffic-policy TPDA4 rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000 count Brocade(config)#traffic-policy TPDA5 rate-limit adaptive cir 10000 cbs 1600 pir 20000 pbs 4000 exceed-action permit-at-low-pri count
Syntax: [no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs value> count Syntax: [no] traffic-policy <TPD name> rate-limit adaptive cir <cir value> cbs <cbs value> pir <pir value> pbs <pbs value> exceed-action <action> count
NOTE
In the SX-FI48GPP module only, the outputs of these commands are identical with one exception. When ACL counting is shown by show statistics traffic-policy, the Packet Count is not supported and displays N/A. The following example shows the output from the show access-list accounting command.
1776
Brocade#show access-list accounting traffic-policy g_voip Traffic Policy - g_voip: General Counters: Port Region# Byte Count Packet Count ---------------------------------------------------------7 (4/1 - 4/12) 85367040 776064 All port regions 84367040 776064 Rate Limiting Counters: Port Region# Green Conformance Yellow Conformance Red Conformance ------------------ ------------------ ------------------ -----------------7 (4/1 - 4/12) 329114195612139520 37533986897781760 0 All port regions 329114195612139520 37533986897781760 0
Syntax: show access-list accounting traffic-policy [<TPD name>] or Syntax: show statistics traffic-policy [<TPD name>] The <TPD name> variable is the name of the traffic policy definition for which you want to display ACL and traffic policy counters. Table 290 explains the output of the show access-list accounting traffic-policy and show statistics traffic-policy commands.
TABLE 290
Parameter
Traffic Policy
General Counters
Port Region # Byte Count Packet Count The port region to which the active traffic policy applies. The number of bytes that were filtered (matched ACL clauses). The number of packets that were filtered (matched ACL clauses).
1777
or Syntax: clear statistics traffic-policy <TPD name> The <TPD name> is the name of the traffic policy definition for which you want to clear traffic policy counters.
pbs: 4000
Syntax: show traffic-policy [<TPD name>] To display all traffic policies, enter the show traffic-policy command without entering a TPD name.
TABLE 291
Parameter
Traffic Policy Metering
Shows whether or not rate limiting was configured as part of the traffic policy: Enabled The traffic policy includes a rate limiting configuration. Disabled The traffic policy does not include a rate limiting configuration.
Mode
If rate limiting is enabled, this field shows the type of metering enabled on the port: Fixed Rate-Limiting Adaptive Rate-Limiting
The committed information rate, in kbps, for the adaptive rate limiting policy. The committed burst size, in bytes per second, for the adaptive rate- imiting policy. The peak information rate, in kbps, for the adaptive rate limiting policy. The peak burst size, in bytes per second, for the adaptive rate limiting policy.
Shows whether or not ACL counting was configured as part of the traffic policy: Enabled Traffic policy includes an ACL counting configuration. Disabled Traffic policy does not include an ACL traffic counting configuration.
Number of References/Bindings
NOTE: This field does not apply to FastIron X Series devices. The number of port regions to which this traffic policy applies. For example, if the traffic policy is applied to a trunk group that includes ports e 9/9, 9/10, 9/11, and 9/12, the value in this field would be 2, because these four trunk ports are in two different port regions.
1778
CPU rate-limiting
CPU rate-limiting
Unnecessary traffic to the switch CPU lowers the efficiency of the CPU and delays handling of other traffic that requires processing. CPU rate limiting is a CPU protection scheme which limits certain traffic types. CPU rate limiting identifies the traffic type and assigns a maximum rate limit to the traffic type. The traffic types which are subjected to rate limiting include broadcast ARP and other exceptions, such as TTL exceed, IP MTU failed, reverse path check failed, IP fragments, and unsupported tunneling. Each of these types is rate-limited individually. Table 292 shows the rate limits for each rate-limited packet type and shows which platforms on which each rate limit applies. These rates cannot be configured by users currently.
TABLE 292
Packet type
ARP
Applicable platforms
All All All
IP TTL exceed, or Reverse path check failed IP MTU exceed, IP tunnel-terminated packets which are fragmented or has options, or IP tunnel-terminated packets with unsupported GRE tunnel header IP Unicast packets mirrored to CPU due to ICMP redirect Bridge packets forward to CPU
100 5000
All currently supported FastIron devices support the CPU rate-limiting feature. However, on the FSX devices, only the following modules support this feature:
1779
CPU rate-limiting
1780
Chapter
43
Table 293 lists individual Brocade switches and the 802.1X port security features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 293
Feature
FWS
FCX
ICX 6610
802.1X port security Multiple host authentication EAP pass-through support 802.1X accounting 802.1X dynamic assignment for ACL, MAC address filter, and VLAN Automatic removal of Dynamic VLAN for 802.1X ports RADIUS timeout action 802.1X and multi-device port authentication on the same port 802.1X and sFlow 802.1X username export support for encrypted and non-encrypted EAP types
RFC 2284 PPP Extensible Authentication Protocol (EAP) RFC 2865 Remote Authentication Dial In User Service (RADIUS) RFC 2869 RADIUS Extensions
1781
NOTE
Client/Supplicant
Authenticator The device that controls access to the network. In an 802.1X configuration, the Brocade device serves as the Authenticator. The Authenticator passes messages between the Client and the Authentication Server. Based on the identity information supplied by the Client, and the authentication information supplied by the Authentication Server, the Authenticator either grants or does not grant network access to the Client.
1782
Client/Supplicant The device that seeks to gain access to the network. Clients must be running software that supports the 802.1X standard (for example, the Windows XP operating system). Clients can either be directly connected to a port on the Authenticator, or can be connected by way of a hub. Authentication server The device that validates the Client and specifies whether or not the Client may access services on the device. Brocade supports Authentication Servers running RADIUS.
Authentication Server
RADIUS Messages
Authenticator PAE
Supplicant PAE
Authenticator PAE The Authenticator PAE communicates with the Supplicant PAE, receiving identifying information from the Supplicant. Acting as a RADIUS client, the Authenticator PAE passes the Supplicant information to the Authentication Server, which decides whether the Supplicant can gain access to the port. If the Supplicant passes authentication, the Authenticator PAE grants it access to the port. Supplicant PAE The Supplicant PAE supplies information about the Client to the Authenticator PAE and responds to requests from the Authenticator PAE. The Supplicant PAE can also initiate the authentication procedure with the Authenticator PAE, as well as send log off messages.
1783
FIGURE 190 Controlled and uncontrolled ports before and after client authentication
Authentication Server Authentication Server
PAE
Services
PAE
Services
Uncontrolled Port
Uncontrolled Port
Physical Port
Physical Port
PAE
PAE
802.1X-Enabled Supplicant
802.1X-Enabled Supplicant
Before Authentication
After Authentication
Before a Client is authenticated, only the uncontrolled port on the Authenticator is open. The uncontrolled port allows only EAPOL frames to be exchanged between the Client and the Authentication Server. The controlled port is in the unauthorized state and allows no traffic to pass through. During authentication, EAPOL messages are exchanged between the Supplicant PAE and the Authenticator PAE, and RADIUS messages are exchanged between the Authenticator PAE and the Authentication Server.Refer to Message exchange during authentication on page 1785 for an example of this process. If the Client is successfully authenticated, the controlled port becomes authorized, and traffic from the Client can flow through the port normally. By default, all controlled ports on the Brocade device are placed in the authorized state, allowing all traffic. When authentication is activated on an 802.1X-enabled interface, the interface controlled port is placed initially in the unauthorized state. When a Client connected to the port is successfully authenticated, the controlled port is then placed in the authorized state until the Client logs off. Refer to Enabling 802.1X port security on page 1802 for more information.
1784
FIGURE 191 Message exchange between client/supplicant, authenticator, and authentication server
Client/Supplicant FastIron Switch (Authenticator) RADIUS Server (Authentication Server)
Port Unauthorized
EAP-Request/Identity
EAP-Response/Identity
RADIUS Access-Request
EAP-Request/MD5-Challenge
RADIUS Access-Challenge
EAP-Response/Identity
RADIUS Access-Request
EAP-Success
RADIUS Access-Accept
Port Authorized
EAP-Logoff
Port Unauthorized
In this example, the Authenticator (the FastIron switch) initiates communication with an 802.1X-enabled Client. When the Client responds, it is prompted for a username (255 characters maximum) and password. The Authenticator passes this information to the Authentication Server, which determines whether the Client can access services provided by the Authenticator. When the Client is successfully authenticated by the RADIUS server, the port is authorized. When the Client logs off, the port becomes unauthorized again. The Brocade 802.1X implementation supports dynamic VLAN assignment. If one of the attributes in the Access-Accept message sent by the RADIUS server specifies a VLAN identifier, and this VLAN is available on the Brocade device, the client port is moved from its default VLAN to the specified VLAN. When the client disconnects from the network, the port is placed back in its default VLAN.Refer to Dynamic VLAN assignment for 802.1X port configuration on page 1794 for more information. If a Client does not support 802.1X, authentication cannot take place. The Brocade device sends EAP-Request/Identity frames to the Client, but the Client does not respond to them. When a Client that supports 802.1X attempts to gain access through a non-802.1X-enabled port, it sends an EAP start frame to the Brocade device. When the device does not respond, the Client considers the port to be authorized, and starts sending normal traffic. Brocade devices support Identity and MD5-challenge requests in EAP Request/Response messages as well as the following 802.1X authentication challenge types:
NOTE
Refer to also EAP pass-through support on page 1787.
1785
EAP-TLS (RFC 2716) EAP Transport Level Security (TLS) provides strong security by requiring
both client and authentication server to be identified and validated through the use of public key infrastructure (PKI) digital certificates. EAP-TLS establishes a tunnel between the client and the authentication server to protect messages from unauthorized users eavesdropping activities. Since EAP-TLS requires PKI digital certificates on both the clients and the authentication servers, the roll out, maintenance, and scalability of this authentication method is much more complex than other methods. EAP-TLS is best for installations with existing PKI certificate infrastructures.
EAP-TTLS (Internet-Draft) The EAP Tunnelled Transport Level Security (TTLS) is an extension
of EAP-TLS Like TLS, EAP-TTLS provides strong authentication; however it requires only the authentication server to be validated by the client through a certificate exchange between the server and the client. Clients are authenticated by the authentication server using user names and passwords. A TLS tunnel can be used to protect EAP messages and existing user credential services such as Active Directory, RADIUS, and LDAP. Backward compatibility for other authentication protocols such as PAP, CHAP, MS-CHAP, and MS-CHAP-V2 are also provided by EAP-TTLS. EAP-TTLS is not considered foolproof and can be fooled into sending identity credentials if TLS tunnels are not used. EAP-TTLS is suited for installations that require strong authentication without the use of mutual PKI digital certificates.
NOTE
1786
Syntax: [no] ip mtu <num> The <num> parameter specifies the MTU. Ethernet II packets can hold IP packets from 576 1500 bytes long. If jumbo mode is enabled, Ethernet II packets can hold IP packets from 576 10,222 bytes long. Ethernet SNAP packets can hold IP packets from 576 1492 bytes long. If jumbo mode is enabled, SNAP packets can hold IP packets from 576 to 10,214 bytes long. The default MTU is 1500 for Ethernet II packets and 1492 for SNAP packets.
Type
1
Value
<name> (string)
1787
192.168.9.22
Hub
If there are multiple hosts connected to a single 802.1X-enabled port, the Brocade device authenticates each of them individually. Each host authentication status is independent of the others, so that if one authenticated host disconnects from the network, it has no effect on the authentication status of any of the other authenticated hosts. By default, traffic from hosts that cannot be authenticated by the RADIUS server is dropped in hardware. You can optionally configure the Brocade device to assign the port to a restricted VLAN if authentication of the Client is unsuccessful.
1788
5. If authentication for the Client is unsuccessful the first time, multiple attempts to authenticate the client will be made as determined by the attempts variable in the auth-fail-max-attempts command.
Refer to Specifying the number of authentication attempts the device makes before
dropping packets on page 1808 for information on how to do this. 6. If authentication for the Client is unsuccessful more than the number of times specified by the attempts variable in the auth-fail-max-attempts command, an authentication-failure action is taken. The authentication-failure action can be either to drop traffic from the Client, or to place the port in a restricted VLAN:
If the authentication-failure action is to drop traffic from the Client, then the Client
dot1x-mac-session is set to access-denied, causing traffic from the Client to be dropped in hardware.
If the authentication-failure action is to place the port in a restricted VLAN, If the Client
dot1x-mac-session is set to access-restricted then the port is moved to the specified restricted VLAN, and traffic from the Client is forwarded normally. 7. When the Client disconnects from the network, the Brocade device deletes the Client dot1x-mac-session. This does not affect the dot1x-mac-session or authentication status (if any) of the other hosts connected on the port.
Configuration notes for 802.1x multiple-host authentication The Client dot1x-mac-session establishes a relationship between the username and MAC address used for authentication. If a user attempts to gain access from different Clients (with different MAC addresses), he or she would need to be authenticated from each Client.
If a Client has been denied access to the network (that is, the Client dot1x-mac-session is set
to access-denied), then you can cause the Client to be re-authenticated by manually disconnecting the Client from the network, or by using the clear dot1x mac-session command. Refer to Clearing a dot1x-mac-session for a MAC address on page 1809 for information on this command.
When a Client has been denied access to the network, its dot1x-mac-session is aged out if no
traffic is received from the Client MAC address over a fixed hardware aging period (70 seconds), plus a configurable software aging period. You can optionally change the software aging period for dot1x-mac-sessions or disable aging altogether. After the denied Client dot1x-mac-session is aged out, traffic from that Client is no longer blocked, and the Client can be re-authenticated. In addition, you can configure disable aging for the dot1x-mac-session of Clients that have been granted either full access to the network, or have been placed in a restricted VLAN. After a Client dot1x-mac-session ages out, the Client must be re-authenticated.Refer to Disabling aging for dot1x-mac-sessions on page 1808 for more information.
Dynamic IP ACL and MAC address filter assignment is supported in an 802.1X multiple-host
configuration. Refer to Dynamically applying IP ACLs and MAC address filters to 802.1X ports on page 1798.
802.1X multiple-host authentication has the following additions: Configurable hardware aging period for denied client dot1x-mac-sessions. Refer to
Configurable hardware aging period for denied client dot1x-mac-sessions on page 1790.
1789
Dynamic ACL and MAC address filter assignment in 802.1X multiple-host configurations.
Refer to Dynamically applying IP ACLs and MAC address filters to 802.1X ports on page 1798.
Dynamic multiple VLAN assignment for 802.1X ports. Refer Dynamic multiple VLAN
assignment for 802.1X ports on page 1795.
Configure an override to send failed dot1x and non-dot1x clients to a restricted VLAN. Configure VLAN assignments for clients attempting to gain access through dual-mode
ports.
Enhancements to some show commands. Differences in command syntax for saving dynamic VLAN assignments to the
startup-config file.
1790
802.1X accounting
When 802.1X port security is enabled on the Brocade device, you can enable 802.1X accounting. This feature enables the Brocade device to log information on the RADIUS server about authenticated 802.1X clients. The information logged on the RADIUS server includes the 802.1X client session ID, MAC address, and authenticating physical port number. 802.1X accounting works as follows. 1. A RADIUS server successfully authenticates an 802.1X client. 2. If 802.1X accounting is enabled, the Brocade device sends an 802.1X Accounting Start packet to the RADIUS server, indicating the start of a new session. 3. The RADIUS server acknowledges the Accounting Start packet. 4. The RADIUS server records information about the client. 5. When the session is concluded, the Brocade device sends an Accounting Stop packet to the RADIUS server, indicating the end of the session. 6. The RADIUS server acknowledges the Accounting Stop packet. To enable 802.1X accounting, refer to 802.1X accounting configuration on page 1810.
Configuring an authentication method list for 802.1X on page 1792 Setting RADIUS parameters on page 1792 Dynamic VLAN assignment for 802.1X port configuration on page 1794 (optional) Dynamically applying IP ACLs and MAC address filters to 802.1X ports on page 1798
Enabling 802.1X port security on page 1802 Initializing 802.1X on a port on page 1806 (optional)
3. Configure the device interaction with Clients:
Configuring periodic re-authentication on page 1803 (optional) Re-authenticating a port manually on page 1804 (optional) Setting the quiet period on page 1804 (optional) Setting the wait interval for EAP frame retransmissions on page 1805 (optional) Setting the maximum number of EAP frame retransmissions on page 1805 (optional) Specifying a timeout for retransmission of messages to the authentication server on page 1806 (optional)
Allowing access to multiple hosts on page 1807 (optional) MAC address filters for EAP frames on page 1809 (optional)
1791
Syntax: [no] aaa authentication dot1x default <method-list> For the <method-list>, enter at least one of the following authentication methods radius Use the list of all RADIUS servers that support 802.1X for authentication. none Use no authentication. The Client is automatically authenticated by other means, without the device using information supplied by the Client. If you specify both radius and none, make sure radius comes before none in the method list.
NOTE
Syntax: radius-server host <ip-addr> | <ipv6-addr> | <server-name> [auth-port <num> | acct-port <num> | default] [key 0 | 1 <string>] [dot1x] The host <ip-addr> | <ipv6-addr> | <server-name> parameter is either an IP address or an ASCII text string. The dot1x parameter indicates that this RADIUS server supports the 802.1X standard. A RADIUS server that supports the 802.1X standard can also be used to authenticate non-802.1X authentication requests.
NOTE
To implement 802.1X port security, at least one of the RADIUS servers identified to the Brocade device must support the 802.1X standard.
Username (1) RFC 2865 NAS-IP-Address (4) RFC 2865 NAS-Port (5) RFC 2865
1792
Service-Type (6) RFC 2865 FilterId (11) RFC 2865 Framed-MTU (12) RFC 2865 State (24) RFC 2865 Vendor-Specific (26) RFC 2865 Session-Timeout (27) RFC 2865 Termination-Action (29) RFC 2865 Calling-Station-ID (31) RFC 2865 NAS-Port-Type (61) RFC 2865 Tunnel-Type (64) RFC 2868 Tunnel-Medium-Type (65) RFC 2868 EAP Message (79) RFC 2579 Message-Authenticator (80) RFC 3579 Tunnel-Private-Group-Id (81) RFC 2868 NAS-Port-id (87) RFC 2869
Syntax: [no] dot1x auth-timeout-action success Once the success timeout action is enabled, use the no form of the command to reset the RADIUS timeout behavior to retry. Re-authenticate a user To configure RADIUS timeout behavior to bypass multi-device port authentication and permit user access to the network, enter commands similar to the following
1793
Syntax: [no] dot1x re-auth-timeout- success <seconds> The <seconds> parameter specifies the number of seconds the device will wait to re-authenticate a user after a timeout. The minimum value is 10 seconds. The maximum value is 216-1 (maximum unsigned 16-bit value). Deny user access to the network after a RADIUS timeout To set the RADIUS timeout behavior to bypass 802.1X authentication and block user access to the network, enter commands such as the following
Brocade(config)#interface ethernet 3/1 Brocade(config-if-e100-3/1)#dot1x auth-timeout-action failure
Syntax: [no] dot1x auth-timeout-action failure Once the failure timeout action is enabled, use the no form of the command to reset the RADIUS timeout behavior to retry.
NOTE
If restrict-vlan is configured along with auth-timeout-action failure, the user will be placed into a VLAN with restricted or limited access.Refer to Allow user access to a restricted VLAN after a RADIUS timeout on page 1794.
Syntax: [no] dot1x auth-timeout-action failure The commands auth-fail-action restrict-vlan and auth-fail-vlanid are supported in the global dot1x mode and are not supported at the port-level. The failure action of dot1x auth-timeout-action failure will follow the auth-fail-action defined at the global dot1x level.
NOTE
1794
This feature is supported on port-based VLANs only. This feature cannot be used to place an 802.1X-enabled port into a Layer 3 protocol VLAN.
NOTE
NOTE
When a show run command is issued during a session, the dynamically-assigned VLAN is not displayed. Enable 802.1X VLAN ID support by adding the following attributes to a user profile on the RADIUS server.
Attribute name
Tunnel-Type Tunnel-Medium-Type Tunnel-Private-Group-ID
Type
064 065 081
Value
13 (decimal) VLAN 6 (decimal) 802 <vlan-name> (string) either the name or the number of a VLAN configured on the Brocade device.
When the Brocade device receives the value specified for the Tunnel-Private-Group-ID
attribute, it checks whether the <vlan-name> string matches the name of a VLAN configured on the device. If there is a VLAN on the device whose name matches the <vlan-name> string, then the client port is placed in the VLAN whose ID corresponds to the VLAN name.
If the <vlan-name> string does not match the name of a VLAN, the Brocade device checks
whether the string, when converted to a number, matches the ID of a VLAN configured on the device. If it does, then the client port is placed in the VLAN with that ID.
If the <vlan-name> string does not match either the name or the ID of a VLAN configured on
the device, then the client will not become authorized. The show interface command displays the VLAN to which an 802.1X-enabled port has been dynamically assigned, as well as the port from which it was moved (that is, the port default VLAN).Refer to Displaying dynamically-assigned VLAN information on page 1816 for sample output indicating the port dynamically assigned VLAN.
1795
For example, to specify one VLAN, configure the following for the <vlan-name> value in the Tunnel-Private-Group-ID attribute on the RADIUS server. "10" or "marketing" In this example, the port on which the Client is authenticated is assigned to VLAN 10 or the VLAN named "marketing". The VLAN to which the port is assigned must have previously been configured on the Brocade device. Specifying an untagged VLAN To specify an untagged VLAN, use the following. "U:10" or "U:marketing" When the RADIUS server specifies an untagged VLAN ID, the port default VLAN ID (or PVID) is changed from the system DEFAULT-VLAN (VLAN 1) to the specified VLAN ID. The port transmits only untagged traffic on its PVID. In this example, the port PVID is changed from VLAN 1 (the DEFAULT-VLAN) to VLAN 10 or the VLAN named marketing. The PVID for a port can be changed only once through RADIUS authentication. For example, if RADIUS authentication for a Client causes a port PVID to be changed from 1 to 10, and then RADIUS authentication for another Client on the same port specifies that the port PVID be moved to 20, then the second PVID assignment from the RADIUS server is ignored. If the link goes down, or the dot1x-mac-session for the Client that caused the initial PVID assignment ages out, then the port reverts back to its original (non-RADIUS-specified) PVID, and subsequent RADIUS authentication can change the PVID assignment for the port. If a port PVID is assigned through the multi-device port authentication feature, and 802.1X authentication subsequently specifies a different PVID, then the PVID specified through 802.1X authentication overrides the PVID specified through multi-device port authentication. Specifying a tagged VLAN To specify a tagged VLAN, use the following. "T:12;T:20" or "T:12;T:marketing" In this example, the port is added to VLANs 12 and 20 or VLANs 12 and the VLAN named "marketing". When a tagged packet is authenticated, and a list of VLANs is specified on the RADIUS server for the MAC address, then the packet tag must match one of the VLANs in the list in order for the Client to be successfully authenticated. If authentication is successful, then the port is added to all of the VLANs specified in the list. Unlike with a RADIUS-specified untagged VLAN, if the dot1x-mac-session for the Client ages out, the port membership in RADIUS-specified tagged VLANs is not changed. In addition, if multi-device port authentication specifies a different list of tagged VLANs, then the port is added to the specified list of VLANs. Membership in the VLANs specified through 802.1X authentication is not changed. Specifying an untagged VLAN and multiple tagged VLANs To specify an untagged VLAN and multiple tagged VLANs, use the following. "U:10;T:12;T:marketing" When the RADIUS server returns a value specifying both untagged and tagged VLAN IDs, the port becomes a dual-mode port, accepting and transmitting both tagged traffic and untagged traffic at the same time. A dual-mode port transmits only untagged traffic on its default VLAN (PVID) and only tagged traffic on all other VLANs.
1796
In this example, the port VLAN configuration is changed so that it transmits untagged traffic on VLAN 10, and transmits tagged traffic on VLAN 12 and the VLAN named "marketing". For a configuration example, refer to 802.1X Authentication with dynamic VLAN assignment on page 1826.
Syntax: save-dynamicvlan-to-config By default, the dynamic VLAN assignments are not saved to the running-config file. Entering the show running-config command does not display dynamic VLAN assignments, although they can be displayed with the show vlan and show authenticated-mac-address detail commands. When this feature is enabled, issuing the command write mem will save any dynamic VLAN assignments to the startup configuration file.
NOTE
If the port is not already a member of a RADIUS-specified VLAN, and the RADIUS Access-Accept
message specifies the name or ID of a valid VLAN on the Brocade device, then the port is placed in that VLAN.
If the port is already a member of a RADIUS-specified VLAN, and the RADIUS Access-Accept
message specifies the name or ID of a different VLAN, then it is considered an authentication failure. The port VLAN membership is not changed.
If the port is already a member of a RADIUS-specified VLAN, and the RADIUS Access-Accept
message specifies the name or ID of that same VLAN, then traffic from the Client is forwarded normally.
If the RADIUS Access-Accept message specifies the name or ID of a VLAN that does not exist
on the Brocade device, then it is considered an authentication failure.
If the port is a tagged or dual-mode port, and the RADIUS Access-Accept message specifies the
name or ID of a valid VLAN on the Brocade device, then the port is placed in that VLAN. If the port is already a member of the RADIUS-specified VLAN, no further action is taken.
If the RADIUS Access-Accept message does not contain any VLAN information, the Client
dot1x-mac-session is set to access-is-allowed. If the port is already in a RADIUS-specified VLAN, it remains in that VLAN.
1797
The Filter-ID attribute can specify the number of an existing IP ACL or MAC address filter
configured on the Brocade device. In this case, the IP ACL or MAC address filter with the specified number is applied to the port.
The Vendor-Specific attribute can specify actual syntax for a Brocade IP ACL or MAC address
filter, which is then applied to the authenticated port. Configuring a Vendor-Specific attribute in this way allows you to create IP ACLs and MAC address filters that apply to individual users; that is, per-user IP ACLs or MAC address filters.
Configuration considerations for applying IP ACLs and MAC address filters to 802.1x ports
The following restrictions apply to dynamic IP ACLs or MAC address filters:
Inbound dynamic IP ACLs are supported. Outbound dynamic ACLs are not supported. Inbound Vendor-Specific attributes are supported. Outbound Vendor-Specific attributes are
not supported.
A maximum of one IP ACL can be configured in the inbound direction on an interface. 802.1X with dynamic MAC filter will work for one client at a time on a port. If a second client
tries to authenticate with 802.1X and dynamic MAC filter, the second client will be rejected.
MAC address filters cannot be configured in the outbound direction on an interface. Concurrent operation of MAC address filters and IP ACLs is not supported. A dynamic IP ACL will take precedence over an IP ACL that is bound to a port (port ACL). When
a client authenticates with a dynamic IP ACL, the port ACL will not be applied. Also, future clients on the same port will authenticate with a dynamic IP ACL or no IP ACL. If no clients on the port use dynamic ACL, then the port ACL will be applied to all traffic.
1798
Disabling and enabling strict security mode for dynamic filter assignment
By default, 802.1X dynamic filter assignment operates in strict security mode. When strict security mode is enabled, 802.1X authentication for a port fails if the Filter-ID attribute contains invalid information, or if insufficient system resources are available to implement the per-user IP ACLs or MAC address filters specified in the Vendor-Specific attribute. When strict security mode is enabled:
If the Filter-ID attribute in the Access-Accept message contains a value that does not refer to
an existing filter (that is, a MAC address filter or IP ACL configured on the device), then the port will not be authenticated, regardless of any other information in the message (for example, if the Tunnel-Private-Group-ID attribute specifies a VLAN on which to assign the port).
If the Vendor-Specific attribute specifies the syntax for a filter, but there are insufficient system
resources to implement the filter, then the port will not be authenticated.
If the device does not have the system resources available to dynamically apply a filter to a
port, then the port will not be authenticated.
NOTE
If the Access-Accept message contains values for both the Filter-ID and Vendor-Specific attributes, then the value in the Vendor-Specific attribute (the per-user filter) takes precedence. Also, if authentication for a port fails because the Filter-ID attribute referred to a non-existent filter, or there were insufficient system resources to implement the filter, then a Syslog message is generated.
If the Filter-ID attribute in the Access-Accept message contains a value that does not refer to
an existing filter (that is, a MAC address filter or IP ACL configured on the device), then the port is still authenticated, but no filter is dynamically applied to it.
If the Vendor-Specific attribute specifies the syntax for a filter, but there are insufficient system
resources to implement the filter, then the port is still authenticated, but the filter specified in the Vendor-Specific attribute is not applied to the port. By default, strict security mode is enabled for all 802.1X-enabled interfaces, but you can manually disable or enable it, either globally or for specific interfaces.
After you globally disable strict security mode, you can re-enable it by entering the following command.
Brocade(config-dot1x)#global-filter-strict-security
1799
Syntax: [no] global-filter-strict-security To disable strict security mode for a specific interface, enter commands such as the following.
Brocade(config)#interface e 1 Brocade(config-if-e1000-1)#dot1x disable-filter-strict-security
To re-enable strict security mode for an interface, enter the following command.
Brocade(config-if-e1000-1)#no dot1x disable-filter-strict-security
Syntax: [no] dot1x disable-filter-strict-security The output of the show dot1x and show dot1x config commands has been enhanced to indicate whether strict security mode is enabled or disabled globally and on an interface. Refer to Displaying the status of strict security mode on page 1819.
Description
Applies the specified numbered ACL to the 802.1X authenticated port in the inbound direction. Applies the specified named ACL to the 802.1X authenticated port in the inbound direction. Applies the specified numbered MAC address filter to the 802.1X authenticated port in the inbound direction.
The following table lists examples of values you can assign to the Filter-ID attribute on the RADIUS server to refer to IP ACLs and MAC address filters configured on a Brocade device.
Possible values for the filter ID attribute on the RADIUS server
ip.2.in ip.102.in ip.fdry_filter.in mac.2.in mac.2.in mac.3.in
1800
Dynamic ACL filters are supported only for the inbound direction. Dynamic outbound ACL
filters are not supported.
MAC address filters are supported only for the inbound direction. Outbound MAC address
filters are not supported.
Dynamically assigned IP ACLs and MAC address filters are subject to the same configuration
restrictions as non-dynamically assigned IP ACLs and MAC address filters.
NOTE
Description
Applies the specified extended ACL entries to the 802.1X authenticated port in the inbound direction. Applies the specified MAC address filter entries to the 802.1X authenticated port in the inbound direction.
The following table shows examples of IP ACLs and MAC address filters configured in the Brocade Vendor-Specific attribute on a RADIUS server. These IP ACLs and MAC address filters follow the same syntax as other Brocade ACLs and MAC address filters. Refer to the related chapters in this book for information on syntax.
ACL or MAC address filter
MAC address filter with one entry MAC address filter with two entries
The RADIUS server allows one instance of the Vendor-Specific attribute to be sent in an Access-Accept message.
1801
Syntax: [no] dot1x-enable At the dot1x configuration level, you can enable 802.1X port security on all interfaces at once, on individual interfaces, or on a range of interfaces. For example, to enable 802.1X port security on all interfaces on the device, enter the following command.
Brocade(config-dot1x)#enable all
Syntax: [no] enable all To enable 802.1X port security on interface 3/11, enter the following command.
Brocade(config-dot1x)#enable ethernet 3/11
Syntax: [no] enable ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
To enable 802.1X port security on interfaces 3/11 through 3/16, enter the following command.
Brocade(config-dot1x)#enable ethernet 3/11 to 3/16
Syntax: [no] enable ethernet <port> to <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The controlled port can be either the authorized or unauthorized state. In the authorized state,
it allows normal traffic to pass between the Client and the Authenticator. In the unauthorized state, no traffic is allowed to pass.
The uncontrolled port allows only EAPOL traffic between the Client and the Authentication
Server. Refer to Figure 190 for an illustration of this concept.
1802
By default, all controlled ports on the device are in the authorized state, allowing all traffic. When you activate authentication on an 802.1X-enabled interface, its controlled port is placed in the unauthorized state. When a Client connected to the interface is successfully authenticated, the controlled port is then placed in the authorized state. The controlled port remains in the authorized state until the Client logs off. To activate authentication on an 802.1X-enabled interface, you configure the interface to place its controlled port in the authorized state when a Client is authenticated by an Authentication Server. To do this, enter commands such as the following.
Brocade(config)#interface e 3/1 Brocade(config-if-3/1)#dot1x port-control auto
Syntax: [no] dot1x port-control [force-authorized | force-unauthorized | auto] When an interface control type is set to auto, the controlled port is initially set to unauthorized, but is changed to authorized when the connecting Client is successfully authenticated by an Authentication Server. The port control type can be one of the following force-authorized The controlled port is placed unconditionally in the authorized state, allowing all traffic. This is the default state for ports on the Brocade device. force-unauthorized The controlled port is placed unconditionally in the unauthorized state. auto The controlled port is unauthorized until authentication takes place between the Client and Authentication Server. Once the Client passes authentication, the port becomes authorized. This activates authentication on an 802.1X-enabled interface. You cannot enable 802.1X port security on ports that have any of the following features enabled:
NOTE
Link aggregation Metro Ring Protocol (MRP) Mirror port Trunk port
Syntax: [no] re-authentication To configure periodic re-authentication with an interval of 2,000 seconds, enter the following commands.
Brocade(config-dot1x)#re-authentication Brocade(config-dot1x)#timeout re-authperiod 2000
1803
Syntax: [no] timeout re-authperiod <seconds> The re-authentication interval is a global setting, applicable to all 802.1X-enabled interfaces. To re-authenticate Clients connected to a specific port manually, use the dot1x re-authenticate command. Refer to Re-authenticating a port manually, below.
Syntax: dot1x re-authenticate ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Specifying the wait interval and number of EAP-request/ identity frame retransmissions from the Brocade device
When the Brocade device sends an EAP-request/identity frame to a Client, it expects to receive an EAP-response/identity frame from the Client. By default, if the Brocade device does not receive an EAP-response/identity frame from a Client, the device waits 30 seconds, then retransmits the EAP-request/identity frame. Also by default, the Brocade device retransmits the EAP-request/identity frame a maximum of two times. You can optionally configure the amount of time the device will wait before retransmitting an EAP-request/identity frame, and the number of times the EAP-request/identity frame will be transmitted. This section provides the command syntax for these features.
1804
If the Client does not send back an EAP-response/identity frame within 60 seconds, the device will transmit another EAP-request/identity frame. Syntax: [no] timeout tx-period <seconds> where <seconds> is a value from 1 4294967295. The default is 30 seconds.
Wait interval and number of EAP-request/ identity frame retransmissions from the RADIUS server
Acting as an intermediary between the RADIUS Authentication Server and the Client, the Brocade device receives RADIUS messages from the RADIUS server, encapsulates them as EAPOL frames, and sends them to the Client. By default, when the Brocade device relays an EAP-Request frame from the RADIUS server to the Client, it expects to receive a response from the Client within 30 seconds. If the Client does not respond within the allotted time, the device retransmits the EAP-Request frame to the Client. Also by default, the Brocade device retransmits the EAP-request frame twice. If no EAP-response frame is received from the Client after two EAP-request frame retransmissions, the device restarts the authentication process with the Client. You can optionally configure the amount of time the device will wait before retransmitting an EAP-request/identity frame, and the number of times the EAP-request/identity frame will be transmitted. This section provides the command syntax for these features.
1805
Syntax: supptimeout <seconds> <seconds> is a number from 1 4294967295 seconds. The default is 30 seconds.
Syntax: dot1x initialize ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum>
1806
Specify the authentication-failure action Specify the number of authentication attempts the device makes before dropping packets Disabling aging for dot1x-mac-sessions Configure aging time for blocked clients Clear the dot1x-mac-session for a MAC address
Specifying the authentication-failure action In an 802.1X multiple-host configuration, if RADIUS authentication for a client is unsuccessful, either traffic from that client is dropped in hardware (the default), or the client port is placed in a restricted VLAN. You can specify which of these authentication-failure actions to use. When you enable 802.1X, the default authentication-failure action is to drop client traffic. If you configure the authentication-failure action to place the client port in a restricted VLAN, you can specify the ID of the restricted VLAN. If you do not specify a VLAN ID, the default VLAN is used. You can configure the authentication-failure action using one of the following methods:
Configure the same authentication-failure action for all ports on the device (globally). Configure an authentication-failure action on individual ports.
You cannot configure the authentication-failure action globally and per-port at the same time. To configure the authentication-failure action for all ports on the device to place the client port in a restricted VLAN, enter the following commands.
Brocade(config)# dot1x-enable Brocade(config-dot1x)#auth-fail-action restricted-vlan
NOTE
Syntax: [no] auth-fail-action restricted-vlan To specify VLAN 300 as the restricted VLAN for all ports on the device, enter the auth-fail-vlanid <num> command.
Brocade(config-dot1x)# auth-fail-vlanid 300
1807
To specify on an individual port that the authentication-failure action is to place the client port in restricted VLAN 300, enter the following command at the interface configuration level.
Brocade(config-if-e1000-1/1/1)# dot1x auth-fail-action restrict-vlan 300
Syntax: [no] dot1x auth-fail-action restrict-vlan <vlan-id> Specifying the number of authentication attempts the device makes before dropping packets When the authentication-failure action is to drop traffic from the Client, and the initial authentication attempt made by the device to authenticate the Client is unsuccessful, the Brocade device immediately retries to authenticate the Client. After three unsuccessful authentication attempts, the Client dot1x-mac-session is set to access-denied, causing traffic from the Client to be dropped in hardware. Optionally, you can configure the number of authentication attempts the device makes before dropping traffic from the Client. To do so, enter a command such as the following.
Brocade(config-dot1x)# auth-fail-max-attempts 2
Syntax: [no] auth-fail-max-attempts <attempts> By default, the device makes three attempts to authenticate a Client before dropping packets from the Client. You can specify from 1 through 10 authentication attempts. Disabling aging for dot1x-mac-sessions The dot1x-mac-sessions for Clients authenticated or denied by a RADIUS server are aged out if no traffic is received from the Client MAC address for a certain period of time. After a Client dot1x-mac-session is aged out, the Client must be re-authenticated:
Syntax: [no] mac-session-aging no-aging permitted-mac-only To disable aging of the denied dot1x-mac-sessions, enter the following command.
Brocade(config-dot1x)#mac-session-aging no-aging denied-mac-only
NOTE
This command enables aging of permitted sessions. As a shortcut, use the command [no] mac-session-aging to enable or disable aging for permitted and denied sessions.
1808
Specifying the aging time for blocked clients When the Brocade device is configured to drop traffic from non-authenticated Clients, traffic from the blocked Clients is dropped in hardware, without being sent to the CPU. A Layer 2 CAM entry is created that drops traffic from the blocked Client MAC address in hardware. If no traffic is received from the blocked Client MAC address for a certain amount of time, this Layer 2 CAM entry is aged out. If traffic is subsequently received from the Client MAC address, then an attempt can be made to authenticate the Client again. Aging of the Layer 2 CAM entry for a blocked Client MAC address occurs in two phases, known as hardware aging and software aging. The hardware aging period is fixed at 70 seconds and is non-configurable. The software aging time is configurable through the CLI. Once the Brocade device stops receiving traffic from a blocked Client MAC address, the hardware aging begins and lasts for a fixed period of time. After the hardware aging period ends, the software aging period begins. The software aging period lasts for a configurable amount of time (by default 120 seconds). After the software aging period ends, the blocked Client MAC address ages out, and can be authenticated again if the Brocade device receives traffic from the Client MAC address. Change the length of the software aging period for a blocked Client MAC address by entering the mac-session-aging max-age <num> command.
Brocade(config)#mac-session-aging max-age 180
Syntax: [no] mac-session-aging max-age <seconds> You can specify from 1 65535 seconds. The default is 120 seconds. Clearing a dot1x-mac-session for a MAC address You can clear the dot1x-mac-session for a specified MAC address, so that the Client with that MAC address can be re-authenticated by the RADIUS server.
Example
Brocade#clear dot1x mac-session 00e0.1234.abd4
1809
Refer to Defining MAC address filters on page 1849 for more information.
Once the success timeout action is enabled, use the no form of the command to reset the RADIUS timeout behavior to retry. Syntax: timeout restrict-fwd-period <num> The <num> parameter is a value from 0 to 4294967295. The default value is 10.
The user name The session ID The user MAC address The authenticating physical port number
An Accounting Start packet is sent to the RADIUS server when a user is successfully authenticated. The Start packet indicates the start of a new session and contains the user MAC address and physical port number. The 802.1X session state will change to Authenticated and Permit after receiving a response from the accounting server for the accounting Start packet. If the Accounting service is not available, the 802.1X session status will change to Authenticated and Permit after a RADIUS timeout. The device will retry authentication requests three times (the default), or the number of times configured on the device. An Accounting Stop packet is sent to the RADIUS server when one of the following events occur:
The user logs off The port goes down The port is disabled The user fails to re-authenticate after a RADIUS timeout
1810
The 802.1X port control-auto configuration changes The MAC session clears (through use of the clear dot1x mac-session CLI command)
The Accounting Stop packet indicates the end of the session and the time the user logged out.
TABLE 294
Attribute name
Data Type
Integer integer
Description
The account session ID, which is a number from 1 to 4294967295. Indicates whether the accounting request marks the beginning (start) or end (stop) of the user service. 1 Start 2 Stop The supplicant MAC address in ASCII format (upper case only), with octet values separated by a dash (-). For example 00-10-A4-23-19-C0 The physical port number. The physical port type. The user name.
Acct-Session-ID Acct-Status-Type
Calling-Station-Id
31
string
5 61 1
Syntax: aaa accounting dot1x default start-stop radius | none radius Use the list of all RADIUS servers that support 802.1X for authentication. none Use no authentication. The client is automatically authenticated without the device using information supplied by the client.
NOTE
If you specify both radius and none, make sure radius comes before none.
1811
The 802.1X configuration on the device and on individual ports Statistics about the EAPOL frames passing through the device 802.1X-enabled ports dynamically assigned to a VLAN User-defined and dynamically applied MAC address filters and IP ACLs currently active on the device
Syntax: show dot1x The following table describes the information displayed by the show dot1x command.
TABLE 295
Field
global-filter-strict-security quiet-period
1812
TABLE 295
Field
tx-period
supp-timeout
server-timeout
maxreq
re-authperiod
Protocol Version
To display information about the 802.1X configuration on an individual port, enter the show dot1x configuration ethernet command.
Brocade#show dot1x configuration Port-Control : filter strict security : Action on RADIUS timeout : re-authenticate : PVID State : Original PVID : PVID mac total : PVID mac authorized : num mac sessions : num mac authorized : Number of Auth filter : ethernet 1/3 control-auto Enable Treat as a failed authentication 150 seconds Normal (101) 101 1 1 1 1 0
Syntax: show dot1x config ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1813
The following additional information is displayed in the show dot1x config command for an interface.
TABLE 296
Field
The current status of the Backend Authentication state machine. This can be REQUEST, RESPONSE, SUCCESS, FAIL, TIMEOUT, IDLE, or INITIALIZE. Indicates whether an unauthorized controlled port exerts control over communication in both directions (disabling both reception of incoming frames and transmission of outgoing frames), or just in the incoming direction (disabling only reception of incoming frames). On Brocade devices, this parameter is set to BOTH. The setting for the OperControlledDirections parameter, as defined in the 802.1X standard. According to the 802.1X standard, if the AdminControlledDirections parameter is set to BOTH, the OperControlledDirections parameter is unconditionally set to BOTH. Since the AdminControlledDirections parameter on Brocade devices is always set to BOTH, the OperControlledDirections parameter is also set to BOTH. The port control type configured for the interface. If set to auto, authentication is activated on the 802.1X-enabled interface. The current status of the interface controlled port either authorized or unauthorized. Whether the port is configured to allow multiple Supplicants accessing the interface on the Brocade device through a hub. Refer to Allowing access to multiple hosts on page 1807 for information on how to change this setting.
AdminControlledDirections
OperControlledDirections
1814
Syntax: show dot1x statistics ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The following table describes the information displayed by the show dot1x statistics command for an interface.
TABLE 297
Field
RX EAPOL Start RX EAPOL Logoff RX EAPOL Invalid RX EAPOL Total RX EAP Resp/Id RX EAP Resp other than Resp/Id RX EAP Length Error Last EAPOL Version Last EAPOL Source TX EAPOL Total TX EAP Req/Id TX EAP Req other than Req/Id
1815
Syntax: clear dot1x statistics all To clear the 802.1X statistics counters on interface e 3/11, enter the following command.
Brocade#clear dot1x statistics e 3/11
Syntax: clear dot1x statistics ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
In this example, the 802.1X-enabled port has been moved from VLAN 1 to VLAN 2. When the client disconnects, the port will be moved back to VLAN 1.
1816
The show run command also indicates the VLAN to which the port has been dynamically assigned. The output can differ depending on whether GARP VLAN Registration Protocol (GVRP) is enabled on the device:
Without GVRP When you enter the show run command, the output indicates that the port is a
member of the VLAN to which it was dynamically assigned through 802.1X. If you then enter the write memory command, the VLAN to which the port is currently assigned becomes the port default VLAN in the device configuration.
With GVRP When you enter the show run command, if the VLAN name supplied by the
RADIUS server corresponds to a VLAN learned through GVRP, then the output indicates that the port is a member of the VLAN to which it was originally assigned (not the VLAN to which it was dynamically assigned). If the VLAN name supplied by the RADIUS server corresponds to a statically configured VLAN, the output indicates that the port is a member of the VLAN to which it was dynamically assigned through 802.1X. If you then enter the write memory command, the VLAN to which the port is currently assigned becomes the port default VLAN in the device configuration.
Displaying information about dynamically applied MAC address filters and IP ACLs
You can display information about currently active user-defined and dynamically applied MAC address filters and IP ACLs.
Syntax: show dot1x mac-address-filter To display the user-defined IP ACLs active on the device, enter the show dot1x ip-ACL command.
Brocade#show dot1x ip-ACL Port 1/3 (User defined IP ACLs): Extended IP access list Port_1/3_E_IN permit udp any any Extended IP access list Port_1/3_E_OUT permit udp any any
1817
Syntax: show dot1x mac-address-filter all | ethernet <port> The all keyword displays all dynamically applied MAC address filters active on the device. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
To display the dynamically applied IP ACLs active on an interface, enter a command such as the following.
Brocade#show dot1x ip-ACL e 1/3 Port 1/3 IP ACL information: 802.1X dynamic IP ACL (user defined) in: ip access-list extended Port_1/3_E_IN in Port default IP ACL in: No inbound ip access-list is set 802.1X dynamic IP ACL (user defined) out: ip access-list extended Port_1/3_E_OUT out Port default IP ACL out: No outbound ip access-list is set
Syntax: show dot1x ip-ACL all | ethernet <port> The all keyword displays all dynamically applied IP ACLs active on the device. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1818
Syntax: show dot1x Displaying the status of strict security mode on an interface To display the status of strict security mode on an interface, enter a command such as the following
Brocade#show dot1x config e 1/3 Port 1/3 Configuration: Authenticator PAE state: AUTHENTICATED Backend Authentication state: IDLE AdminControlledDirections: BOTH OperControlledDirections: BOTH AuthControlledPortControl: Auto AuthControlledPortStatus: authorized quiet-period: 60 Seconds tx-period: 30 Seconds supptimeout: 30 Seconds servertimeout: 30 Seconds maxreq: 2 re-authperiod: 3600 Seconds security-hold-time: 60 Seconds re-authentication: Disable multiple-hosts: Disable filter-strict-security: Enable Protocol Version: 1
Syntax: show dot1x config ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum>
1819
Information about the 802.1X multiple-host configuration The dot1x-mac-sessions on each port The number of users connected on each port in a 802.1X multiple-host configuration
Syntax: show dot1x Table 298 describes the bold fields in the display.
TABLE 298
Field
Output from the show dot1x command for multiple host authentication
Description
The configured authentication-failure action. This can be Restricted VLAN or Block Traffic. If the authentication-failure action is Restricted VLAN, the ID of the VLAN to which unsuccessfully authenticated Client ports are assigned. Whether aging for dot1x-mac-sessions has been enabled or disabled for permitted or denied dot1x-mac-sessions.
1820
TABLE 298
Field
Output from the show dot1x command for multiple host authentication (Continued)
Description
The configured software aging time for dot1x-mac-sessions. The dynamically assigned IP ACLs and MAC address filters used in the 802.1X multiple-host configuration.
The output of the show dot1x config command for an interface displays the configured port control for the interface. This command also displays information related to 802.1X multiple host-authentication. The following is an example of the output of the show dot1x config command for an interface.
Brocade#show dot1x config e 3/1 Port-Control filter strict security PVID State Original PVID PVID mac total PVID mac authorized num mac sessions num mac authorized : : : : : : : : control-auto Enable Restricted (10) 10 1 0 1 0
Syntax: show dot1x config ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
TABLE 299
Field
Port-Control
1821
TABLE 299
Field
Syntax: show dot1x mac-session Table 300 lists the new fields in the display.
TABLE 300
Field
Port
1822
Syntax: show dot1x mac-session brief The following table describes the information displayed by the show dot1x mac-session brief command.
TABLE 301
Field
Port
1823
Point-to-point configuration
Figure 193 illustrates a sample 802.1X configuration with Clients connected to three ports on the Brocade device. In a point-to-point configuration, only one 802.1X Client can be connected to each port.
192.168.9.22
1824
Hub configuration
Figure 194 illustrates a configuration where three 802.1X-enabled Clients are connected to a hub, which is connected to a port on the Brocade device. The configuration is similar to that in Figure 193, except that 802.1X port security is enabled on only one port, and the multiple-hosts command is used to allow multiple Clients on the port.
192.168.9.22
Hub
1825
FIGURE 195 Sample configuration using 802.1X authentication with dynamic VLAN assignment
RADIUS Server Tunnel-Private-Group-ID: User 1 -> U:3 User 2 -> U:20
In this example, the PVID for port e2 would be changed based on the first host to be successfully authenticated. If User 1 is authenticated first, then the PVID for port e2 is changed to VLAN 3. If User 2 is authenticated first, then the PVID for port e2 is changed to VLAN 20. Since a PVID cannot be changed by RADIUS authentication after it has been dynamically assigned, if User 2 is authenticated after the port PVID was changed to VLAN 3, then User 2 would not be able to gain access to the network. If there were only one device connected to the port, and authentication failed for that device, it could be placed into the restricted VLAN, where it could gain access to the network. The portion of the running-config related to 802.1X authentication is as follows.
dot1x-enable re-authentication servertimeout 10 timeout re-authperiod 10 auth-fail-action restricted-vlan auth-fail-vlanid 1023 mac-session-aging no-aging permitted-mac-only enable ethe 2 to 4 ! !
1826
If User 1 is successfully authenticated before User 2, the PVID for port e2 would be changed from the default VLAN to VLAN 3. Had User 2 been the first to be successfully authenticated, the PVID would be changed to 20, and User 1 would not be able to gain access to the network. If there were only one device connected to the port that was sending untagged traffic, and 802.1X authentication failed for that device, it would be placed in the restricted VLAN 1023, and would be able to gain access to the network.
The multi-device port authentication feature allows you to configure a Brocade device to
forward or block traffic from a MAC address based on information received from a RADIUS server. Incoming traffic originating from a given MAC address is switched or forwarded by the device only if the source MAC address is successfully authenticated by a RADIUS server. The MAC address itself is used as the username and password for RADIUS authentication. A connecting user does not need to provide a specific username and password to gain access to the network.
The IEEE 802.1X standard is a means for authenticating devices attached to LAN ports. Using
802.1X port security, you can configure a Brocade device to grant access to a port based on information supplied by a client to an authentication server. When both of these features are enabled on the same port, multi-device port authentication is performed prior to 802.1X authentication. If multi-device port authentication is successful, 802.1X authentication may be performed, based on the configuration of a vendor-specific attribute (VSA) in the profile for the MAC address on the RADIUS server. For more information, including configuration examples, see Multi-device port authentication and 802.1X security on the same port on page 1845.
1827
1828
Chapter
44
Table 302 lists the individual Brocade FastIron switches and the Media Access Control (MAC) port security features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 302
Feature
FWS
FCX
ICX 6610
MAC port security Setting the maximum number of secure MAC addresses on an interface Setting the port security age timer Specifying secure MAC addresses Autosaving secure MAC addresses to the startup-config file Specifying the action taken when a security violation occurs Clearing port security statistics
This chapter describes how to configure Brocade devices to learn secure MAC addresses on an interface so that the interface will forward only packets that match the secure addresses.
1829
MAC port security applies only to Ethernet interfaces. MAC port security is not supported on static trunk group members or ports that are configured
for link aggregation.
1830
Brocade devices do not support the reserved-vlan-id <num> command, which changes the
default VLAN ID for the MAC port security feature.
The SNMP trap generated for restricted MAC addresses indicates the VLAN ID associated with
the MAC address, as well as the port number and MAC address.
MAC port security is not supported on ports that have multi-device port authentication
enabled.
The first packet from each new secure MAC address is dropped if secure MAC addresses are
learned dynamically.
Enable the MAC port security feature Set the maximum number of secure MAC addresses for an interface Set the port security age timer Specify secure MAC addresses Configure the device to automatically save secure MAC addresses to the startup-config file Specify the action taken when a security violation occurs
To disable the feature on all interfaces at once, enter the following commands.
Brocade(config)#port security Brocade(config-port-security)#no enable
1831
Syntax: maximum <number-of-addresses> The <number-of-addresses> parameter can be set to a number from 0 through 64 plus (the total number of global resources available). The total number of global resources is 2048 or 4096, depending on flash memory size. Setting the parameter to 0 prevents any addresses from being learned. The default is 1.
To set the port security age timer to 10 minutes on a specific interface, enter the following commands.
Brocade(config)#interface ethernet 7/11 Brocade(config-if-e1000-7/11)#port security Brocade(config-port-security-e1000-7/11)#age 10
Syntax: [no] age <minutes> The <minutes> variable specifies a range from 0 through 1440 minutes.The default is 0 (never age out secure MAC addresses). Even though you can set age time to specific ports independent of the device-level setting, the actual age timer will take the greater of the two values. Thus, if you set the age timer to 3 minutes for the port, and 10 minutes for the device, the port MAC aging happens in 10 minutes (the device-level setting), which is greater than the port setting that you have configured.
NOTE
1832
On an untagged interface
To specify a secure MAC address on an untagged interface, enter commands such as the following.
Brocade(config)#interface ethernet 7/11 Brocade(config-if-e1000-7/11)#port security Brocade(config-port-security-e1000-7/11)#secure-mac-address 0050.DA18.747C
On a tagged interface
When specifying a secure MAC address on a tagged interface, you must also specify the VLAN ID. To do so, enter commands such as the following.
Brocade(config)#interface ethernet 7/11 Brocade(config-if-e1000-7/11)#port security Brocade(config-port-security-e1000-7/11)#secure-mac-address 0050.DA18.747C 2
Syntax: [no] secure-mac-address <mac-address> <vlan-ID> If MAC port security is enabled on a port and you change the VLAN membership of the port, make sure that you also change the VLAN ID specified in the secure-mac-address configuration statement for the port. When a secure MAC address is applied to a tagged port, the VLAN ID is generated for both tagged and untagged ports. When you display the configuration, you will see an entry for the secure MAC addresses. For example, you might see an entry similar to the following line.
secure-mac-address 0000.1111.2222 10
NOTE
This line means that MAC address 0000.1111.2222 on VLAN 10 is a secure MAC address.
Syntax: [no] autosave <minutes> The <minutes> variable can be from 15 through 1440 minutes. By default, secure MAC addresses are not autosaved to the startup-config file.
1833
If you change the autosave interval, the next save happens according to the old interval, then the new interval takes effect. To change the interval immediately, disable autosave by entering the no autosave command, then configure the new autosave interval using the autosave command.
NOTE
When the restrict option is used, the maximum number of MAC addresses that can be restricted is 128. If the number of violating MAC addresses exceeds this number, the port is shut down. An SNMP trap and the following Syslog message are generated: "Port Security violation restrict limit 128 exceeded on interface ethernet <port_id>". This is followed by a port shutdown Syslog message and trap. Specifying the period of time to drop packets from a violating address To specify the number of minutes that the device drops packets from a violating address, use commands similar to the following.
Brocade(config)#interface ethernet 7/11 Brocade(config-if-e1000-7/11)#port security Brocade(config-port-security-e1000-7/11)#violation restrict 5
Syntax: violation restrict <age> The <age> variable can be from 0 through 1440 minutes. The default is 5 minutes. Specifying 0 drops packets from the violating address permanently. Aging for restricted MAC addresses is done in software. There can be a worst case inaccuracy of one minute from the specified time. The restricted MAC addresses are denied in hardware.
1834
To shut down the port for 5 minutes when a security violation occurs, enter the following commands.
Brocade(config)#interface ethernet 7/11 Brocade(config-if-e1000-7/11)#port security Brocade(config-port-security-e1000-7/11)#violation shutdown 5
Syntax: violation shutdown <minutes> The minutes can be from 0 through 1440 minutes. Specifying 0 shuts down the port permanently when a security violation occurs.
To clear restricted MAC addresses on a specific port, enter a command such as the following.
Brocade#clear port security restricted-macs ethernet 5
Syntax: clear port security restricted-macs all | ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
To clear violation statistics on a specific port, enter a command such as the following.
Brocade#clear port security statistics ethernet 1/5
Syntax: clear port security statistics all | ethernet <port> Specify the <port> variable in one of the following formats:
FastIron Configuration Guide 53-1002494-01
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1835
The port security settings for an individual port or for all the ports on a specified module The secure MAC addresses configured on the device Port security statistics for an interface or for a module
Syntax: show port security ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum> Output from the show port security ethernet command
Description
The slot and port number of the interface. Whether the port security feature has been enabled on the interface. The action to be undertaken when a security violation occurs, either shutdown or restrict. The number of seconds a port is shut down following a security violation, if the port is set to shutdown when a violation occurs. The amount of time, in minutes, MAC addresses learned on the port will remain secure. The maximum number of secure MAC addresses that can be learned on the interface.
TABLE 303
Field
Port Security Violation
1836
Syntax: show port security mac Table 304 describes the output from the show port security mac command.
TABLE 304
Field
Port Num-Addr
Secure-Src-Addr Resource
Age-Left Shutdown/Time-Left
NOTE
For FCX and ICX switches, after every switchover or failover, the MAC Age-Left timer is reset to start since it is not synchronized between the master and the standby stack unit. This behavior is different on the FastIron SX devices where the Age-Left timer is not reset.
Syntax: show port security statistics <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum> Output from the show port security statistics <port> command
Description
The slot and port number of the interface. The total number of secure MAC addresses on the interface. The maximum number of secure MAC addresses on the interface.
TABLE 305
Field
Port Total-Addrs
Maximum-Addrs
1837
TABLE 305
Field
Violation
Output from the show port security statistics <port> command (Continued)
Description
The number of security violations on the port. Whether the port has been shut down due to a security violation and the number of seconds before it is enabled again.
Shutdown/Time-Left
For example, to display port security statistics for interface module 7, enter the show port security statistics command.
Brocade#show port security statistics 7 Module 7: Total ports: 0 Total MAC address(es): 0 Total violations: 0 Total shutdown ports 0
1838
Table 306 describes the output from the show port security statistics <module> command.
TABLE 306
Field
Total ports
Syntax: show port security ethernet <port> restricted-macs Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
1839
1840
Chapter
45
Table 307 lists individual Brocade switches and the multi-device port authentication features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 307
Feature
FWS
FCX
ICX 6610
Multi-Device Port Authentication Support for Multi-Device Port Authentication together with:
Yes
Yes
Yes
Dynamic VLAN assignment Dynamic ACLs 802.1X Dynamic ARP inspection with dynamic ACLs DHCP snooping with dynamic ACLs Denial of Service (DoS) attack protection Source guard protection ACL-per-port-per-VLAN
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes No No No Yes Yes No Yes No Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes No No Yes Yes Yes No Yes No Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes No No Yes Yes Yes No Yes No Yes Yes Yes Yes Yes Yes Yes
Yes Yes Yes Yes Yes Yes Yes Yes Yes Yes No Yes Yes Yes Yes Yes Yes Yes
Automatic removal of Dynamic VLAN for MAC authenticated ports Authenticating multiple MAC addresses on an interface Authenticating clients that send tagged packets on non-member ports Specifying the format of the MAC addresses sent to the RADIUS server Specifying the authentication-failure action Password override Specifying the RADIUS timeout action SNMP Traps MAC Address Filters Aging time for blocked MAC Addresses
1841
FCX devices do not support: - multi-device authentication on dynamic (LACP) and static trunk ports - multi-device authentication and port security configured on the same port - multi-device authentication and lock-address configured on the same port Multi-device port authentication is a way to configure a Brocade device to forward or block traffic from a MAC address based on information received from a RADIUS server.
NOTE
RADIUS authentication
The multi-device port authentication feature communicates with the RADIUS server to authenticate a newly found MAC address. The Brocade device supports multiple RADIUS servers; if communication with one of the RADIUS servers times out, the others are tried in sequential order. If a response from a RADIUS server is not received within a specified time (by default, 3 seconds) the RADIUS session times out, and the device retries the request up to three times. If no response is received, the next RADIUS server is chosen, and the request is sent for authentication. The RADIUS server is configured with the usernames and passwords of authenticated users. For multi-device port authentication, the username and password is the MAC address itself; that is, the device uses the MAC address for both the username and the password in the request sent to the RADIUS server. For example, given a MAC address of 0007e90feaa1, the users file on the RADIUS server would be configured with a username and password both set to 0007e90feaa1. When traffic from this MAC address is encountered on a MAC-authentication-enabled interface, the device sends the RADIUS server an Access-Request message with 0007e90feaa1 as both the username and password. The format of the MAC address sent to the RADIUS server is configurable through the CLI.
1842
The request for authentication from the RADIUS server is successful only if the username and password provided in the request matches an entry in the users database on the RADIUS server. When this happens, the RADIUS server returns an Access-Accept message back to the Brocade device. When the RADIUS server returns an Access-Accept message for a MAC address, that MAC address is considered authenticated, and traffic from the MAC address is forwarded normally by the Brocade device.
Authentication-failure actions
If the MAC address does not match the username and password of an entry in the users database on the RADIUS server, then the RADIUS server returns an Access-Reject message. When this happens, it is considered an authentication failure for the MAC address. When an authentication failure occurs, the Brocade device can either drop traffic from the MAC address in hardware (the default), or move the port on which the traffic was received to a restricted VLAN.
Username (1) RFC 2865 NAS-IP-Address (4) RFC 2865 NAS-Port (5) RFC 2865 Service-Type (6) RFC 2865 FilterId (11) RFC 2865 Framed-MTU (12) RFC 2865 State (24) RFC 2865 Vendor-Specific (26) RFC 2865 Session-Timeout (27) RFC 2865 Termination-Action (29) RFC 2865 Calling-Station-ID (31) RFC 2865 NAS-Port-Type (61) RFC 2865 Tunnel-Type (64) RFC 2868 Tunnel-Medium-Type (65) RFC 2868 EAP Message (79) RFC 2579 Message-Authenticator (80) RFC 3579 Tunnel-Private-Group-Id (81) RFC 2868 NAS-Port-id (87) RFC 2869
1843
1844
NOTE
When multi-device port authentication and 802.1X security are configured together on the same port, Brocade recommends that dynamic VLANs and dynamic ACLs are done at the multi-device port authentication level, and not at the 802.1X level. When both features are configured on a port, a device connected to the port is authenticated as follows. 1. Multi-device port authentication is performed on the device to authenticate the device MAC address. 2. If multi-device port authentication is successful for the device, then the device checks whether the RADIUS server included the Foundry-802_1x-enable VSA (described in Table 308) in the Access-Accept message that authenticated the device. 3. If the Foundry-802_1x-enable VSA is not present in the Access-Accept message, or is present and set to 1, then 802.1X authentication is performed for the device. 4. If the Foundry-802_1x-enable VSA is present in the Access-Accept message, and is set to 0, then 802.1X authentication is skipped. The device is authenticated, and any dynamic VLANs specified in the Access-Accept message returned during multi-device port authentication are applied to the port. 5. If 802.1X authentication is performed on the device, and is successful, then dynamic VLANs or ACLs specified in the Access-Accept message returned during 802.1X authentication are applied to the port. If multi-device port authentication fails for a device, then by default traffic from the device is either blocked in hardware, or the device is placed in a restricted VLAN. You can optionally configure the Brocade device to perform 802.1X authentication on a device when it fails multi-device port authentication. Refer to Example 2 Creating a profile on the RADIUS server for each MAC address on page 1876 for a sample configuration where this is used.
1845
TABLE 308
Attribute name
Data type
integer
Description
Specifies whether 802.1X authentication is performed when multi-device port authentication is successful for a device. This attribute can be set to one of the following: 0 - Do not perform 802.1X authentication on a device that passes multi-device port authentication. Set the attribute to zero for devices that do not support 802.1X authentication. 1 - Perform 802.1X authentication when a device passes multi-device port authentication. Set the attribute to one for devices that support 802.1X authentication. Specifies whether the RADIUS record is valid only for multi-device port authentication, or for both multi-device port authentication and 802.1X authentication. This attribute can be set to one of the following: 0 - The RADIUS record is valid only for multi-device port authentication. Set this attribute to zero to prevent a user from using their MAC address as username and password for 802.1X authentication 1 - The RADIUS record is valid for both multi-device port authentication and 802.1X authentication.
Foundry-802_1x-enable
Foundry-802_1x-valid
integer
If neither of these VSAs exist in a device profile on the RADIUS server, then by default the device is subject to multi-device port authentication (if configured), then 802.1X authentication (if configured). The RADIUS record can be used for both multi-device port authentication and 802.1X authentication. Configuration examples are shown in Examples of multi-device port authentication and 802.1X authentication configuration on the same port on page 1874.
1846
Enabling multi-device port authentication globally and on individual interfaces Specifying the format of the MAC addresses sent to the RADIUS server (optional) Specifying the authentication-failure action (optional) Enabling and disabling SNMP traps for multi-device port authentication Defining MAC address filters (optional) Configuring dynamic VLAN assignment (optional) Dynamically Applying IP ACLs to authenticated MAC addresses Enabling denial of service attack protection (optional) Clearing authenticated MAC addresses (optional) Disabling aging for authenticated MAC addresses (optional) Configuring the hardware aging period for blocked MAC addresses Specifying the aging time for blocked MAC addresses (optional)
Syntax: [no] mac-authentication enable <port> | all Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The all option enables the feature on all interfaces at once. You can enable the feature on an interface at the interface CONFIG level.
1847
Syntax: [no] mac-authentication enable You can also configure multi-device port authentication commands on a range of interfaces.
Example of enabling multi-device port authentication on a range of interfaces
Brocade(config)#int e 3/1 to 3/12 Brocade(config-mif-3/1-3/12)#mac-authentication enable
Specifying the format of the MAC addresses sent to the RADIUS server
When multi-device port authentication is configured, the Brocade device authenticates MAC addresses by sending username and password information to a RADIUS server. The username and password is the MAC address itself; that is, the device uses the MAC address for both the username and the password in the request sent to the RADIUS server. By default, the MAC address is sent to the RADIUS server in the format xxxxxxxxxxxx. You can optionally configure the device to send the MAC address to the RADIUS server in the format xx-xx-xx-xx-xx-xx, or the format xxxx.xxxx.xxxx. To do this, enter a command such as the following.
Brocade(config)#mac-authentication auth-passwd-format xxxx.xxxx.xxxx
Drop traffic from the MAC address in hardware (the default) Move the port on which the traffic was received to a restricted VLAN
To configure the device to move the port to a restricted VLAN when multi-device port authentication fails, enter commands such as the following.
Brocade(config)#interface e 3/1 Brocade(config-if-e1000-3/1)#mac-authentication auth-fail-action restrict-vlan 100
Syntax: [no] mac-authentication auth-fail-action restrict-vlan [<vlan-id>] If the ID for the restricted VLAN is not specified at the interface level, the global restricted VLAN ID applies for the interface. To specify the VLAN ID of the restricted VLAN globally, enter the following command.
Brocade(config)#mac-authentication auth-fail-vlan-id 200
Syntax: [no] mac-authentication auth-fail-vlan-id <vlan-id> The command above applies globally to all MAC-authentication-enabled interfaces.
1848
Note that the restricted VLAN must already exist on the device. You cannot configure the restricted VLAN to be a non-existent VLAN. If the port is a tagged or dual-mode port, you cannot use a restricted VLAN as the authentication-failure action. To configure the device to drop traffic from non-authenticated MAC addresses in hardware, enter commands such as the following.
Brocade(config)#interface e 3/1 Brocade(config-if-e1000-3/1)#mac-authentication auth-fail-action block-traffic
Syntax: [no] mac-authentication auth-fail-action block-traffic Dropping traffic from non-authenticated MAC addresses is the default behavior when multi-device port authentication is enabled.
Syntax: [no] snmp-server enable traps mac-authentication Use the no form of the command to disable SNMP traps for multi-device port authentication.
Syntax: [no] mac-authentication mac-filter <filter> The following commands apply the MAC address filter on an interface so that address 0010.dc58.aca4 is excluded from multi-device port authentication.
Brocade(config)#interface e 3/1 Brocade(config-if-e1000-3/1)#mac-authentication apply-mac-auth-filter 1
1849
Configuring a port to remain in the restricted VLAN after a successful authentication attempt
If a previous authentication attempt for a MAC address failed, and as a result the port was placed in the restricted VLAN, but a subsequent authentication attempt was successful, the RADIUS Access-Accept message may specify a VLAN for the port. By default, the Brocade device moves the port out of the restricted VLAN and into the RADIUS-specified VLAN. You can optionally configure the device to leave the port in the restricted VLAN. To do this, enter the following command.
Brocade(config-if-e1000-3/1)#mac-authentication no-override-restrict-vlan
When the above command is applied, if the RADIUS-specified VLAN configuration is tagged (e.g., T:1024) and the VLAN is valid, then the port is placed in the RADIUS-specified VLAN as a tagged port and left in the restricted VLAN. If the RADIUS-specified VLAN configuration is untagged (e.g., U:1024), the configuration from the RADIUS server is ignored, and the port is left in the restricted VLAN. Syntax: [no] mac-authentication no-override-restrict-vlan
1850
If the <vlan-name> string does not match either the name or the ID of a VLAN configured on
the device, then it is considered an authentication failure, and the configured authentication failure action is performed for the MAC address.
For tagged or dual-mode ports, if the VLAN ID provided by the RADIUS server does not match
the VLAN ID in the tagged packet that contains the authenticated MAC address as its source address, then it is considered an authentication failure, and the configured authentication failure action is performed for the MAC address.
If an untagged port had previously been assigned to a VLAN through dynamic VLAN
assignment, and then another MAC address is authenticated on the same port, but the RADIUS Access-Accept message for the second MAC address specifies a different VLAN, then it is considered an authentication failure for the second MAC address, and the configured authentication failure action is performed. Note that this applies only if the first MAC address has not yet aged out. If the first MAC address has aged out, then dynamic VLAN assignment would work as expected for the second MAC address.
For dual mode ports, if the RADIUS server returns T:<vlan-name>, the traffic will still be
forwarded in the statically assigned PVID. If the RADIUS server returns U:<vlan-name>, the traffic will not be forwarded in the statically assigned PVID.
Type
064 065 081
Value
13 (decimal) VLAN 6 (decimal) 802 <vlan-name> (string) The <vlan-name> value can specify either the name or the number of one or more VLANs configured on the Brocade device.
For information about the attributes, refer to Dynamic multiple VLAN assignment for 802.1X ports on page 1795. Also, refer to the example configuration of Multi-device port authentication with dynamic VLAN assignment on page 1871.
Enabling dynamic VLAN support for tagged packets on non-member VLAN ports
This feature is not supported on FWS and FCX devices. By default, the Brocade device drops tagged packets that are received on non-member VLAN ports. This process is called ingress filtering. Since the MAC address of the packets are not learned, authentication does not take place. The Brocade device can authenticate clients that send tagged packets on non-member VLAN ports. This enables the Brocade device to add the VLAN dynamically. To enable support, enter the following command at the Interface level of the CLI.
NOTE
1851
If the client MAC address is successfully authenticated and the correct VLAN attribute is sent by the RADIUS server, the MAC address will be successfully authenticated on the VLAN. Syntax: mac-authentication disable-ingress-filtering Configuration notes and limitations: This feature works in conjunction with multi-device port authentication with dynamic VLAN assignment only. If this feature is not enabled, authentication works as in Example 2 multi-device port authentication with dynamic VLAN assignment on page 1873 .
The port on which ingress filtering is disabled must be tagged to a VLAN. If a host sends both tagged and untagged traffic, and ingress filtering is disabled on the port,
the port must be configured as a dual-mode port.
Specifying to which VLAN a port is moved after its RADIUS-specified VLAN assignment expires
When a port is dynamically assigned to a VLAN through the authentication of a MAC address, and the MAC session for that address is deleted on the Brocade device, then by default the port is removed from its RADIUS-assigned VLAN and placed back in the VLAN where it was originally assigned. A port can be removed from its RADIUS-assigned VLAN when any of the following occur:
The link goes down for the port The MAC session is manually deleted with the mac-authentication clear-mac-session
command
The MAC address that caused the port to be dynamically assigned to a VLAN ages out
For example, say port 1/1 is currently in VLAN 100, to which it was assigned when MAC address 0007.eaa1.e90f was authenticated by a RADIUS server. The port was originally configured to be in VLAN 111. If the MAC session for address 0007.eaa1.e90f is deleted, then port 1/1 is moved from VLAN 100 back into VLAN 111. You can optionally specify an alternate VLAN to which to move the port when the MAC session for the address is deleted. For example, to place the port in the restricted VLAN, enter commands such as the following.
Brocade(config)#interface e 3/1 Brocade(config-if-e1000-3/1)#mac-auth move-back-to-old-vlan port-restrict-vlan
Syntax: [no] mac-authentication move-back-to-old-vlan port-restrict-vlan| port-configured-vlan | system-default-vlan The port-configured-vlan keyword removes the port from its RADIUS-assigned VLAN and places it back in the VLAN where it was originally assigned. This is the default. The port-restrict-vlan keyword removes the port from its RADIUS-assigned VLAN and places it in the restricted VLAN. The system-default-vlan keyword removes the port from its RADIUS-assigned VLAN and places it in the DEFAULT-VLAN.
1852
When a MAC session is deleted, if the port is moved back to a VLAN that is different than the runningconfig file, the system will update the running-config file to reflect the changes. This will occur even if mac-authentication save-dynamicvlan-to-config" is not configured.
NOTE
NOTE
When the above command is applied, dynamic VLAN assignments are saved to the running-config file and are displayed when the show run command is issued. Dynamic VLAN assignments can also be displayed with the show vlan, show auth-mac-addresses detail, and show auth-mac-addresses authorized-mac commands. Syntax: [no] mac-authentication save-dynamicvlan-to-config
1853
A dynamic IP ACL will take precedence over an IP ACL that is bound to a port (port ACL). When a client authenticates with a dynamic IP ACL, the port ACL will not be applied. Also, future clients on the same port will authenticate with a dynamic IP ACL or no IP ACL. If no clients on the port use dynamic ACL, then the port ACL will be applied to all traffic. The Brocade device uses information in the Filter ID to apply an IP ACL on a per-user basis. The Filter-ID attribute can specify the number of an existing IP ACL configured on the Brocade device. If the Filter-ID is an ACL number, the specified IP ACL is applied on a per-user basis.
NOTE
FastIron X Series devices support multi-device port authentication and dynamic ACLs together
with ACL-per-port-per-vlan (ACL filtering based on VLAN membership or VE port membership).
Multi-device port authentication and dynamic ACLs are supported on tagged, dual-mode, and
untagged ports, with or without virtual Interfaces. Support is automatically enabled when all of the required conditions are met. The following describes the conditions and feature limitations:
On Layer 3 router code, dynamic IP ACLs are allowed on physical ports when
ACL-per-port-per-vlan is enabled.
On Layer 3 router code, dynamic IP ACLs are allowed on tagged and dual-mode ports when
ACL-per-port-per-vlan is enabled. If ACL-per-port-per-vlan is not enabled, dynamic IP ACLs are not allowed on tagged or dual-mode ports.
Dynamic IP ACLs can be added to tagged/untagged ports in a VLAN with or without a VE, as
long as the tagged/untagged ports do not have configured ACLs assigned to them. The following shows some example scenarios where dynamic IP ACLs would not apply:
A port is a tagged/untagged member of VLAN 20, VLAN 20 includes VE 20, and an ACL is
bound to VE 20.
Dynamic IP ACLs with multi-device port authentication are supported. Dynamic MAC address
filters with multi-device port authentication are not supported.
In the Layer 2 switch code, dynamic IP ACLs are not supported when ACL-per-port-per-vlan is
enabled on a global-basis.
1854
The RADIUS Filter ID (type 11) attribute is supported. The Vendor-Specific (type 26) attribute is
not supported.
The dynamic ACL must be an extended ACL. Standard ACLs are not supported. Multi-device port authentication and 802.1x can be used together on the same port. However,
Brocade does not recommend the use of multi-device port authentication and 802.1X with dynamic ACLs together on the same port. If a single supplicant requires both 802.1x and multi-device port authentication, and if both 802.1x and multi-device port authentication try to install different dynamic ACLs for the same supplicant, the supplicant will fail authentication.
Dynamic ACL filters are supported only for the inbound direction. Dynamic outbound ACL filters
are not supported.
Dynamic ACL assignment with multi-device port authentication is not supported in conjunction
with any of the following features:
IP source guard Rate limiting Protection against ICMP or TCP Denial-of-Service (DoS) attacks Policy-based routing 802.1X dynamic filter
Description
Applies the specified numbered ACL to the authenticated port in the inbound direction. Applies the specified named ACL to the authenticated port in the inbound direction.
The ACL must be an extended ACL. Standard ACLs are not supported. The <name> in the Filter ID attribute is case-sensitive
The following table lists examples of values you can assign to the Filter-ID attribute on the RADIUS server to refer to IP ACLs configured on a Brocade device.
Possible values for the filter ID attribute on the RADIUS server
ip.102.in ip.fdry_filter.in
1855
ITo specify a maximum rate for RADIUS authentication attempts, enter commands such as the following.
Brocade(config)#interface e 3/1 Brocade(config-if-e1000-3/1)#mac-authentication dos-protection mac-limit 256
Syntax: [no] mac-authentication dos-protection mac-limit <number> You can specify a rate from 1 65535 authentication attempts per second. The default is a rate of 512 authentication attempts per second.
NOTE
1856
When a new MAC session begins on a port that has Source Guard Protection enabled, the session will either apply a dynamically created Source Guard ACL entry, or it will use the dynamic IP ACL assigned by the RADIUS server. If a dynamic IP ACL is not assigned, the session will use the Source Guard ACL entry. The Source Guard ACL entry is permit ip <secure-ip> any, where <secure-ip> is obtained from the ARP Inspection table or from the DHCP Secure table. The DHCP Secure table is comprised of DHCP Snooping and Static ARP Inspection entries. The Source Guard ACL permit entry is added to the hardware table after all of the following events occur:
The MAC address is authenticated The IP address is learned The MAC-to-IP mapping is checked against the Static ARP Inspection table or the DHCP Secure
table. The Source Guard ACL entry is not written to the running configuration file. However, you can view the configuration using the show auth-mac-addresses authorized-mac ip-addr. Refer to Viewing the assigned ACL for ports on which source guard protection is enabled in the following section.
NOTE
The secure MAC-to-IP mapping is assigned at the time of authentication and remains in effect as long as the MAC session is active. If the DHCP Secure table is updated after the session is authenticated and while the session is still active, it does not affect the existing MAC session. The Source Guard ACL permit entry is removed when the MAC session expires or is cleared. To enable Source Guard Protection on a port on which multi-device port authentication is enabled, enter the following command at the Interface level of the CLI.
FastIron(config)int e 1/4 FastIron(config-if-e1000-1/4)mac-authentication source-guard-protection enable
Syntax: [no] mac-authentication source-guard-protection enable Enter the no form of the command to disable SG protection.
Viewing the assigned ACL for ports on which source guard protection is enabled
Use the following command to view whether a Source Guard ACL or dynamic ACL is applied to ports on which Source Guard Protection is enabled.
Brocade(config)#show auth-mac-addresses authorized-mac ip-addr ------------------------------------------------------------------------------MAC Address SourceIp Port Vlan Auth Age ACL dot1x ------------------------------------------------------------------------------00A1.0010.2000 200.1.17.5 6/12 171 Yes Dis SG Ena 00A1.0010.2001 200.1.17.6 6/13 171 Yes Dis 103 Ena
In the above output, for port 6/12, Source Guard Protection is enabled and the Source Guard ACL is applied to the MAC session, as indicated by SG in the ACL column. For port 6/13, Source Guard Protection is also enabled, but in this instance, a dynamic ACL (103) is applied to the MAC session.
1857
Syntax: clear auth-mac-table To clear the authenticated MAC address table of entries learned on a specified interface, enter a command such as the following.
Brocade#clear auth-mac-table e 3/1
Syntax: clear auth-mac-table ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
To clear the MAC session for an address learned on a specific interface, enter commands such as the following.
Brocade(config)#interface e 3/1 Brocade(config-if-e1000-3/1)#mac-authentication clear-mac-session 00e0.1234.abd4
Syntax: mac-authentication clear-mac-session <mac-address> This command removes the Layer 2 CAM entry created for the specified MAC address. If the Brocade device receives traffic from the MAC address again, the MAC address is authenticated again. In a configuration with multi-device port authentication and 802.1X authentication on the same port, the mac-authentication clear-mac-session command will clear the MAC session, as well as its respective 802.1X session, if it exists.
NOTE
Authenticated MAC addresses or non-authenticated MAC addresses that have been placed in
the restricted VLAN are aged out if no traffic is received from the MAC address over the device normal MAC aging interval.
Non-authenticated MAC addresses that are blocked by the device are aged out if no traffic is
received from the address over a fixed hardware aging period (70 seconds), plus a configurable software aging period. (Refer to the next section for more information on configuring the software aging period).
1858
You can optionally disable aging for MAC addresses subject to authentication, either for all MAC addresses or for those learned on a specified interface.
Syntax: mac-authentication disable-aging Enter the command at the global or interface configuration level. The denied-only parameter prevents denied sessions from being aged out, but ages out permitted sessions. The permitted-only parameter prevents permitted (authenticated and restricted) sessions from being aged out and ages denied sessions.
1859
On FastIron X Series devices, the hardware aging period for blocked MAC addresses is not fixed at 70 seconds. The hardware aging period for blocked MAC addresses is equal to the length of time specified with the mac-age command. As on FastIron devices, once the hardware aging period ends, the software aging period begins. When the software aging period ends, the blocked MAC address ages out, and can be authenticated again if the device receives traffic from the MAC address. To change the hardware aging period for blocked MAC addresses, enter a command such as the following.
Brocade(config)#mac-authentication hw-deny-age 10
Syntax: [no] mac-authentication hw-deny-age <num> The <num> parameter is a value from 1 to 65535 seconds. The default is 70 seconds.
Syntax: [no] mac-authentication max-age <seconds> You can specify from 1 65535 seconds. The default is 120 seconds.
1860
You can better control port behavior when a RADIUS timeout occurs by configuring a port on the Brocade device to automatically pass or fail user authentication. A pass essentially bypasses the authentication process and permits user access to the network. A fail bypasses the authentication process and blocks user access to the network, unless restrict-vlan is configured, in which case, the user is placed into a VLAN with restricted or limited access. By default, the Brocade device will reset the authentication process and retry to authenticate the user. Specify the RADIUS timeout action at the Interface level of the CLI.
Syntax: [no] mac-authentication auth-timeout-action success Once the success timeout action is enabled, use the no form of the command to reset the RADIUS timeout behavior to retry.
Syntax: [no] mac-authentication auth-timeout-action failure Once the failure timeout action is enabled, use the no form of the command to reset the RADIUS timeout behavior to retry. If restrict-vlan is configured along with auth-timeout-action failure, the user will be placed into a VLAN with restricted or limited access. Refer to Allow user access to a restricted VLAN after a RADIUS timeout on page 1861.
NOTE
Syntax: [no] mac-authentication auth-fail-action restrict-vlan [<vlan-id>] Syntax: [no] mac-authentication auth-timeout-action failure
1861
Syntax: [no] mac-authentication password-override <password> where <password> can have up to 32 alphanumeric characters, but cannot include blank spaces.
Syntax: [no] mac-authentication max-accepted-session <session-number> This command limits the number of successfully authenticated MAC addresses. Enter a value from 1 - 250 for session-number
Information about authenticated MAC addresses Information about the multi-device port authentication configuration Authentication Information for a specific MAC address or port Multi-device port authentication settings and authenticated MAC addresses for each port where the multi-device port authentication feature is enabled
The MAC addresses that have been successfully authenticated The MAC addresses for which authentication was not successful
1862
Syntax: show auth-mac-address The following table describes the information displayed by the show auth-mac-address command.
TABLE 309
Field
Port Vlan
1863
The following table describes the output from the show auth-mac-address configuration command.
TABLE 310
Field
Feature enabled Number of Ports enabled Port Fail-Action Fail-vlan Dyn-vlan MAC-filter
Displaying multi-device port authentication information for a specific MAC address or port
To display authentication information for a specific MAC address or port, enter a command such as the following.
Brocade#show auth-mac-address 0007.e90f.eaa1 ------------------------------------------------------------------------------MAC/IP Address Port Vlan Authenticated Time Age CAM Index ------------------------------------------------------------------------------0007.e90f.eaa1 : 25.25.25.25 1/18 100 Yes 00d01h10m06s 0 N/A
Syntax: show auth-mac-address <mac-address> | <ip-addr> | <port> The <ip-addr> variable lists the MAC address associated with the specified IP address. The <slotnum> variable is required on chassis devices. The <port> variable is a valid port number. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
The following table describes the information displayed by the show authenticated-mac-address command for a specified MAC address or port.
1864
TABLE 311
Field
MAC/IP Address
1865
Syntax: show auth-mac-addresses unauthorized-mac Table 312 explains the information in the output.
Syntax: show auth-mac-address ethernet <port> Table 312 explains the information in the output.
TABLE 312
Field
MAC Address
1866
TABLE 312
Field
Time
Age Dot1x
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Omitting the ethernet <port> parameter displays information for all interfaces where the multi-device port authentication feature is enabled.
1867
Brocade#show auth-mac-addresses detailed ethernet 15/23 Port : 15/23 Dynamic-Vlan Assignment : Enabled RADIUS failure action : Block Traffic Failure restrict use dot1x : No Override-restrict-vlan : Yes Port Default VLAN : 101 ( RADIUS assigned: No) (101) Port Vlan State : DEFAULT 802.1x override Dynamic PVID : YES override return to PVID : 101 Original PVID : 101 DOS attack protection : Disabled Accepted Mac Addresses : 1 Rejected Mac Addresses : 0 Authentication in progress : 0 Authentication attempts : 0 RADIUS timeouts : 0 RADIUS timeouts action : Success MAC Address on PVID : 1 MAC Address authorized on PVID : 1 Aging of MAC-sessions : Enabled Port move-back vlan : Port-configured-vlan Max-Age of sw mac session : 120 seconds hw age for denied mac : 70 seconds MAC Filter applied : No Dynamic ACL applied : No num Dynamic Tagged Vlan : 2 Dynamic Tagged Vlan list : 1025 (1/1) 4060 (1/0) -----------------------------------------------------------------------------MAC Address RADIUS Server Authenticated Time Age Dot1x -----------------------------------------------------------------------------0030.4874.3181 64.12.12.5 Yes 00d01h03m17s Ena Ena
The following table describes the information displayed by the show auth-mac-addresses detailed command.
TABLE 313
Field
Port
1868
TABLE 313
Field
Authentication attempts RADIUS timeouts RADIUS timeout action MAC address on the PVID MAC address authorized on PVID Aging of MAC-sessions Port move-back VLAN Max-Age of sw MAC-sessions hw age for denied MAC MAC Filter applied Dynamic ACL applied num Dynamic Tagged Vlan Dynamic Tagged Vlan list
MAC Address
RADIUS Server
1869
TABLE 313
Field
Authenticated Time
Age Dot1x
show table <mac address> show table allowed-mac show table denied-mac
This section describes the output for these commands. To display MAC authentication information for FCX devices, enter the show table <mac address> command as shown.
Brocade#show table 0000.0010.1002
Syntax: show table <mac address> The <mac address> variable is the specified MAC address.
Brocade#show table 0000.0010.1002 ------------------------------------------------------------------------------MAC Address Port Vlan Authenticated Time Age dot1x ------------------------------------------------------------------------------0000.0010.1002 2/1/48 2 Yes 00d00h30m57s Ena Dis Brocade#
To display the table of allowed (authenticated) mac addresses enter the show table allowed-mac command as shown. Syntax: show table allowed-mac
Brocade#show table allowed-mac ------------------------------------------------------------------------------MAC Address PortVlanAuthenticatedTimeAgedot1x ------------------------------------------------------------------------------0000.0010.100a 1/1/1 2 Yes 00d00h30m57s Ena Dis 0000.0010.100b 1/1/1 2 Yes 00d00h31m00s Ena Dis 0000.0010.1002 2/1/48 2 Yes 00d00h30m57s Ena Dis 0000.0010.1003 2/1/48 2 Yes 00d00h30m57s Ena Dis 0000.0010.1004 2/1/48 2 Yes 00d00h30m57s Ena Dis Brocade#
1870
To display the table of allowed mac addresses enter the show table denied-mac command as shown. Syntax: show table <mac address> The <mac address> variable is the specified MAC address.
Brocade#show table denied-mac ------------------------------------------------------------------------------MAC Address Port Vlan Authenticated Time Age dot1x ------------------------------------------------------------------------------0000.0010.1021 2/1/48 4092 No 00d00h32m48s H8 Dis 0000.0010.1022 2/1/48 4092 No 00d00h32m48s H8 Dis Brocade#
To display MAC authentication for a specific port, enter the show table ethernet <stack-unit/slot/port> command as shown.
Brocade#show table eth 2/1/48 ----------------------------------------------------------------------------------------------MAC Address Port Vlan Authenticated Time Age CAM MAC Dot1x Type Pri Index Index ----------------------------------------------------------------------------------------------0000.0010.1002 2/1/48 2 Yes 00d00h30m 57s Ena 0000 70d4 Dis Dyn 0 0000.0010.1003 2/1/48 2 Yes 00d00h30m 57s Ena 0002 3df0 Dis Dyn 0 0000.0010.1004 2/1/48 2 Yes 00d00h30m 57s Ena 0001 1e74 Dis Dyn 0 0000.0010.1021 2/1/48 4092 No 00d00h36m 22s H60 0003 7a2c Dis Dyn 0 0000.0010.1022 2/1/48 4092 No 00d00h36m 22s H60 0004 4d7c Dis Dyn 0 Brocade#
1871
FIGURE 196 Using multi-device port authentication with dynamic VLAN assignment
RADIUS Server Tunnel-Private-Group-ID: User 0002.3f7f.2e0a -> U:102 User 0050.048e.86ac -> T:3
Hub Untagged
Hub Tagged
PC MAC: 0002.3f7f.2e0a
In this example, multi-device port authentication is performed for both devices. If the PC is successfully authenticated, port e1 PVID is changed from VLAN 1 (the DEFAULT-VLAN) to VLAN 102. If authentication for the PC fails, then the PC can be placed in a specified restricted VLAN, or traffic from the PC can be blocked in hardware. In this example, if authentication for the PC fails, the PC would be placed in VLAN 1023, the restricted VLAN. If authentication for the IP phone is successful, then port e1 is added to VLAN 3. If authentication for the IP phone fails, then traffic from the IP phone would be blocked in hardware. (Devices sending tagged traffic cannot be placed in the restricted VLAN.) The portion of the running-config related to multi-device port authentication is as follows.
mac-authentication enable mac-authentication auth-fail-vlan-id 1023 interface ethernet 1 dual-mode mac-authentication enable mac-authentication auth-fail-action restrict-vlan mac-authentication enable-dynamic-vlan mac-authentication disable-ingress-filtering
The mac-authentication disable-ingress-filtering command enables tagged packets on the port, even if the port is not a member of the VLAN. If this feature is not enabled, authentication works as in Example 2 multi-device port authentication with dynamic VLAN assignment
1872
FIGURE 197 Using multi-device port authentication with dynamic VLAN assignment
RADIUS Server Tunnel-Private-Group-ID: User 0002.3f7f.2e0a -> U:102 User 0050.048e.86ac -> T:3
Hub Untagged
Hub Tagged
PC MAC: 0002.3f7f.2e0a
In this example, multi-device port authentication is performed for both devices. If the PC is successfully authenticated, dual-mode port e1 PVID is changed from the VLAN 1 (the DEFAULT-VLAN) to VLAN 102. If authentication for the PC fails, then the PC can be placed in a specified restricted VLAN, or traffic from the PC can be blocked in hardware. In this example, if authentication for the PC fails, the PC would be placed in VLAN 1023, the restricted VLAN. If authentication for the IP phone is successful, then dual-mode port e1 is added to VLAN 3. If authentication for the IP phone fails, then traffic from the IP phone would be blocked in hardware. (Devices sending tagged traffic cannot be placed in the restricted VLAN.)
NOTE
This example assumes that the IP phone initially transmits untagged packets (for example, CDP or DHCP packets), which trigger the authentication process on the Brocade device and client lookup on the RADIUS server. If the phone sends only tagged packets and the port (e1) is not a member of that VLAN, authentication would not occur. In this case, port e1 must be added to that VLAN prior to authentication. The part of the running-config related to multi-device port authentication would be as follows.
1873
mac-authentication enable mac-authentication auth-fail-vlan-id 1023 interface ethernet 1 mac-authentication enable mac-authentication auth-fail-action restrict-vlan mac-authentication enable-dynamic-vlan dual-mode
Examples of multi-device port authentication and 802.1X authentication configuration on the same port
The following examples show configurations that use multi-device port authentication and 802.1X authentication on the same port.
Example 1 Multi-device port authentication and 802.1x authentication on the same port
Figure 198 illustrates an example configuration that uses multi-device port authentication and 802.1X authentication n the same port. In this configuration, a PC and an IP phone are connected to port e 1/3 on a Brocade device. Port e 1/3 is configured as a dual-mode port. The profile for the PC MAC address on the RADIUS server specifies that the PC should be dynamically assigned to VLAN "Login-VLAN", and the RADIUS profile for the IP phone specifies that it should be dynamically assigned to the VLAN named "IP-Phone-VLAN". When User 1 is successfully authenticated using 802.1X authentication, the PC is then placed in the VLAN named "User-VLAN". This example assumes that the IP phone initially transmits untagged packets (for example, CDP or DHCP packets), which trigger the authentication process on the Brocade device and client lookup on the RADIUS server. If the phone sends only tagged packets and the port (e 1/3) is not a member of that VLAN, authentication would not occur. In this case, port e 1/3 must be added to that VLAN prior to authentication.
NOTE
1874
FIGURE 198 Using multi-device port authentication and 802.1X authentication on the same port
User 0050.048e.86ac (IP Phone) Profile: Foundry-802_1x-enable = 0 Tunnel-Private-Group-ID = T:IP-Phone-VLAN
RADIUS Server
User 0002.3f7f.2e0a (PC) Profile: Foundry-y-802_1x-enable = 1 Tunnel-Private-Group-ID: = U:Login-VLAN User 1 Profile: Tunnel-Private-Group-ID: = U:IP-User-VLAN
Hub Untagged
Hub Tagged
When the devices attempt to connect to the network, they are first subject to multi-device port authentication. When the MAC address of the IP phone is authenticated, the Access-Accept message from the RADIUS server specifies that the IP phone port be placed into the VLAN named IP-Phone-VLAN. which is VLAN 7. The Foundry-802_1x-enable attribute is set to 0, meaning that 802.1X authentication is skipped for this MAC address. Port e 1/3 is placed in VLAN 7 as a tagged port. No further authentication is performed. When the PC MAC address is authenticated, the Access-Accept message from the RADIUS server specifies that the PVID for the PC port be changed to the VLAN named Login-VLAN, which is VLAN 1024. The Foundry-802_1x-enable attribute is set to 1, meaning that 802.1X authentication is required for this MAC address. The PVID of the port e 1/3 is temporarily changed to VLAN 1024, pending 802.1X authentication. When User 1 attempts to connect to the network from the PC, he is subject to 802.1X authentication. If User 1 is successfully authenticated, the Access-Accept message from the RADIUS server specifies that the PVID for User 1 port be changed to the VLAN named User-VLAN, which is VLAN 3. If 802.1X authentication for User 1 is unsuccessful, the PVID for port e 1/3 is changed to that of the restricted VLAN, which is 1023, or untagged traffic from port e 1/3 can be blocked in hardware. The part of the running-config related to port e 1/3 would be as follows.
interface ethernet 1/3 dot1x port-control auto mac-authentication enable dual-mode
1875
When the PC is authenticated using multi-device port authentication, the port PVID is changed to Login-VLAN, which is VLAN 1024 in this example. When User 1 is authenticated using 802.1X authentication, the port PVID is changed to User-VLAN, which is VLAN 3 in this example.
Example 2 Creating a profile on the RADIUS server for each MAC address
The configuration in Figure 199 requires that you create a profile on the RADIUS server for each MAC address to which a device or user can connect to the network. In a large network, this can be difficult to implement and maintain. As an alternative, you can create MAC address profiles only for those devices that do not support 802.1X authentication, such as IP phones and printers, and configure the device to perform 802.1X authentication for the other devices that do not have MAC address profiles, such as user PCs. To do this, you configure the device to perform 802.1X authentication when a device fails multi-device port authentication. Figure 199 shows a configuration where multi-device port authentication is performed for an IP phone, and 802.1X authentication is performed for a user PC. There is a profile on the RADIUS server for the IP phone MAC address, but not for the PC MAC address.
FIGURE 199 802.1X Authentication is performed when a device fails multi-device port authentication
User 0050.048e.86ac (IP Phone) Profile: Foundry-802_1x-enable = 0 Tunnel-Private-Group-ID = T:IP-Phone-VLAN
RADIUS Server
FastIron Switch mac-authentication auth-fail-dot1x-override CLI command configured Port e1/4 Dual Mode
Hub Untagged
Hub Tagged
Multi-device port authentication is initially performed for both devices. The IP phone MAC address has a profile on the RADIUS server. This profile indicates that 802.1X authentication should be skipped for this device, and that the device port be placed into the VLAN named IP-Phone-VLAN.
1876
Since there is no profile for the PC MAC address on the RADIUS server, multi-device port authentication for this MAC address fails. Ordinarily, this would mean that the PVID for the port would be changed to that of the restricted VLAN, or traffic from this MAC would be blocked in hardware. However, the device is configured to perform 802.1X authentication when a device fails multi-device port authentication, so when User 1 attempts to connect to the network from the PC, he is subject to 802.1X authentication. If User 1 is successfully authenticated, the PVID for port e 1/4 is changed to the VLAN named User-VLAN. This example assumes that the IP phone initially transmits untagged packets (for example, CDP or DHCP packets), which trigger the authentication process on the Brocade device and client lookup on the RADIUS server. If the phone sends only tagged packets and the port (e 1/4) is not a member of that VLAN, authentication would not occur. In this case, port e 1/4 must be added to that VLAN prior to authentication. To configure the device to perform 802.1X authentication when a device fails multi-device port authentication, enter the following command.
Brocade(config)#mac-authentication auth-fail-dot1x-override
NOTE
1877
1878
Chapter
Web Authentication
46
Table 314 lists individual Brocade switches and the Web Authentication features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 314
Feature
FWS
FCX
ICX 6610
Enabling and disabling Web Authentication Configuring the Web Authentication mode
1879
If the authentication is unsuccessful, the appropriate page is displayed on the host browser. The host is asked to try again or call for assistance, depending on what message is configured on the Web page. If the host MAC address is authenticated by the trusted source, a Web page is displayed with a hyperlink to the URL the host originally entered. If the user clicks on the link, a new window is opened and the the user is directed to the requested URL. While a MAC address is in the authenticated state, the host can forward data through the FastIron switch. The MAC address remains authenticated until one of the following events occurs:
The host MAC address is removed from a list of MAC addresses that are automatically
authenticated. (Refer to Specifying hosts that are permanently authenticated on page 1894).
The re-authentication timer expires and the host is required to re-authenticate (Refer to
Configuring the re-authentication period on page 1895).
The host has remained inactive for a period of time and the inactive period timer has expired.
(Refer to Forcing re-authentication after an inactive period on page 1898.)
All the ports on the VLAN on which Web Authentication has been configured are in a down
state. All MAC addresses that are currently authenticated are de-authenticated (Refer to Forcing re-authentication when ports are down on page 1897.)
The authenticated client is cleared from the Web Authentication table. (Refer to Clearing
authenticated hosts from the web authentication table on page 1895). The FastIron switch can be configured to automatically authenticate a host MAC address. The host will not be required to login or re-authenticate (depending on the re-authentication period) once the MAC address passes authentication. A host that is logged in and authenticated remains logged in indefinitely, unless a re-authentication period is configured. When the re-authentication period ends, the host is logged out. A host can log out at any time by pressing the Logout button in the Web Authentication Success page. The host can log out as long as the Logout window (Success page) is visible. If the window is accidentally closed, the host cannot log out unless the re-authentication period ends or the host is manually cleared from the Web Authentication table.
NOTE
Web authentication works only when both the HTTP and HTTPS servers are enabled on the
device.
Web Authentication works only on the default HTTP or HTTPS port. The host must have an IP address prior to Web Authentication. This IP address can be
configured statically on the host; however, DHCP addressing is also supported.
If you are using DHCP addressing, a DHCP server must be in the same broadcast domain as
the host. This DHCP server does not have to be physically connected to the switch. Also, DHCP assist from a router may be used.
1880
Web Authentication, 802.1X port security, and multi-device port authentication are not
supported concurrently on the same port.
If the management VLAN and Web Authentication VLAN are in different IP networks, make sure
there is at least one routing element in the network topology that can route between these IP networks. The following are required for Web Authentication in the base Layer 3 and full Layer 3 images:
Each Web Authentication VLAN must have a virtual interface (VE). The VE must have at least one assigned IPv4 address.
Web Authentication is enabled on a VLAN. That VLAN becomes a Web Authentication VLAN that does the following:
Forwards traffic from authenticated hosts, just like a regular VLAN. Blocks traffic from unauthenticated hosts except from ARP, DHCP, DNS, HTTP, and HTTPs that
are required to perform Web Authentication. Figure 200 shows the basic components of a network topology where Web Authentication is used. You will need:
A Brocade FastIron switch running a software release that supports Web Authentication DHCP server, if dynamic IP addressing is to be used Computer/host with a web browser
Your configuration may also require a RADIUS server with some Trusted Source such as LDAP or Active Directory.
NOTE
The Web server, RADIUS server, and DHCP server can all be the same server.
1881
On a Layer 2 FastIron switch, make sure the FastIron switch has an IP address.
Brocade# configure terminal Brocade(config)#ip address 10.1.1.10/24
On a Layer 3 FastIron switch, assign an IP address to a virtual interface (VE) for each VLAN
on which Web Authentication will be enabled.
Brocade#configure terminal Brocade(config)#vlan 10 Brocade(config-vlan-10)#router-interface ve1 Brocade(config-vlan-10)#untagged e 1/1/1 to 1/1/10 Brocade(config-vlan-10)#interface ve1 Brocade(config-vif-1)#ip address 1.1.2.1/24
2. By default, Web Authentication will use a RADIUS server to authenticate host usernames and passwords, unless it is configured to use a local user database. If Web Authentication will use a RADIUS server, you must configure the RADIUS server and other servers. For example, if your RADIUS server has an IP address of 192.168.1.253, then use the CLI to configure the following global CLI commands on the FastIron switch.
Brocade(config)# radius-server host 10.1.1.8 Brocade(config)# radius-server key $GSig@U\
NOTE
Remember the RADIUS key you entered. You will need this key when you configure your RADIUS server. 3. Web authentication can be configured to use secure (HTTPS) or non-secure (HTTP) login and logout pages. By default, HTTPS is used. To enable the non-secure Web server on the FastIron switch, enter the following command.
Brocade(config)# web-management HTTP Brocade(config)#vlan 10 Brocade(config-vlan-10)webauth Brocade(config-vlan-10-webauth)#no secure-login
To enable the secure Web server on the FastIron switch, enter the following command.
Brocade(config)# web-management HTTPS Brocade(config)#vlan 10 Brocade(config-vlan-10)webauth Brocade(config-vlan-10-webauth)#secure-login
4. If the secure Web server is used, in order to access a secure Web page, the Web server needs to provide a key. This key is exchanged using a certificate. A certificate is a digital document that is issued by a trusted source that can validate the authenticity of the certificate and the Web server that is presenting it. Therefore the switch must have a certificate for web authentication to work. There are two choices for providing the switch with a certificate:
1882
5. Create a Web Authentication VLAN and enable Web Authentication on that VLAN.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#webauth Brocade(config-vlan-10-webauth)#enable
Once enabled, the CLI changes to the "webauth" configuration level. In the example above, VLAN 10 will require hosts to be authenticated using Web Authentication before they can forward traffic. 6. Configure the Web Authentication mode:
Username and password Blocks users from accessing the switch until they enter a valid
username and password on a web login page.
Passcode Blocks users from accessing the switch until they enter a valid passcode on a
web login page.
None Blocks users from accessing the switch until they press the Login button. A
username and password or passcode is not required. Refer to Web authentication mode configuration on page 1884. 7. Configure other Web Authentication options (refer to Web authentication options configuration on page 1893).
The first command changes the CLI level to the VLAN configuration level. The second command changes the configuration level to the Web Authentication VLAN level. The last command enables Web Authentication. In the example above, VLAN 10 will require hosts to be authenticated using Web Authentication before they can forward traffic. Syntax: webauth FastIron devices support a maximum of two Web Authentication VLANs. Syntax: [no] enable Enter the no enable command to disable Web Authentication.
1883
Username and password Block users from accessing the switch until they enter a valid
username and password on a web login page. Refer to Using local user databases on page 1884.
Passcode Blocks users from accessing the switch until they enter a valid passcode on a web
login page. Refer to Passcodes for user authentication on page 1888.
None Blocks users from accessing the switch until they press the Login button. A username
and password or passcode is not required. Refer to Automatic authentication on page 1892. This following sections describe how to configure these Web Authentication modes.
1884
This command creates a local user database named userdb1. To add user records to this database, refer to Adding a user record to a local user database on page 1885. Syntax: local-userdb <db-name> You can create up to ten local user databases for Web Authentication. For <db-name>, enter up to 31 alphanumeric characters.
The first command changes the configuration level to the local user database level for userdb1. If the database does not already exist, it is created. The second command adds the user record marcia to the userdb1 database. Syntax: username <username> password <password> For <username>, enter up to 31 ASCII characters. For <password>, enter up to 29 ASCII characters. You can add up to 30 usernames and passwords to a local user database. To view a list of users in a local user database, use the CLI command vlan-mod-port-userdb. Refer to Displaying a list of local user databases on page 1911.
The first command changes the configuration level to the local user database level for userdb1. The second command deletes the user record marcia from the userdb1 database. Syntax: no username <username>
Syntax: delete-all
1885
The [delete-all] keyword indicates that the user records in the text file will replace the user records in the specified local user database on the FastIron switch. If the [delete-all] keyword is not present, the new user records will be added to the specified local user database on the FastIron switch. The [delete-all] keyword is optional. If present, it must appear on the first line, before the first user record in the text file. The optional [no] keyword indicates that the user entry will be deleted from the specified local user database on the FastIron switch. User records that already exist in the local user database will be updated with the information in the text file when it is uploaded to the switch. For <username1>, <username2>, etc., enter up to 31 ASCII characters. For <password1>, <password2>, etc., enter up to 29 ASCII characters. Be sure to Insert a cursor return (<cr>) after each user record. You can enter up to 30 user records per text file.
NOTE
Syntax: import-users tftp <ip-address> filename <filename> The <ip-address> parameter specifies the IPv4 address of the TFTP server on which the desired text file resides. The <filename> parameter specifies the name of the image on the TFTP server.
1886
NOTE
Web Authentication will use the first reachable RADIUS server listed in the configuration. The use-radius-server on individual ports is not supported for Web Authentication. 2. Enable the username and password authentication mode.
Brocade(config-vlan-10-webauth)#auth-mode username-password
3. Enable the RADIUS authentication method. Refer to Setting the local user database authentication method on page 1887 or Setting the web authentication failover sequence on page 1887
Syntax: auth-mode username-password auth-methods local To revert back to using the RADIUS server, enter the following command.
Brocade(config-vlan-10-webauth)#auth-mode username-password auth-methods radius
Syntax: auth-mode username-password auth-methods <method1> <method2> For <method1> <method2>, enter radius local or local radius.
These commands configure Web Authentication to use the usernames and passwords in the userdb1 database to authenticate users in VLAN 10.
1887
Syntax: [no] auth-mode username-password local-user-database <db-name> For <db-name>, enter a valid local user database. Use the no form of the command to remove the database from the Web Authentication VLAN.
Syntax: auth-mode passcode static <passcode> For <passcode>, enter a number from 4 to 16 digits in length. You can create up to four static passcodes, each with a different length. Static passcodes do not have to be the same length as passcodes that are automatically generated. After creating static passcodes, you can enable passcode authentication as described in the next section. To view the passcodes configured on the switch, use the show webauth vlan <vlan-id> passcode command. Refer to Displaying passcodes on page 1912.
1888
This command enables Web Authentication to use dynamically-created passcodes to authenticate users in the VLAN. If the configuration includes static passcodes, they are used in conjunction with dynamically-created passcodes. Syntax: [no]auth-mode passcode Enter no auth-mode passcode to disable passcode authentication.
The next dynamically-created passcode will be 10 digits in length, for example, 0123456789. Syntax: auth-mode passcode length <value> For <value>, enter a number from 4 to 16.
Time of day When initially enabled, the time of day method will cause passcodes to be
refreshed at 0:00 (12:00 midnight). If desired, you can change this time of day, and you can add up to 24 refresh periods in a 24-hour period. When a passcode is refreshed, the old passcode will no longer work, unless a grace period is configured (refer to Configuring a grace period for an expired passcode on page 1890). If a user changes the passcode refresh value, the configuration is immediately applied to the current passcode. For example, if the passcode duration is 100 minutes and the passcode was last generated 60 minutes prior, a new passcode will be generated in 40 minutes. However, if the passcode duration is changed from 100 to 75 minutes, and the passcode was last generated 60 minutes prior, a new passcode will be generated in 15 minutes. Similarly, if the passcode duration is changed from 100 to 50 minutes, and the passcode was last generated 60 minutes prior, the passcode will immediately expire and a new passcode will be generated. The same principles apply to the time of day passcode refresh method. If you configure both duration of time and time of day passcode refresh values, they are saved to the configuration file. You can switch back and forth between the passcode refresh methods, but only one method can be enabled at a time.
1889
Passcodes are not stateful, meaning a software reset or reload will cause the system to erase the passcode. When the FastIron switch comes back up, a new passcode will be generated. Changing the passcode refresh duration To change the duration of time after which passcodes are refreshed, enter commands such as the following.
Brocade(config-vlan-10-webauth)#auth-mode passcode refresh-type duration 4320
NOTE
The passcode will be refreshed after 4320 minutes (72 hours). Syntax: auth-mode passcode refresh-type duration <value> For <value>, enter a number from 5 to 9999 minutes. The default is 1440 minutes (24 hours). Refreshing passcodes at a certain time of the day You can configure the FastIron switch to refresh passcodes at a certain time of day, up to 24 times each day, instead of after a duration of time. When this feature is enabled, by default passcodes will be refreshed at 00:00 (12 midnight). To configure the switch to refresh passcodes at a certain time of day, enter commands such as the following.
Brocade(config-vlan-10-webauth)#auth-mode passcode refresh-type time 6:00 Brocade(config-vlan-10-webauth)#auth-mode passcode refresh-type time 14:30
The passcode will be refreshed at 6:00am, 2:30pm, and 0:00 (12 midnight). Syntax: [no] auth-mode passcode refresh-type time <hh:mm>. <hh:mm> is the hour and minutes. If you do not enter a value for <hh:mm>, by default, passcodes will be refreshed at 00:00 (12:00 midnight). You can configure up to 24 refresh times. Each must be at least five minutes apart. Enter the no form of the command to remove the passcode refresh time of day. Resetting the passcode refresh time of day configuration If the FastIron switch is configured to refresh passcodes several times during the day (time of day configuration), you can use the following comand to delete all of the configured times and revert back to the default time of 00:00 (12 midnight).
Brocade(config-vlan-10-webauth)#auth-mode passcode refresh-type time delete-all
1890
Syntax: auth-mode passcode grace-period <value> <value> is a number between 0 and 5 minutes. 0 means there is no grace period.
NOTE
If the grace period is re-configured while a passcode is already in the grace period, the passcode is not affected by the configuration change. The new grace period will apply only to passcodes that expire after the new grace period is set.
To disable Syslog messages for passcodes, enter the no auth-mode passcode log syslog command.
Brocade(config-vlan-10-webauth)#no auth-mode passcode log syslog
Enter the following command to disable SNMP trap messages for passcodes.
Brocade(config-vlan-10-webauth)#no auth-mode passcode log snmp-trap
Enter the following command to re-enable Syslog messages for passcodes after they have been disabled.
Brocade(config-vlan-10-webauth)#auth-mode passcode log syslog
Enter the following command to re-enable SNMP trap messages for passcodes after they have been disabled.
Brocade(config-vlan-10-webauth)#auth-mode passcode log snmp-trap
1891
NOTE
The switch retransmits the current passcode only. Passcodes that are in the grace period are not sent.
Automatic authentication
By default, if Web Authentication is enabled, hosts need to login and enter authentication credentials in order to gain access to the network. If a re-authentication period is configured, the host will be asked to re-enter authentication credentials once the re-authentication period ends. You can configure Web Authentication to authenticate a host when the user presses the Login button. When a host enters a valid URL address, Web Authentication checks the list of blocked MAC addresses. If the hosts MAC address is not on the list and the number of allowable hosts has not been reached, after pressing the Login button, the host is automatically authenticated for the duration of the configured re-authentication period, if one is configured. Once the re-authentication period ends, the host is logged out and needs to enter the URL address again. Automatic authentication is not the same as permanent authentication. (Refer to Specifying hosts that are permanently authenticated on page 1894). You must still specify devices that are to be permanently authenticated even if automatic authentication is enabled. To enable automatic authentication, enter the following command.
Brocade(config)#vlan 10 Brocade(config-vlan-10)#webauth Brocade(config-vlan-10-webauth)#auth-mode none
NOTE
Syntax: [no] auth-mode none If automatic authentication is enabled and a host address is not in the blocked MAC address list, Web Authentication authenticates the host and displays the Login page without user credentials, then provides a hyperlink to the requested URL site..
1892
To determine if automatic authentication is enabled on your device, issue the show webauth vlan <vlan-id> command at the VLAN configuration level. Syslog messages are generated under the following conditions:
The feature is enabled The feature is disabled A MAC address is successfully authenticated Automatic authentication cannot occur because the maximum number of hosts allowed has been reached
Syntax: [no] accounting Enter the no accounting command to disable RADIUS accounting for Web Authentication.
To revert back to secure mode, enter the secure-login command. Brocade(config-vlan-10-webauth)#secure-login Syntax: [no] secure-login
1893
The above commands configure ports 3 and 6 10 as trusted ports. Syntax: trust-port ethernet <port> [to <port>] Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
Syntax: [no] add mac <mac-address> duration <seconds> | ethernet <port> duration <seconds> Syntax: no add mac <mac-address> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
<seconds> specifies how long the MAC address remains authenticated. Enter 0 128000 seconds. The default is the current value of reauth-time. A value of "0" means that Web Authentication for the MAC address will not expire. Instead of just entering a duration for how long the MAC address remains authenticated, you can specify the MAC address to be added by the specified port that is a member of the VLAN. To do this, enter values for the ethernet <port> duration <seconds> option. Enter the port number and the number of seconds the MAC address remains authenticated. Entering a no add mac <mac-address> duration <seconds> | ethernet <port> duration <seconds> command sets duration and ethernet to their default values. If you want to remove a host, enter the no add mac <mac-address> command.
NOTE
If a MAC address is statically configured, this MAC address will not be allowed to be dynamically configured on any port.
1894
Syntax: [no] reauth-time <seconds> You can specify 0 128000 seconds. The default is 28800 seconds, and 0 means the user is always authenticated and will never have to re-authenticate, except if an inactive period less than the re-authentication period is configured on the Web Authentication VLAN. If this is the case, the user becomes de-authenticated if there is no activity and the timer for the inactive period expires.
Syntax: [no] cycle time <seconds> Enter 0 3600 seconds, where 0 means there is no time limit. The default is 600 seconds
Syntax: [no] attempt-max-num <number> Enter a number from 0 to 64, where 0 means there is no limit to the number of Web Authentication attempts. The default is 5.
1895
This command clears all the authenticated hosts in VLAN 25. To clear a particular host in a Web authentication VLAN, enter a command such as the following.
Brocade#clear webauth vlan 25 authenticated-mac 1111.2222.3333
This command clears host 1111.2222.3333 from VLAN 25. Syntax: clear webauth vlan <vlan-id> authenticated-mac [<mac-address>]
Setting and clearing the block duration for web authentication attempts
After users exceed the limit for Web Authentication attempts, specify how many seconds users must wait before the next cycle of Web Authenticated begins. Enter a command such as the following.
Brocade(config-vlan-10-webauth)#block duration 4
Syntax: [no] block duration <seconds> Users cannot attempt Web Authentication during this time. Enter 0128000 seconds. The default is 90 seconds, and entering 0 means that the MAC address is infinitely blocked. To unblock the MAC address, wait until the block duration timer expires or enter a command such as the following.
Brocade(config-vlan-10-webauth)#clear webauth vlan 10 block-mac 000.000.1234
Syntax: clear webauth vlan <vlan-id> block-mac [<mac-address>] If you do not enter a <mac-address>, then all the entries for the specified VLAN will be cleared.
Syntax: [no] block mac <mac-address> duration <seconds> Syntax: no block mac <mac-address> Enter 0 128000 for <seconds>. The default is the current value of block duration command. Entering a value of "0" means the MAC address is blocked permanently. Entering no block mac <mac-address> duration <seconds> resets duration to its default value. You can unblock a host by entering the no block mac <mac-address> command.
1896
Brocade(config-vlan-10-webauth)#host-max-num 300
Syntax: [no] host-max-num <number> You can enter 0 8192, where 0 means there is no limit to the number of hosts that can be authenticated. The default is 0. The maximum is 8192 or the maximum number of MAC addresses the device supports. When the maximum number of hosts has been reached, the FastIron switch redirects any new host that has been authenticated successfully to the Maximum Host webpage.
Syntax: [no] dns-filter <number> <ip-address> <subnet-mask> | <wildcard> For <number>, enter a number from 1 to 4 to identify the DNS filter. Enter the IP address and subnet mask of unauthenticated hosts that will be forwarded to the unknown/untrusted servers. Use the <ip-address> <subnet-mask> or <ip-address>/<subnet-mask> format. You can use a <wildcard> for the filter. The <wildcard> is in dotted-decimal notation (IP address format). It is a four-part value, where each part is 8 bits (one byte) separated by dots, and each bit is a one or a zero. Each part is a number ranging from 0 to 255, for example 0.0.0.255. Zeros in the mask mean the packet source address must match the IP address. Ones mean any value matches. For example, the <ip-address> and <subnet-mask> values 209.157.22.26 0.0.0.255 mean that all hosts in the Class C sub-net 209.157.22.x match the policy.
Syntax: [no] port-down-auth-mac-cleanup While this command is enabled, the device checks the link state of all ports that are members of the Web Authentication VLAN. If the state of all the ports is down, then the device forces all authenticated hosts to re-authenticate. However, hosts that were authenticated using the add mac command will remain authenticated; they are not affected by the port-down-auth-mac-cleanup command.
1897
Syntax: [no] authenticated-mac-age-time <seconds> You can enter a value from 0 to the value entered for reauth-time. The default is 3600. Refer to Changing the MAC age time and disabling MAC address learning on page 559 for details on the mac-age-time command. The default mac-age-time is 300 seconds and can be configured to be between 60 and 600 on the FastIron switch. If it is configured to be 0, then the MAC address does not age out due to inactivity.
To change the address on a Layer 3 switch, enter a command such as the following at the Web Authentication VLAN level.
Brocade(config-vlan-10-webauth)#webauth-redirect-address my.domain.net
Entering "my.domain.net" redirects the browser to https://my.domain.net/ when the user enters a valid URL on the Web browser. Syntax: [no] webauth-redirect-address <string> For <string>, enter up to 64 alphanumeric characters. You can enter any value for <string>, but entering the name on the security certificate prevents the display of error messages saying that the security certificate does not match the name of the site.
1898
Syntax: no webauth
1899
FIGURE 201
The browser will then be directed to the requested URL. If username and password (Local User Database) authentication is enabled, the following Login page appears.
1900
FIGURE 202 Example of a login page when automatic authentication is disabled and local user database is
enabled
The user enters a user name and password, which are then sent for authentication. If passcode authentication is enabled, the following Login page appears.
FIGURE 203 Example of a login page when automatic authentication is disabled and passcode Authentication is
Enabled
The user enters a passcode, which is then sent for authentication. If the Web Authentication fails, the page to try again is displayed (Figure 204).
1901
If the limit for the number of authenticated users on the network is exceeded, the Maximum Host Limit page is displayed (Figure 205).
If the number of Web Authentication attempts by a user has been exceeded, the Maximum Attempts Limit page is displayed (Figure 206). The user is blocked from attempting any Web Authentication unless either the user MAC address is removed from the blocked list (using the clear webauth block-mac <mac-address> command) or when the block duration timer expires.
If the user Web Authentication attempt is successful, the Success page is displayed (Figure 207).
1902
Once a host is authenticated, that host can manually de-authenticate by clicking the Logout button in the Login Success page. The host remains logged in until the re-authentication period expires. At that time, the host is automatically logged out. However, if a re-authentication period is not configured, then the host remains logged in indefinitely. If you accidentally close the Success page, you will not be able to log out. if a re-authentication period is configured, you will be logged out once the re-authentication period ends. The host can log out of the Web session by simply clicking the Logout button. Once logged out, the following window appears.
NOTE
You can customize the top and bottom text for the all of the windows shown in Figure 201 through Figure 207.
1903
Title bar Banner image (the logo) Header Text box Login button Footer
You can use the CLI commands show webauth and show webauth vlan <vlan-id> webpage to determine what text has been configured for Web Authentication pages. The banner image does not apply to the Web Authentication Maximum Attempts Limit page (Figure 206). The text box and Login button apply to the Login page only. Figure 208 shows the placement of these objects in the Login page.
NOTE
1904
FIGURE 208 Objects in the web authentication pages that can be customized
Title bar
Logo
Header
Text box
Login button
Footer
Customizing the title bar You can customize the title bar that appears on all Web Authentication pages (refer to Figure 208). To do so, enter a command such as the following.
Brocade(config-vlan-10-webauth)#webpage custom-text title "Brocade Secure Access Page"
Syntax: [no] webpage custom-text title "<title>" For <title>, enter up to 128 alphanumeric characters. The default title bar is "Web Authentication". To reset the title bar back to the default value, enter the command no webpage custom-text title. Customizing the banner image (Logo) You can customize the logo that appears on all Web Authentication pages. Figure 208 shows placement of the banner image in the Login page. The banner image does not display in the Maximum Attempts Limit page (Figure 206). To customize the banner image, use the TFTP protocol to upload an image file from a TFTP server to the FastIron switch. The image file can be in the format jpg, bmp, or gif, and its size must be 64K or less. When you upload a new image file, it willl overwrite the existing image file. To replace the existing logo with a new one, enter a command such as the following.
Brocade(config-vlan-10-webauth)#webpage logo copy tftp 10.10.5.1 brocadelogo.gif
NOTE
1905
This command downloads the image file and stores it in the device flash memory. Therefore, it is not necessary to follow this command with a write memory. The <ip-address> parameter specifies the address of the TFTP server on which the image file resides. The <filename> parameter specifies the name of the image file on the TFTP server. Use the no webpage logo command to delete the logo from all Web Authentication pages and remove it from flash memory. Aligning the banner image (Logo) You can optionally configure the placement of the logo that appears on all Web Authentication pages (refer to Figure 208). By default, the logo is left-aligned at the top of the page. To center the logo at the top of the page, enter the following command.
Brocade(config-vlan-10-webauth)#webpage logo align center
NOTE
To right-justify the log at the top of the page, enter the following command.
Brocade(config-vlan-10-webauth)#webpage logo align right
Syntax: [no] webpage logo align center | left | right Use the no webpage logo align command to reset the logo back to its default position (left). Customizing the header You can customize the header that appears on all Web Authentication pages. Figure 208 shows placement of the header in the Login page. To customize the header, enter a command such as the following.
Brocade(config-vlan-10-webauth)#webpage custom-text top "Welcome to Network One"
Syntax: [no] webpage custom-text top <text> For <text>, enter up to 255 alphanumeric characters. To reset the header back to the default text, enter the command no webpage custom-text top. The default text is "Welcome to Brocade Communications, Inc. Web Authentication Homepage". Customizing the text box You can customize the text box that appears on the Web Authentication Login page. Figure 208 shows placement of the text box in the Login page. By default, the text box is empty and is not visible. To create a text box or to replace the existing one, upload an ASCII text file from a TFTP server to the FastIron switch. The text file size must not exceed 2K. To create or replace a text box, enter a command such as the following.
Brocade(config-vlan-10-webauth)#webpage terms copy tftp 10.10.5.1 policy.txt
Syntax: [no] webpage terms copy tftp <ip-address> <filename> This command downloads the text file and stores it in the device flash memory. Therefore, it is not necessary to follow this command with a write memory.
NOTE
1906
The <ip-address> parameter is the address of the TFTP server on which the image resides. The <filename> parameter is the name of the text file on the TFTP server. To revert back to the default text box (none), enter the command no webpage terms. Customizing the login button You can customize the Login button that appears on the bottom of the Web Authentication Login page (refer to Figure 208). To do so, enter a command such as the following.
Brocade(config-vlan-10-webauth)#webpage custom-text login-button "Press to Log In"
Syntax: [no] webpage custom-text login-button "<text>" For <text>, enter up to 32 alphanumeric characters. To reset the Login button back to the default value ("Login"), enter the command no webpage custom-text login-button. Customizing the footer You can customize the footer that appears on all Web Authentication pages. Figure 208 shows placement of the footer in the Login page. To customize the footer enter a command such as the following.
Brocade(config-vlan-10-webauth)#webpage custom-text bottom "Network One Copyright 2010"
Syntax: [no] webpage custom-text bottom "<text>" For <text>, enter up to 255 alphanumeric characters. To reset the footer back to the default text, enter the command no webpage custom-text bottom. The default text is "This network is restricted to authorized users only. Violators may be subjected to legal prosecution. Activity on this network is monitored and may be used as evidence in a court of law. Copyright 2009 Brocade Communications, Inc., Inc."
1907
authenticated-mac-age-time: 3600 (Default) dns-filter: Disable (Default) authentication mode: username and password (Default) authentication methods: radius Local user database name: <none> Radius accounting: Enable (Default) Trusted port list: None Secure Login (HTTPS): Enable (Default) Web Page Customizations: Top (Header): Default Text Bottom (Footer): Custom Text "SNL Copyright 2009" Title: Default Text Login Button: Custom Text "Sign On" Web Page Logo: blogo.gif align: left (Default) Web Page Terms and Conditions: policy1.txt Host statistics: Number of hosts dynamically authenticated: 0 Number of hosts statically authenticated: 2 Number of hosts dynamically blocked: 0 Number of hosts statically blocked: 0 Number of hosts authenticating: 1
Description
Identifies the VLAN on which Web Authentication is enabled. The maximum number of Web Authentication attempts during a cycle. The maximum number of users that can be authenticated at one time. How many seconds a user who failed Web Authentication must wait before attempting to be authenticated. The number of seconds in one Web Authentication cycle. Indicates if this option is enabled or disabled. If enabled, all authenticated users are de-authenticated if all the ports in the VLAN go down. The number of seconds an authenticated user remains authenticated. Once this timer expires, the user must re-authenticate. If a user is inactive, this time shows how many seconds a user has before the user associated MAC address is aged out. The user will be forced to re-authenticate. Shows the definition of any DNS filter that have been set. (Refer to Filtering DNS queries on page 1897 The authentication mode: username and password (default) passcode none Also displays configuration details for the authentication mode.
reauth-time
authenticated-mac-age-time
RADIUS accounting
1908
Field
Trusted port list Secure login (HTTPS) Web Page Customizations
Description
The statically-configured trusted ports of the Web Authentication VLAN. Whether HTTPS is enabled or disabled. The current configuration for the text that appears on the Web Authentication pages. Either "Custom Text" or "Default Text" displays for each page type: "Custom Text" means the message for the page has been customized. The custom text is also displayed. "Default Text" means the default message that ships with the FastIron switch is used. The actual text on the Web Authentication pages can be displayed using the show webauth vlan <vlan-id> webpage command. Refer to Displaying text for web authentication pages on page 1904. The authentication status and the number of hosts in each state.
Host statistics
Syntax: show webauth [vlan <vlan-id>] The show webauth command by itself displays information for all VLANs on which Web Authentication is enabled. Use the vlan <vlan-id> parameter to display information for a specific VLAN.
1909
Description
The ID of the VLAN on which Web Authentication is enabled. The MAC addresses that have been authenticated. The authenticated username. If the MAC address was dynamically (passed Web Authentication) or statically (added to the authenticated list using the add mac command) authenticated. The remainder of time the MAC address will remain authenticated
Authenticated Duration
Displays...
The ID of the VLAN on which Web Authentication is enabled. The MAC addresses that are trying to be authenticated. The User Name associated with the MAC address. Number of authentication attempts that have failed. The remaining time the user has to be authenticated before the current authentication cycle expires. Once it expires, the user must enter a valid URL again to display the Web Authentication Welcome page.
1910
Description
The ID of the VLAN on which Web Authentication is enabled. The MAC addresses that have been blocked from Web Authentication. The User Name associated with the MAC address. If the MAC address was dynamically or statically blocked. The block mac command statically blocks MAC addresses. The remaining time the MAC address has before the user with that MAC address can attempt Web Authentication.
1911
As shown in the above example, passwords are encrypted in the command output. Syntax: show local-userdb <db-name>
Displaying passcodes
If the passcode Web authentication mode is enabled, you can use the following command to display current passcodes.
Brocade#show webauth vlan 25 passcode Current Passcode : 1389 This passcode is valid for 35089 seconds
1912
Chapter
47
Table 315 lists individual Brocade switches and the DoS protection features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where noted.
TABLE 315
Feature
FWS
FCX
ICX 6610
Yes Yes
Yes Yes
Yes Yes
This chapter explains how to protect your Brocade devices from Denial of Service (DoS) attacks. In a Denial of Service (DoS) attack, a router is flooded with useless packets, hindering normal operation. Brocade devices include measures for defending against two types of DoS attacks Smurf attacks and TCP SYN attacks.
Smurf attacks
A Smurf attack is a kind of DoS attack in which an attacker causes a victim to be flooded with Internet Control Message Protocol (ICMP) echo (Ping) replies sent from another network. Figure 209 illustrates how a Smurf attack works.
FIGURE 209 How a Smurf attack floods a victim with ICMP replies
Attacker sends ICMP echo requests to broadcast address on Intermediarys network, spoofing Victims IP address as the source
Attacker
If Intermediary has directed broadcast forwarding enabled, ICPM echo requests are broadcast to hosts on Intermediarys network
Victim Intermediary
The hosts on Intermediarys network send replies to Victim, inundating Victim with ICPM packets
1913
Smurf attacks
The attacker sends an ICMP echo request packet to the broadcast address of an intermediary network. The ICMP echo request packet contains the spoofed address of a victim network as its source. When the ICMP echo request reaches the intermediary network, it is converted to a Layer 2 broadcast and sent to the hosts on the intermediary network. The hosts on the intermediary network then send ICMP replies to the victim network. For each ICMP echo request packet sent by the attacker, a number of ICMP replies equal to the number of hosts on the intermediary network are sent to the victim. If the attacker generates a large volume of ICMP echo request packets, and the intermediary network contains a large number of hosts, the victim can be overwhelmed with ICMP replies.
To set threshold values for ICMP packets received on interface 3/11, enter the following commands.
Brocade(config)#interface ethernet 3/11 Brocade(config-if-e1000-3/11)#ip icmp burst-normal 5000 burst-max 10000 lockup 300
For Layer 3 router code, if the interface is part of a VLAN that has a router VE, you must configure ICMP attack protection at the VE level. Otherwise, you can configure this feature at the interface level as shown in the previous example. When ICMP attack protection is configured at the VE level, it will apply to routed traffic only. It will not affect switched traffic. You must configure VLAN information for the port before configuring ICMP attack protection. You cannot change the VLAN configuration for a port on which ICMP attack protection is enabled.
NOTE
1914
To set threshold values for ICMP packets received on VE 31, enter commands such as the following.
Brocade(config)#interface ve 31 Brocade(config-vif-31)#ip icmp burst-normal 5000 burst-max 10000 lockup 300
Syntax: ip icmp burst-normal <value> burst-max <value> lockup <seconds> The burst-normal <value> parameter can be from 1 through 100,000 packets per second. The burst-max <value> paramter can be from 1 through 100,000 packets per second. The lockup <value> parameter can be from 1 through 10,000 seconds. This command is supported on Ethernet and Layer 3 interfaces. The number of incoming ICMP packets per second is measured and compared to the threshold values as follows:
If the number of ICMP packets exceeds the burst-normal value, the excess ICMP packets are
dropped.
If the number of ICMP packets exceeds the burst-max value, all ICMP packets are dropped for
the number of seconds specified by the lockup value. When the lockup period expires, the packet counter is reset and measurement is restarted. In the example, if the number of ICMP packets received per second exceeds 5,000, the excess packets are dropped. If the number of ICMP packets received per second exceeds 10,000, the device drops all ICMP packets for the next 300 seconds (5 minutes).
1915
For example, to set threshold values for TCP SYN packets targeted at the router, enter the following command in global CONFIG mode.
Brocade(config)#ip tcp burst-normal 10 burst-max 100 lockup 300
To set threshold values for TCP SYN packets received on interface 3/11, enter the following commands.
Brocade(config)#interface ethernet 3/11 Brocade(config-if-e1000-3/11)#ip tcp burst-normal 10 burst-max 100 lockup 300
For Layer 3 router code, if the interface is part of a VLAN that has a router VE, you must configure TCP/SYN attack protection at the VE level. Otherwise, you can configure this feature at the interface level as shown in the previous example. WhenTCP/SYN attack protection is configured at the VE level, it will apply to routed traffic only. It will not affect switched traffic.
NOTE
You must configure VLAN information for the port before configuring TCP/SYN attack protection. You cannot change the VLAN configuration for a port on which TCP/SYN attack protection is enabled. To set threshold values for TCP/SYN packets received on VE 31, enter commands such as the following.
Brocade(config)#interface ve 31 Brocade(config-vif-31)#ip tcp burst-normal 5000 burst-max 10000 lockup 300
Syntax: ip tcp burst-normal <value> burst-max <value> lockup <seconds> This command is available at the global CONFIG level on both Chassis devices and Compact devices. On Chassis devices, this command is available at the Interface level as well. This command is supported on Ethernet and Layer 3 interfaces. The burst-normal <value> parameter can be from 1 100,000 packets per second. The burst-max <value> parameter can be from 1 100,000 packets per second. The lockup <value> parameter can be from 1 10,000 seconds. The number of incoming TCP SYN packets per second is measured and compared to the threshold values as follows:
NOTE
If the number of TCP SYN packets exceeds the burst-normal value, the excess TCP SYN packets
are dropped.
If the number of TCP SYN packets exceeds the burst-max value, all TCP SYN packets are
dropped for the number of seconds specified by the lockup value. When the lockup period expires, the packet counter is reset and measurement is restarted. In the example, if the number of TCP SYN packets received per second exceeds 10, the excess packets are dropped. If the number of TCP SYN packets received per second exceeds 100, the device drops all TCP SYN packets for the next 300 seconds (5 minutes).
1916
Blind TCP reset attack using the reset (RST) bit Blind TCP reset attack using the synchronization (SYN) bit Blind TCP packet injection attack
The TCP security enhancement is automatically enabled.
Protecting against a blind TCP reset attack using the RST bit
In a blind TCP reset attack using the RST bit, a perpetrator attempts to guess the RST bits to prematurely terminate an active TCP session. To prevent a user from using the RST bit to reset a TCP connection, the RST bit is subject to the following rules when receiving TCP segments:
If the RST bit is set and the sequence number is outside the expected window, the Brocade
device silently drops the segment.
If the RST bit is exactly the next expected sequence number, the Brocade device resets the
connection.
If the RST bit is set and the sequence number does not exactly match the next expected
sequence value, but is within the acceptable window, the Brocade device sends an acknowledgement.
Protecting against a blind TCP reset attack using the SYN bit
In a blind TCP reset attack using the SYN bit, a perpetrator attempts to guess the SYN bits to prematurely terminate an active TCP session. To prevent a user from using the SYN bit to tear down a TCP connection, in current software releases, the SYN bit is subject to the following rules when receiving TCP segments:
If the SYN bit is set and the sequence number is outside the expected window, the Brocade
device sends an acknowledgement (ACK) back to the peer.
If the SYN bit is set and the sequence number is an exact match to the next expected
sequence, the Brocade device sends an ACK segment to the peer. Before sending the ACK segment, the software subtracts one from the value being acknowledged.
If the SYN bit is set and the sequence number is acceptable, the Brocade device sends an
acknowledgement (ACK) segment to the peer.
1917
Syntax: show statistics dos-attack To clear statistics about ICMP and TCP SYN packets dropped because burst thresholds were exceeded, enter the clear statistics dos-attack command.
Brocade#clear statistics dos-attack
1918
Chapter
DHCP
48
Table 316 lists individual Brocade switches and the Dynamic Host Configuration Protocol (DHCP) packet inspection and tracking features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 316
Feature
FWS
FCX
ICX 6610
Dynamic ARP inspection DHCP snooping DHCP relay agent information (DHCP Option 82) IP source guard
ARP poisoning
ARP provides IP communication within a Layer 2 broadcast domain by mapping an IP address to a MAC address. Before a host can talk to another host, it must map the IP address to a MAC address first. If the host does not have the mapping in its ARP table, it creates an ARP request to resolve the mapping. All computers on the subnet will receive and process the ARP requests, and the host whose IP address matches the IP address in the request will send an ARP reply. An ARP poisoning attack can target hosts, switches, and routers connected to the Layer 2 network by poisoning the ARP caches of systems connected to the subnet and by intercepting traffic intended for other hosts on the subnet. For instance, a malicious host can reply to an ARP request with its own MAC address, thereby causing other hosts on the same subnet to store this information in their ARP tables or replace the existing ARP entry. Furthermore, a host can send gratuitous replies without having received any ARP requests. A malicious host can also send out ARP packets claiming to have an IP address that actually belongs to another host (e.g. the default router). After the attack, all traffic from the device under attack flows through the attacker computer and then to the router, switch, or host.
1919
Intercepts ARP packets received by the system CPU Inspects all ARP requests and responses received on untrusted ports Verifies that each of the intercepted packets has a valid IP-to-MAC address binding before
updating the local ARP table, or before forwarding the packet to the appropriate destination
Untrusted
ARP packet
DAI
ARP packet
Trusted
FastIron Switch
ARP entries
DAI uses the IP/MAC mappings in the ARP table to validate ARP packets received on untrusted ports. ARP entries in the ARP table derive from the following:
Dynamic ARP normal ARP learned from trusted ports. Static ARP statically configured IP/MAC/port mapping. Inspection ARP statically configured IP/MAC mapping, where the port is initially unspecified.
The actual physical port mapping will be resolved and updated from validated ARP packets.Refer to Configuring an inspection ARP entry on page 1922.
1920
DHCP-Snooping ARP information collected from snooping DHCP packets when DHCP
snooping is enabled on VLANs. The status of an ARP entry is either pending or valid:
Valid the mapping is valid, and the port is resolved. This is always the case for static ARP
entries.
Pending for normal dynamic and inspection ARP entries before they are resolved, and the
port mapped. Their status changes to valid when they are resolved, and the port mapped. Refer to also System reboot and the binding database on page 1925.
To run Dynamic ARP Inspection, you must first enable support for ACL filtering based on VLAN
membership or VE port membership. To do so, enter the following commands at the Global CONFIG Level of the CLI.
Brocade(config)#enable ACL-per-port-per-vlan Brocade(config)#write memory Brocade(config)#exit Brocade#reload
NOTE
You must save the configuration and reload the software to place the change into effect.
Brocade recommends that you do not enable DAI on a trunk port. The maximum number of DHCP and static DAI entries depends on the maximum number of
ARP table entries allowed on the device. A FastIron Layer 2 switch can have up to 256 ARP entries and a FastIron Layer 3 switch can have up to 64,000 ARP entries. In a FastIron Layer 3 switch, you can use the system-max ip-arp command to change the maximum number of ARP entries for the device. However, only up to 1024 DHCP entries can be saved to flash.
ACLs are supported on member ports of a VLAN on which DHCP snooping and Dynamic ARP
Inspection (DAI) are enabled.
On FastIron X Series devices, DAI is supported together with multi-device port authentication
and dynamic ACLs. For details, refer to Support for dynamic ARP inspection with dynamic ACLs on page 1844.
1921
Default
Disabled Untrusted
This command defines an inspection ARP entry, mapping a device IP address 20.20.20.12 with its MAC address 0001.0002.0003. The ARP entry will be in Pend (pending) status until traffic with the matching IP-to-MAC is received on a port. Syntax: [no] arp <ip-addr> <mac-addr> inspection The <ip-addr> <mac-addr> parameter specifies a device IP address and MAC address pairing.
The command enables DAI on VLAN 2. ARP packets from untrusted ports in VLAN 2 will undergo DAI inspection. Syntax: [no] ip arp inspection vlan <vlan-number> The <vlan-number> variable specifies the ID of a configured VLAN.
1922
DHCP snooping
The commands change the CLI to the interface configuration level of port 1/4 and set the trust setting of port 1/4 to trusted. Syntax: [no] arp inspection trust
Syntax: show ip arp inspection [vlan <vlan_id>] The <vlan_id> variable specifies the ID of a configured VLAN.
The command displays all ARP entries in the system. For field definitions, refer to Table 183 on page 1065. Syntax: show arp
DHCP snooping
Dynamic Host Configuration Protocol (DHCP) snooping enables the Brocade device to filter untrusted DHCP packets in a subnet. DHCP snooping can ward off MiM attacks, such as a malicious user posing as a DHCP server sending false DHCP server reply packets with the intention of misdirecting other users. DHCP snooping can also stop unauthorized DHCP servers and prevent errors due to user mis-configuration of DHCP servers. Often DHCP snooping is used together with Dynamic ARP Inspection and IP Source Guard.
1923
DHCP snooping
Trusted
Untrusted
DHCP Snooping
DHCP Server
FastIron Switch
Trusted
Untrusted
DHCP Snooping
FastIron Switch
1924
DHCP snooping
To run DHCP snooping, you must first enable support for ACL filtering based on VLAN
membership or VE port membership. To do so, enter the following commands at the Global CONFIG Level of the CLI.
Brocade(config)#enable ACL-per-port-per-vlan Brocade(config)#write memory Brocade(config)#exit Brocade#reload
NOTE
You must save the configuration and reload the software to place the change into effect.
DHCP snooping is supported on trunk ports (tagged and untagged) for trusted ports. DHCP snooping is not supported on trunk ports for untrusted ports. DHCP snooping is not supported together with DHCP Auto-configuration. A switch can have up to 256 ARP entries, therefore, DHCP entries are limited to 256. A router, however, can have 64,000 ARP entries, so a router can have up to 64,000 DHCP entries, of which only 1024 entries can be saved to flash on reboot. Inspection (DAI) are enabled.
ACLs are supported on member ports of a VLAN on which DHCP snooping and Dynamic ARP See also About client IP-to-MAC address mappings on page 1925. On FastIron X Series devices, DHCP snooping is supported together with multi-device port
authentication and dynamic ACLs. For details, refer to Support for DHCP snooping with dynamic ACLs on page 1844.
DHCP snooping supports DHCP relay agent information (DHCP Option 82). For details, refer to
DHCP relay agent information on page 1928.
1925
DHCP snooping
Default
Disabled Untrusted
The command enables DHCP snooping on VLAN 2. Syntax: [no] ip dhcp snooping vlan <vlan-number> The <vlan-number> variable specifies the ID of a configured client or DHCP server VLAN.
Port 1/1 is connected to a DHCP server. The commands change the CLI to the interface configuration level of port 1/1 and set the trust setting of port 1/1 to trusted. Syntax: [no] dhcp snooping trust
Syntax: [no] dhcp snooping client-learning disable Use the no form of the command to re-enable DHCP client learning on a port once it has been disabled.
1926
DHCP snooping
To clear entries for a specific IP address, enter a command such as the following.
Brocade#clear dhcp 10.10.102.4
Port 6/13
vlan 1112
lease 361
Syntax: show arp For field definitions, refer to Table 183 on page 1065.
1927
On VLAN 2, client ports 1/3 and 1/4 are untrusted by default all client ports are untrusted. Hence, only DHCP client request packets received on ports 1/3 and 1/4 are forwarded. On VLAN 20, ports 1/1 and 1/2 are connected to a DHCP server. DHCP server ports are set to trusted .
Brocade(config)#interface ethernet Brocade(config-if-e10000-1/1)#dhcp Brocade(config-if-e10000-1/1)#exit Brocade(config)#interface ethernet Brocade(config-if-e10000-1/2)#dhcp Brocade(config-if-e10000-1/2)#exit 1/1 snooping trust 1/2 snooping trust
Hence, DHCP server reply packets received on ports 1/1 and 1/2 are forwarded, and client IP/MAC binding information is collected. The example also sets the DHCP server address for the local relay agent.
Brocade(config)#interface ve 2 Brocade(config-vif-2)#ip address 20.20.20.1/24 Brocade(config-vif-2)#ip helper-address 1 30.30.30.4 Brocade(config-vif-2)#interface ve 20 Brocade(config-vif-20)#ip address 30.30.30.1/24
Before relaying a DHCP discovery packet or DHCP request packet from a client to a DHCP
server, the FastIron switch will add agent information to the packet.
Before relaying a DHCP reply packet from a DHCP server to a client, the FastIron switch will
remove relay agent information from the packet.
1928
As illustrated in Figure 213, the DHCP relay agent (the FastIron switch), inserts DHCP option 82 attributes when relaying a DHCP request packet to a DHCP server.
option
82
option 82
DHCP Client
FastIron Switch DHCP Relay Agent
DHCP Server
As illustrated in Figure 214, the FastIron switch deletes DHCP option 82 attributes before forwarding a server reply packet back to a DHCP client.
FIGURE 214 DHCP Option 82 attributes removed from the DHCP packet
DHCP Snooping
Trusted Untrusted
option 82
82
DHCP Client
FastIron Switch DHCP Relay Agent
DHCP Server
The DHCP option 82 insertion/deletion feature is available only when DHCP snooping is enabled for the client/server ports.
1929
Sub-option 1 circuit id
The Circuit ID (CID) identifies the circuit or port from which a DHCP client request was sent. The FastIron switch uses this information to relay DHCP responses back to the proper circuit, for example, the port number on which the DHCP client request packet was received. Brocade FastIron devices support the General CID packet format. This simple format encodes the CID type, actual information length, VLAN ID, slot number, and port number. This format is compatible with the format used by other vendors devices. Figure 215 illustrates the general CID packet format.
Sub-option 2 Remote ID
The Remote ID (RID) identifies the remote host end of the circuit (the relay agent). Brocade devices use the MAC address to identify itself as the relay agent. Figure 216 illustrates the RID packet format.
Sub-option 6 - subscriber id
The Subscriber ID (SID) is a unique identification number that enables an Internet Service Provider to:
Identify a subscriber Assign specific attributes to that subscriber (for example, host IP address, subnet mask, and
domain name server (DNS))
Trigger accounting
Figure 217 illustrates the SID packet format.
The second byte (N in Figure 217) is the length of the ASCII string that follows. The FastIron switch supports up to 50 ASCII characters.
1930
Subjects all ports in the VLAN to DHCP option 82 processing Uses the general CID packet format Uses the standard RID packet format Replaces relay agent information received in DHCP packets with its own information Does not enable SID processing
Disable DHCP Option 82 processing on individual ports in the VLAN Configure the device to drop or keep the relay agent information in a DHCP packet instead of
replacing it with its own information
The first CLI command enables DHCP snooping and DHCP option 82 on VLAN 1. The second command changes the CLI configuration level to the Interface configuration level for port e 1/4. The last command disables DHCP option 82 on interface e 1/4, which is a member of VLAN 1. To re-enable DHCP option 82 on an interface after it has been disabled, enter the following command at the Interface level of the CLI.
Brocade(config-if-e1000-1/4)#dhcp snooping relay information
Syntax: [no] dhcp snooping relay information Use the show ip dhcp snooping vlan command to view the ports on which DHCP option 82 processing is disabled. For more information, refer to Viewing the ports on which DHCP option 82 is disabled on page 1933.
1931
To configure the device to drop DHCP messages that contain relay agent information, enter the ip dhcp relay information policy drop command.
Brocade(config)#ip dhcp relay information policy drop
Syntax: ip dhcp relay information policy <policy-type> <policy-type> can be one of the following:
drop Configures the device to discard messages containing relay agent information keep Configures the device to keep the existing relay agent information replace Configures the device to overwrite the relay agent information with the information in
the Brocade configuration. This is the default behavior. Use the show ip dhcp relay information command to view the forwarding policy configured on the switch.Refer to Viewing the circuit Id, remote id, and forwarding policy on page 1933.
The first CLI command enables DHCP snooping and DHCP option 82 on VLAN 1. The second command changes the CLI configuration level to the Interface configuration level for port e 1/4. The last command enables interface e 1/4 to insert the SID information in DHCP packets. In this case, the SID is Brcd01. All other ports in VLAN 1 on which SID is not enabled will send the standard relay agent information (CID and RID information) only. Syntax: [no] dhcp snooping relay information option subscriber-id <ASCII string> Enter up to 50 alphanumeric characters for <ASCII string>. Use the no form of the command to disable SID processing once it is enabled. Use the show interfaces ethernet command to view the subscriber ID configured on a port.Refer to Viewing the status of DHCP option 82 and the subscriber id on page 1934.
1932
TABLE 317
Field
Circuit-ID Remote-ID Policy
The remote ID format. This field displays mac, which is the default remote ID format. How the Brocade switch processes relay agent information it receives in DHCP messages: drop drops the relay agent information keep keeps the relay agent information replace replaces the relay agent information with its own
TABLE 318
Field
1933
IP source guard
The above output shows that DHCP option 82 is Enabled on the device and the configured subscriber ID is Brocade001. Syntax: show interfaces ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices = <slotnum/portnum> FESX compact switches <portnum>
IP source guard
You can use IP Source Guard together with Dynamic ARP Inspection on untrusted ports. Refer to DHCP snooping on page 1923 and Dynamic ARP inspection on page 1919. The Brocade implementation of the IP Source Guard feature supports configuration on a port, on specific VLAN memberships on a port (Layer 2 devices only), and on specific ports on a virtual interface (VE) (Layer 3 devices only).
1934
IP source guard
When IP Source Guard is first enabled, only DHCP packets are allowed and all other IP traffic is blocked. When the system learns a valid IP address, IP Source Guard then allows IP traffic. Only the traffic with valid source IP addresses are permitted. The system learns of a valid IP address from DHCP Snooping. When it learns a valid IP address, the system permits the learned source IP address. When a new IP source entry binding on the port is created or deleted, the ACL will be recalculated and reapplied in hardware to reflect the change in IP source binding. By default, if IP Source Guard is enabled without any IP source binding on the port, an ACL that denies all IP traffic is loaded on the port.
NOTE
You must save the configuration and reload the software to place the change into effect.
Brocade FWS and FCX devices do not support IP Source Guard and dynamic ACLs on the same
port.
Brocade devices support IP Source Guard together with IPv4 ACLs (similar to ACLs for Dot1x),
as long as both features are configured at the port-level or per-port-per-VLAN level. Brocade devices do not support IP Source Guard and IPv4 ACLs on the same port if one is configured at the port-level and the other is configured at the per-port-per-VLAN level.
IP source guard and IPv6 ACLs are supported together on the same device, as long as they are
not configured on the same port or virtual Interface.
The following limitations apply when configuring IP Source Guard on Layer 3 devices: You cannot enable IP Source Guard on a tagged port on a Layer 3 device. To enable IP
Source Guard on a tagged port, enable it on a per-VE basis.
You cannot enable IP Source Guard on an untagged port with VE on a Layer 3 device. To
enable IP Source Guard in this configuration, enable it on a per-VE basis.
There are no restrictions for Layer 2, either on the port or per-VLAN. You cannot enable IP Source Guard on a port that has any of the following features enabled: MAC address filter Rate limiting Trunk port 802.1x with ACLs Multi-device port authentication with ACLs A port on which IP Source Guard is enabled limits the support of IP addresses, VLANs, and ACL
rules per port. An IP Source Guard port supports a maximum of:
1935
IP source guard
64 IP addresses 64 VLANs 64 rules per ACL The number of configured ACL rules affect the rate at which hardware resources are used
when IP Source Guard is enabled. Use the show access-list hw-usage on command to enable hardware usage for an ACL, followed by a show access-list <access-list-id> command to determine the hardware usage for an ACL.
Example
Brocade#show access-list hw-usage on Brocade#show access-list 100 Extended IP access list 100 (hw usage : 2) deny ip any any (hw usage : 1)
To provide more hardware resource for IP Source Guard addresses, modify the ACL rules so that it uses less hardware resource.
If you enable IP Source Guard in a network topology that has DHCP clients, you must also
enable DHCP snooping. Otherwise, all IP traffic including DHCP packets will be blocked.
When you enable IP Source Guard in a network topology that does not have DHCP clients, you
must create an IP source binding for each client that will be allowed access to the network. Otherwise, data packets will be blocked. Refer to Defining static IP source bindings on page 1936.
Source Guard Protection enables concurrent support with multi-device port authentication.
For details, Refer to Enabling source guard protection on page 1856.
The commands change the CLI to the interface configuration level for port 1/4 and enable IP Source Guard on the port. Syntax: [no] source-guard enable
Syntax: [no] ip source binding <ip-addr> ethernet [<slotnum>/]<portnum> [vlan <vlannum>] For <ip-addr>, enter a valid IP address.
1936
IP source guard
The <slotnum> parameter is required on chassis devices. The <portnum> parameter is a valid port number. The [vlan <vlannum>] parameter is optional. If you enter a VLAN number, the binding applies to that VLAN only. If you do not enter a VLAN number, the static binding applies to all VLANs associated with the port. Note that since static IP source bindings consume system resources, you should avoid unnecessary bindings.
The commands in this example configure port-based VLAN 12, and add ports e 5 8 as untagged ports and ports e 23 24 as tagged ports to the VLAN. The last two commands enable IP Source Guard on port e 23, a member of VLAN 12. Syntax: [no] source-guard enable
1937
IP source guard
1938
Chapter
Rate Limiting and Rate Shaping on FastIron X Series and FCX and ICX Series Switches
49
Table 319 lists the individual Brocade FastIron switches and the rate limiting and rate shaping features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 319
Feature
FWS
FCX
ICX 6610
Inbound rate limiting (Port-based rate limiting on inbound ports) Outbound rate shaping
Yes For details about inbound rate and outbount limiting on FastIron WS Series devices, see Chapter 50, Rate Limiting on FastIron WS Series Switches, Yes
Yes Yes
Yes Yes
Yes
Yes
Yes
Yes
For details about ACL-based rate limiting, see Chapter 42, Traffic Policies.
This chapter describes how to configure rate limiting and rate shaping on Brocade FastIron X Series, Brocade FCX Series, Brocade ICX 6610, Brocade ICX 6430, and Brocade ICX 6450 devices. Rate limiting applies to inbound ports and rate shaping applies to outbound ports.
1939
When you specify the maximum number of bytes, you specify it in kilobits per second (kbps). The Fixed rate limiting policy applies to one-second intervals and allows the port to receive the number of bytes you specify in the policy, but drops additional bytes. Unused bandwidth is not carried over from one interval to the next. Brocade recommends that you do not use Fixed rate limiting on ports that receive route control traffic or Spanning Tree Protocol (STP) control traffic. If the port drops control packets due to the Fixed rate limiting policy, routing or STP can be disrupted.
NOTE
1940
The Fixed Rate Limiting policy allows up to 500000 bits (62500 bytes) of inbound traffic during each one-second interval.
Once the maximum rate is reached, all additional traffic within the one-second interval is dropped.
One-second interval
One-second interval
One-second interval
One-second interval
The software counts the bytes by polling statistics counters for the port every 100 milliseconds, which provides 10 readings each second. Due to the polling interval, the Fixed Rate Limiting policy has an accuracy of within 10% of the port's line rate. It is therefore possible for the policy to sometimes allow more traffic than the limit you specify, but the extra traffic is never more than 10% of the port's line rate.
NOTE
FastIron X Series devices do not support fixed rate limiting on tagged ports in the base Layer 3
and full Layer 3 images.
The rate limit on IPv6 hardware takes several seconds to take effect at higher configured rate
limit values. For example, if the configured rate limit is 750 Mbps, line-rate limiting could take up to 43 seconds to take effect.
These commands configure a fixed rate limiting policy that allows port 24 to receive a maximum of 500 kbits per second. If the port receives additional bytes during a given one-second interval, the port drops all inbound packets on the port until the next one-second interval starts. Syntax: [no] rate-limit input fixed <average-rate> For FastIron devices, the <average-rate> parameter specifies the maximum number of kilobits per second (kbps) the port can receive. The minimum rate that can be configured is 64 kpbs.
1941
1942
Syntax: show rate-limit input The command lists the ports on which fixed rate limiting is configured, and provides the information listed in Table 320 for each of the ports.
TABLE 320
Field
Total rate-limited interface count Port Configured Input Rate Actual Input Rate
1943
Outbound rate shapers can be configured only on physical ports, not on virtual or loopback
ports.
For trunk ports, the rate shaper must be configured on individual ports of a trunk using the
config-trunk-ind command (trunk configuration level); you cannot configure a rate shaper for a trunk.
This feature is supported on FastIron X Series and Brocade FCX Series devices only. When outbound rate shaping is enabled on a port on an IPv4 device, the port QoS queuing
method (qos mechanism) will be strict mode. This applies to IPv4 devices only. On IPv6 devices, the QoS mechanism is whatever method is configured on the port, even when outbound rate shaping is enabled.
You can configure a rate shaper for a port and for the individual priority queues of that port.
However, if a port rate shaper is configured, that value overrides the rate shaper value of a priority queue if the priority queue rate shaper is greater than the rate shaper for the port. The configured rate shaper values are rounded up to the nearest multiples of minimum values supported on the platform. Table 321 shows the minimum and maximum values for output rate shaping on various devices. Values are in Kbps.
TABLE 321
Device
ICX 6610 ICX 6610 FCX FCX FSX FSX FSX FSX FSX
Minimum
3 89 89 3388 51 51 651 3 3
Maximum
999750 999666 999666 9996513 999485 999485 999936 9999000 9999000
1944
The above commands affect FastIron X Series and Brocade FCX Series systems differently:
On FastIron X Series devices, the configured 1300 Kbps outbound rate shaping on port 2 is
rounded up to the nearest multiple of 651 Kbps, which is 1302 Kbps. This value is the actual limit on the port for outbound traffic.
On Brocade FCX Series devices, the configured outbound rate shaper of 651 Kbps on port
1/15 is rounded to 616 Kbps. The configured 1300 Kbps limit on port 15 is rounded to 1232 Kbps.. Syntax: [no] rate-limit output shaping <value>
The above commands affect FastIron X Series and Brocade FCX Series systems differently:
On FastIron X Series devices, the configured 500 Kbps limit for outbound traffic on Priority
queue 7 on port 2 is rounded up to the nearest multiple of 651 Kbps, which is 651 Kbps.
On Brocade FCX Series devices, the configured 500 Kbps limit for outbound traffic on priority
queue 7 on port 2 is rounded to a value that is programmable by the hardware, which is 440 Kbps. Syntax: [no] rate-limit output shaping <value> priority <priority-queue> Specify 0-7 for <priority-queue>
The above commands configure an outbound rate shaper on port 1/14 and port 1/15. The commands affect FastIron X Series devices and Brocade FCX Series devices differently:
1945
On FastIron X Series devices, the configured outbound rate shaper (651 Kbps) on port 1/15 is
the maximum rate of outbound traffic that is sent out on that port, since 651 Kbps is a multiple of 651 Kbps. The configured 1300 Kbps limit on port 14 is rounded up to 1302 Kbps.
On Brocade FCX Series devices, the configured outbound rate shaper (651 Kbps) on port 1/15
is the rounded to 616 Kbps. The configured 1300 Kbps limit on port 14 is rounded to 1232 Kbps. Syntax: [no] rate-limit output shaping ethernet <port> <value> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
Prio3 -
Prio4 -
Prio5 -
Prio6 -
Prio7 651 -
The display lists the ports on a device, the configured outbound rate shaper on a port and for a priority for a port.
1946
Chapter
50
Table 322 lists the individual Brocade FastIron switches and the rate limiting features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
FWS
FCX
FCX
ICX 6610
Yes
Outbound rate limiting (Port-based and port- and priority-based rate limiting on outbound ports) ACL-based rate limiting
Yes
Yes
Yes
Yes
Yes
No
No
For details about ACL-based rate limiting, see Chapter 42, Traffic Policies.
This chapter describes how to configure fixed rate limiting on inbound and outbound ports on FWS devices using the CLI.
NOTE
Brocade recommends that you do not use Fixed rate limiting on ports that send or receive route control traffic or Spanning Tree Protocol (STP) control traffic. If the port drops control packets due to the Fixed rate limiting policy, routing or STP can be disrupted.
1947
The Fixed Rate Limiting policy allows up to 500000 bits (62500 bytes) of inbound traffic during each one-second interval.
Once the maximum rate is reached, all additional traffic within the one-second interval is dropped.
One-second interval
One-second interval
One-second interval
One-second interval
The software counts the bytes by polling statistics counters for the port every 100 milliseconds, which provides 10 readings each second. Due to the polling interval, the Fixed Rate Limiting policy has an accuracy of within 10% of the port's line rate. It is therefore possible for the policy to sometimes allow more traffic than the limit you specify, but the extra traffic is never more than 10% of the port's line rate.
NOTE
1948
TABLE 323
.
Port type
GbE 10-GbE
Maximum rate
1000000 Kbps 10000000 Kbps
10 Gbps Ethernet ports Tagged ports in the base Layer 3 and full Layer 3 images
The above commands configure a fixed rate limiting policy that allows port 0/2/1, a 10-GbE port, to receive a maximum of 1000000 kilobits per second. If the port receives additional bits during a given one-second interval, the port drops all inbound packets on the port until the next one-second interval starts.
Brocade(config)#interface ethernet 0/1/10 Brocade(config-if-e1000-0/1/10)#rate-limit input fixed 1000 Rate Limiting on Port 0/1/10 - Config: 1000 Kbps, Actual: 1000 Kbps
1949
The above commands configure a fixed rate limiting policy that allows port 0/1/10, a GbE port, to receive a maximum of 1000 kilobits per second. If the port receives additional bits during a given one-second interval, the port drops all inbound packets on the port until the next one-second interval starts. Syntax: [no] rate-limit input fixed <average-rate> The <average-rate> parameter specifies the maximum number of kilobits per second (Kbps) the port can receive. Table 323 lists the minimum and maximum rates.
NOTE
Port-based Limits the rate of outbound traffic on an individual physical port or trunk port, to
a specified rate. Traffic that exceeds the maximum rate is dropped. Only one port-based outbound rate limiting policy can be applied to a port.
Port- and priority-based Limits the rate on an individual 802.1p priority queue on an
individual physical port or trunk port. Traffic that exceeds the rate is dropped. Only one priority-based rate limiting policy can be specified per priority queue for a port. This means that a maximum of eight port- and priority-based policies can be configured on a port.
TABLE 324
Port type
GbE 10-GbE
Maximum rate
1000000 Kbps 10000000 Kbps
Granularity
65 Kbps 2500 Kbps
1950
This feature is not supported on FastIron X Series and Brocade FCX Series devices. Because of the hardware architecture, the effect of outbound rate limiting differs on GbE ports
compared to 10-GbE ports. For example, applying the same rate limiting value on GbE and 10-GbE ports will produce different results.
You can configure both outbound port-base rate limiting and outbound port- and priority-based
rate limiting on a single physical port or trunk port. However, if a priority-based limit for a given port is greater than the port-based rate limit, then the port-based rate limit will override the priority-based rate limit. Similarly, if the port-based rate limit is greater than the priority-based limit, then the priority-based rate limit will override the port-based rate limit.
The above commands configure a fixed rate limiting policy that allows port 0/1/34 to transmit 32 Kbps. Since port 0/1/34 is a GbE port and the minimum rate is 65 Kbps (refer to Table 324), the system will adjust the configured rate of 32 Kbps to an actual rate to 65 Kbps. If the port transmits additional bits during a given one-second interval, the port will drop all outbound packets on the port until the next one-second interval starts.
Brocade(config)#interface ethernet 0/2/1 Brocade(config-if-e1000-0/2/1)#rate-limit output fixed 32 Outbound Rate Limiting on Port 0/2/1 Config: 32 Kbps, Actual: 2500 Kbps
The above commands configure a fixed rate limiting policy that allows port 0/2/1 to transmit 32 Kbps per second. Since port 0/2/1 is a 10-GbE port and the minimum rate is 2500 Kbps (refer to Table 324), the system will adjust the configured rate of 32 Kbps to an actual rate of 2500 Kbps. If the port transmits additional bits during a given one-second interval, the port will drop all outbound packets on the port until the next one-second interval starts. Syntax: [no] rate-limit output fixed <average-rate> The <average-rate> parameter specifies the average number of kilobits per second (Kbps) the port can send. Table 324 lists the minimum and maximum rates for GbE and 10-GbE ports.
1951
The above commands configure a fixed rate limiting policy that allows traffic with a priority of 7 on port 0/1/35 to transmit 1000 Kbps per second. The system rounds the configured rate to 975 Kbps. If the port transmits additional bits during a given one-second interval, the port will drop all outbound packets on the port until the next one-second interval starts.
Inbound ports
To display the fixed rate limiting configuration on inbound ports, enter the show rate-limit fixed input command.
Brocade#show rate-limit fixed input Total rate-limited interface count: 11. Port Configured Input Rate Actual Input Rate 1 1000000 1000000 3 10000000 10005000 7 10000000 10000000 9 7500000 7502000 11 8000000 7999000 12 8000000 7999000 13 8000000 7999000 14 8000000 7999000 15 8000000 7999000 21 8000000 8000000 25 7500000 7502000
1952
The command lists the ports on which fixed rate limiting is configured, and provides the information listed in Table 325 for each of the ports.
TABLE 325
Field
Total rate-limited interface count Port Configured Input Rate Actual Input Rate
Prio3
Prio4
Prio5
Prio6
Prio7
Syntax: show rate-limit fixed output The command lists the ports on which fixed rate limiting is configured, and provides the information listed in Table 325 for each of the ports.
TABLE 326
Field
Port PortMax Prio0 Prio7
1953
1954
Chapter
Quality of Service
51
Table 327 lists the individual Brocade FastIron switches and the Quality of Service (QoS) features they support. These features are supported in the Layer 2, base Layer 3, edge Layer 3, and full Layer 3 software images, except where explicitly noted.
TABLE 327
Feature
FWS
FCX
ICX 6610
802.1p Quality of Service (QoS): Strict Priority (SP) Weighted Round Robin (WRR) Combined SP and WRR 8 priority queues 802.1p priority override 802.1p marking DiffServ support DSCP-based QoS QoS mappings User-configurable scheduler profiles
Yes
Yes
Yes
QoS overview
Quality of Service (QoS) features are used to prioritize the use of bandwidth in a switch. When QoS features are enabled, traffic is classified as it arrives at the switch, and processed through on the basis of configured priorities. Traffic can be dropped, prioritized for guaranteed delivery, or subject to limited delivery options as configured by a number of different mechanisms. This chapter describes how QoS is implemented and configured in FastIron devices. Classification is the process of selecting packets on which to perform QoS, reading the QoS information, and assigning a priority to the packets. The classification process assigns a priority to packets as they enter the switch. These priorities can be determined on the basis of information contained within the packet or assigned to the packet as it arrives at the switch. Once a packet or traffic flow is classified, it is mapped to a forwarding priority queue. Packets on Brocade devices are classified in up to eight traffic classes with values from 0 to 7. Packets with higher priority classifications are given a precedence for forwarding.
1955
QoS overview
Ingress port default priority. Static MAC address. Layer 2 Class of Service (CoS) value This is the 802.1p priority value in the Ethernet frame. It
can be a value from 0 through 7. The 802.1p priority is also called the Class of Service.
Layer 3 Differentiated Services Code Point (DSCP) This is the value in the six most significant
bits of the IP packet header 8-bit DSCP field. It can be a value from 0 through 63. These values are described in RFCs 2472 and 2475. The DSCP value is sometimes called the DiffServ value. The device automatically maps the DSCP value of a packet to a hardware forwarding queue. Refer to Viewing QoS settings on page 1984.
ACL keyword An ACL can also prioritize traffic and mark it before sending it along to the next
hop. This is described under QoS options for IP ACLs on page 1734. Given the variety of different criteria, there are many possibilities for traffic classification within a stream of network traffic. For this reason, the priority of packets must be resolved based on which criteria takes precedence. Precedence follows the schemes illustrated in Figure 220 through Figure 222.
NOTE
1956
QoS overview
Yes
No
Yes
No
Yes
No
Yes
No
Yes
No
1957
QoS overview
Figure 221 on page 1959 illustrates how the SX-FI48GPP interface module determines the trust level of a packet. The marking process for the SX-FI48GPP interface module is similar to the marking process for other FastIron SX modules. However, there are major differences between the SX-FI48GPP interface module and other FastIron SX modules.
For the SX-FI48GPP interface module, static MAC priority takes higher precedence than VLAN
priority. For other FastIron SX modules, VLAN priority takes higher precedence over static MAC priority.
For other FastIron SX modules, the priority of the dynamically learned MAC address is inherited
from the default port priority. For the SX-FI48GPP interface module, the priority of the dynamically learned MAC address is not inherited from the default port priority because it is not desirable to allow the port priority to take precedence over the VLAN priority. All dynamically learned MAC addresses are assigned a priority of 0 in the SX-FI48GPP interface module. Therefore, configuring a static MAC with a priority of 0 has no effect on QoS marking.
1958
QoS overview
FIGURE 221 Determining a packet trust level - SX-FI48GPP, SX-FI-24GPP, SX-FI-24HF, SX-FI-2XG, and SX-FI-8XG
modules
Yes
No
Does the MAC address match a static entry and priority >0?
Yes
No
Yes
No
Is the port configured to trust DSCP, and is the incoming packet an IP packet?
Yes
No
Yes
No
1959
QoS overview
Figure 222 illustrates how FastIron WS and Brocade FCX and ICX series devices determine the trust level of a packet. As shown in the flowchart, the first criteria considered is whether the packet matches on an ACL that defines a priority. If this is not the case and the MAC address of the packet matches a static entry, the packet is classified with the priority of the static MAC entry. If neither of these is true, the packet is next classified with the ingress port default priority. then DSCP/ToS value, then 802.1p CoS value, and finally the default priority of zero (0).
FIGURE 222 Determining a packet trust level - FastIron WS and Brocade FCX Series and ICX devices
Yes
Yes
No
Yes
Yes
No
Yes
No
1960
QoS overview
Once a packet is classified, it is mapped to a forwarding queue. For all products except the SX-F148GPP interface module and ICX 6430 switch, there are eight queues designated from 0 through 7. The internal forwarding priority maps to one of these eight queues. For the SX-Fl48GPP interface module and ICX 6430 switch, internal forwarding priority maps to four forwarding queues. The mapping between the internal priority and the forwarding queue cannot be changed. Table 328 through Table 331 show the default QoS mappings for FCX platforms that are used if the trust level for CoS or DSCP is enabled. For information on the SX-Fl48GPP interface module, refer to Queues for the SX-FI48GPP interface module on page 1964. For information on default QoS mappings for the ICX 6430 switch, refer to Queues for the ICX 6430 switch on page 1965.
TABLE 328
DSCP value
802.1p (CoS) value DSCP value Internal forwarding priority Forwarding queue
1
0 1 0
2
0 2 0
3
0 3 0
4
0 4 0
5
0 5 0
6
0 6 0
7
0 7 0
8
1 8 1
9
1 9 1
10
1 10 1
11
1 11 1
12
1 12 1
12
1 12 1
14
1 14 1
15
1 15 1
TABLE 329
DSCP value
802.1p (CoS) value DSCP value Internal forwarding priority Forwarding queue
17
2 17 2
18
2 18 2
19
2 19 2
20
2 20 2
21
2 21 2
22
2 22 2
23
2 23 2
24
3 24 3
25
3 25 3
26
3 26 3
27
3 27 3
28
3 28 3
29
3 29 3
30
3 30 3
31
3 31 3
TABLE 330
DSCP value
802.1p (CoS) value DSCP value Internal forwarding priority Forwarding queue
33
4 33 4
34
4 34 4
35
4 35 4
36
4 36 4
37
4 37 4
38
4 38 4
39
4 39 4
40
5 40 5
41
5 41 5
42
5 42 5
43
5 43 5
44
5 44 5
45
5 45 5
46
5 46 5
47
5 47 5
1961
TABLE 331
DSCP value
802.1p (CoS) value DSCP value Internal forwarding priority Forwarding queue
49
6 49 6
50
6 50 6
51
6 51 6
52
6 52 6
53
6 53 6
54
6 54 6
55
6 55 6
56
7 56 7
57
7 57 7
58
7 58 7
59
7 59 7
60
7 60 7
61
7 61 7
62
7 62 7
63
7 63 7
Mapping between the DSCP value and forwarding queue cannot be changed. However, mapping between DSCP values and other properties can be changed as follows:
DSCP to internal forwarding priority mapping You can change the mapping between the
DSCP value and the internal forwarding priority value from the default values shown in Table 328 through Table 331. This mapping is used for CoS marking and determining the internal priority when the trust level is DSCP. Refer to Changing the DSCP to internal forwarding priority mappings on page 1976.
VLAN priority (802.1p) to hardware forwarding queue - You can change the mapping between
the 802.1p value and hardware forwarding queue from the default value. Refer to Changing the VLAN priority 802.1p to hardware forwarding queue mappings on page 1977.
NOTE
1962
QoS queues
QoS queues
Brocade devices support the eight QoS queues (qosp0 through qosp7) listed in Table 332.
TABLE 332
0 1 2 3 4 5 6 7
QoS queues
QoS queue
qosp0 (lowest priority queue) qosp1 qosp2 qosp3 qosp4 qosp5 qosp6 qosp7 (highest priority queue)
1963
QoS queues
The queue names listed in Table 332 are the default names. If desired, you can rename the queues as shown in Renaming the queues on page 1981. Packets are classified and assigned to specific queues based on the criteria shown in Figure 220, Figure 221, and Figure 222. For FCX and ICX devices, ingress packets are classified into the eight priorities, which map to eight hardware queues or traffic classes (TCs) based on the priority. Exceptions to this model are the SX-FI48GPP and SX-FI-8XG interface modules and the ICX 6430 switch as explained in the following sections.
TABLE 333
QoS classification occurs in two iterations; initially in the front-end NP, followed by the back-end NP. The back-end NP has the same classification and marking capabilities of existing FastIron SX interface modules, but the front-end NP does not support ACL and static MAC priority. The front-end NP supports basic QoS features, such as port priority, QoS-ToS mapping, 802.1p to priority mapping, 802.1p override, and trust DSCP mode. The default scheduling configuration for Weighted Round Robin (WRR), Hybrid WRR and Strict Priority (SP), and SP mode for the eight QoS priority queues mapped to the four hardware queues is described under Default scheduling configuration for the SX-FI48GPP module on page 1977.
1964
QoS queues
TABLE 334
For the ICX 6430 switch, internal forwarding priority maps to hardware forwarding queues 0 through 3. The mapping between the internal priority and hardware forwarding queue cannot be changed. Table 335 through Table 338 shows the default QoS mappings that are used if the trust level for CoS or DSCP is enabled. Mappings are the same for stand-alone and stacking systems.
TABLE 335
DSCP value
802.1p (CoS) value DSCP value
1
0 1
2
0 2
3
0 3
4
0 4
5
0 5
6
0 6
7
0 7
8
1 8
9
1 9
10
1 10
11
1 11
12
1 12
12
1 12
14
1 14
15
1 15
1965
QoS queues
TABLE 335
DSCP value
Internal forwarding priority Forwarding queue
1
0
2
0
3
0
4
0
5
0
6
0
7
0
8
1
9
1
10
1
11
1
12
1
12
1
14
1
15
1
TABLE 336
DSCP value
802.1p (CoS) value DSCP value Internal forwarding priority Forwarding queue
17
2 17 2
18
2 18 2
19
2 19 2
20
2 20 2
21
2 21 2
22
2 22 2
23
2 23 2
24
3 24 3
25
3 25 3
26
3 26 3
27
3 27 3
28
3 28 3
29
3 29 3
30
3 30 3
31
3 31 3
TABLE 337
DSCP value
802.1p (CoS) value DSCP value Internal forwarding priority Forwarding queue
33
4 33 4
34
4 34 4
35
4 35 4
36
4 36 4
37
4 37 4
38
4 38 4
39
4 39 4
40
5 40 5
41
5 41 5
42
5 42 5
43
5 43 5
44
5 44 5
45
5 45 5
46
5 46 5
47
5 47 5
TABLE 338
DSCP value
802.1p (CoS) value DSCP value Internal forwarding priority Forwarding queue
49
6 49 6
50
6 50 6
51
6 51 6
52
6 52 6
53
6 53 6
54
6 54 6
55
6 55 6
56
7 56 7
57
7 57 7
58
7 58 7
59
7 59 7
60
7 60 7
61
7 61 7
62
7 62 7
63
7 63 7
Mapping between DSCP value and forwarding queue cannot be changed. However, mapping between DSCP values and other properties can be changed as follows:
1966
QoS queues
DSCP to internal forwarding priority mapping You can change the mapping between the
DSCP value and the internal forwarding priority value from the default values shown in Table 335 through Table 338. This mapping is used for CoS marking and determining the internal priority when the trust level is DSCP. Refer to Changing the DSCP to internal forwarding priority mappings on page 1976.
VLAN priority (802.1p) to hardware forwarding queue - You can change the mapping between
the 802.1p value and hardware forwarding queue from the default value. Refer to Changing the VLAN priority 802.1p to hardware forwarding queue mappings on page 1977
Strict Priority (SP) Weighted Round Robin (WRR) Mixed (combination of SP and WRR)
Following is the command format for creating a profile while specifying a mechanism. qos scheduler-profile <user_profile_name> mechanism <scheduling_mechanism> Syntax: : The <user_profile_name> variable is the name of the profile you are creating. The <scheduling_mechanism> variable is SP, WRR or Mixed. The user-configurable scheduler profile can be created by specifying weights from qosp0 through qosp7 as shown in the following command format. qos scheduler-profile <user_profile_name> profile qosp0 <w0> . qosp7 <w7> Syntax:
1967
QoS queues
The <user_profile_name> variable is the name of the profile you are creating. Profile qosp0 through qosp7 are the default queue names. The <w0> through <w7> variables are the assigned weights. If you create a profile specifying only the weights (qosp0 through qosp7) without specifying the mechanism, the default mechanism is used. The default mechanism for stacking systems is Mixed, and WRR for stand-alone systems. If you change the profile mechanism, the weights also get changed according to the mechanism. The weights can be modified according to the following requirements:
If the mechanism is changed to WRR, the default system weights get assigned If the mechanism is changed to Mixed, the default mix weights get assigned If the mechanism is changed to Strict, the weights are ignored and remain untouched.
Scheduler-profile modifications take effect dynamically on an active profile. The operational defaults for all scheduling types for stacking and stand-alone systems are listed in Table 339.
TABLE 339
Default values for scheduling type for stacking and stand-alone systems (for FCX and ICX 6450 platforms).
SP
SP SP SP SP SP SP SP SP
SP Jumbo
SP SP SP SP SP SP SP SP
WRR
3 3 3 3 3 10 75 SP
WRR Jumbo
8 8 8 8 8 16 44 SP
Mixed
15 15 15 15 15 25 SP SP
Mixed Jumbo
15 15 15 15 15 25 SP SP
1968
QoS queues
SP Jumbo
SP SP SP SP SP SP SP SP
WRR
3 3 3 3 3 3 7 75
WRR Jumbo
8 8 8 8 8 8 8 44
Mixed
15 15 15 15 15 25 SP SP
Mixed Jumbo
15 15 15 15 15 25 SP SP
ICX 6430 platforms Table 339 shows the default values for scheduling type for stacking and stand-alone ICX 6430 platforms. The lowest weighted priority is for qosp0, while the highest is for qosp7. Note that values are provided for QoS priority (QSP) levels. The weights applied to the traffic class (TC) are the sum of the weights of the QSP levels that map to that TC. For example, QSP0 and QSP1 map to TC0. If the weight for QSP0 is 6 and the weight for QSP1 is 6, then the weight for TC0 is 12. Refer to Table 334 on page 1965 for QoS priority to traffic class mapping.
TABLE 340
Default values for scheduling type for stacking and stand-alone systems (for ICX 6430 platforms)
Stacking System for scheduling type for stacking and stand-alone systems (for ICX 6430 platforms)
QSP Level
QSP0 QSP1 QSP2 QSP3 QSP4 QSP5 QSP6 QSP7
SP
SP SP SP SP SP SP SP SP
SP Jumbo
SP SP SP SP SP SP SP SP
WRR
3 3 3 3 3 10 75 SP
WRR Jumbo
8 8 8 8 8 16 44 SP
Mixed
15 15 15 15 40 SP SP SP
Mixed Jumbo
15 15 15 15 40 SP SP SP
SP Jumbo
SP SP SP SP SP SP
WRR
3 3 3 3 3 3
WRR Jumbo
8 8 8 8 8 8
Mixed
15 15 15 15 40 SP
Mixed Jumbo
15 15 15 15 40 SP
1969
Incoming port (sometimes called the ingress port) Static MAC entry
When you change the priority, you specify a number from 0 through 7. The priority number specifies the IEEE 802.1 equivalent to one of the eight QoS queues on Brocade devices. The numbers correspond to the queues as shown in Table 332. Although it is possible for a packet to qualify for an adjusted QoS priority based on more than one of the criteria, the system always gives a packet the highest priority for which it qualifies. Thus, if a packet is entitled to the premium queue because of its IP source and destination addresses, but is entitled only to the high queue because of its incoming port, the system places the packet in the premium queue on the outgoing port.
The device assigns priority 7 to untagged switched traffic received on port 1/1. Use the following command to assign priority levels. [no] priority <num> Syntax: The <num> variable can be from 0 through 7 and specifies the IEEE 802.1 equivalent to one of the eight QoS queues listed in Table 332.
Use the following command to configure a MAC entry and assign the entry to a priority queue.
1970
[no] static-mac-address <mac-addr> ethernet <port> [priority <num>] Syntax: The <mac-addr> is the MAC address. Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
The priority <num> variable can be from 0 through 7 and specifies the IEEE 802.1 equivalent to one of the eight QoS queues. The location of the static-mac-address command in the CLI depends on whether you configure port-based VLANs on the device. If the device does not have more than one port-based VLAN (VLAN 1, which is the default VLAN containing all ports), the static-mac-address command is at the global CONFIG level of the CLI. If the device has more than one port-based VLAN, then the static-mac-address command is not available at the global CONFIG level. In this case, the command is available at the configuration level for each port-based VLAN.
NOTE
If the packet matches an ACL that defines the priority, then ACL priority will be used. If the packet source or destination MAC address matches a configured static MAC address with
priority, then static MAC priority will be used.
If the ingress port has a configured priority, then port priority will be used. If the other situations do not apply, the configured or default port priority (0) will be used.
Note that the original 802.1p priority in the packet will be retained. This feature does not re-mark the 802.1p value.
1971
Marking
Syntax: [no] priority ignore-8021p Use the following command to show whether 802.1p priority override is enabled on a port.
Brocade#show run interface ethernet 1 interface ethernet 1 priority ignore-8021p
Syntax: show run interface ethernet <port> Specify the <port> variable in one of the following formats:
FWS, FCX, and ICX stackable switches <stack-unit/slotnum/portnum> FSX 800 and FSX 1600 chassis devices <slotnum/portnum> ICX devices <slotnum/portnum> FESX compact switches <portnum>
Marking
Marking is the process of changing the packet QoS information (the 802.1p and DSCP information in a packet) for the next hop. For example, for traffic coming from a device that does not support Differentiated Services (DiffServ), you can change the packet IP precedence value into a DSCP value before forwarding the packet. You can mark a packets Layer 2 CoS value, its Layer 3 DSCP value, or both values. The Layer 2 CoS or DSCP value the device marks in the packet is the same value that results from mapping the packet QoS value into a Layer 2 CoS or DSCP value. Marking is optional and is disabled by default. Marking is performed using ACLs. When marking is not used, the device still performs the mappings listed in QoS overview on page 1955 for scheduling the packet, but leaves the packet QoS values unchanged when the device forwards the packet. For configuration syntax, rules, and examples of QoS marking, refer to QoS options for IP ACLs on page 1734.
1972
When DSCP marking is enabled, the device changes the contents of the inbound packet ToS
field to match the DSCP-based QoS value. This differs from BigIron, which marks the outbound packet ToS field.
NOTE
The trust dscp command is not supported with 802.1p priority override.
1973
Use the bridged-routed keyword in the ACL to honor DSCP for switched traffic in the Layer 3 image. Refer to Enabling ACL support for switched traffic in the router image on page 1727.
NOTE
The access-list 101 permit ip any any dscp-cos-mapping command is supported on the SX-FI48GPP interface module. For more information on QoS queues for the SX-FI48GPP interface module, refer to Queues for the SX-FI48GPP interface module on page 1964.
NOTE
Trust DSCP for the SX-FI48GPP, SX-FI-24GPP, SX-FI-24HF, SX-FI-2XG, and SX-FI8XG modules
On the following modules, trust DSCP can be enabled on a per-port basis:
Each port on the supported modules corresponds to a front-end panel port. By default, trust VLAN priority is enabled. For all ports in the other FastIron SX modules, ACL should be used to implement the trust DSCP mode. For example, to enable trust DSCP on interface ethernet 1/48 on the SX-FI48GPP module, enter the following command. [no] trust dscp To disable the configuration, use the no form of the command.
NOTE
DSCP to internal forwarding priority VLAN priority (802.1p) to hardware forwarding queue
The mappings are globally configurable and apply to all interfaces.
1974
TABLE 341
Notice that DSCP values range from 0 through 63, whereas the internal forwarding priority values range from 0 through 7. Any DSCP value within a given range is mapped to the same internal forwarding priority value. For example, any DSCP value from 8 through 15 maps to priority 1. After performing this mapping, the device maps the internal forwarding priority value to one of the hardware forwarding queues. On FWS, FCX, and ICX devices, you can use QoS queue 1 for priority traffic, even when sFlow is enabled on the port. This differs from the FastIron X Series devices, which support seven priorities for user data instead of eight when sFlow is enabled. QoS queue 1 is reserved for sFlow and not used by other packets. Any non-sFlow packets assigned to QoS queue 1 will be directed to QoS queue 0. Note that the ICX 6430 does not support sFlow. Table 342 lists the default mappings of internal forwarding priority values to the hardware forwarding queues for the ICX 6430.
TABLE 342
Default mappings of internal forwarding priority values for the ICX 6430
Forwarding queues
qosp0 qosp0 qosp1 qosp1 qosp1 qosp2 qosp2 qosp3
You can change the DSCP to internal forwarding mappings. You also can change the internal forwarding priority to hardware forwarding queue mappings.
1975
Use the following command to map priority levels to DSCP values. [no] qos-tos map dscp-priority <dscp-value> [<dscp-value> ...] to <priority> Syntax: The <dscp-value> [<dscp-value> ...] variable specifies the DSCP value ranges you are remapping. You can specify up to eight DSCP values in the same command, to map to the same forwarding priority. The <priority> variable specifies the internal forwarding priority. Following is an example of using this command.
qos-tos map dscp-priority 1 2 3 4 5 6 7 8 to 6
Following is ouput displayed from using the show qos-tos command as a result of issuing the preceding command.
Brocade#show qos-tos Portions of table omitted for simplicity. DSCP-Priority map: (dscp = d1d2) d2| 0 1 2 3 4 5 6 7 8 9 d1 | -----+---------------------------------------0 | 1 0 1 1 1 0 0 0 5 1 1 | 6 1 1 1 1 1 4 2 2 2 2 | 2 2 2 2 2 3 3 3 3 3 3 | 3 3 0 4 4 4 4 4 4 4 4 | 7 5 5 5 5 5 5 5 3 6 5 | 6 6 6 6 6 6 6 7 7 7 6 | 7 7 7 7
This output displays mappings in the DSCP to forwarding priority portion of the QoS information display. To read this part of the display, select the first part of the DSCP value from the d1 column and select the second part of the DSCP value from the d2 row. For example, to read the DSCP to forwarding priority mapping for DSCP value 24, select 2 from the d1 column and select 4 from the d2 row. The mappings that are changed by the example qos-tos map dscp-priority command are shown below in bold type.
1976
TABLE 343
Hardware Queue
3 2 1 0
Note that Table 343 includes values for default, non-jumbo mode WRR. The hardware queues are calculated using default qosp values from Table 339 on page 1968 as follows:
1977
Front end queue 2 = 3% (qosp4) + 3% (qosp5) = 6% Front end queue 1 = 3% (qosp2) + 3% (qosp3) = 6% Front end queue 0 = 3% (qosp0) + 3% (qosp1) = 6%
The hardware queues for mixed WRR and SP mode are calculated as follows:
Front end queue 3 is Strict Priority as default values for qosp7 and qosp6 are SP Front end queue 2 = 25% (qosp4) + 15% (qosp5) = 40% Front end queue 1 = 15% (qosp2) + 15% (qosp3) = 30% Front end queue 0 = 15% (qosp0) + 15% (qosp1) = 30%
TABLE 344
Hardware queue
3 2 1 0
Table 344 includes values for default, non-jumbo mode WRR for a stand-alone system. The hardware queues are calculated using default qosp values from Table 340 on page 1969 as follows.
Queue 3 = 75% (qosp7) Queue 2 = 3% (qosp5) + 7% (qosp6) = 10% Queue 1 = 3% (qosp2) + 3% (qosp3) + 3% (qosp4) = 9% Queue 0 = 3% (qosp0) + 3% (qosp1) = 6% Queue 3 is Strict Priority as the default value for qosp7 is SP Queue 2 is Strict Priority as default values for qosp5 and qosp6 are SP Queue 1 = 15% (qosp2) + 15% (qosp3) + 40% (qosp4) = 70% Queue 0 = 15% (qosp0) + !5% (qosp1) = 30%
The hardware queues for mixed WRR and SP mode are calculated as follows:
NOTE
If any qosp value is SP, then the weight of the hardware queue is SP.
1978
Weighted Round Robin (WRR) WRR ensures that all queues are serviced during each cycle. A
WRR algorithm is used to rotate service among the eight queues on the FastIron devices. The rotation is based on the weights you assign to each queue. This method rotates service among the queues, forwarding a specific number of packets in one queue before moving on to the next one.
NOTE
In stacking mode, the qosp7 queue is reserved as Strict Priority (SP) under weighted queuing. Attempts to change the qosp7 setting will be ignored. WRR is the default queuing method and uses a default set of queue weights. The number of packets serviced during each visit to a queue depends on the percentages you configure for the queues. The software automatically converts the percentages you specify into weights for the queues.
NOTE
Queue cycles on the FastIron devices are based on bytes. These devices service a given number of bytes (based on weight) in each queue cycle. FES and BI/FI queue cycles are based on packets. The bytes-based scheme is more accurate than a packets-based scheme if packets vary greatly in size.
Strict Priority (SP) SP ensures service for high-priority traffic. The software assigns the
maximum weights to each queue, to cause the queuing mechanism to serve as many packets in one queue as possible before moving to a lower queue. This method biases the queuing mechanism to favor the higher queues over the lower queues. For example, strict queuing processes as many packets as possible in qosp3 before processing any packets in qosp2, then processes as many packets as possible in qosp2 before processing any packets in qosp1, and so on.
Hybrid WRR and SP This configurable queueing mechanism combines both the SP and WRR
mechanisms. The combined method enables the Brocade device to give strict priority to delay-sensitive traffic such as VoIP traffic, and weighted round robin priority to other traffic types.
1979
By default, when you select the combined SP and WRR queueing method, the Brocade device assigns strict priority to traffic in qosp7 and qosp6, and weighted round robin priority to traffic in qosp0 through qosp5. Thus, the Brocade device schedules traffic in queue 7 and queue 6 first, based on the strict priority queueing method. When there is no traffic in queue 7 and queue 6, the device schedules the other queues in round-robin fashion from the highest priority queue to the lowest priority queue.
NOTE
Brocade stackable devices that are operating as members of a stack reserve queue 7 for stacking functions. For more information, refer to QoS for Brocade stackable devices on page 1962. By default, when you specify the combined SP and WRR queuing method, the system balances the traffic among the queues as shown in Table 345. If desired, you can change the default bandwidth values as shown in Bandwidth allocations of the hybrid WRR and SP queues on page 1983.
TABLE 345
Queue
qosp7 qosp6 qosp5 qosp4 qosp3 qosp2 qosp1 qosp0
To change the method back to WRR, enter the qos mechanism weighted command.
Brocade(config)#qos mechanism weighted
Syntax: [no] qos mechanism strict | weighted To change the queuing mechanism to the combined SP and WRR method, enter the qos mechanism mixed-sp-wrr command at the global CONFIG level of the CLI.
Brocade(config)#qos mechanism mixed-sp-wrr
1980
The queue name The minimum percentage of a port outbound bandwidth guaranteed to the queue
Syntax: qos name <old-name> <new-name> The <old-name> variable specifies the name of the queue before the change. The <new-name> variable specifies the new name of the queue. You can specify an alphanumeric string up to 32 characters long.
NOTE
TABLE 346
Queue
75% 7% 3% 3% 3% 3% 3% 3%
1981
When the queuing method is WRR, the software internally translates the percentages into weights. The weight associated with each queue controls how many packets are processed for the queue at a given stage of a cycle through the weighted round robin algorithm. Queue cycles on the FastIron devices are based on bytes. These devices service a given number of bytes (based on the weight) in each queue cycle. FES and BI/FI queue cycles are based on packets. The bytes-based scheme is more accurate than a packets-based scheme if packets vary greatly in size. The bandwidth allocated to each queue is based on the relative weights of the queues. You can change the bandwidth percentages allocated to the queues by changing the queue weights. There is no minimum bandwidth requirement for a given queue. For example, queue qosp3 is not required to have at least 50 percent of the bandwidth. To change the bandwidth percentages for the queues, enter commands such as the following. Note that this example uses the default queue names.
Brocade(config)#qos 10 qosp1 10 qosp0 6 Profile qosp7 : Profile qosp6 : Profile qosp5 : Profile qosp4 : Profile qosp3 : Profile qosp2 : Profile qosp1 : Profile qosp0 : profile qosp7 25 qosp6 15 qosp5 12 qosp4 12 qosp3 10 Priority7 Priority6 Priority5 Priority4 Priority3 Priority2 Priority1 Priority0 bandwidth bandwidth bandwidth bandwidth bandwidth bandwidth bandwidth bandwidth requested requested requested requested requested requested requested requested 25% 15% 12% 12% 10% 10% 10% 6% calculated calculated calculated calculated calculated calculated calculated calculated 25% 15% 12% 12% 10% 10% 10% 6% qosp2
NOTE
Syntax: [no] qos profile <queue> <percentage> <queue> <percentage> <queue> <percentage> <queue> <percentage> <queue> <percentage> <queue> <percentage> <queue> <percentage> <queue> <percentage> Each <queue> variable specifies the name of a queue. You can specify the queues in any order on the command line, but you must specify each queue. The <percentage> variable specifies a number for the percentage of the device outbound bandwidth that is allocated to the queue. Brocade QoS queues require a minimum bandwidth percentage of 3 percent for each priority. When jumbo frames are enabled, the minimum bandwidth requirement is 8 percent. If these minimum values are not met, QoS may not be accurate.
1982
NOTE
Syntax: [no] qos profile <queue 7> sp <queue 6> sp | <percentage> <queue 5> <percentage> <queue 4> <percentage> <queue 3> <percentage> <queue 2> <percentage> <queue 1> <percentage> <queue 0> <percentage> Each <queue> specifies the name of a queue, such as 7, 6, 5, 4, 3, 2, 1, and 0. You can specify the queues in any order on the command line, but you must specify each queue. Note that queue 7 supports Strict Priority (sp) only, queue 6 supports both SP and WRR queuing mechanisms (sp |), and queues 0 through 5 support the WRR queuing mechanism only. Brocade stackable devices that are operating as members of a stack reserve queue 7 for stacking functions. The sp parameter configures strict priority as the queuing mechanism. Note that only queue 7 and queue 6 support this method. The <percentage> variable configures WRR as the queuing mechanism and specifies the percentage of the device outbound bandwidth allocated to the queue. The queues require a minimum bandwidth percentage of 3 percent for each priority. When jumbo frames are enabled, the minimum bandwidth requirement is 8 percent. If these minimum values are not met, QoS may not be accurate.
NOTE
NOTE
The percentages must add up to 100. The Brocade FastIron devices do not adjust the bandwidth percentages you enter. In contrast, the BigIron QoS does adjust the bandwidth percentages to ensure that each queue has at least its required minimum bandwidth percentage.
1983
weighted priority bandwidth requested bandwidth requested bandwidth requested bandwidth requested bandwidth requested bandwidth requested bandwidth requested bandwidth requested
Syntax: show qos-profiles all | <name> The all parameter displays the settings for all eight queues. The <name> variable displays the settings for the specified queue.
1984
Syntax: show qos-tos Table 347 shows the output information for the show qos-tos command.
TABLE 347
Field
1985
The show qos-tos command can also be used to display configuration information for 8 to 4 queue mapping. The following example displays an 8 to 4 queue mapping configuration.
Brocade#show qos-tos DSCP-->Traffic-Class map: (DSCP = d1d2: 00, 01...63) d2| 0 1 2 3 4 5 6 7 8 9 d1 | -----+---------------------------------------0 | 0 0 0 0 0 0 0 0 1 1 1 | 1 1 1 1 1 1 2 2 2 2 2 | 2 2 2 2 3 3 3 3 3 3 3 | 3 3 4 4 4 4 4 4 4 4 4 | 5 5 5 5 5 5 5 5 6 6 5 | 6 6 6 6 6 6 7 7 7 7 6 | 7 7 7 7 Traffic-Class-->802.1p-Priority map (use to derive DSCP--802.1p-Priority): Traffic | 802.1p Class | Priority --------+--------0 | 0 1 | 1 2 | 2 3 | 3 4 | 4 5 | 5 6 | 6 7 | 7 --------+--------8to4 queue mapping: Priority| Hardware Queue --------+--------0 | 0 1 | 0 2 | 1 3 | 1 4 | 2 5 | 2 6 | 3 7 | 3 --------+---------
Table 348 shows the output information for 8 to 4 queue mapping for the show qos-tos command.
TABLE 348
Field
8 to 4 queue mapping
Priority and Hardware Queue The priority to hardware queues that are currently in effect for 8 to 4 queue mapping on the SX-FI48GPP interface module. QoS priority 7 is the highest priority, and QoS 0 is the lowest priority
1986
Appendix
Syslog messages
Table 1 lists all of the Syslog messages. Note that some of the messages apply only to Layer 3 switches. This chapter does not list Syslog messages that can be displayed when a debug option is enabled. The messages are listed by message level, in the following order, then by message type:
NOTE
Emergencies (none) Alerts Critical Errors Warnings Notifications Informational Debugging Brocade Syslog messages
Message
<num-modules> modules and 1 power supply, need more power supply!!
TABLE 1
Message level
Alert
Explanation
Indicates that the chassis needs more power supplies to run the modules in the chassis. The <num-modules> parameter indicates the number of modules in the chassis. A fan has failed. The <num> is the fan number. The <location> describes where the failed fan is in the chassis. RADIUS authentication was successful for the specified <mac-address> on the specified <portnum>; however, the VLAN returned in the RADIUS Access-Accept message did not refer to a valid VLAN or VLAN ID on the Brocade device. This is treated as an authentication failure. RADIUS authentication failed for the specified <mac-address> on the specified <portnum> because the MAC address sent to the RADIUS server was not found in the RADIUS server users database.
Alert
Alert
Alert
1987
Syslog messages
TABLE 1
Message level
Alert
Explanation
RADIUS authentication was successful for the specified <mac-address> on the specified <portnum>; however, dynamic VLAN assignment was enabled for the port, but the RADIUS Access-Accept message did not include VLAN information. This is treated as an authentication failure. RADIUS authentication was successful for the specified <mac-address> on the specified <portnum>; however, the RADIUS Access-Accept message specified a VLAN ID, although the port had previously been moved to a different RADIUS-assigned VLAN. This is treated as an authentication failure. RADIUS authentication was successful for the specified <mac-address> on the specified <portnum>; however, the RADIUS Access-Accept message specified a VLAN that does not exist in the Brocade configuration. This is treated as an authentication failure. Multi-device port authentication failed for the <mac-address> on a tagged port because the packet with this MAC address as the source was tagged with a VLAN ID different from the RADIUS-supplied VLAN ID. Indicates a state change in a management module. The <slot-num> indicates the chassis slot containing the module. The <module-state> can be one of the following: active standby crashed coming-up unknown Indicates an LSA database overflow. The <lsa-type> parameter indicates the type of LSA that experienced the overflow condition. The LSA type is one of the following: 1 Router 2 Network 3 Summary 4 Summary 5 External OSPF has run out of memory.
Alert
MAC Authentication failed for <mac-address> on <portnum> (Port is already in another radius given vlan)
Alert
MAC Authentication failed for <mac-address> on <portnum> (RADIUS given vlan does not exist)
Alert
MAC Authentication failed for <mac-address> on <portnum> (RADIUS given VLAN does not match with TAGGED vlan)
Alert
Alert
Alert
1988
Syslog messages
TABLE 1
Message level
Alert
Explanation
A power supply has failed. The <num> is the power supply number. The <location> describes where the failed power supply is in the chassis. The module encountered a hardware configuration read error.
Alert
System: Module in slot <slot-num> encountered PCI config read error: Bus <PCI-bus-number>, Dev <PCI-device-number>, Reg Offset <PCI-config-register-offset>. System: Module in slot <slot-num> encountered PCI config write error: Bus <PCI-bus-number>, Dev <PCI-device-number>, Reg Offset <PCI-config-register-offset>. System: Module in slot <slot-num> encountered PCI memory read error: Mem Addr <memory-address> System: Module in slot <slot-num> encountered PCI memory write error: Mem Addr <memory-address>. System: Module in slot <slot-num> encountered unrecoverable PCI bridge validation failure. Module will be deleted. System: Module in slot <slot-num> encountered unrecoverable PCI config read failure. Module will be deleted. System: Module in slot <slot-num> encountered unrecoverable PCI config write failure. Module will be deleted. System: Module in slot <slot-num> encountered unrecoverable PCI device validation failure. Module will be deleted. System: Module in slot <slot-num> encountered unrecoverable PCI memory read failure. Module will be deleted. System: Module in slot <slot-num> encountered unrecoverable PCI memory write failure. Module will be deleted. System: No Free Tcam Entry available. System will be unstable System: Temperature is over shutdown level, system is going to be reset in <num> seconds
Alert
Alert
The module encountered a hardware memory read error. The <memory-address> is in hexadecimal format. The module encountered a hardware memory write error. The <memory-address> is in hexadecimal format. The module encountered an unrecoverable (hardware) bridge validation failure. The module will be disabled or powered down. The module encountered an unrecoverable hardware configuration read failure. The module will be disabled or powered down. The module encountered an unrecoverable hardware configuration write failure. The module will be disabled or powered down. The module encountered an unrecoverable (hardware) device validation failure. The module will be disabled or powered down. The module encountered an unrecoverable hardware memory read failure. The module will be disabled or powered down. The module encountered an unrecoverable hardware memory write failure. The module will be disabled or powered down. In FWS devices, the limit for the TCAM routing entries has been reached. You must reboot the device. The chassis temperature has risen above shutdown level. The system will be shut down in the amount of time indicated.
Alert
Alert
Alert
Alert
Alert
Alert
Alert
Alert
Alert
1989
Syslog messages
TABLE 1
Message level
Alert
Explanation
Indicates an over temperature condition on the active module. The <degrees> value indicates the temperature of the module. The <warn-degrees> value is the warning threshold temperature configured for the module. The <shutdown-degrees> value is the shutdown temperature configured for the module. Denial of Service (DoS) attack protection was enabled for multi-device port authentication on the specified <portnum>, and the per-second rate of RADIUS authentication attempts for the port exceeded the configured limit. The Brocade device considers this to be a DoS attack and disables the port. The device could not start the BGP4 routing protocol because there is not enough memory available. There is not enough system memory for 802.1X authentication to take place. Contact Brocade Technical Support. The Layer 3 switch has received more than the specified maximum number of prefixes from the neighbor, and the Layer 3 switch is therefore shutting down its BGP4 session with the neighbor. IPv6 protocol was disabled on the device during the specified session. IPv6 protocol was enabled on the device during the specified session. Indicates a MAC address filter was applied to the specified port by the specified user during the specified session. <session-id> can be console, telnet, ssh, web, or snmp. <filter-ids> is a list of the MAC address filters that were applied. Indicates a MAC address filter was removed from the specified port by the specified user during the specified session. <session-id> can be console, telnet, ssh, web, or snmp. <filter-ids> is a list of the MAC address filters that were removed.
Critical
Debug
BGP4: Not enough memory available to run BGP4 DOT1X: Not enough memory
Debug
Error
IPv6: IPv6 protocol disabled on the device from <session-id> IPv6: IPv6 protocol enabled on the device from <session-id> MAC Filter applied to port <port-id> by <username> from <session-id> (filter id=<filter-ids> )
Informational
MAC Filter removed from port <port-id> by <username> from <session-id> (filter id=<filter-ids> )
1990
Syslog messages
TABLE 1
Message level
Informational
Explanation
Password of the specified user has been changed during the specified session ID or type. <session-id> can be console, telnet, ssh, web, or snmp. The specified ports were logically brought down while singleton was configured on the port. The specified ports were logically brought up while singleton was configured on the port. A user has logged into the Privileged EXEC mode of the CLI. The <user-name> is the user name. A user has logged into the USER EXEC mode of the CLI. The <user-name> is the user name. A user has logged out of Privileged EXEC mode of the CLI. The <user-name> is the user name. A user has logged out of the USER EXEC mode of the CLI. The <user-name> is the user name. A user created, modified, deleted, or applied an ACL through a Web, SNMP, console, SSH, or Telnet session. A Spanning Tree Protocol (STP) topology change has occurred, resulting in the Brocade device becoming the root bridge. The <vlan-id> is the ID of the VLAN in which the STP topology change occurred. The <root-id> is the STP bridge root ID. A Spanning Tree Protocol (STP) topology change has occurred. The <vlan-id> is the ID of the VLAN in which the STP topology change occurred. The <root-id> is the STP bridge root ID. The <portnum> is the number of the port connected to the new root bridge.
Informational
<device-name> : Logical link on interface ethernet <slot#/port#> is down. <device-name>: Logical link on interface ethernet <slot#/port#> is up. <user-name> login to PRIVILEGED mode
Informational
Informational
Informational
Informational
Informational
Informational
ACL <ACL id> added | deleted | modified from console | telnet | ssh | web | snmp session Bridge is new root, vlan <vlan-id>, root ID <root-id>
Informational
Informational
Bridge root changed, vlan <vlan-id>, new root ID <string>, root interface <portnum>
1991
Syslog messages
TABLE 1
Message level
Informational
Explanation
A Spanning Tree Protocol (STP) topology change has occurred on a port. The <vlan-id> is the ID of the VLAN in which the STP topology change occurred. The <portnum> is the port number. The <stp-state> is the new STP state and can be one of the following: disabled blocking listening learning forwarding unknown The device has been powered on. The device has indicated that the DHCP client receives DHCP server reply packets on untrusted ports, and packets are dropped. The RADIUS server returned an IP ACL or MAC address filter, but the port is a member of a virtual interface (VE). An error occurred while removing the inbound ACL. The RADIUS server returned an MAC address filter, but the <portnum> is a router port (it has one or more IP addresses). The RADIUS server returned an IP ACL, but the <portnum> is a switch port (no IP address).
Informational Informational
Cold start DHCP : snooping on untrusted port <portnum>, type <number>, drop
Informational
DOT1X : port <portnum> - mac <mac address> Cannot apply an ACL or MAC filter on a port member of a VE (virtual interface) DOT1X : port <portnum> - mac <mac address> cannot remove inbound ACL DOT1X : port <portnum> - mac <mac address> Downloading a MAC filter, but MAC filter have no effect on router port DOT1X : port <portnum> - mac <mac address> Downloading an IP ACL, but IP ACL have no effect on a switch port
Informational Informational
Informational
Informational
DOT1X : port <portnum> - mac <mac The Brocade device was unable to address> Error - could not add all MAC filters implement the MAC address filters returned by the RADIUS server. DOT1X : port <portnum> - mac <mac address> Invalid MAC filter ID - this ID doesn't exist DOT1X : port <portnum> - mac <mac address> Invalid MAC filter ID - this ID is user defined and cannot be used DOT1X : port <portnum> - mac <mac address> is unauthorized because system resource is not enough or the invalid information to set the dynamic assigned IP ACLs or MAC address filters The MAC address filter ID returned by the RADIUS server does not exist in the Brocade configuration. The port was assigned a MAC address filter ID that had been dynamically created by another user. 802.1X authentication failed for the Client with the specified <mac address> on the specified <portnum> either due to insufficient system resources on the device, or due to invalid IP ACL or MAC address filter information returned by the RADIUS server. The RADIUS server returned a MAC address filter, but a MAC address filter had already been applied to the port.
Informational
Informational
Informational
Informational
DOT1X : port <portnum> - mac <mac address> Port is already bound with MAC filter
1992
Syslog messages
TABLE 1
Message level
Informational
Explanation
The RADIUS server returned a MAC address filter while an IP ACL was applied to the port, or returned an IP ACL while a MAC address filter was applied to the port. 802.1X authentication could not take place on the port. This happened because strict security mode was enabled and one of the following occurred: Insufficient system resources were available on the device to apply an IP ACL or MAC address filter to the port Invalid information was received from the RADIUS server (for example, the Filter-ID attribute did not refer to an existing IP ACL or MAC address filter) A user has completed 802.1X authentication. The profile received from the RADIUS server specifies a VLAN ID for the user. The port to which the user is connected has been moved to the VLAN indicated by <vlan-id>. The user connected to <portnum> has disconnected, causing the port to be moved back into its default VLAN, <vlan-id>. The status of the interface controlled port has changed from unauthorized to authorized. The status of the interface controlled port has changed from authorized to unauthorized. A user created, re-configured, or deleted an Enable or Line password through the Web, SNMP, console, SSH, or Telnet session.
Informational
Informational
DOT1X: Port <portnum> currently used vlan-id changes to <vlan-id> due to dot1x-RADIUS vlan assignment
Informational
DOT1X: Port <portnum> currently used vlan-id is set back to port default vlan-id <vlan-id> DOT1X: Port <portnum>, AuthControlledPortStatus change: authorized DOT1X: Port <portnum>, AuthControlledPortStatus change: unauthorized Enable super | port-config | read-only password deleted | added | modified from console | telnet | ssh | web | snmp OR Line password deleted | added | modified from console | telnet | ssh | web | snmp ERR_DISABLE: Interface ethernet <port-number>, err-disable recovery timeout ERR_DISABLE: Interface ethernet 16, err-disable recovery timeout ERR_DISABLE: Link flaps on port ethernet 16 exceeded threshold; port in err-disable state Interface <portnum>, line protocol down Interface <portnum>, line protocol up
Informational
Informational
Informational
Informational Informational
Errdisable recovery timer expired and the port has been reenabled. If the wait time (port is down and is waiting to come up) expires and the port is brought up the following message is displayed. The threshold for the number of times that a port link toggles from up to down and down to up has been exceeded. The line protocol on a port has gone down. The <portnum> is the port number. The line protocol on a port has come up. The <portnum> is the port number.
Informational
Informational Informational
1993
Syslog messages
TABLE 1
Message level
Informational Informational Informational Informational Informational
Explanation
A port has gone down. The <portnum> is the port number. A port has come up. The <portnum> is the port number. A MAC Based VLAN has been disabled on a port A MAC Based VLAN has been enabled on a port. A user created, modified, deleted, or applied this MAC address filter through the Web, SNMP, console, SSH, or Telnet session. BPDU guard violation occurred in MSTP.
Informational
Informational
The optical transceiver is qualified by Brocade, but the transceiver does not support digital optical performance monitoring. A port priority has changed. The address limit specified by the srcip-security max-ipaddr-per-interface command has been reached for the port. The address limit specified by the srcip-security max-ipaddr-per-interface command has been reached for the port. The specified user logged into the device console into the specified EXEC mode. The specified user logged out of the device console. The specified user logged into the device using Telnet or SSH from either or both the specified IP address and MAC address. The user logged into the specified EXEC mode. The specified user logged out of the device. The user was using Telnet or SSH to access the device from either or both the specified IP address and MAC address. The user logged out of the specified EXEC mode. A user made SNMP configuration changes through the Web, SNMP, console, SSH, or Telnet session. [<value-str>] does not appear in the message if SNMP community or engineld is specified.
Informational Informational
Port <p> priority changed to <n> Port <portnum>, srcip-security max-ipaddr-per-int reached.Last IP=<ipaddr> Port <portnum>, srcip-security max-ipaddr-per-int reached.Last IP=<ipaddr> Security: console login by <username> to USER | PRIVILEGE EXEC mode Security: console logout by <username> Security: telnet | SSH login by <username> from src IP <ip-address>, src MAC <mac-address> to USER | PRIVILEGE EXEC mode Security: telnet | SSH logout by <username> from src IP <ip-address>, src MAC <mac-address> to USER | PRIVILEGE EXEC mode SNMP read-only community | read-write community | contact | location | user | group | view | engineld | trap [host] [<value -str>] deleted | added | modified from console | telnet | ssh | web | snmp session
Informational
Informational
Informational
1994
Syslog messages
TABLE 1
Message level
Informational
Explanation
A user has tried to open a management session with the device using an invalid SNMP community string. The <ip-addr> is the IP address of the host that sent the invalid community string. A user enabled or disabled an SSH or Telnet session, or changed the SSH enable/disable configuration through the Web, SNMP, console, SSH, or Telnet session. A configuration change was saved to the startup-config file. The <user-name> is the user ID, if they entered a user ID to log in. Root guard unblocks a port. Root guard blocked a port.
Informational
SSH | telnet server enabled | disabled from console | telnet | ssh | web | snmp session [by user <username>]
Informational
startup-config was changed or startup-config was changed by <user-name> STP: Root Guard Port <port-number>, VLAN <vlan-ID> consistent (Timeout). STP: Root Guard Port <port-number>, VLAN <vlan-ID> inconsistent (Received superior BPDU). STP: VLAN <vlan id> BPDU-Guard on Port <port id> triggered (Received BPDU), putting into err-disable state STP: VLAN <vlan id> Root-Protect Port <port id>, Consistent (Timeout) STP: VLAN <vlan id> Root-Protect Port <port id>, Inconsistent (Received superior BPDU) STP: VLAN <vlan-id> BPDU-guard port <port-number> detect (Received BPDU), putting into err-disable state STP: VLAN 1 BPDU-guard port <port-number> detect (Received BPDU), putting into err-disable state. Syslog server <IP-address> deleted | added | modified from console | telnet | ssh | web | snmp OR Syslog operation enabled | disabled from console | telnet | ssh | web | snmp SYSTEM: Optic is not Brocade-qualified (<port-number>) System: Fan <fan id> (from left when facing right side), ok System: Fan speed changed automatically to <fan speed> System: No free TCAM entry. System will be unstable
Informational Informational
Informational
The BPDU guard feature has detected an incoming BPDU on {vlan-id, port-id} The root protect feature goes back to the consistent state. The root protect feature has detected a superior BPDU and goes into the inconsistent state on {vlan-id, port-id}. STP placed a port into an errdisable state for BPDU guard. BPDU guard violation in occurred in STP or RSTP. A user made Syslog configuration changes to the specified Syslog server address, or enabled or disabled a Syslog operation through the Web, SNMP, console, SSH, or Telnet session. Brocade does not support the optical transceiver. The fan status has changed from fail to normal. The system automatically changed the fan speed to the speed specified in this message. There are no TCAM entries available.
Informational Informational
Informational
Informational
Informational
Informational
1995
Syslog messages
TABLE 1
Message level
Informational
Explanation
A MAC address is added to a range of interfaces, which are members of the specified VLAN range.
Informational
A MAC address is added to a range of interfaces, which are members of the specified VLAN. A MAC address is added to an interface and the interface is a member of the specified VLAN. A MAC address is deleted from a range of interfaces, which are members of the specified VLAN. A MAC address is deleted from a range of interfaces, which are members of the specified VLAN range.
Informational
Informational
Informational
Informational
A MAC address is deleted from an interface and the interface is a member of the specified VLAN. A MAC address is deleted from an interface and the interface is a member of the specified VLAN range. There were failed web, SSH, or Telnet login access attempts from the specified source IP and MAC address. [by <user> <username>] does not appear if telnet or SSH clients are specified. <n> is the number of times this SNMP trap occurred in the last five minutes, or other configured number of minutes. 802.3ad link aggregation is configured on the device, and the feature has dynamically created a trunk group (aggregate link). The <ports> is a list of the ports that were aggregated to make the trunk group. A user created, modified, or deleted a local user account through the Web, SNMP, console, SSH, or Telnet session. A user created, modified, or deleted a VLAN through the Web, SNMP, console, SSH, or Telnet session.
Informational
Informational
Informational
Informational
user <username> added | deleted | modified from console | telnet | ssh | web | snmp vlan <vlan id> added | deleted | modified from console | telnet | ssh | web | snmp session
Informational
1996
Syslog messages
TABLE 1
Message level
Informational Informational Informational
Explanation
The system software (flash code) has been reloaded. The specified unit has been deleted from the stacking system. The specified unit in a stack has been elected as the Master unit for the stacking system. The specified unit has been added to the stacking system. The management MAC address of a stacking system has been changed The operational status of a fan in the specified unit in a stack changed from normal to failure. The operational status of a power supply of the specified unit in a stack changed from normal to failure. The operational status of a power supply of the specified unit in a stack changed from failure to normal. The operational status of a fan in the specified unit in a stack changed from failure to normal. The actual temperature reading for a unit in a stack is above the warning temperature threshold. 802.1W changed the current bridge to be the root bridge of the given topology due to administrative change in bridge priority. The message age expired on the Root port so 802.1W changed the current bridge to be the root bridge of the topology. 802.1W recognized a topology change event in the bridge. The topology change event is the forwarding action that started on a non-edge Designated port or Root port. 802.1W changed the state of a port to a new state: forwarding, learning, blocking. If the port changes to blocking, the bridge port is in discarding state. 802.1W selected a new root bridge as a result of the BPDUs received on a bridge port. 802.1W changed the port role to Root port, using the root selection computation.
Informational
Informational
Informational
Informational
Informational
Informational
Informational
Informational
Informational
vlan <vlan-id> New RootBridge <mac-address> RootPort <portnum> (BpduRcvd) vlan <vlan-id> New RootPort <portnum> (RootSelection)
Informational
1997
Syslog messages
TABLE 1
Message level
Notification
Explanation
The port does not have enough Layer 4 CAM entries for the ACL. To correct this condition, allocate more Layer 4 CAM entries. To allocate more Layer 4 CAM entries, enter the following command at the CLI configuration level for the interface: ip access-group max-l4-cam <num> The port does not have a large enough CAM partition for the ACLs The device does not have enough Layer 4 session entries. To correct this condition, allocate more memory for sessions. To allocate more memory, enter the following command at the global CONFIG level of the CLI interface: system-max session-limit <num> The fragment rate allowed on an individual interface has been exceeded. The <rate> indicates the maximum rate allowed. The <portnum> indicates the port. This message can occur if fragment thottling is enabled. The fragment rate allowed on the device has been exceeded. The <rate> indicates the maximum rate allowed. This message can occur if fragment thottling is enabled. The multi-device port authentication feature was disabled on the on the specified <portnum>. The multi-device port authentication feature was enabled on the on the specified <portnum>. Indicates that a BGP4 neighbor has gone down. The <ip-addr> is the IP address of the neighbor BGP4 interface with the Brocade device. Indicates that a BGP4 neighbor has come up. The <ip-addr> is the IP address of the neighbor BGP4 interface with the Brocade device. Indicates that the DHCP client receives DHCP server reply packets on untrusted ports, and packets are dropped.
Notification Notification
ACL insufficient L4 cam resource, using flow based ACL instead ACL insufficient L4 session resource, using flow based ACL instead
Notification
ACL port fragment packet inspect rate <rate> exceeded on port <portnum>
Notification
Notification
Notification
Notification
Notification
Notification
1998
Syslog messages
TABLE 1
Message level
Notification
Explanation
The device has indicated that the specified is no longer authorized, but the actual port may still be active. The device has indicated that the specified port has been authenticated, but the actual port may not be active. The RADIUS session has timed out for this 802.1x port. The Layer 3 switch adjacency with this Level-1 IS has gone down. The <system-id> is the system ID of the IS. The <circuit-id> is the ID of the circuit over which the adjacency was established. The Layer 3 switch adjacency with this Level-1 IS has come up. The <system-id> is the system ID of the IS. The <circuit-id> is the ID of the circuit over which the adjacency was established. The Layer 3 switch adjacency with this Level-2 IS has gone down. The <system-id> is the system ID of the IS. The <circuit-id> is the ID of the circuit over which the adjacency was established. The Layer 3 switch adjacency with this Level-2 IS has come up. The <system-id> is the system ID of the IS. The <circuit-id> is the ID of the circuit over which the adjacency was established. The number of ICMP packets exceeds the <burst-max> threshold set by the ip icmp burst command. The Brocade device may be the victim of a Denial of Service (DoS) attack. All ICMP packets will be dropped for the number of seconds specified by the <lockup> value. When the lockup period expires, the packet counter is reset and measurement is restarted. The number of TCP SYN packets exceeds the <burst-max> threshold set by the ip tcp burst command. The Brocade device may be the victim of a TCP SYN DoS attack. All TCP SYN packets will be dropped for the number of seconds specified by the <lockup> value. When the lockup period expires, the packet counter is reset and measurement is restarted.
Notification
Notification
Notification
Notification
Notification
Notification
Notification
Local ICMP exceeds <burst-max> burst packets, stopping for <lockup> seconds!!
Notification
Local TCP exceeds <burst-max> burst packets, stopping for <lockup> seconds!!
1999
Syslog messages
TABLE 1
Message level
Notification
Explanation
Threshold parameters for local TCP traffic on the device have been configured, and the maximum burst size for TCP packets has been exceeded. The first <num> is the maximum burst size (maximum number of packets allowed). The second <num> is the number of seconds during which additional TCP packets will be blocked on the device. NOTE: This message can occur in response to an attempted TCP SYN attack.
Notification Notification
MAC Authentication RADIUS timeout for <mac_address> on port <port_id> MAC Authentication succeeded for <mac-address> on <portnum> Module was inserted to slot <slot-num>
The RADIUS session has timed out for the MAC address for this port. RADIUS authentication was successful for the specified <mac-address> on the specified <portnum>. Indicates that a module was inserted into a chassis slot. The <slot-num> is the number of the chassis slot into which the module was inserted. Indicates that a module was removed from a chassis slot. The <slot-num> is the number of the chassis slot from which the module was removed. Indicates that the state of an OSPF interface has changed. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the interface IP address. The <ospf-state> indicates the state to which the interface has changed and can be one of the following: down loopback waiting point-to-point designated router backup designated router other designated router unknown
Notification
Notification
Notification
OSPF interface state changed, rid <router-id>, intf addr <ip-addr>, state <ospf-state>
2000
Syslog messages
TABLE 1
Message level
Notification
Explanation
Indicates that an OSPF interface authentication failure has occurred. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <src-ip-addr> is the IP address of the interface from which the Brocade device received the authentication failure. The <error-type> can be one of the following: bad version area mismatch unknown NBMA neighbor unknown virtual neighbor authentication type mismatch authentication failure network mask mismatch hello interval mismatch dead interval mismatch option mismatch unknown The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown
2001
Syslog messages
TABLE 1
Message level
Notification
Explanation
Indicates that an OSPF interface configuration error has occurred. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <src-ip-addr> is the IP address of the interface from which the Brocade device received the error packet. The <error-type> can be one of the following: bad version area mismatch unknown NBMA neighbor unknown virtual neighbor authentication type mismatch authentication failure network mask mismatch hello interval mismatch dead interval mismatch option mismatch unknown The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown Indicates that an OSPF interface received a bad packet. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <src-ip-addr> is the IP address of the interface from which the Brocade device received the authentication failure. The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown
Notification
OSPF intf rcvd bad pkt, rid <router-id>, intf addr <ip-addr>, pkt src addr <src-ip-addr>, pkt type <pkt-type>
2002
Syslog messages
TABLE 1
Message level
Notification
Explanation
The device received an OSPF packet that had an invalid checksum. The rid <ip-addr> is the Brocade router ID. The intf addr <ip-addr> is the IP address of the Brocade interface that received the packet. The pkt size <num> is the number of bytes in the packet. The checksum <num> is the checksum value for the packet. The pkt src addr <ip-addr> is the IP address of the neighbor that sent the packet. The pkt type <type> is the OSPF packet type and can be one of the following: hello database description link state request link state update link state acknowledgement unknown (indicates an invalid packet type) The device received an OSPF packet with an invalid type. The parameters are the same as for the Bad Checksum message. The pkt type <type> value is unknown, indicating that the packet type is invalid. The device received an OSPF packet with an invalid packet size. The parameters are the same as for the Bad Checksum message. The neighbor IP address in the packet is not in the list of OSPF neighbors in the Brocade device. The parameters are the same as for the Bad Checksum message.
Notification
OSPF intf rcvd bad pkt: Bad Packet type, rid <ip-addr>, intf addr <ip-addr>, pkt size <num>, checksum <num>, pkt src addr <ip-addr>, pkt type <type>
Notification
OSPF intf rcvd bad pkt: Invalid packet size, rid <ip-addr>, intf addr <ip-addr>, pkt size <num>, checksum <num>, pkt src addr <ip-addr>, pkt type <type> OSPF intf rcvd bad pkt: Unable to find associated neighbor, rid <ip-addr>, intf addr <ip-addr>, pkt size <num>, checksum <num>, pkt src addr <ip-addr>, pkt type <type>
Notification
2003
Syslog messages
TABLE 1
Message level
Notification
Explanation
An OSPF interface on the Brocade device has retransmitted a Link State Advertisement (LSA). The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <nbr-router-id> is the router ID of the neighbor router. The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown The <lsa-type> is the type of LSA. The <lsa-id> is the LSA ID. The <lsa-router-id> is the LSA router ID. The software is close to an LSDB condition. The <router-id> is the router ID of the Brocade device. The <num> is the number of LSAs. A Link State Database Overflow (LSDB) condition has occurred. The <router-id> is the router ID of the Brocade device. The <num> is the number of LSAs. An LSA has reached its maximum age. The <router-id> is the router ID of the Brocade device. The <area-id> is the OSPF area. The <lsa-type> is the type of LSA. The <lsa-id> is the LSA ID. The <lsa-router-id> is the LSA router ID.
Notification
Notification
Notification
OSPF max age LSA, rid <router-id>, area <area-id>, LSA type <lsa-type>, LSA id <lsa-id>, LSA rid <lsa-router-id>
2004
Syslog messages
TABLE 1
Message level
Notification
Explanation
Indicates that the state of an OSPF neighbor has changed. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the neighbor. The <nbr-router-id> is the router ID of the neighbor. The <ospf-state> indicates the state to which the interface has changed and can be one of the following: down attempt initializing 2-way exchange start exchange loading full unknown An OSPF interface has originated an LSA. The <router-id> is the router ID of the Brocade device. The <area-id> is the OSPF area. The <lsa-type> is the type of LSA. The <lsa-id> is the LSA ID. The <lsa-router-id> is the LSA router ID.
Notification
OSPF originate LSA, rid <router-id>, area <area-id>, LSA type <lsa-type>, LSA id <lsa-id>, LSA router id <lsa-router-id>
2005
Syslog messages
TABLE 1
Message level
Notification
Explanation
Indicates that an OSPF virtual routing interface authentication failure has occurred. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <src-ip-addr> is the IP address of the interface from which the Brocade device received the authentication failure. The <error-type> can be one of the following: bad version area mismatch unknown NBMA neighbor unknown virtual neighbor authentication type mismatch authentication failure network mask mismatch hello interval mismatch dead interval mismatch option mismatch unknown The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown
2006
Syslog messages
TABLE 1
Message level
Notification
Explanation
Indicates that an OSPF virtual routing interface configuration error has occurred. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <src-ip-addr> is the IP address of the interface from which the Brocade device received the error packet. The <error-type> can be one of the following: bad version area mismatch unknown NBMA neighbor unknown virtual neighbor authentication type mismatch authentication failure network mask mismatch hello interval mismatch dead interval mismatch option mismatch unknown The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown Indicates that an OSPF interface received a bad packet. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <src-ip-addr> is the IP address of the interface from which the Brocade device received the authentication failure. The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown
Notification
OSPF virtual intf rcvd bad pkt, rid <router-id>, intf addr <ip-addr>, pkt src addr <src-ip-addr>, pkt type <pkt-type>
2007
Syslog messages
TABLE 1
Message level
Notification
Explanation
An OSPF interface on the Brocade device has retransmitted a Link State Advertisement (LSA). The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the interface on the Brocade device. The <nbr-router-id> is the router ID of the neighbor router. The <packet-type> can be one of the following: hello database description link state request link state update link state ack unknown The <lsa-type> is the type of LSA. The <lsa-id> is the LSA ID. The <lsa-router-id> is the LSA router ID. Indicates that the state of an OSPF virtual routing interface has changed. The <router-id> is the router ID of the router the interface is on. The <area-id> is the area the interface is in. The <ip-addr> is the IP address of the OSPF neighbor. The <ospf-state> indicates the state to which the interface has changed and can be one of the following: down loopback waiting point-to-point designated router backup designated router other designated router unknown
Notification
OSPF virtual intf state changed, rid <router-id>, area <area-id>, nbr <ip-addr>, state <ospf-state>
2008
Syslog messages
TABLE 1
Message level
Notification
Explanation
Indicates that the state of an OSPF virtual neighbor has changed. The <router-id> is the router ID of the Brocade device. The <ip-addr> is the IP address of the neighbor. The <nbr-router-id> is the router ID of the neighbor. The <ospf-state> indicates the state to which the interface has changed and can be one of the following: down attempt initializing 2-way exchange start exchange loading full unknown Threshold parameters for ICMP transit (through) traffic have been configured on an interface, and the maximum burst size for ICMP packets on the interface has been exceeded. The <portnum> is the port number. The first <num> is the maximum burst size (maximum number of packets allowed). The second <num> is the number of seconds during which additional ICMP packets will be blocked on the interface. NOTE: This message can occur in response to an attempted Smurf attack.
Notification
Transit ICMP in interface <portnum> exceeds <num> burst packets, stopping for <num> seconds!!
Notification
Transit TCP in interface <portnum> exceeds <num> burst packets, stopping for <num> seconds!
Threshold parameters for TCP transit (through) traffic have been configured on an interface, and the maximum burst size for TCP packets on the interface has been exceeded. The <portnum> is the port number. The first <num> is the maximum burst size (maximum number of packets allowed). The second <num> is the number of seconds during which additional TCP packets will be blocked on the interface. NOTE: This message can occur in response to an attempted TCP SYN attack.
2009
Syslog messages
TABLE 1
Message level
Notification
Explanation
A state change has occurred in a Virtual Router Redundancy Protocol (VRRP) or VRRP-E IPv4 or IPv6 interface. The <portnum> is the port or interface where VRRP or VRRP-E is configured. The <virtual-router-id> is the virtual router ID (VRID) configured on the interface. The <vrrp-state> can be one of the following: init master backup unknown A security violation was encountered at the specified port number. Indicates that the Brocade device received a packet from another device on the network with an IP address that is also configured on the Brocade device. The <ip-addr> is the duplicate IP address. The <mac-addr> is the MAC address of the device with the duplicate IP address. The <portnum> is the Brocade port that received the packet with the duplicate IP address. The address is the packet source IP address. IGMP or MLD snooping has run out of hardware application VLANs. There are 4096 application VLANs per device. Traffic streams for snooping entries without an application VLAN are switched to the entire VLAN and to the CPU to be dropped. This message is rate-limited to appear a maximum of once every 10 minutes. The rate-limited number shows the number on non-printed warnings. Port has received a query with a MLD version that does not match the port MLD version. This message is rated-limited to appear a maximum of once every 10 hours. The optical transceiver on the given port has risen above or fallen below the alarm or warning threshold.
Warning
DOT1X security violation at port <portnum>, malicious mac address detected: <mac-address> Dup IP <ip-addr> detected, sent from MAC <mac-addr> interface <portnum>
Warning
Warning
IGMP/MLD no hardware vidx, broadcast to the entire vlan. rated limited number
Warning
Warning
Latched low RX Power | TX Power | TX Bias Current | Supply Voltage | Temperature warning alarm | warning, port <port-number>
2010
Syslog messages
TABLE 1
Message level
Warning
Explanation
Indicates that an Access Control List (ACL) denied (dropped) packets. The <ACL-num> indicates the ACL number. Numbers 1 99 indicate standard ACLs. Numbers 100 199 indicate extended ACLs. The <ip-proto> indicates the IP protocol of the denied packets. The <src-ip-addr> is the source IP address of the denied packets. The <src-tcp/udp-port> is the source TCP or UDP port, if applicable, of the denied packets. The <portnum> indicates the port number on which the packet was denied. The <mac-addr> indicates the source MAC address of the denied packets. The <dst-ip-addr> indicates the destination IP address of the denied packets. The <dst-tcp/udp-port> indicates the destination TCP or UDP port number, if applicable, of the denied packets. Indicates that a port on which you have configured a lock-address filter received a packet that was dropped because the packet source MAC address did not match an address learned by the port before the lock took effect. The e<portnum> is the port number. The <mac-address> is the MAC address that was denied by the address lock. Assuming that you configured the port to learn only the addresses that have valid access to the port, this message indicates a security violation. Indicates that a MAC address filtergroup configured on a port has denied packets. The <portnum> is the port on which the packets were denied. The <mac-addr> is the source MAC address of the denied packets. The <num> indicates how many packets matching the values above were dropped during the five-minute interval represented by the log entry. IGMP or MLD snooping has run out of software resources. This message is rate-limited to appear a maximum of once every 10 minutes. The rate-limited number shows the number of non-printed warnings.
Warning
Warning
mac filter group denied packets on port <portnum> src macaddr <mac-addr>, <num> packets
Warning
2011
Syslog messages
TABLE 1
Message level
Warning
Explanation
The device is configured for ip multicast active but there is no configured IP address and the device cannot send out IGMP queries. The Layer 3 switch has received more than the allowed percentage of prefixes from the neighbor. The <ip-addr> is the IP address of the neighbor. The <num> is the number of prefixes that matches the percentage you specified. For example, if you specified a threshold of 100 prefixes and 75 percent as the warning threshold, this message is generated if the Layer 3 switch receives a 76th prefix from the neighbor. Indicates that a Simple Network Time Protocol (SNTP) server did not respond to the device query for the current time. The <ip-addr> indicates the IP address of the SNTP server. Indicates that a RIP route filter denied (dropped) packets. The <list-num> is the ID of the filter list. The <direction> indicates whether the filter was applied to incoming packets or outgoing packets. The value can be one of the following: in out The V1 or V2 value specifies the RIP version (RIPv1 or RIPv2). The <ip-addr> indicates the network number in the denied updates. The <num> indicates how many packets matching the values above were dropped during the five-minute interval represented by the log entry. The chassis temperature has risen above the warning level.
Warning
No of prefixes received from BGP peer <ip-addr> exceeds warning limit <num>
Warning
Warning
Warning
2012
Appendix
NIAP-CCEVS Certification
Some Brocade devices have passed the Common Criteria (CC) certification testing. This testing is sponsored by the National Information Assurance Partnership (NIAP) - Common Criteria Evaluation and Validation Scheme (CCEVS). For more information regarding the NIAP-CCEVS certification process refer to the following link: http://www.niap-ccevs.org/. In an effort to maintain a proper level of security as it relates to access to network infrastructure resources, Brocade recommends that all Brocade hardware be installed within a secure location that is accessible by approved personnel only.
TABLE 2
Brocade product
NetIron XMR Family NetIron MLX Family BigIron RX Family FastIron SuperX/SX Family FastIron Edge X Family FastIron GS/LS Family FastIron Edge Switch Family
Discussed in
NetIron Series Configuration Guide NetIron Series Configuration Guide BigIron RX Series Configuration Guide FastIron and TurboIron 24X Configuration Guide FastIron and TurboIron 24X Configuration Guide FastIron and TurboIron 24X Configuration Guide Switch and Router Security Guide
2013
TABLE 2
Brocade product
ServerIron JetCore Family
Discussed in
ServerIron TrafficWorks Graphical User Interface ServerIron TrafficWorks Server Load Balancing Guide ServerIron TrafficWorks Advanced Server Load Balancing Guide ServerIron TrafficWorks Global Server Load Balancing Guide ServerIron TrafficWorks Security Guide ServerIron TrafficWorks Administration Guide ServerIron TrafficWorks Switching and Routing Guide ServerIron Firewall Load Balancing Guide ServerIron ADX TrafficWorks Graphical User Interface ServerIron ADX TrafficWorks Server Load Balancing Guide ServerIron ADX TrafficWorks Advanced Server Load Balancing Guide ServerIron ADX TrafficWorks Global Server Load Balancing Guide ServerIron ADX TrafficWorks Security Guide ServerIron ADX TrafficWorks Administration Guide ServerIron ADX TrafficWorks Switching and Routing Guide ServerIron ADX Firewall Load Balancing Guide
12.0.00
The privilege level of this particular user will be changed from its current value to "super-user". The super-user level username and password combination provides full access to the Brocade command line interface (CLI). To prevent this from occurring, use the following syntax:
Brocade-Device(config)# user fdryreadonly privilege <value> password <value>
2014
2015
2016
Index
Numerics
100BaseTX configuration, 57 31-bit subnet mask, 962 802.1Q-in-Q tagging CLI syntax, 804 configuration, 801, 803 configuration rules, 802 configuring profiles, 804 enabling, 802 802.1x port security accounting, 1791 accounting attributes for RADIUS, 1811 accounting configuration, 1810 allowing access to multiple hosts, 1807 and sFlow, 1790 applying IP ACLs and MAC address filters, 1798 authenticating multiple hosts, 1787 authentication with dynamic VLAN assignment, 1826 clearing statistics, 1816 communication between the devices, 1783 configuration, 1791 configuring an authentication method, 1792 configuring per-user IP ACLs or MAC address filters, 1801 configuring re-authentication, 1803 device roles in a configuration, 1782 disabling strict security mode, 1799 displaying dynamically-assigned VLAN information, 1816 displaying information, 1812 displaying MAC address and IP ACL information, 1817 displaying multiple-host authentication information, 1820 displaying statistics, 1815 displaying the status of strict security mode, 1819 dynamic VLAN assignment, 1794 dynamically applying ACLs or MAC address filters,
1800 enabling, 1802 enabling accounting, 1811 hub configuration, 1825 IETF RFC support, 1781 initializing, 1806 MAC address filtering, 1809 message exchange during authentication, 1785 multi-device authentication and security on the same port, 1827 overview, 1782 sample configurations, 1824 saving dynamic VLAN assignments to the runningconfig file, 1797 setting RADIUS parameters, 1792 setting the EAP frame retransmissions, 1806 setting the IP MTU size, 1786 setting the port control, 1802 setting the quiet period, 1804 specifying a timeout for retransmission of messages, 1806 specifying the RADIUS timeout action, 1793 specifying the wait interval, 1804 support for RADIUS, 1787
A
AAA operations for TACACS/TACACS+, 143 AAA security for commands pasted into the running-config file, 145 access methods disabling SNMP access, 124 disabling TFTP access, 124 disabling Web management access, 123 disabling Web management access by HP ProCurve Manager, 123 access policies, ACL and IP, 949 access restrictions, remote, 115
ACL adding a comment to an entry, 1721 adding a comment to an IPv6 entry, 1762 and IP access policies, 949 applying an IPv4 ACL to a subset of ports (Layer 3), 1729 applying an IPv4 ACL to VLAN members (Layer 2), 1728 applying egress to CPU traffic, 1719 applying IPv6 to a trunk group, 1762 applying to a virtual interface in a VLAN, 1722 comment text management, 1720 configuration example, 1705 configuration example for extended named, 1719 configuration examples for extended, 1712 configuration notes for filtering, 1728 configuration tasks for logging, 1724 configuring for ARP filtering, 1731 configuring IPv6, 1752 configuring standard ACLs, 1703 configuring the route map, 1744 creating IPv6, 1755 default and implicit IPv6 action, 1753 deleting a comment from an entry, 1721 deleting a comment from an IPv6 entry, 1763 deny | permit, 1251, 1755 displaying ACL information, 1740 displaying filters for ARP, 1732 displaying IPv6, 1763 displaying log entries, 1725 DSCP matching, 1738 enabling and viewing hardware usage statistics, 1739 enabling filtering based on VE port membership, 1728 enabling filtering based on VLAN membership, 1728 enabling IPv6 on an interface, 1761 enabling statistics, 1775 enabling strict control of fragmented packet filtering,
1726 enabling support for switched traffic, 1727 example logging configuration, 1724 extended named configuration, 1714 extended number configuration, 1708 filtering ARP packets, 1730 filtering on IP precedence and ToS values, 1733 hardware-based configuration considerations, 1702 how hardware-based ACLs work, 1701 IDs and entries, 1700 IPv6 configuration notes, 1751 IPv6 overview, 1749 IPv6 traffic filtering criteria, 1750 ipv6 traffic-filter in, 1761 logging, 1723 numbering and naming, 1700 overview, 1699 policy-based routing (PBR), 1741 preserving user input for TCP/UDP port numbers, 1719 QoS options, 1734 remark, 1720 standard named configuration, 1705 statistics, 1739 support for IPv6 logging, 1763 supported features on inbound traffic, 1697 supported features on outbound traffic, 1698 TCP flags and edge port security, 1733 troubleshooting, 1741 types, 1699 using as input to the OSPF distribution list, 1249 using to change the forwarding queue, 1737 using to control multicast features, 1582, 1739 using to limit PIM RP candidate advertisement, 1584 using to map the DSCP value, 1735 viewing comments, 1721 ACL Log acl-logging, 1725 logging-enable, 1725 ACL-based inbound mirroring, 926 ACL-based mirroring, configuring for ACLs, 930 ACL-based rate limiting, 1738 clearing counters, 1777 configuring, 1769, 1770 inspecting the 802.1p bit, 1773 specifying action to be taken for packets that are over the limit, 1773 statistics, 1774 support for, 1769 using traffic policies, 1768 viewing counters, 1776
Address Resolution Protocol (ARP) changing the aging period, 977 configuration, 975 configuring forwarding parameters, 980 creating static entries, 979 enabling on an interface, 978 enabling the proxy, 977, 978 enabling the proxy globally, 978 how it works, 975 rate limiting ARP packets, 976 static entry support, 980 address-lock filters, 573 aggregate links, displaying and determining status, 730 aggregated VLAN configuring, 796 verifying configuration, 798 alarm interval, setting, 500 alarm status values, 504 ARP cache and static table, 944 clearing the filter count, 1732 configuring an inspection entry, 1922 displaying entries, 945, 1064, 1075 ARP ping setting the wait time, 1015 authentication entering privileged EXEC mode, 150 authorization configuring command authorization, 153
B
banner configuration, 37 banner, setting a privileged EXEC CLI level, 39 boot code synchronization, 77 boot image configuring, 1016 boot preference, displaying, 81 BootP changing the IP address used for requests, 1006 changing the number of hops, 1007 configuration, 1005 configuring the reply source address, 1006 relay parameters, 1005
Border Gateway Protocol 4 (BGP4) adding a loopback interface, 1347 adding a peer group, 1355 adding BGP4 neighbors, 1348 advertising the default route, 1365 aggregated routes advertised to BGP4 neighbors, 1378 applying a peer group to a neighbor, 1358 AS-Path comparison, 1370 AS-path filtering, 1389 basic configuration tasks, 1346 changing administrative distances, 1368 changing next-hop update timer (optional), 1359 changing the default local preference, 1364 changing the keep alive and hold time (optional), 1359 changing the maximum number of paths for load sharing, 1360 changing the metric used for route redistribution, 1365 changing the router ID, 1346 clearing and resetting BGP4 routes in the IP route table, 1452 clearing diagnostic buffers, 1454 clearing route flap dampening statistics, 1415, 1453 clearing traffic counters, 1452 closing or resetting a neighbor session, 1451 configuration and activation, 1342 configuration notes for BGP4 autonomous systems, 1375 configuration steps for BGP null 0 routing, 1381 configuring a BGP confederation, 1376 configuring a peer group, 1356 configuring cooperative BGP4 route filtering, 1405 configuring graceful restart, 1379 configuring multi-exit discriminators (MEDs), 1371 configuring timers for graceful restart (optional), 1379 customizing load sharing, 1362 defining a community ACL, 1394 defining a community filter, 1393 defining an AS-path ACL, 1390 defining an AS-path filter, 1390 defining IP prefix lists, 1395 defining neighbor distribute lists, 1396 defining route maps, 1397 disabling or re-enabling re-advertisement of routes to neighbors, 1387 displaying all routes received from neighbor, 1448 displaying and clearing route flap dampening
statistics, 1413 displaying cooperative filtering information, 1407 displaying CPU utilization statistics, 1419 displaying dynamic refresh information, 1450 displaying filtered routes, 1447 displaying graceful restart neighbor information, 1445 displaying information, 1415 displaying information for a specific route, 1438 displaying peer group information, 1433 displaying recursive route lookups, 1366 displaying route flap dampening statistics, 1443 displaying route information for a neighbor, 1430 displaying route-attribute entries, 1441 displaying routes BGP4 has placed in route table, 1442 displaying routes whose destinations are unreachable, 1437 displaying summary BGP4 information, 1416 displaying summary neighbor information, 1421 displaying summary route information, 1434 displaying the active configuration, 1419 displaying the active route map configuration, 1444 displaying the best BGP4 routes, 1436, 1437 displaying the BGP4 route table, 1435 dynamically requesting a route refresh from a
neighbor, 1448 enabling fast external failover, 1360 enabling next-hop recursion, 1365 enabling on the router, 1346 encryption of MD5 authentication keys, 1353 entering the route map into the software, 1398 example of autonomous systems, 1336 filtering communities, 1393 generating traps, 1415 graceful restart, 1341 KEEPALIVE messages from BGP4 routers, 1340 match examples using ACLs, 1400 MED favoring, 1371 memory considerations, 1345 message types, 1339 modifying redistribution parameters, 1385 NOTIFICATION messages from BGP4 routers, 1341 null0 routing, 1380 OPEN messages exchanged with BGP4 routers, 1339 overview, 1336 parameter changes, 1344 parameters, 1343 peer group configuration rules, 1355 redistributing connected routes, 1385 redistributing IBGP routes into RIP and OSPF, 1387 redistributing OSPF external routes, 1386 redistributing RIP routes, 1386 redistributing static routes, 1387 relationship between the BGP4 route table and IP route table, 1337 removing route dampening from a neighbor route,
1412 removing route dampening from a route, 1412 removing route flap dampening, 1453 requiring the first AS to be the neighbor AS, 1370 resetting a neighbor session, 1445 route flap dampening configuration, 1408 route reflection parameter configuration, 1372 route reflector configuration, 1374 router ID comparison, 1370 selecting a path for a route, 1338 setting parameters in the routes, 1402 setting the local AS number, 1347 show commands for BGP null 0 routing, 1383 shutting down a session with a BGP4 neighbor, 1358 special characters for regular expressions, 1391 specific IP address filtering, 1388 specifying a list of networks to advertise, 1362 specifying a route map name, 1363 specifying the match conditions, 1399 UPDATE messages from BGP4 routers, 1340 updating route information, 1445 updating using soft reconfiguration, 1446 using a route map to configure route flap dampening, 1410, 1411 using a table map to set the rag value, 1405 using regular expressions to filter, 1391 using the IP default route as a valid next hop, 1364 Bridge Protocol Data Units (BPDUs) displaying the guard status, 1158 enabling protection by port, 1157 overview, 1157 re-enabling ports, 1158 status example, 1159 broadcast limiting command syntax, 33, 34 broadcast, multicast, and unknown traffic limiting, 32 viewing, 36 Brocade FCX changing default stacking port configurations, 261 configuring default ports, 261 hitless supported services and protocols, 330 IronStack configuration, 258 using secure-setup to build an IronStack, 263 Brocade FCX-S and FCXS-F devices, configuring stacking ports, 259 Brocade ICX configuring an IronStack, 265 configuring trunked stacking ports, 265
Brocade IronStack accessing, 273 active controller, 326 active controller and standby controller elections, 327 active controller and standby controller resets, 328 bootup role, 327 configuration mismatch for stack units, 320 configuration notes, 249 configuring default stacking port to function as a data
port, 264 confirming software versions, 282 construction methods, 249 copying the flash image, 283 device roles and elections, 326 displaying chassis information, 291 displaying flash information, 289 displaying IPC statistics for a specified unit, 301 displaying memory information, 290 displaying session statistics for stack units, 297 displaying software version information, 307 displaying stack flash information, 296 displaying stack information, 293 displaying stack module information, 292 displaying stack neighbors, 303 displaying stack port information, 304 displaying stack resource information, 293 displaying stacking port interface information, 308 displaying stacking port statistics, 309 enabling the stacking mode, 280 hitless stacking, 329 image mismatches, 319 installing a new unit using secure-setup, 311 installing using static configuration, 311 list of CLI commands, 279 MAC address, 275 managing, 273 managing partitioning, 284 MIB support, 285 moving a unit to another stack, 313 overview, 236 persistent MAC addresses, 286 recovering an earlier stack configuration version, 288 removing a unit, 312 removing an active controller from a stack, 313 removing MAC address entries, 277 renumbering stack units, 313 replacing a unit, 312 software requirements, 248 stack mismatches, 318 stack topology, 283 stackable models, 236 stacking images, 281 standby controller, 327 standby controller role in hitless stacking, 335 startup configuration files and stacking flash, 325 supported stack topologies, 326 Syslog, SNMP, and traps for stack units, 314 terminology, 237 three-member IronStack in a ring topology using the automatic setup process, 254 three-member stack in a ring topology using secure-
setup, 249, 250 three-member stack in a ring topology using the manual configuration process, 257 topologies, 239 troubleshooting image copy images, 318 recovering from a stack unit mismatch, 323 secure-setup, 324 stacking upgrade, 317 unsuccessful stack build, 315 unconfiguring, 287 unit identification, 277 unit priority, 277 viewing a configuration, 270 Brocade Ironstack features, 236 merging stacks, 285 troubleshooting memory allocation failure, 322 Brocade X series removing buffer allocation limits, 586 buffer allocation limits, 601 buffer limits, changing, 52 buffer profiles configuration, 586 configuring for FCX, FWS, and ICX devices, 589 configuring on FCX and ICX devices, 592 displaying the configuration, 588, 597 for VoIP on FastIron stackable devices, 602 sample configuration, 591 buffer sharing configuring, 598 displaying information, 600 levels, 599 byte-based limiting command syntax, 35
C
cable statistics, 499 cabling requirements for PoE, 665 CDP clearing information, 442, 445 clearing statistics, 442 displaying entries, 445 displaying information, 443 displaying neighbors, 444 displaying packet statistics, 442 displaying statistics, 445 enabling interception of packets globally, 443 enabling interception of packets on an interface, 443
Cisco Discovery Protocol (CDP) overview, 443 cluster client automatic configuration setting up for MCT, 837 with MCT, 831 command 100-tx, 57 aaa accounting dot1x, 1811 aaa accounting exec default start-stop radius | tacacs+ | none, 154 aaa authentication dot1x default, 1792 aaa authentication enable, 149 aaa authentication enable | login default, 168 aaa authentication enable implicit-user, 150 aaa authentication login privilege-mode, 150 aaa authentication snmp-server | web-server | enable | login default, 176 aaa authorization commands, 170 aaa authorization commands default tacacs+ | radius
| none, 153 access-list, 1703, 1708, 1720, 1737, 1743, 1770 accounting, 1893 ACL-logging, 1725 address-filter, 1388 add-vlan, 789 advertise backup, 648, 1670 age, 1832 aggregate-address, 1378, 1412 aggregated-vlan, 797 alias, 11 all-client, 116 appletalk-cable-vlan, 782 area, 1233, 1284, 1305 arp, 979, 1181 as-path filter, 1390 as-path-filter, 1391, 1392 as-path-ignore, 1370 attempt-max-num, 1895 auth-fail-action restricted-vlan, 1807 auth-fail-max-attempts, 1808 auth-fail-vlanid, 1807 auth-mode none, 1892 auth-mode passcode static, 1888 auto-cost reference-bandwidth, 1246, 1288, 1299 autosave, 1833 banner exec_mode, 39 banner incoming, 39 banner motd, 37 bgp-redistribute-internal, 1387 block-applicant all, 885 block-learning all, 886 boot system, 81 bootfile, 1016 bootp-relay-max-hops, 1007 bridged-routed, 1727 broadcast limit, 34, 36 bsr-candidate ethernet, 1529 buffer-profile port-region, 594 buffer-sharing-full, 586, 601 cdp run, 670 clear, 526 clear access-list accounting traffic-policy, 1777 clear ACL-on-arp, 1732 clear auth-mac-table, 1858 clear dhcp, 1927 clear dot1x statistics, 1816 clear fdp counters, 442, 446 clear fdp table, 442, 445 clear igmp traffic, 1598 clear ip bgp damping, 1412, 1453 clear ip bgp flap-statistics, 1415, 1453
clear ip bgp neighbor, 1407, 1446 clear ip bgp neighbor all, 1449, 1454 clear ip bgp routes, 1452 clear ip bgp traffic, 1452 clear ip dhcp-server binding, 1014 clear ip msdp peer, 1572 clear ip msdp sa-cache, 1573 clear ip msdp statistics, 1573 clear ip multicast counters, 1483, 1508 clear ip multicast mcache, 1483, 1508 clear ip multicast vlan, 1483, 1508 clear ip ospf, 1265, 1266 clear ip ospf neighbor, 1264 clear ip ospf redistribution, 1265 clear ip ospf topology, 1265 clear ip pim traffic, 1551 clear ip route, 1071 clear ip tunnel, 1058 clear ip vrrp-stat, 1688 clear ipsec statistics, 1308 clear ipv6 cache, 395 clear ipv6 mld-snooping counters, 1641 clear ipv6 mld-snooping mcache, 1641 clear ipv6 mld-snooping vlan, 1642 clear ipv6 neighbor, 395 clear ipv6 rip routes, 1215 clear ipv6 route, 396 clear ipv6 traffic, 396 clear ipv6 tunnel, 378 clear link-aggregate, 733 clear link-keepalive statistics, 690 clear lldp neighbors, 495 clear LLDP statistics, 490 clear lldp statistics, 495 clear logging, 512, 518 clear mac, 843 clear mac cluster, 843, 844 clear mac vlan, 844 clear mac-address, 277, 562 clear pim counters, 1551 clear pim rp-map, 1531 clear port security, 1835 clear statistics, 531, 552 clear statistics dos-attack, 1918 clear stp-protect-statistics, 1087 clear table-mac-vlan, 917 clear web connection, 157, 173 client-auto-detect, 838 client-to-client-reflection, 1375 clock set, 30 clock summer-time, 31 clock timezone gmt, 31
clock timezone us, 32 community-filter, 1393 compare-routerid, 1371 confederation identifier, 1377 confederation peers, 1377 config-trunk-ind, 711 console, 274 console timeout, 115 copy flash console, 77, 79 copy flash tftp, 87 copy running-config, 87 copy running-config tftp, 84 copy startup-config tftp, 84 copy tftp flash, 88 copy tftp running-config, 86 copy tftp startup-config, 84 crypto key client generate | zeroize dsa, 196 crypto key client generate | zeroize rsa, 196 crypto key generate | zeroize rsa, 182 crypto-ssl certificate, 122 crypto-ssl certificate generate, 138 cycle time, 1895 dampening, 1409 database-overflow-interval, 1262 dead-interval, 648, 1670 default-gateway, 121 default-information-originate, 1257, 1296, 1365 default-local-preference, 1364 default-metric, 1200, 1291, 1365 default-timers, 888 default-vlan-d, 764 deny redistribute, 1247 deploy, 1016 dhcp snooping client-learning disable, 1926 dhcp snooping trust, 1926 dhcp-default-router, 1016 dhcp-server pool, 1015 disable, 46 disable ethernet, 711, 713 disable multicast-to-cpu, 1586 disable-hw-ip-checksum-check, 1078 disable-pim, 1520, 1528 distance, 1198, 1369 distance external, 1259 distribute-list, 1250 distribute-list prefix-list, 1214, 1293 distribute-list route-map, 1295 dns-filter, 1897 dns-server, 1016 domain-name, 1016 dont-advertise-connected, 1202 dot1x auth-fail-action restrict-vlan, 1808
dot1x auth-timeout-action succes, 1793 dot1x initialize ethernet, 1806 dot1x-enable, 1802 dual-mode, 815 dynamic, 782, 783 enable, 46 enable aaa console, 170 enable ethernet, 713 enable port-config-password, 126 enable snmp ve-statistics, 22 enable super-user-password, 126, 151 enable telnet password, 151 enable user disable-on-login-failure, 132 end, 84, 86 erase flash primary, 92 erase flash secondary, 92 erase startup-config, 92 errdisable recovery interval, 67, 1162 excluded-address, 1017 fast port-span, 1098 fast uplink-span, 1101 fast uplink-span ethernet, 1102 fdp advertise ipv4 | ipv6, 438 fdp holdtime, 439 fdp timer, 439 flexible-10g-ports upper, 209 flow-control, 47 global-filter-strict-security, 1800 graceful-restart, 1263, 1379 graceful-restart restart-time, 1264 graceful-restart restart-timer, 1379 graft-retransmit-timer, 1522 group-router-interface, 791 gvrp-base-vlan-id, 884 gvrp-enable, 885 gvrp-max-leaveall-timer, 885 hardware-drop, 1573 hash-chain-length, 1486, 1626 hello-interval, 648, 1669 hello-time, 627 hello-timer, 1521 hitless-reload, 107 hold-down-interval, 649 hostname, 19 inactivity-timer, 1522 inline power, 669 inline power budget, 673 inline power power-limit, 671 inline power priority, 674 interface loopback, 1348 interface tunnel, 377 ip access-group, 1703, 1705, 1708
ip access-group frag deny, 1726 ip access-list, 1727 ip access-list extended, 1251, 1715 ip access-list standard, 1250, 1705 ip address, 365, 1031, 1048 ip arp-age, 977 ip as-path access-list, 1390 ip community-list extended, 1394 ip community-list standard, 1394 ip default-gateway, 1031 ip default-network, 994 ip dhcp relay information policy keep, 1932 ip dhcp snooping vlan, 1926 ip dhcp-client lease, 1030 ip dhcp-server, 1015 ip dhcp-server mgmt, 1014 ip dhcp-server relay-agent-echo enable, 1015 ip directed-broadcast, 981, 1914 ip dns server-address, 965, 1032 ip forward-protocol udp, 1004 ip helper-use-responder-ip, 1006 ip icmp burst-normal, 1915 ip icmp echo broadcast-request, 983 ip icmp redirects, 985 ip igmp group-membership-time, 1514, 1593 ip igmp max-response-time, 1515, 1594 ip igmp query-interval, 1593 ip igmp static-group, 1515 ip igmp tracking, 1593 ip igmp version, 1591, 1592 ip irdp, 1000 ip load-sharing, 998 ip local-proxy-arp, 979 ip mtu, 969, 1787 ip multicast, 1464, 1492 ip multicast age-interval, 1466, 1493 ip multicast leave-wait-time, 1467, 1494 ip multicast max-response-time, 1466 ip multicast mcache-age, 1467, 1494 ip multicast query-interval, 1466, 1493 ip multicast report-control, 1466, 1494 ip multicast verbose-off, 1467, 1494 ip multicast version, 1463, 1493 ip multicast-routing, 1514 ip ospf auth-change-wait-time, 1239 ip ospf database-filter all out, 1239 ip ospf network non-broadcast, 1240 ip ospf network point-to-point, 1263 ip pim, 1520 ip pim border, 1529 ip pimsm-snooping, 1494 ip pim-sparse, 1052, 1529
ip prefix-list, 1395 ip preserve-ACL-user-input-format, 1719 ip proxy-arp, 978 ip proxy-arp enable, 978 ip radius source-interface ethernet, 973 ip redirect, 985 ip rip filter-group, 1204 ip rip learn-default, 1190 ip rip poison-reverse, 1190, 1203 ip route, 988, 989, 1048, 1180, 1253 ip router-id, 971, 1347 Ip show-portname, 517 ip show-service-number-in-log, 517 ip sntp source-interface ethernet, 974 ip source-route, 982 ip ssh client, 116 ip ssh key-authentication yes | no, 186 ip ssh password-authentication no | yes, 186 ip ssh permit-empty-passwd no | yes, 187 ip ssh pub-key-file tftp, 185 ip ssh source-interface ethernet, 974 ip ssl certificate-date-file tftp, 138 ip ssl private-key-file tftp, 138 ip tacacs source-interface ethernet, 972 ip tcp burst-normal, 1916 ip tftp source-interface ethernet, 973 ip ttl, 981, 1033 ip use-ACL-on-arp, 1731 ip vrrp auth-type no-auth | simple-text-auth, 1665 ip vrrp-extended vrid, 1695 ip-multicast-disable, 1492 ip-proto, 782 ip-subnet, 769, 783 ipv6 access-list, 366, 1755 ipv6 address, 361, 363, 366, 378 ipv6 dns domain-name, 370, 415 ipv6 dns server-address, 370, 415 ipv6 enable, 361, 364, 377 ipv6 hop-limit, 393 ipv6 icmp error-interval, 383 ipv6 icmp source-route, 393 ipv6 mld-snooping, 1630 ipv6 mld-snooping age-interval, 1631 ipv6 mld-snooping leave-wait-time, 1632, 1635 ipv6 mld-snooping mcache-age, 1632 ipv6 mld-snooping query-interval, 1631 ipv6 mld-snooping report-control, 1632 ipv6 mld-snooping verbose-off, 1632 ipv6 nd dad attempt, 387 ipv6 nd managed-config-flag, 390 ipv6 nd ns-interval, 387 ipv6 nd other-config-flag, 390
10
ipv6 nd prefix-advertisement, 389 ipv6 nd ra-hop-limit, 388 ipv6 nd ra-interval, 388 ipv6 nd ra-lifetime, 388 ipv6 nd reachable-time, 391 ipv6 nd suppress-ra, 390 ipv6 neighbor, 392 ipv6 ospf area, 1285, 1300 ipv6 ospf authentication ipsec disable, 1307 ipv6 ospf authentication ipsec spi, 1304 ipv6 rip default-information, 1212 ipv6 rip enable, 1211 ipv6 rip metric-offset, 1213 ipv6 router ospf, 1283 ipv6 router rip, 1210 ipv6 traffic-filter, 1761 ipv6 unicast-routing, 365, 386, 1663 ipx-network, 769 ipx-proto, 782 keepalive, 1050 key-rollover-interval, 1304, 1307 kill console, 140 learn-default, 1202 lease, 1016 legacy-inline-power, 669 link-aggregate active, 723 link-aggregate configure, 723, 729 link-aggregate configure singleton, 734 link-aggregate off, 724 link-keepalive ethernet, 687 link-keepalive interval, 688 link-keepalive retries, 688 lldp advertise mac-phy-config-status ports, 472 lldp advertise management-address ipv4, 467 lldp advertise max-frame-size ports, 473 lldp advertise max-frame-size ports ethernet, 473 lldp advertise port-description ports ethernet, 467 lldp advertise port-vlan-id ports ethernet, 471 lldp advertise system-capabilities ports ethernet, 468 lldp advertise system-description ports ethernet, 469 lldp advertise vlan-name vlan, 470 lldp enable ports, 459 lldp enable ports ethernet, 460 lldp enable receive ports, 461 lldp enable snmp notifications ports ethernet, 463 lldp enable transmit ports, 460 lldp enable transmit ports ethernet, 461 lldp max-neighbors-per-port, 462 lldp max-total-neighbors, 462 lldp med location-id civic-address, 479 lldp med location-id coordinate-based, 477 lldp med location-id ecs-elin, 482
lldp med network-policy application, 484 lldp snmp-notification-interval, 463 lldp transmit-delay, 464 lldp transmit-hold, 465 lldp transmit-interval, 464 local-as, 1377 lock-address ethernet, 573 logging buffered, 515 logging console, 509 logging enable config-changed, 83 logging enable user-login, 24 logging facility, 516 logging host, 514 logging on, 514 logging persistence, 518 logging-enable, 1725 log-status-change, 1301 longpreamble, 264 loop-detection, 66 loop-detection-interval, 67 mac filter, 568, 569 mac filter log-enable, 571 mac filter-group log-enable, 569 mac-age-time, 559 mac-authentication auth-fail-action, 1848 mac-authentication disable-aging, 1859 mac-authentication disable-ingress-filtering, 1852 mac-authentication dos-protection mac-limit, 1856 mac-authentication enable, 1847 mac-authentication mac-filter, 1849 mac-authentication max-age, 1860 mac-authentication password-override, 1862 mac-learn disable, 559 mac-session-aging no-aging permitted-mac-only, 1808 mac-vlan-permit, 745 master, 626 master-vlan, 609, 1149 match community, 1400, 1402 match ip address, 1400, 1744 match ip address prefix-list, 1400 match ip next-hop, 1401 match ip next-hop prefix-list, 1401 match ip route-source, 1401 maximum-paths, 1362 maxreq, 1806 mdi-mdix, 46 med-missing-as-worst, 1372 member-group, 609, 1149 member-vlan, 609, 1149 mesh-group, 1561 message-interval, 1532 metric-type, 1259, 1291
11
metro-ring, 626 mirror-port ethernet, 924 mld-snooping disable-mld-snoop, 1633 mld-snooping fast-convergence, 1636 mld-snooping fast-leave-, 1635 mld-snooping proxy-off, 1634 mld-snooping router-port, 1634 mld-snooping static-group, 1634 mld-snooping tracking, 1635 mld-snooping version, 1633 monitor ethernet, 924 mrinfo, 1589 mroute, 1587 msdp-peer, 1556 mstp admin-edge-port ethernet, 1171 mstp admin-pt2pt-mac ethernet, 1171 mstp disable ethernet, 1172 mstp edge-port-auto-detect, 1171 mstp force-migration-check ethernet, 1172 mstp instance, 1169 mstp scope all, 1166 mstp start, 1172 mtu-exceed, 968 multicast active | passive, 1495 multicast fast-convergence, 1469, 1498 multicast fast-leave, 1498 multicast fast-leave-v2, 1469 multicast limit, 33, 34, 36 multicast pimsm-snooping, 1470, 1495 multicast proxy-off, 1468, 1497 multicast router-port ethernet, 1467, 1497 multicast static-group, 1496 multicast tracking, 1469, 1498 multipath ebgp, 1362 name, 626 nbr-timeout, 1521 ncopy, 89 ncopy running-config tftp, 86 neighbor, 1202, 1348, 1357, 1358, 1374, 1396,
12
1446 netbios-name-server, 1017 network, 1017, 1363 next-bootstrap-server, 1017 next-hop-enable-default, 1364 next-hop-recursion, 1368 no ip icmp unreachable, 984 no mstp instance, 1167 non-preempt-mode, 650 offset-list, 1198 optical-monitor, 500 originator-id, 1557 owner priority, 1678 permit redistribute, 1247 phy-fifo-depth, 53 ping, 95, 370 ping ipv6, 415 poison-local-routes, 1215 poison-reverse, 1215 port-down-auth-mac-cleanup, 1897 port-name, 41, 711 prefix-list, 1293 preforwarding-time, 627 priority, 278 priority ignore-802.1p, 1972 privilege level, 127 protected-link-group, 693 prune-timer, 1521 prune-wait, 1522 pvlan mapping, 810 pvlan pvlan-trunk, 810 pvlan type community, 810, 811 qd-share-level, 598 qos profile, 1982, 1983 qos scheduler-profile, 1967 qos tagged-priority, 1977 qos-tos map dscp-priority, 1976 radius-server host, 163, 165, 1792 radius-server host ipv6, 167 radius-server retransmit, 166 rarp, 1002 rate-limit output shaping, 1945 rate-limit output shaping ethernet, 1946 readvertise, 1387 re-authentication, 1803 redistribute, 1213 redistribute connected, 1385 redistribute ospf match external, 1386 redistribute rip, 1386 redistribute static, 1387 redistribution, 1189 redistribution bgp, 1248
relative-utilization, 553 reload, 283 reload after, 93 reload at, 92 reload cancel, 93 remove-vlan, 789 reserved-vlan-map, 765 restart-ports, 655 restart-vsrp-port, 655 ring-interface ethernet, 627 rmon alarm, 535 rmon history, 534 route-map, 1398, 1744 route-map allowInternalRoutes, 1295 router bgp, 1342, 1410 router msdp, 1556 router ospf, 1191, 1262 router pim, 1519 router rip, 1187, 1196 router vrrp, 1658, 1694 router vrrp-extended, 1662, 1663, 1695 router vsrp, 643 router-interface ve, 787 router-interface-group, 791 rp-address, 1533, 1583 rp-candidate add, 1530 rp-candidate delete, 1530 rp-candidate ethernet, 1585 sa-filter in, 1558 sa-filter originate, 1558 save-current-values, 647 scale-timer, 644 scp, 222 secure-login, 1893 secure-mac-address, 1833 servertimeout, 1806 set interface null0, 1744 set ip next hop, 1744 set ip next-hop peer-address, 1404 set metric-type internal, 1404 sflow agent-ip, 547 sflow enable, 545, 546 sflow export cpu-traffic, 549 sflow export system-info, 548 sflow forwardin, 546 sflow forwarding, 546 sflow max-packet-size, 548 sflow polling-interval, 541 sflow sample, 543, 544 sflow source-port, 545 sflow version 2 | 5, 547 short-path-forwarding, 856
13
show cable-diag tdr, 499 show chassis, 276, 291 show clock, 32 show flash, 289 show flash stack, 290 show interfaces management, 2 show ip pim dense, 1524 show license, 229 show logging, 23 show media, 57, 501 show memory, 290 show module, 292 show run interface, 36 show running-config interface management, 2 show sntp associations, 25 show sntp server-mode, 29 show sntp status, 27 show stack, 287, 293 show stack connection, 266, 269 show stack resource, 293 show statistics management, 3 show symmetric-flow-control, 52 show users, 135 show version, 228, 232 show web connection, 173 show who, 7 slow-start, 1673 snmp-client, 116 snmp-client ipv6, 367 snmp-server community, 80, 91, 423 snmp-server contact, 19 snmp-server enable traps holddown-time, 21 snmp-server engineid local, 426 snmp-server group, 427, 431 snmp-server host, 20 snmp-server host ipv6, 367 snmp-server location, 19 snmp-server pw-check, 80, 91 snmp-server trap ospf, 1261 snmp-server trap-source ethernet, 975 snmp-server user, 428 snmp-server view, 430 sntp broadcast client, 30 sntp broadcast server, 30 sntp poll-interval, 25 sntp server, 24 sntp server ipv6, 367 sntp server-mode, 28 sntp sync, 31 spanning-tree, 557, 767, 1085 spanning-tree 802-1w, 1133 spanning-tree ethernet, 1086
spanning-tree root-protect, 1160 spanning-tree single, 1146 speed-duplex, 41, 45 ssh, 197 stack disable, 281 stack enable, 280 stack mac, 276 stack persistent-mac-timer, 286 stack secure-setup, 313, 324 stack switch-over, 343 stack unconfigure, 287 stack unconfigure rollback, 288 stack unit, 262 stack-port, 262 static-mac-address, 561, 1970 stp-bpdu-guard, 1157 stp-group, 1148 summary-address, 1235, 1256, 1292 supptimeout, 1806 symmetric-flow-control, 51 symmetric-flow-control set, 52 system max hw-ip-mcast-mll, 1184 system max hw-ip-next-hop, 1184 system max hw-logical-interface, 1184 system-max dvmrp-max-int-group, 1512, 1513 system-max dvmrp-mcache, 1513 system-max gre-tunnels, 394, 1049 system-max hw-traffic-conditioner, 1768 system-max igmp-snoop-mcache, 1492 system-max ip-route, 394, 583 system-max ip-static-arp, 980 system-max ip-subnet-port, 583 system-max mld-snoop-mcache, 1630 system-max pim-max-int-group, 1512 system-max rmon-entries, 531 system-max view, 429 system-max vlan, 792 system-max-hw-ip-route-tcam, 1182 tacacs-server key, 148 tacacs-server retransmit, 148 tacacs-server timeout, 148 tagged ethernet, 567, 797 tag-profile, 804 tag-type, 797, 802 telnet, 368, 418 telnet login-retries, 118 telnet login-timeout, 118 telnet server enable vlan, 119 telnet timeout, 118 telnet-client, 116 terminal monitor, 509 tftp client enable vlan, 120
14
tftp-server, 1018 threshold, 714 timeout restrict-fwd-period, 1810 timeout tx-period, 1805 timers keep-alive, 1359 timers lsa-group-pacing, 1260, 1299 timers spf, 1258, 1297 topology-group, 609 traceroute, 96, 368, 419, 966, 1032 traceroute ipv6, 368 traffic-policy, 1770, 1773 transmit-counter profiles, 527 trunk deploy, 706 trunk ethernet, 706, 713 trunk hash-options include-layer2, 705 trust-port ethernet, 1894 tunnel destination, 377 tunnel loopback, 1047 tunnel mode gre ip, 1047 tunnel mode ipv6ip, 377 tunnel path-mtu-discovery age-timer, 1051 tunnel path-mtu-discovery disable, 1051 tunnel source, 377, 1045 unknown-unicast limit, 34, 36 untagged ethernet, 782, 783 update-time, 1360 use-local-management-mac, 40 use-vrrp-path, 651, 1203 vendor-class, 1018 violation restrict, 1834 violation shutdown, 1834 virtual-link-if-address interface ethernet, 1286 vlan, 566, 743, 782, 783, 797 vlan-group, 790 voice-vlan, 61 vrrp-extended vrid, 1663 vsrp auth-type no-auth | simple-text-auth, 645 vsrp vrid, 643 vsrp-aware vrid, 645, 651 web access-group ipv6, 369 web client ipv6, 369 webauth, 1883 web-client, 116 web-management, 14, 123 web-management enable vlan, 119 web-management http | https, 137 write memory, 14, 20
command line interface banner configuration, 37 creating an alias for a command, 11 logging in, 4 nomenclature on Chassis-based models, 6 nomenclature on FESX compact devices, 6 nomenclature on stackable devices, 7 security levels, 4
15
command output egress queue statistics, 531 ipv6 mld-snooping mcache, 1638 ipv6 mld-snooping resource, 1639 IPv6 tunnel interface information, 379 sFlow information, 551 show 802.1w, 1135 show aaa, 156, 172 show access-list, 1722 show ARP, 1065 show arp, 1075 show auth-mac-address, 1863 show default values, 582 show dot1x, 1812, 1820 show dot1x config, 1814, 1821 show dot1x mac-session, 1822 show dot1x statistics, 1815 show fdp neighbor, 440 show gvrp, 890 show gvrp statistics, 896 show inline power, 677 show inline power detail, 682 show interface tunnel, 1054 show interfaces stack-ports, 308 show ip, 1060, 1074 show ip access-list, 1722 show ip bgp attribute-entries, 1442 show ip bgp flap-statistics, 1414, 1443 show ip bgp neighbors, 1421, 1424, 1431 show ip bgp route, 1438 show ip bgp routes detail, 1440 show ip bgp routes summary, 1434 show ip bgp summary, 1416 show ip cache, 1067 show ip dhcp relay information, 1933 show ip dhcp-server address pools, 1019 show ip dhcp-server binding, 1018 show ip dhcp-server flash, 1020 show ip dhcp-server summary, 1021 show ip igmp group, 1595 show ip igmp interface, 1597 show ip igmp traffic, 1598 show ip interface, 1063 show ip msdp peer, 1569 show ip msdp sa-cache, 1572 show ip msdp summary, 1568 show ip multicast error, 1472 show ip multicast group, 1473, 1500 show ip multicast mcache, 1474, 1501 show ip multicast pimsm-snooping, 1482 show ip multicast resource, 1475, 1502 show ip multicast traffic, 1475, 1503
show ip multicast vlan, 1471, 1504 show ip ospf area, 1269 show ip ospf database external-link-state, 1276 show ip ospf interface, 1272 show ip ospf neighbor, 1270 show ip ospf routes, 1273 show ip ospf trap, 1279 show ip pim bsr, 1542 show ip pim dense, 1524 show ip pim group, 1541 show ip pim neighbor, 1547 show ip pim resource, 1544 show ip pim rp-hash, 1546 show ip pim rp-set, 1546 show ip pim sparse, 1540 show ip pim traffic, 1551 show ip pimsm-snooping, 1481 show ip rip, 1205 show ip route summary, 1070 show ip ssh config, 189 show ip static-arp, 1066 show ip traffic, 1072, 1076 show ip tunnel traffic, 1055 show ip vrrp, 1679 show ip vrrp brief, 1682 show ip vrrp stat, 1687 show ip vrrp vrid, 1685 show ip vrrp-extended, 1679, 1682 show ipsec policy, 1329 show ipv6 cache, 397 show ipv6 interface, 398 show ipv6 mld-snooping error, 1636 show ipv6 mld-snooping group, 1637 show ipv6 mld-snooping traffic, 1640 show ipv6 neighbor, 400 show ipv6 ospf area, 1309, 1331 show ipv6 ospf database, 1311 show ipv6 ospf database extensive, 1313 show ipv6 ospf interface, 1316, 1317, 1333 show ipv6 ospf memory, 1319 show ipv6 ospf neighbor, 1319 show ipv6 ospf neighbor router-id, 1320 show ipv6 ospf redistribute route, 1322 show ipv6 ospf routes, 1323 show ipv6 ospf spf node area, 1325 show ipv6 ospf virtual-link, 1327 show ipv6 ospf virtual-neighbor, 1327 show ipv6 rip, 1216 show ipv6 rip route, 1217 show ipv6 route command, 402 show ipv6 router, 403 show ipv6 tcp connections, 404
16
show ipv6 tcp status, 406 show ipv6 traffic, 407 show license, 229 show license unit, 229 show link-aggregate, 731 show link-error-disable, 63 show link-keepalive, 688, 689 show lldp neighbors, 491 show lldp statistics, 489, 490 show loop-detection resource, 69 show mac-address, 916 show metro, 628, 629 show mstp, 1175 show optic, 503 show pod unit, 211 show port security ethernet, 1836 show port security mac, 1836 show port security statistics, 1837 show protected-link group, 694 show qd-buffer-profile all, 597 show qos-tos, 1985 show rate-limit fixed, 1943 show rate-limit fixed input, 1953 show reserved-vlan-map, 766 show sflow, 551 show sntp associations, 25 show sntp associations details, 26 show sntp server-mode, 29 show sntp status, 27 show span, 1089 show span detail, 1094 show span pvst-mode, 1154 show spanning-tree 802.1W, 1138 show stack command, 295 show stack connection, 310 show stack flash, 297 show stack neighbors, 304 show stack stack-ports, 305 show statistics stack-ports, 309 show table-mac-vlan, 911, 915 show table-mac-vlan denied-mac, 913 show topology-group, 611 show traffic-policy, 1778 show transmit-counter values, 528 show trunk, 715 show vsrp, 652 show vsrp aware, 654 show webauth, 1908 commands configuring mac-movement notification interval
history, 576 line editing, 5 mac-movement notification threshold-rate, 574 searching and filtering output, 7
17
configuration basic port parameter, 40 basis system parameters, 18 Brocade FCX IronStack, 258 buffer profiles, 586 command authorization, 153 DNS resolver, 964 dynamic loading, 84 entering system information, 19 flow control, 47 hitless OS upgrade, 107 Interpacket Gap (IPG), 53 IP addresses, 958 IP load sharing, 995 IP parameters on Layer 2 switches, 1031 IPv4 and IPv6 protocol stack, 365 IPv6 connectivity on a Layer 3 switch, 362 IPv6 management ACLs, 366 IPv6 management port, 362 IPv6 neighbor discovery, 384 IPv6 static neighbor entries, 392 IPv6 Syslog server, 372 loading and saving files, 82 MAC address filter-based mirroring, 931 manual IPv6 tunnel, 377 MDI, 45 mirroring on an IronStack, 925 packet parameters, 967 passwords, 129 PHY FIFO Rx and Tx depth, 53 port flap dampening, 61 port mirroring and monitoring, 922 RADIUS, 160 RADIUS authorization, 169 route learning and advertising, 1212 secure shell (SSH2), 181 SNMP for an IronStack, 315 SNMP parameters, 19 SNMP V3 and SNTP over IPv6, 367 static IPv6 route, 373 static routes, 985 STP per VLAN group, 1148 TACACS and TACACS+, 145 TFTP server, 1018 topology group, 609 trunk group, 706 username, 129 viewing information, 522 VLAN group, 788 Voice over IP (VoIP), 60
configuration file copying to or from TFTP server, 83 running, 82 startup, 82 configuration files loading and saving with IPv6, 87 Configuring an ICX 6450 and ICX 6430 Ironstack, 266 Configuring ICX 6430 or ICX 6450 trunked stacking ports, 267 Connecting ICX 6430 and ICX 6450 devices in a stack, 244 Connecting ICX 6450 and ICX 6430 devices in a stack Connecting ICX 6430 devices in a stack, 245 Connecting ICX 6450 devices in a stack, 245 Trunking configuration considerations for ICX 6450 and ICX 6430 devices, 245 console idle time, defining, 115 CPU processing command syntax to disable, 1586 CPU rate-limiting and traffic policies, 1779 CPU utilization displaying OSPF statistics, 1267 displaying statistics, 897, 1091, 1206 displaying statistics for VRRP and VRRP-E, 1688 CPU utilization statistics displaying, 1061
D
defining Telnet idle time, 118 denial of service (DoS) avoiding being a victim in a Smurf attack, 1914 avoiding being an intermediary in a Smurf attack, 1914 displaying information, 1918 enabling for multi-device port authentication, 1856 Smurf attacks, 1913 TCP security enhancement, 1917 TCP SYN attacks, 1915 DHCP changing the IP address used for requests, 1006 client-based auto-configuration, 1022, 1024 configuration, 1005 configuring the reply source address, 1006 displaying configuration information, 1028 log messages, 1030 relay parameters, 1005 DHCP assist configuring, 1034 how it works, 1035
18
DHCP server disabling or re-enabling auto-configuration, 1028 disabling or re-enabling auto-update, 1028 supported options, 1027 diagnostic error codes, 93 digital optical monitoring, 500 disabling Syslog messages and traps, 24 displaying on Layer 2 switches, 1074 Distance Vector Multicast Routing Protocol (DVMRP) configuration on Layer 3 swtich, 1576 displaying information, 1581 globally enabling and disabling, 1577 initiating multicasts on a network, 1574 modifying interface parameters, 1580 modifying parameters, 1577 overview, 1574 pruning a multicast tree, 1575 DNS using to initiate a trace route, 966 DNS resolver configuring, 964 DNS server address defining, 965 domain list defining, 966 domain name defining, 965 Domain Name Server (DNS) configuring, 1032 defining an entry, 1032 using to initiate a trace route, 1032
Dot1x auth-fail-action restricted-vlan, 1807 auth-fail-action restrict-vlan, 1808 auth-fail-max-attempts, 1808 auth-fail-vlanid, 1807 auth-max, 1805 dot1x disable-filter-strict-security, 1800 dot1x initialize ethernet, 1806 enable all, 1802 enable ethernet, 1802 global-filter-strict-security, 1800 mac-session-aging no-aging denied-mac-only, 1808 mac-session-aging no-aging permitted-mac-only, 1808 max-req, 1806 re-authentication, 1803 save-dynamicvlan-to-config, 1797 servertimeout, 1806 supptimeout, 1806 timeout quiet-period, 1804 timeout re-authperiod, 1804 timeout restrict-fwd-period, 1810 timeout tx-period, 1805 DSA authentication configuring challenge-response authentication, 183 deleting key pairs, 183 enabling challenge-response, 185 exporting client public keys, 196 generating a client key pair, 196 importing public keys into Brocade device, 184 providing the public key to clients, 183 DSCP using ACL to map, 1735 Dynamic ARP about inspection, 1920 configuration notes and feature limitations, 1921 poisoning, 1919 Dynamic ARP inspection displaying status and ports, 1923 enabling on a VLAN, 1922 enabling trust on a port, 1923 using with IP source guard, 1934 dynamic buffer allocation, 588 dynamic buffer allocation for QoS priorities, 584 dynamic configuration loading, 84
19
Dynamic Host Configuration Protocol (DHCP) binding database, 1924 changing the forwarding policy, 1932 clearing the binding database, 1927 CLI commands, 1012 configuration example, 1928 configuration flow chart, 1010 configuration notes, 1008 configuration notes and feature limitations, 1925 configuring on a device, 1011 configuring snooping, 1926 default server settings, 1012 defining static IP source bindings, 1936 description of, 1007 disabling on the management port, 1014 disabling the learning of clients on a port, 1926 displaying learned IP addresses, 1937 enabling and disabling subscriber ID processing, 1932 enabling IP source guard on a port, 1936 enabling IP source guard on a virtual interface, 1937 enabling IP source guard per-port-per-VLAN, 1937 option 82, 1929 option 82 support, 1008 options, 1009 overview, 1919 relay agent information, 1928 removing leases, 1014 snooping, 1923 dynamic link aggregation assigning a unique key, 723 enabling, 723 overview, 717 dynamic MAC-based VLAN CLI commands, 903 configuration example, 904 configuration notes and feature limitations, 903 disabling aging, 908 overview, 903 dynamic port assignment, 764 dynamic ports aging, 781 configuring an IP subnet VLAN, 783 configuring an IP, IPX, or AppleTalk protocol VLAN, 782 configuring an IPX network VLAN, 783 disabling membership aging, 781
egress queue counters, clearing, 531 EMCP load sharing for IPv6, 381 encapsulation, changing the type, 967 error codes used for diagnostics, 93
F
FastIron IPv6 models, 1184 FastIron stackable devices slot and port designations, 262 FastIron X series configuring total transmit queue depth limit, 584 default queue depth limits, 584, 588 dynamic buffer allocation for QoS priorities, 584 port regions, 556 FCX devices configuring TCAM space, 394 viewing egress queue counters, 530 FDP changing the hold time, 439 changing the update timer, 438 clearing information, 442 clearing statistics, 442 configuration, 438 displaying entries, 441 displaying information, 439 displaying packet statistics, 442 enabling at the interface level, 438 enabling globally, 438 specifying the IP management address, 438 feature, 1152 feature support 802.1x port security, 1781 base Layer 3 and routing protocols, 1179 basic layer 2 features, 555 basic software, 17 Border Gateway Protocol (BGP4), 1335 Brocade stackable devices, 235 Denial of Service (DoS), 1913 Dynamic Host Configuration Protocol (DHCP), 1919 Foundry Discovery Protocol (FDP) and Cisco Discovery Protocol (CDP) packets, 437 FWS series switch IPv6 management, 411 GARP VLAN Registration Protocol (GVRP), 879 hardware component monitoring, 497 IP features, 939 IP multicast protocols, 1509 IP multicast reduction, 1455 IP multicast traffic reduction for FastIron WS and
E
egress queue counters viewing on FCX devices, 530
20
Brocade FCX and ICX switches, 1485 IPv6 ACLs, 1749 IPv6 configuration on FastIron X series, FCX series, and ICX series switches, 353 Link Layer Discovery Protocol (LLDP), 447 MAC port security, 1829 MAC-based VLANs, 901 management applications, 1 Metro features, 607 MLD snooping, 1625 multi-device port authentication, 1841 network monitoring, 521 Open Shortest Path First (OSPF), 1219 Open Shortest Path First (OSPF), IPv6, 1281 Operations, Administration, and Maintenance (OAM), 71 port mirroring and monitoring, 921 Power over Ethernet (PoE), 659 Quality of Service, 1955 rate limiting and rate shaping on FastIron X series and FCX and ICX series switches, 1939 rate limiting on FastIron WS series switches, 1947 RIP (IPv4), 1193 RIP (IPv6), 1209 rule-based IP ACLs, 1697 security access, 109 SNMP access, 421 software-based licensing, 199 Spanning Tree Protocol (STP), 1081 SSH2 and SCP, 179 Syslog, 507 traffic policies, 1765 trunk groups and dynamic link aggregation, 697 Uni-Directional Link Detection (UDLD), 685 vlans, 735 VRRP and VRRP-E, 1643 web authentication, 1879 firmware installing PoE, 666 flash image CLI commands, 75 determining version running on device, 72 file types, 76 update, 1022 verification, 74, 75 flash memory copying a file to, 88
flow control configuration, 47 configuration notes, 47, 50 disabling or re-enabling, 47 displaying status, 48 enabling and disabling, 51 negotiation and advertisement, 47 symmetric and asymmetric, 49 flow-based MAC address learning, 563 Foundry Discovery Protocol (FDP) overview, 437
G
GARP VLAN Registration Protocol (GVRP) application examples, 880 configuration, 884 configuration notes, 882 displaying information, 889 displaying statistics, 894 dynamic core and dynamic edge, 882 dynamic core and fixed edge, 881 enabling, 885 fixed core and dynamic edge, 882 fixed core and fixed edge, 882 overview, 879 VLAN names created by GVRP, 882 Generating, 196 global VLAN displaying information, 819 GRE statistics, clearing, 1058 GRE tunnels changing the maximum number supported, 1049 configuration considerations, 1042 configuration tasks, 1044 configuring GRE link keepalive, 1050 displaying information, 1053, 1056 enabling IPv4 multicast routing, 1051 example point-to-point configuration, 1052 loopback ports, 1043 GRE, support with other features, 1041 GVRP changing the GVRP base VLAN ID, 884 changing timers, 886 command examples, 898 converting a VLAN created by GVRP into a staticallyconfigured VLAN, 888 default-timers, 888 displaying information, 890 dynamic core and dynamic edge configuration
21
example, 899 dynamic core and fixed edge configuration example, 898 fixed core and dynamic edge configuration example, 900 fixed core and fixed edge configuration examples, 900 gvrp block applicant all, 885 gvrp block-learning all | ethernet, 886 join-timer, 888 leave-timer, 888
H
hitless failover description, 97 hitless failover, enabling, 100 hitless management, 97 benefits of, 98 configuration notes and feature limitations, 100 supported protocols, 98 hitless OS upgrade, 97, 104 hitless OS upgrade configuration, 107 hitless reload or switchover, 100 hitless stacking, 329 configuration notes and feature limitations, 333 default behavior, 340 displaying information, 350 displaying status, 341 failover, 342 standby controller role, 335 support during stack formation, merge, and split, 337 switchover, 343 hitless switchover description, 97 executing, 104
I
ICMP configuring rate limiting, 383 disabling redirect messages, 984 enabling redirect messages, 384 ICMP feature configuration for IPv6, 383 ICMP Router Discovery Protocol (IRDP) configuration, 998 enabling globally, 999 enabling on an individual port, 1000 parameters, 999
IGMP changing V1 and V2 parameters, 1513 configuring for individual ports in a VLAN, 1464 configuring the mode, 1463 disabling transmission and receipt of packets on a port, 1465 membership tracking and fast leave for the VLAN, 1468 modifying membership time, 1514 modifying query interval period, 1514 modifying the age interval for group membership entries, 1465 IGMP memberships, increasing the number, 1512 IGMP on FastIron WS and Brocade FCX and ICX switches clear commands, 1508 clearing IGMP counters on VLANs, 1508 clearing IGMP mcache, 1508 clearing mcache on a specific VLAN, 1508 clearing traffic on a specific VLAN, 1508 configuring fast leave, 1498 displaying errors, 1499 displaying group information, 1499 displaying mcache information, 1501 displaying querier information, 1504 enabling fast convergence, 1498 enabling membership tracking and fast leave for the VLAN, 1497 turning off static group proxy, 1497 IGMP snooping clear commands, 1483 clearing IGMP counters on VLANs, 1483 clearing the IGMP mcache, 1483 clearing the mcache on a specific VLAN, 1483 clearing traffic on a specific VLAN, 1483 configuration, 1461 configuring report control, 1466 disabling on a VLAN, 1465 displaying mcache information, 1474 displaying querier information, 1476 displaying software resource usage for VLANs, 1474 displaying the status, 1475 MAC-based implementation on FastIron X series, 1456 modifying the maximum response time, 1466 modifying the query interval, 1466 overview, 1455 queriers and non-queriers, 1457 together with Layer 3 multicast routing on same device, 1458 tracking and fast leave, 1457 VLAN-specific configuration, 1457 IGMP snooping on FastIron WS and Brocade FCX and ICX
22
switches configuration notes, 1487 disabling for the VLAN, 1495 displaying information, 1499 displaying information by VLAN, 1504 IGMPv2 with IGMPv3, 1489 overview, 1485 querier and non-querier configuration, 1488 VLAN-specific configuration, 1489 IGMP snooping traffic on FastIron WS and Brocade FCX and ICX switches displaying status, 1503 Integrated Switch Routing (ISR), 750 Interface 100-fx, 59 100-tx, 57 acl-mirror-port ethernet, 928 advertise-local on | off, 1580 age, 1832 arp inspection trust, 1923 broadcast limit, 34, 36 dhcp snooping relay information, 1931 dhcp snooping relay information option subscriber-id,
1932 dhcp-gateway-list, 1037 dot1x auth-filter, 572 dot1x auth-timeout-action failure, 1794 dot1x auth-timeout-action success, 1793 dot1x port-control auto, 1803 dot1x re-auth-timeout- success, 1794 dual-mode, 815, 1153 enable, 46, 1831 flow-control, 48 gig-default, 59 idhcp snooping trust, 1926 inline power, 669 inline power power-by-class, 673 inline power power-limit, 671 inline power priority, 674 interface loopback, 1348 interface ve, 961 ip access-group frag deny, 1726 ip access-group in, 1770 ip address, 365, 959 ip arp-age, 977 ip bootp-gateway, 1007 ip dhcp-client enable, 1028 ip dvmrp metric, 1580 ip encapsulation snap, 967 ip follow ve, 962 ip helper-address, 1005 ip icmp burst-normal burst-max lockup, 1915 ip igmp port-version, 1592 ip igmp proxy, 1599 ip igmp tracking, 1593 ip igmp version, 1592 ip irdp, 1000 ip local-proxy-arp, 979 ip metric, 1197 ip mtu, 969, 1787 ip ospf auth-change-wait-time, 1239 ip ospf database-filter all out, 1240 ip ospf network non-broadcast, 1240 ip ospf network point-to-point, 1263 ip pim border, 1529 ip pim ttl, 1524 ip pim version, 1520 ip pim-sparse, 1529 ip policy route-map, 1745 ip proxy-arp enable | disable, 978 ip rip filter-group in | out, 1204 ip rip learn-default, 1202 ip rip poison-reverse, 1190, 1203 ip rip v1-only | v1-compatible-v2 | v2-only, 1187,
23
1196 ip tcp burst-normal burst-max lockup, 1916 ip use-acl-on-arp, 1731 ip vrrp-extended auth-type no-auth | simple-text-auth, 1666 ip vsrp auth-type no-auth | simple-text-auth, 645 ipg, 56 ipg-gmii, 54 ipg-mii, 54 ipg-xgmii, 54 ip-multicast-disable, 1465, 1492 ipv6 address, 363, 364, 365, 366 ipv6 address eui, 364 ipv6 address link-local, 365 ipv6 enable, 364 ipv6 mtu, 392 ipv6 nd dad attempt, 387 ipv6 nd managed-config-flag, 390 ipv6 nd ns-interval, 387 ipv6 nd other-config-flag, 390 ipv6 nd prefix-advertisement, 389 ipv6 nd ra-interval, 388 ipv6 nd ra-lifetime, 388 ipv6 nd reachable-time, 391 ipv6 nd suppress-ra, 390 ipv6 ospf area, 1285 ipv6 redirects, 384 ipv6 rip default-information only | originate, 1212 ipv6 rip enable, 1211 ipv6 rip metric-offset, 1213 ipv6 rip metric-offset out, 1213 ipv6 rip summary-address, 1213 ipv6-multicast-disable, 1611, 1630 link-aggregate, 724 link-aggregate configure, 724, 729 link-aggregate configure singleton, 734 link-aggregate configure timeout, 729 link-error-disable, 62 link-fault-signal, 604 mac filter log-enable, 571 mac filter-group log-enable, 569, 571 mac-authentication apply-mac-auth-filter, 1849 mac-authentication auth-fail-action block-traffic, 1849 mac-authentication auth-fail-action restrict-vlan, 1861 mac-authentication auth-fail-vlan-id, 1848 mac-authentication auth-timeout-action failure, 1861 mac-authentication auth-timeout-action success,
1861 mac-authentication clear-mac-session, 1858 mac-authentication disable-aging, 909, 1859 mac-authentication disable-ingress-filtering, 1852 mac-authentication dos-protecti, 1856 mac-authentication enable, 1848 mac-authentication enable-dynamic-vlan, 1850 mac-authentication max-accepted-session, 1862 mac-authentication move-back-to-old-vlan, 1852 mac-authentication no-override-restrict-vlan, 1850 mac-authentication source-guard-protection enable, 1857 mac-learn disable, 559 maximum, 1832 mdi-mdix, 46 monitor ethernet, 924 multicast limit, 34, 36 no ip address, 962 optical-monitor, 500 per-vlan, 1729 phy-fifo-depth, 53 port security, 1831 port-name, 41 priority, 1970 pvst-mode, 1153 rate-limit input fixed, 1941, 1950 rate-limit output fixed, 1951 rate-limit output shaping, 1945 rate-limit output shaping ethernet, 1946 restrict-vlan, 1848 secure-mac-address, 1833 set interface null0, 1744 source-guard enable, 1936, 1937 spanning-tree root-protect, 1160 speed-duplex, 41, 45 stp-bpdu-guard, 1157 stp-protect, 1087 tagged ethernet, 888 tag-profile, 756 tag-profile enable, 804 track-port ethernet, 1694 ttl-threshold, 1580 unknown-unicast limit, 34, 36 use-radius-server, 165 violation restrict, 1834 violation shutdown, 1835 voice-vlan, 61 vsrp restart-port, 655 interface module setting the power budget for PoE, 673 Internet Control Message Protocol (ICMP) disabling messages, 983
24
Internet Group Management Protocol (IGMP) and IP multicast protocols on the same device, 1600 clearing statistics, 1598 default version, 1591 displaying information on Layer 3 switches, 1594 displaying proxy traffic information, 1600 displaying the status of an interface, 1596 displaying the traffic status, 1598 enabling membership tracking and fast leave, 1592 enabling on a physical port within a virtual routing interface, 1592 globally enabling, 1591 overview, 1590 proxy configuration, 1599 setting the group membership time, 1593 setting the maximum response time, 1594 source-specific multicast protocols, 1594 Interpacket Gap (IPG) configuration, 53 IP basic configuration, 940 basic parameters and defaults (Layer 2), 956 basic parameters and defaults (Layer 3), 949 configuration overview, 941 configuring load sharing, 995 displaying global configuration information, 1060 displaying Layer 3 switch information, 1059 displaying network mask information, 1059 edge Layer 3 support, 941 full Layer 3 support, 941 global parameters (Layer 3 switches), 950 global parameters for Layer 2 switch, 956 interface parameters (Layer 2), 958 interface parameters (Layer 3), 953 Layer 4 session table, 947 ip, 1390 IP access policies, 949 IP address assigning to a Layer 2 switch, 1031 assigning to a loopback interface, 960 assigning to a virtual interface, 960 assigning to an Ethernet port, 959 deleting, 962 specifying for all Telnet packets, 972 IP address pool configuring the lease duration, 1016 IP addresses configuring, 958 IP checksum check disabling, 1078 IP configuration displaying information and statistics, 1058
IP Follow configuring on a virtual routing interface, 961 IP forwarding cache, 947 IP forwarding cache, displaying, 1067 IP helper configuring an address, 1005, 1006 IP information, 1074 displaying global configuration, 1074 IP interface information, displaying, 1063 IP interface redundancy protocols, 948 IP interfaces Layer 2 switches, 943 Layer 3 switches, 942 IP load sharing changing the number of ECMP paths, 998 how it works, 997 path cost parameters, 996 path costs in IP route table, 995 static route, OSPF, and BGP4, 997 IP multicast changing dynamic memory allocation for groups, 1512 changing IGMP parameters, 1513 defining the maximum number of PIM cache entries, 1513 defining the number of DVMRP cache entries, 1513 displaying all cache entries in a pruned state, 1525 failover time in a multi-path topology, 1523 global parameters, 1511 grafts to a multicast tree, 1518 increasing the number of IGMP memberships, 1512 initiating PIM multicasts on a network, 1516 IPv4 group addresses, 1510 mapping of IPv4 group addresses to Ethernet MAC addresses, 1510 modifying IGMP maximum response time, 1514 modifying IGMP query interval period, 1514 modifying the time to live (TTL), 1523 PIM dense, 1516 PIM DM configuration, 1519 PIM DM versions, 1518 pruning a multicast tree, 1516 supported Layer 3 routing protocols, 1511 suppression of unregistered packets, 1511 terms, 1511 IP multicast protocols, 948 IP packet flow through a Layer 3 switch, 943 IP packets disabling forwarding, 982 IP parameters configuring on Layer 2 switches, 1031
25
IP route exchange protocols, 948 IP route table, 945 IP route table, displaying, 1068 IP routes clearing, 1071 IP source guard configuration notes and feature limitations, 1935 IP static routes enabling redistribution into RIP, 1187 IP subnet address configuring on multiple port-based VLAN, 785 IP subnet broadcasts, enabling support, 982 IP traffic displaying statistics, 1076 IP tunnels configuration, 1581 IPv4 configuring Layer 3 system parameters, 1183 disabling CPU processing for multicast groups, 1585 enabling multicast routing on GRE tunnels, 1051 GRE packet, 1038 multicast routing over GRE tunnels, 1040 point-to-point GRE tunnels, 1037 IPv4 and IPv6 protocol stack configuration, 365 IPv4 route, tracing, 96 IPv6 ACL configuration notes, 1751 ACL traffic filtering criteria, 1750 address types, 356 addressing, 412 addressing overview, 355 advertising address summaries, 1212 changing the MTU, 392 clearing global information, 395 clearing neighbor information, 395 clearing RIPng routes, 1215 clearing routes from IPv6 route table, 396 clearing the cache, 395 clearing traffic statistics, 396 clearing tunnel statistics, 378 configuring a global or site-local address, 361 configuring a link-local address as a system-wide address for a switch, 361 configuring a manual tunnel, 377 configuring a Syslog server, 372 configuring address resolution using DNS resolver,
370 configuring an ACL, 1752 configuring anycast address, 365 configuring basic connectivity on a Layer 3 switch, 362 configuring ICMP rate limiting, 383 configuring IPv6 management ACLs, 366 configuring on each router interface, 362 configuring reachable time for remote nodes, 391 configuring SNMP V3, 367 configuring SNTP, 367 configuring the management port, 362 creating an ACL, 1755 default and implicit ACL action, 1753 defining a DNS entry, 370, 415 disabling on a Layer 2 switch, 373 disabling router advertisement and solication messages, 373 disabling router advertisement and solicitation messages, 373 displaying cache information, 397 displaying ECMP load-sharing information, 382 displaying global information, 396 displaying interface information, 398 displaying interface-level settings, 380 displaying local routers, 402 displaying neighbor information, 400 displaying route table, 401 displaying TCP information, 403 displaying traffic statistics, 407 displaying tunnel information, 378 ECMP load sharing, 381 enabling and disabling, 413 enabling and disabling router advertisements, 390 enabling ICMP redirect messages, 384 enabling routing, 362 establishing a telnet session, 418 full layer supported features, 355 host address on a Layer 2 switch, 360 ICMP feature configuration, 383 limiting the number of hops a packet can traverse, 393 logging, 414 management on FastIron X series devices, 366 maximum transmission unit (MTU), 391 name-to-IPv6 address resolution using DNS server, 415 neighbor discovery configuration, 384 neighbor redirect messages, 386 neighbor solicitation and advertisement messages,
26
385 pinging, 415 pinging and address, 370 prefixes advertised in router messages, 389 protocol names and numbers, 1750 protocol VLAN configuration, 774 restricting web access, 414 router advertisement and solicitation messages, 386 secure shell (SSH) and SCP, 417 secure shell and SCP, 367 setting flags in router advertisement messages, 390 setting neighbor solicitation parameters, 387 setting router advertisement parameters, 387 SNMP3, 417 SNTP, 417 source routing security enhancements, 393 specifying a Syslog server, 414 specifying an SNMP trap receiver, 367, 417 stateless auto-configuration, 358 static neighbor entries configuration, 392 static route configuration, 373 static route parameters, 375 supported CLI commands, 358 Telnet, 417 telnet, 368 traceroute, 368, 419 viewing SNMP server address, 372 web management using HTTP and HTTPS, 413 web management using HTTP and HTTPs, 369 IPv6 ACL adding a comment to an entry, 1762 applying to a trunk group, 1762 command syntax descriptions, 1757 configuring for ICMP, 1755 configuring for TCP, 1756 configuring for UDP, 1756 deleting a comment from an entry, 1763 displaying, 1763 enabling on an interface, 1761 permit | deny, 1755 router remark, 1762 support for logging, 1763 IPv6 host support, 366 IPv6 management ACLs, 413 CLI commands, 419 features, 411 overview, 412 IPv6 over IPv4 tunnels, 376 ipv6 rip summary-address, 1213 IPv6 TFTP server file upload, 90
J
jumbo frame support for Layer 2, 605
L
LACP additional trunking options, 724 configuration notes and limitations for configuring trunk group, 720 configuration notes for single link, 734 displaying status information, 733 single link configuration, 733 trunk group examples, 718 Layer 2 adding information to trunk hash output, 705 changing the MAC age time, 559 disabling MAC address learning, 559 enabling and disabling STP, 557 enabling or disabling, 1191 jumbo frame support, 605 MAC learning rate control, 558 management MAC address, 558 MCT protocols, 846 multicast failover with MCT, 848 port loop detection with MCT, 845 port regions, 556 unicast with MCT, 851 Layer 2 switch basic IP parameters and defaults, 956 configuring IP parameters, 1031 displaying IP information, 1074 interface IP parameters, 958 IP global parameters, 956 IPv6 host address, 360 Layer 3 base with FWS, 1182 behavior with MCT, 850 configuring system parameters on FastIron X series IPv4 models, 1183 modifying and displaying parameter limits, 1182 Layer 3 switch basic IP parameters and defaults, 949 configuring a default network route, 994 configuring to drop IP packets, 989 IP global parameters, 950 IP interface parameters, 953
27
license file copying using TFTP, 221 deleting, 222 verifying installation, 222 licensed features and part numbers, 202 Licensing for Ports on Demand, 208 Configuration considerations for stacking or trunking PoD ports, 213 Configuration considerations when configuring PoD on an interface, 213 Configuring PoD on an interface, 208 Configuring the upper PoD ports in a stack for ICX 6610 devices, 209 Upgrading or downgrading configuration considerations for PoD, 208, 212 link aggregation clearing the negotiated links table, 733 configuring parameters, 728 displaying port status information for FastIron stackable devices, 733 key, 725 parameters, 724 port priority, 725 system priority, 725 timeout, 725 viewing keys for tagged ports, 727 link aggregation group (LAG) with MCT, 842 link fault signaling (LFS) enabling, 604 for Ethernet devices, 603 viewing the status, 604 Link layer discovery protocol (LLDP), description of, 447 LLDP 802.1 capabilities when enabled, 470 802.3 capabilities when enabled on a global basis, 471 basic management TLV, 454 benefits, 450 changing a port operating mode, 459 changing the holdtime multipler, 464 changing the interval between regular transmissions, 464 changing the minimum time between port reinitializations, 465 changing the minimum time between transmissions, 463 clearing cached LLDP neighbor information, 495 configuration summary, 488 displaying neighbors detail, 492 enabling and disabling, 459 enabling SNMP notifications and Syslog messages,
462 enabling support for tagged packets, 459 general operating prinicples, 452 general system information, 466 global configuration tasks, 458 MIB support, 457 organizationally-specific TLVs, 454 overview, 449 packets, 453 receive mode, 453 resetting statistics, 495 specifying the maximum number of LLDP neighbors per port, 462 specifying the maximum number of neighbors per device, 462 specifying the minimum time between SNMP traps and Syslog messages, 463 Syslog messages, 457 terms used in chapter, 448 TLVs advertised by Brocade device, 465 transmit mode, 452 LLDP media endpoint devices (LLDP-MED), description of, 447 LLDP_MED benefits, 451 general operating principles, 452 overview, 450 LLDP-MED 802.3af power classes, 487 attributes advertised by the Brocade device, 485 capabilities, 485 class, 452 configuration tasks, 474 configuring civic address location, 479 configuring emergency call service, 482 coordinate-based location, 477 defining a location ID, 476 defining a network policy, 483 displaying statistics and configuration settings, 488 elements used with civic address, 480 enabling, 475 enabling SNMP notifications and Syslog messages, 475 example civic address location advertisement, 482 extended power-via-MDI information, 486 fast start repeat count, 476 TLVs, 455 load balancing, configuring using multiple static routes, 990
28
Local User Database delete-all, 1885 import-users tftp filename, 1886 no username, 1885 username password, 1885 log messages for DHCP, 1030 logging, 514 logging changes to, 83 login attempts, specifying maximum number for Telnet access, 118 loop detection clearing, 68 configuring a global interval, 66 displaying resource information, 69 enabling, 66 specifying the recovery time interval, 67
M
MAC address clearing entries, 562 clearing flow-based entries, 566 cluster types with MCT, 842 configuration, 560 configuring flow-based learning, 565 configuring the maximum per port, 909 defining filters, 568 displaying flow-based learning configuration, 566 filter-based mirroring, 931 filters command syntax, 569 filters for EAP frames, 1809 flow-based learning, 563 MDUP with MCT, 842 movement from port-to-port, 573 multi-port static, 560 using for Layer 2 traffic, 40 VLAN-based static configuration, 562 MAC address filter command syntax, 571 creating a filter with a mirroring clause, 931 enabling logging of management traffic, 570 override for 802.1x-enabled ports, 571 MAC address for stackable devices, 558 MAC address learning, disabling, 559 MAC address movement notification collection interval, configuring, 576 statistics, viewing, 576 threshold rate, configuring, 574 viewing threshold rate configuration, 575 MAC address table, displaying, 560
MAC addresses displaying, 913 displaying in a MAC-based VLAN, 916 MAC age time, changing, 559 MAC Database Update (MDUP) displaying packet statistics, 844 with MCT, 842 MAC learning rate control, 558 MAC port security autosaving to the startup configuration, 1833 clearing restricted MAC addresses, 1835 clearing statistics, 1835 clearing violation statistics, 1835 configuration, 1831 configuration notes and feature limitations, 1830 disabling the port, 1834 displaying information, 1836 displaying restricted MAC addresses on a port, 1839 displaying secure MAC addresses, 1836 displaying statistics, 1837 enabling, 1831 local and global resources, 1830 overview, 1830 setting the age timer, 1832 setting the maximum number of addresses, 1832 specifying secure MAC addresses, 1833 MAC-based VLAN aging, 907 and port up or down events, 902 clearing information, 917 configuration, 905 configuring for a dynamic host, 910 configuring for a static host, 909 configuring using SNMP, 911 displaying information, 911 displaying logging, 917 dynamic configuration, 910 feature structure, 902 overview, 901 policy-based classification, 902 sample application, 917 source MAC address authentication, 902 static and dynamic hosts, 901 using with 802.1x security on the same port, 906 mac-movement notification interval-history command, 576 mac-movement notification threshold-rate command, 574 MAC-VLAN displaying for a specified interface, 915 management application feature support, 1 management function restrictions, 112
29
management interface logging on, 12 navigating, 13 using, 14 management IP address configuring and specifying the default gateway, 1031 management port commands, 2 overview, 1 rules, 2 management privilege levels, 126 management privileges, 129 Maximum Transmision Unit (MTU) changing, 968 changing on an individual port, 969 path discovery (RFC 1191) support, 970 Maximum Transmission Unit (MTU) globally changing, 969 MDI configuration, 45 Media Dependent Interface (MDI) configuration, 45 media, displaying information, 501 metro ring protocol (MRP) adding a ring to a VLAN, 626 CLI example, 631 configuration, 625 configuration notes, 613 diagnostics, 628 displaying MRP diagnostics, 628 displaying topology group information, 629 enabling MRP diagnostics, 628 how ring breaks are detected and healed, 621 master VLANs and customer VLANs, 623 overview, 611 phase 1--MRP rings without shared interfaces, 613 phase 2--MRP rings with shared interfaces, 614 ring initialization, 616 mirror port defining, 931 specifying the destination for physical ports, 927 specifying the destination for trunk ports, 929 mirroring ACL-based, 926 configuration on an IronStack, 925 configuring ACLs bound to virtual interfaces, 930 configuring for ports on different members in an IronStack, 926 configuring for ports on the same stack member in an IronStack, 926 configuring MAC address (filter-based), 931 VLAN-based, 932
MRP diagnostics, 628 enable, 627 hello-time, 627 master, 626 metro-ring, 626 name, 626 preforwarding-time, 627 ring-interface ethernet, 627 MSTP forcing ports to transmit a BPDU, 1172 setting the name, 1169 setting the revision number, 1169 MTU changing the value for a tunnel interface, 1049 configuring path discovery, 1050 path discovery, 1039 MTU for IPv6, 391 multicast enabling or disabling error and warning messages, 1467 Layer 2 failover with MCT, 848 modifying the cache age time, 1467 snooping configuration for MCT, 875 snooping with MCT, 847 turning off static group proxy, 1468 multicast groups disabling CPU processing, 1585 Multicast Learning Discovery (MLD) snooping configuration notes, 1627 configuration on VLANs, 1628 configuring queriers, 1628 configuring report control, 1631 configuring static groups to VLAN or individual ports, 1634 configuring static router ports, 1634 configuring the global mode, 1630 configuring the global version, 1631 configuring the version for individual ports, 1633 configuring the VLAN mode, 1633 configuring the VLAN version, 1633 disabling error and warning messages, 1632 disabling packets on a port, 1630 disabling snooping for the VLAN, 1633 displaying information, 1636 enabling fast convergence, 1636 enabling MLDv2 tracking and fast leave for VLAN,
30
1635 global task configuration, 1629 modifying the age interval, 1631 modifying the mcache aging time, 1632 modifying the query interval, 1631 modifying the wait time, 1632 overview, 1625 turning off static group proxy, 1634 VLAN-specific task configuration, 1629 multicast neighbor displaying information, 1547 multicast protocols displaying information, 1056 multicast route configuring static, 1587 displaying the configuration, 1589 Multicast Source Discovery Protocol (MSDP) clearing information, 1572 configuration, 1556 configuring a mesh group, 1561 configuring peers, 1556 displaying information, 1567 displaying peer information, 1568 displaying source active cache information, 1569, 1572 enabling, 1556 filtering source-group pairs, 1557 mesh groups, 1561 overview, 1552 passive route insertion, 1573 peer reverse path forwarding flooding, 1555 source active caching, 1555
Multi-Chassis Trunking (MCT) benefits, 823 cluster client automatic configuration, 831 cluster MAC types, 842 configuration examples, 863 creating a basic configuration, 833 displaying information, 856 dynamic LAGs, 842 failover scenarios, 839 feature interaction, 831 for VRRP/VRRP-E, 853 Layer 2 multicast failover, 848 Layer 2 protocols, 846 Layer 3 behavior, 850 Layer 3 unicast, 851 MDUP, 842 MRP, 846 multicast snooping, 847 multicast snooping configuration example, 875 overview, 823 port loop detection, 845 protocol-based VLANs, 846 setting up cluster client automatic configuration, 837 single level configuration example, 863 single level extension configuration example, 863 supported features, 823 synching router MACs, 845 terminology, 825 two level configuration example, 867 uplink switch, 847 VRRP/VRRP-E configuration, 854 multi-device port RADIUS authentication, 1842 supported RADIUS attributes, 1843 multi-device port authentication 802.1x security on the same port, 1845 clearing hardware aging period for blocked MAC addresses, 1859 clearing MAC addresses, 1858 configuration considerations, 1854 configuring, 1847 configuring Brocade-specific attributes on RADIUS server, 1846 configuring dynamic VLAN assignment, 1850 defining MAC address filters, 1849 disabling aging for authenticated MAC addresses, 1858 displaying information, 1862 displaying MAC authentication table for FCX devices, 1870 dynamically applying IP ACLs, 1853 enabling denial of service (DoS) attack protection,
31
1856 enabling source guard protection, 1856 example configurations, 1871 generating SNMP traps, 1849 how it works, 1842 limiting the number of MAC addresses, 1862 password override, 1862 specifying the aging time for blocked MAC addresses, 1860 specifying the authentication-failure action, 1848 specifying the MAC addresses, 1848 specifying the RADIUS timeout action, 1860 support for DHCP snooping, 1844 support for dynamic ACLs, 1844 support for dynamic ARP inspection, 1844 support for dynamic VLAN assignment, 1844 support for source guard protection, 1845 viewing the ACL, 1857 Multiple Spanning Tree Protocol (MSTP) configuring additional parameters, 1168 configuring an instance, 1169 configuring bridge priority for an instance, 1170 configuring mode and scope, 1165 deleting a VLAN to MSTI mapping, 1167 disabling on a port, 1172 displaying information for a specific instance, 1177 displaying statistics, 1175 example configuration, 1173 overview, 1163 reconvergence, 1166 regions, 1164 setting point-to-point link, 1171 setting ports to be operational edge ports, 1171 setting the global parameters, 1170 viewing the configuration digest, 1168 multi-port static MAC address, configuring, 561
O
Open Shortest Path First (OSPF) differences between version 2 and version 3, 1282 overview, 1220 point-to-point links, 1222 Operations, Administration, and Maintenance (OAM) overview, 71 optical monitoring, viewing, 502 optical transceiver thresholds, viewing, 504 optical transceivers Syslog messages, 505 OSPF assigning a totally stubby area, 1232 assigning an area range, 1235 assigning areas, 1231 assigning interfaces to an area, 1236 assigning virtual links, 1241 auth-change-wait-time, 1237 authentication-key, 1237 block flooding of outbound LSAs, 1239 changing administrative distance, 1259 changing the reference bandwidth, 1246 changing the reference bandwidth for the cost, 1245 changing the timer for authentication changes, 1238 clearing information, 1264 clearing information for areas, 1265 clearing redistributed routes from the routing table, 1265 clearing topology information, 1265 CLI commands, 1266 configirng group Link State Advertisement (LSA) pacing, 1260 configuration, 1229 configuring a non-broadcast interface, 1240 configuring a point-to-point link, 1263 configuring default route origination, 1257 configuring external route summarization, 1256 configuring graceful restart, 1263 cost, 1237 dead-interval, 1237 defining redistribution filters, 1246 designated router election in multi-access networks,
N
negotiation mode, changing the speed, 59 network connectivity testing, 95 network routes configuring default, 994 NIAP-CCEVS certification, 2013
32
1222 designated routers in multi-access networks, 1222 disabling or re-enabling load sharing, 1254 displaying ABR information, 1278 displaying area information, 1269 displaying data in an LSA, 1277 displaying graceful restart information, 1279 displaying information, 1266 displaying interface information, 1270, 1272 displaying link state information, 1276 displaying route information, 1273 displaying trap status, 1278 displaying virtual link information, 1278 displaying virtual neighbor information, 1277 dynamic activation and configuration, 1227 dynamic memory, 1228 enabling on the router, 1230 enabling route redistribution, 1252 encrypted display of the authentication string or MD5 authentication key, 1238 external LSA reduction, 1224 global parameters, 1229 graceful restart, 1228 hello-interval, 1237 interface parameters, 1230, 1236 MD5-authentication activation wait time, 1237 MD5-authentication key ID and key, 1237 modifying interface defaults, 1236 modifying SPF timers, 1258 modifying the default metric for redistribution, 1252 modifying the exit overflow interval, 1262 modifying the redistribution metric type, 1259 modifying the standard compliance setting, 1262 modifying traps generated, 1260 modifying virtual link parameters, 1243 Not-So-Stubby-Area (NSSA), 1233 preventing specific routes from being installed in the IP route table, 1249 priority, 1237 resetting, 1231 RFC 1583 and 2178 compliance, 1224 specifying Syslog messages to log, 1261 transit-delay, 1238 using a standard ACL as input to the distribution list, 1249
OSPF (IPv6) administrative distance, 1298 assigning a totally stubby area, 1284 assigning a virtual link source address, 1286 assigning areas, 1284 assigning interfaces to an area, 1285 changing the key rollover timer, 1307 changing the reference bandwidth for the cost on interfaces, 1288 clearing IPSec statistics, 1308 configuration, 1283 configuring a default route origination, 1296 configuring a distribution list, 1293 configuring administrative distance based on route type, 1298 configuring distribution list using a route map, 1295 configuring external route summarization, 1292 configuring IPSec, 1302 configuring IPSec for a virtual link, 1306 configuring IPSec for an area, 1305 configuring route redistribution, 1289 configuring the LSA pacing interval, 1299 configuring virtual links, 1285 default route origination, 1296 disabling IPSec on an interface, 1307 disabling or re-enabling event logging, 1301 displaying database information, 1310 displaying information, 1308 displaying interface information, 1315 displaying IPSec configuration for an area, 1331 displaying IPSec for a virtual link, 1333 displaying memory usage, 1318 displaying neighbor information, 1319 displaying redistributed routes, 1321 displaying route information, 1322 displaying SPF information, 1324 displaying virtual link information, 1327 displaying virtual neighbor information, 1327 enabling, 1283 external route summarization, 1292 filtering routes, 1293 implementing Internet Protocol Security (IPSec), 1301 interface and area IPsec considerations, 1303 IPSec examples, 1328 link state advertisement types, 1282 modifying external link state database limit, 1299 modifying interface defaults, 1300 modifying shortest path first timers, 1297 modifying the default metric for redistributed routes, 1291 modifying the exit overflow interval, 1299 modifying the metric type for redistrib uted routes,
33
1291 modifying virtual link parameters, 1287 overview, 1281 shortest path first timers, 1297 showing IPsec policy, 1329 showing IPSec statistics, 1330 specifying the key rollover time, 1304
P
packet parameters, configuring, 967 packet types specifying a single source interface, 971 password enable read-only-password, 126 password logins, enabling, 186 passwords changing a local user password, 136 configuring, 129 configuring password history, 132 creating a password option, 135 enabling user password aging, 131 enabling user password masking, 131 enhanced login lockout, 132 recovering from a lost password, 127 setting a Telnet password, 124 setting for management privilege levels, 125 setting to expire, 133 specifying a minimum password length, 128 passwords, used to secure access, 124 path MTU discovery, 1039 Per VLAN Spanning Tree (PVST) configuration examples, 1154 configuring support, 1153 displaying support information, 1154 Per VLAN Spanning Tree plus (PVST+) compatibility, 1151 overview, 1151 PHY FIFO configuration, 53 PIM candidate rendezvous point (RP), 1529 configuring rendezvous point (RP), 1530 displaying flow cache information, 1548 displaying resources, 1543 enabling on the router and an interface, 1519 increasing the number of IGMP memberships, 1512 initiating multicasts on a network, 1516 modifying global parameters, 1520 overview, 1552
PIM SM snooping configuration, 1470 disabling for the VLAN, 1495 disabling on a VLAN, 1471 displaying errors, 1472 displaying information, 1480 displaying information for a specific group or source group pair, 1482 displaying information on a Layer 2 switch, 1480 enabling for the VLAN, 1495 enabling on a VLAN, 1470 enabling or disabling, 1470 show commands, 1477, 1480 show command show ip multicast, 1471 PIM SM snooping on FastIron WS and Brocade FCX and ICX switches application example, 1489 configuration, 1491 configuring for individual ports, 1496 configuring for the VLAN, 1496 configuring mode for a VLAN, 1495 configuring report control, 1493 configuring static router ports, 1497 configuring the global mode, 1492 configuring the global version, 1493 configuring the hardware and software resource limits, 1492 enabling or disabling error and warning messages, 1494 enabling or disabling PIM sparse snooping, 1494 enabling or disabling transmission and receipt of packets on a port, 1492 global configuration tasks, 1491 modifying the age interval, 1493 modifying the multicast cache age time, 1494 modifying the query interval, 1493 modifying the wait time, 1494 overview, 1489 VLAN-specific configuration tasks, 1491 PIM SM traffic snooping application examples, 1459 configuration notes and limitations, 1460 configuring the software resource limits, 1462 enabling globally on the device, 1463 global tasks, 1461 overview, 1459 port-specific tasks, 1462 VLAN-specific tasks, 1462 PIM snooping on FastIron WS and Brocade FCX and ICX switches displaying information, 1501
34
PIM Sparse boot strap router (BSR), 1529 changing the join and prune message interval, 1532 changing the shortest path tree (SPT) threshold, 1531 configuration, 1527 configuring interface parameters, 1529 displaying information, 1539 dropping traffic, 1533 globally enabling and disabling, 1528 limitations, 1528 RP paths and SPT paths, 1527 switch types, 1526 ping IPv6 address, 370 policy-based routing (PBR), 1741 basic example, 1745 enabling, 1745 setting the next hop, 1746 setting the output interface, 1747 trunk formation, 1747 port assigning 802.1Q tagging, 567 buffers and descriptors values, 595 dynamic port assignment, 764 eligility for link aggregation, 722 locking to restrict addresses, 573 removing from a VLAN, 742 support for 802.1Q in tagging, 755 port configuration assigning a port name, 40 configuring maximum port speed advertisement, 44 disabling or re-enabling a port, 46 enabling port speed, 42 enabling port speed down-shift, 43 modifying port duplex mode, 45 modifying port speed and duplex mode, 41 port default VLAN ID (PVID) displaying, 821 displaying information, 821 port dual-mode VLAN displaying membership, 820 port flap dampening configuration, 61 port loop detection, 65 port mirroring and monitoring command syntax, 924 configuration, 922 number of ports supported, 922 overview, 921 port monitoring monitoring an individual trunk port, 925 port regions on FastIron X series, 556
Port Security autosave, 1833 port statistics parameters, 524 viewing, 523 port VLAN displaying membership, 820 port-based VLAN configuring uplink ports, 784 modifying, 742 removing, 742 port-based VLANS configuring, 738 port-based VLANs, enabling, 566 ports on demand (PoD) configuring on an interface, 208 configuring the upper ports in a stack, 209 displaying license configuration, 210 power class setting for PoE devices, 672 power level configuration for PoE, 671 power level for PoE devices, 670
35
Power over Ethernet (POE) and CPU utilization, 668 autodiscovery, 662 cabling requirements, 665 configuring power levels, 671 disabling support for power-consuming devices, 669 displaying information, 675 dynamic upgrade of power supplies, 663 enabling and disabling, 669 enabling the detection of power requirements, 670 endspan method, 660 installing firmware, 666 installing firmware on FCX platform, 667 installing firmware on FSC platform, 666 IP surveillance cameras, 666 methods for delivery, 660 midspan method, 661 overview, 659 power class, 662 power specifications, 663 resetting parameters, 675 setting the inline power priority for a port, 673 setting the maximum power level, 670 setting the power budget for interface module, 673 setting the power class, 672 supported firmware file types, 667 supported powered devices, 665 terminology, 660 Voice over IP, 666 voltage selection during bootup, 664 voltage selection when a PoE power supply is installed, 664 voltage selection when a PoE power supply is removed, 665 private VLAN (PVLAN) configuration, 805 configuration notes, 808, 809 configuring an isolated or community, 811 difference between standard VLAN, 808 enabling broadcast or unknown unicast traffic, 812 privilege levels, 126 Protocol Independent Multicast (PIM) sparse, 1525 protocols, 1510
Q
QoS 802.1p priority override, 1971 assigning static MAC entries to priority queues, 1970 behavior for 802.1p marking in an IronStack, 1963 behavior for Layer 2 (802.1p) in an IronStack, 1963 behavior for Layer 3 (DSCP) in an IronStack, 1963 behavior on port priority and VLAN priority in an IronStack, 1963 buffer allocation and thresholds, 1971 changing a port priority, 1970 changing the DSCP to internal forwarding priority mappings, 1976 changing the minimum bandwidth percentages, 1981 configuring the QoS queues, 1981 default mappings, 1961 default scheduling configuration for the ICX 6430, 1978 default scheduling configuration for the SX-F148GPP module, 1977 default values for FCX and ICX 6450 platforms, 1968 default values for ICX 6430 platforms, 1969 determining the trust level of a packet, 1956 displaying DSCP-based settings, 1984 displaying the user-configurable scheduler profile configuration, 1968 DSCP-based, 1973 enabling 802.1p priority override, 1972 mapping a VLAN priority to hardware forwarding queue, 1977 mapping configuration, 1974 marking, 1972 options for IP ACLs, 1734 priorities-to-traffic assignment, 1970 processing of classified traffic, 1956 profile restrictions, 1962 queues, 1963 queues for the ICX 6430 switch, 1965 queues for the SX-F148GPP interface modules, 1964 queuing methods, 1979 scheduling information, 1979 support on Brocade FastIron units, 1962 user-configurable scheduler profile, 1967 using ACLs to honor DSCP-based QoS, 1973 QoS priorities dynamic buffer allocation, 584 Quality of Service (QoS) overview, 1955 queue depth limits, default, 584, 588
36
R
RADIUS AAA operations, 159 accounting configuration, 158 authentication configuration, 157 authentication method values, 168 authentication, authorization, and accounting (AAA), 157 authentication-method list examples, 175 authentication-method lists, 174 authorization configuration, 158 Brocade-specific attributes on the server, 161 command authorization and accounting for console commands, 170 configuration, 161 configuration considerations, 160 configuring accounting for CLI commands, 171 configuring accounting for system events, 172 configuring accounting for Telnet/SSH (Shell) access, 171 configuring an interface as the source for all packets, 172 configuring command authorization, 170 configuring enable authentication, 169 displaying configuration information, 172 entering privileged EXEC mode, 169 identifying the server to the Brocade device, 163 servers per port, 164 setting authentication-method lists, 167 setting over IPv6, 167 setting the key, 166 setting the retransmission limit, 166 setting the timeout parameter, 167 specifying different servers for individual AAA functions, 163 RADIUS authorization, 169 RADIUS parameters, 166 RADIUS security, 157 RADIUS server generic attributes, 906
Rapid Spanning Tree Protocol (RSTP) bridge port states, 1107 changing bridge parameters, 1133 changing port parameters, 1134 configuring parameters on a Brocade device, 1131 convergence after a link failure, 1123 convergence at link restoration, 1124 convergence in a complex toplogy, 1125 convergence in a simple topology, 1119 displaying information, 1135 edge ports and edge port roles, 1106 overview, 1103 point-to-point ports, 1107 propogation of topology change, 1127 recommended path cost values, 1134 rate limiting configuring ACL-based for FastIron X series, FCX, and ICX series switches, 1942 configuring for FastIron X series, FCX, and ICX series switches, 1941 displaying information for FastIron X series, FCX, and ICX series switches, 1943 fixed on inbound port configuration, 1949 fixed rate limiting, 1940 hardware for FastIron X series, FCX, and ICX series switches, 1940 hardware on FastIron WS series switches, 1948 overview for FastIron X series, FCX, and ICX series switches, 1939 rate limiting on FastIron WS series switches ACL-based policy configuration, 1952 configuration notes, 1949 configuration syntax, 1949 configuring port-based, 1951 displaying configuration, 1952 how it works, 1948 minimum and maximum outbound rate limits, 1950 outbound port configuration, 1950 overview, 1947 rate shaping configuring outbound for a port, 1945 configuring outbound for a specific priority, 1945 displaying configurations, 1946 for FastIron X series, FCX, and ICX series switches, 1944 rconsole, 274 remote access restrictions, 115 remote fault notification (RFN) enabling and disabling, 603 on fiber connections, 602
37
rendezvous point (RP) ACL-based assignment, 1533 anycast method, 1534 configuring an ACL-based assignment, 1533 designating as an interface IP address, 1557 displaying information, 1544 restrict mode access using ACL, 112 restricting HTTP and HTTPS connection, 117 SNMP access to a specific VLAN, 119 snmp-server enable vlan, 119 SSH connection, 117 Telnet access to a specific VLAN, 119 Telnet connection, 117 TFTP access to a specific vlan, 120 Web management access to a specific VLAN, 119 restricting access to device based on IP or MAC address, 117 Reverse Address Resolution Protocol (RARP) changing the maximum number of supported entries, 1002 configuration, 1001 creating static entries, 1002 disabling, 1002 how it differs from BootP and DHCP, 1001 RIP suppression of advertisements, 1668 RMON alarm (group 3), 534 event (group 9), 535 export configuration and statistics, 533 history (group 2), 534 maximum number of entries allowed in control table, 531 statistics, 532 RMON support, 531 route, 1398 route learning configuring, 1212 with Routing Information Protocol (RIP), 1201 route map configuring, 1744
Routemap match, 1399 match as-path, 1400 match community, 1400 match community exact-match, 1402 match ip address, 1400 match ip address prefix-list, 1400 match ip next-hop, 1401 match ip next-hop prefix-list, 1401 match ip route-source, 1401 set, 1402 set comm-list delete, 1405 set ip next-hop peer-address, 1404 set metric-type internal, 1404
38
Router activate, 1694 address-filter, 1388 aggregate-address, 1378 always-compare-med, 1371 area, 1232, 1233, 1242, 1243, 1284, 1285, 1287 area | nssa | default-information-originate, 1234 area | range, 1235 area virtual-link, 1286 as-path-filter, 1390 as-path-ignore, 1370 auto-cost reference-bandwidth, 1246, 1289, 1299 bgp-redistribute-internal, 1387 bsr-candidate ethernet, 1529 client-to-client-reflection, 1375 cluster-id, 1374 community-filter, 1393 compare-routerid, 1371 confederation identifier, 1377 confederation peers, 1377 dampening, 1409 database-overflow-interval, 1262 default-gateway, 1579 default-information-originate, 1258, 1296, 1365 default-local-preference, 1364 default-metric, 1200, 1252, 1365 deny | permit redistribute, 1248 disable-dvmrp, 1577, 1581 disable-pim, 1520, 1528 distance, 1198, 1259, 1298, 1369 distribute-list, 1250 distribute-list prefix-list, 1293 distribute-list prefix-list in | out, 1214 distribute-list route-map, 1295 enforce-first-as, 1370 fast-external-fallover, 1360 filter permit | deny, 1204 graft-retransmit-time, 1579 graft-retransmit-timer, 1522 hardware-drop, 1573 hello-timer, 1521 inactivity-timer, 1522 interface ethernet, 1187 ip-address, 1694 ipv6 router ospf, 1283 ipv6 router rip, 1210 learn-default, 1202 local-as, 1347, 1377 log, 1262 log-status-change, 1301 maximum-paths, 1362 med-missing-as-worst, 1372
message-interval, 1532 metric-type, 1259, 1291 multipath, 1362 nbr-timeout, 1521, 1578 neighbor, 1348, 1357 neighbor distribute-list, 1396 neighbor password, 1354 neighbor peer-group, 1357, 1358 neighbor permit | deny, 1202 neighbor route-reflector-client, 1374 neighbor shutdown, 1359 neighbor soft-reconfiguration inbound, 1446 neighbor unsuppress-map, 1413 network, 1363 next-hop-enable-default, 1364 next-hop-recursion, 1368 offset-list in | out offset, 1198 permit | deny redistribute, 1189, 1199 poison-local-routes, 1215 poison-reverse, 1215 probe-interval, 1579 prune-age, 1578 prune-timer, 1521 prune-wait, 1522 readvertise, 1387 redestribute connected, 1385 redistribute bgp, 1289, 1290 redistribute bgp | connected | isis | ospf | static, 1214 redistribute connected, 1385 redistribute ospf, 1386 redistribute rip, 1386 redistribute static, 1387 redistribution, 1189, 1201, 1248, 1253 report-interval, 1579 rfc1583-compatibility, 1262 route-discard-timeout, 1578 route-expire-timeout, 1578 router vrrp, 1694 rp-address, 1531, 1583 rp-candidate add, 1530 rp-candidate delete, 1530 rp-candidate ethernet, 1530, 1585 slow-start, 1673 snmp-server trap ospf, 1261 spt-threshold infinity, 1532 ssm-enable, 1594 summary address, 1235 summary-address, 1256, 1292 timers, 1211 timers keep-alive hold-time, 1359 timers lsa-group-pacing, 1260, 1299 timers spf, 1258, 1297
39
trigger-interval, 1579 update-time, 1201, 1360 use-vrrp-path, 651, 1203, 1669 virtual-link-if-address interface ethernet, 1286 router ID, changing, 970 routing between VLANs (Layer 3 only), 763 Routing Information Protocol (RIP) applying route filter to an interface, 1204 changing the administrative distance, 1198 changing the cost of routes learned on a port, 1197 changing the redistribution metric, 1200 changing the route loop prevention method, 1190, 1203 configuration, 1187 configuring a neighbor filter, 1202 configuring a redistribution filter, 1189 configuring an offset list, 1197 configuring metric parameters, 1197 configuring redistribution, 1199 configuring redistribution filters, 1199 configuring route filters, 1204 denying route advertisements, 1202 disabling poison-reverse, 1203 displaying filters, 1205 enabling, 1187, 1196 enabling learning of default routes, 1190 enabling redistribution, 1189, 1200 enabling redistribution of IP static routes, 1187 global parameters, 1194 interface parameters, 1195 overview, 1193 parameter configuration, 1196 parameters and defaults, 1194 removing a redistribution deny filter, 1201 route learning and advertising parameters, 1201 suppressing route advertisement on a VRRP or VRRP-E backup interface, 1203 Routing Information Protocol Next Generation (RIPng) clearing routes from the IPv6 route table, 1215 configuration, 1210 configuring poison reverse parameters, 1215 controlling distribution of routes, 1214 displaying configuration, 1215 displaying routing table, 1216, 1217 enabling, 1210 overview, 1209 redistributing routes, 1213 route learning and advertising parameters, 1212 timers, 1211 routing protocols enabling or disabling, 1190
RSA authentication configuring challenge-response authentication, 183 enabling challenge-response, 185 exporting client public keys, 196 generating a client key pair, 196 generating and deleting a key pair, 182 importing public keys into Brocade device, 184 providing the public key to clients, 183 RSTP assignment of port roles, 1104 bridges and bridge port roles, 1103 changes to port roles and states, 1108 edge port and non-edge port states, 1108
S
SCP and IPv6, 417 search string, using special characters, 9 secure access passwords, 124 secure copy (SCP) configuration notes, 191 copying a software image file from flash memory, 193 enabling and disabling, 191 example file transfers, 191 importing a digital certificate, 194 importing a DSA or RSA public key, 194 importing an RSA private key, 194 using to install a software license, 221 with SSH2, 191 secure management access to Brocade devices, 110 secure shell (SSH) and IPv6, 367, 417 overview, 179 secure shell (SSH2) authentication types, 181 clients, 180 configuration, 181 enabling and disabling with host keys, 181 optional parameters, 185 supported features, 180 unsupported features, 180 secure sockets layer (SSL), 136 secure-setup troubleshooting in stack topologies, 324
40
security AAA for RADIUS commands, 160 AAA operations for RADIUS, 159 allowing SNMP access to Brocade device, 121 allowing SSHv2 access to Brocade device, 121 allowing Web management through HTTP for Brocade device, 121 allowing Web management through HTTPS, 122 authentication method values, 150 changing the SSL server certificate key size, 137 deleting the SSL certificate, 139 device management, 121 edge port, 177 edge ports, 176 enabling SSL server on Brocade device, 137 generating an SSL certificate, 138 RADIUS, 157 specifying a port for SSL communication, 137 SSL for the Web management interface, 136 support for SSL digital certificates, 138 TACACS and TACACS+, 139 TACACS authentication, 142 TACACS+ accounting, 143 TACACS+ authorization, 142 TCP flags, 176, 177 sFlow and 802.1x port security, 1790 and CPU utilization, 537 and hardware support, 537 and port monitoring, 538 and sampling rate, 538 and source address, 537 and source port, 538 changing the polling interval, 541 changing the sampling rate, 541 changing the source port, 545 clearing statistics, 552 command syntax for sFlow forwarding, 545 configuration considerations, 537 configuring and enabling, 539 configuring version 5 features, 546 displaying information, 549 enabling forwarding, 545 exporting CPU and memory usage information, 548 extended gateway information, 537 extended router information, 536 IPv6 packet sampling, 537 overview, 535 specifying the collector, 539 specifying the maximum flow sample size, 548 specifying the polling interval, 548 specifying the version used for exporting sFlow data,
547 support for IPv6 packets, 536 uplink utilization list configuration, 552 utilization list for an uplink port command syntax, 553 version 5, 536 show, 1414, 1636, 1681
41
show command ip ospf database external-link-state advertise, 1277 ipv6 inter tunnel, 380 show 802-1w, 1135 show aaa, 156, 172 show access-list, 1721, 1739 show access-list accounting traffic-policy, 1777 show access-list all, 1740 show arp, 1064, 1075, 1923 show authenticated-mac-address, 1858 show auth-mac-address, 1863 show boot-preference, 81 show clock, 32 show cluster, 856 show cluster ccp peer, 858 show cluster client, 857 show configuration, 588 show default value, 1185 show default values, 577 show dir, 77 show disabled-multicast-to-cpu, 1586 show dot1x, 1812 show dot1x mac-address-filter, 1817 show dot1x mac-session, 1822 show dot1x statistics, 1815 show errdisable recovery, 1162 show fdp entry, 441, 445 show fdp neighbor, 439 show fdp neighbors, 444 show fdp traffic, 445 show flash, 74 show gvrp, 890 show gvrp statistics, 894 show inline power, 675 show inline power detail, 678 show interface, 48, 530, 694, 1816 show interface ethernet, 858, 1096 show interfaces stack-ports, 308 show interfaces tunnel, 379 show ip, 1028, 1074 show ip access-list, 1721 show ip address, 1029 show ip arp inspection, 1923 show ip bgp, 1438 show ip bgp attribute-entries, 1441 show ip bgp config, 1419 show ip bgp filtered-routes, 1447 show ip bgp flap-statistics, 1414, 1443 show ip bgp neighbors, 1407, 1421, 1430, 1445,
1448, 1450 show ip bgp peer-group, 1433 show ip bgp route, 1366, 1368 show ip bgp route o, 1383 show ip bgp routes, 1435 show ip bgp routes best, 1436 show ip bgp routes not-installed-best, 1437 show ip bgp routes summary, 1434 show ip bgp routes unreachable, 1437 show ip bgp summary, 1416 show ip cache, 1067 show ip client-pub-key, 185 show ip dhcp relay information, 1933 show ip dhcp snooping, 1927 show ip dhcp-server address-pool, 1019 show ip dhcp-server binding, 1018 show ip dhcp-server flash, 1020 show ip dhcp-server summary, 1021 show ip dvmrp rpf, 1581 show ip igmp group, 1595 show ip igmp group tracking, 1593 show ip igmp interface, 1597 show ip igmp traffic, 1598, 1600 show ip interface, 1054, 1063 show ip interface tunnel, 1054 show ip msdp peer, 1568 show ip msdp sa-cache, 1569, 1572 show ip msdp summary, 1567 show ip multicast error, 1472, 1499 show ip multicast group, 1472, 1473, 1499 show ip multicast mcache, 1474, 1501 show ip multicast pimsm-snooping, 860, 1480, 1482,
42
1501 show ip multicast resource, 1474, 1502 show ip multicast traffic, 1475, 1503 show ip multicast vlan, 1471, 1476, 1477, 1504 show ip ospf area, 1269 show ip ospf border-routers, 1278 show ip ospf config, 1266 show ip ospf database external-link-state, 1275 show ip ospf database link-state, 1276 show ip ospf interface, 1240, 1270, 1272 show ip ospf neighbor, 1270 show ip ospf neighbors, 1279 show ip ospf redistribute route, 1274 show ip ospf routes, 1273 show ip ospf trap, 1278 show ip ospf virtual-link, 1278 show ip ospf virtual-neighbor, 1277 show ip pim bsr, 1541 show ip pim error, 1551 show ip pim flow, 1057, 1548 show ip pim group, 1541 show ip pim interface, 1056 show ip pim mcache, 1057, 1549, 1574 show ip pim mcachePIM displaying multicast cache information, 1549 show ip pim nbr, 1057 show ip pim neighbor, 1547 show ip pim prune, 1525 show ip pim resource, 1543 show ip pim rp-candidate, 1544 show ip pim rp-hash, 1545 show ip pim rp-map, 1534, 1545, 1584 show ip pim rp-set, 1534, 1546, 1583 show ip pim sparse, 1539 show ip pim traffic, 1550 show ip pimsm-snooping, 1481 show ip pimsm-snooping vlan, 1481 show ip rip, 1205 show ip route, 1054, 1068, 1182, 1442 show ip route static, 1383 show ip route summary, 1070 show ip ssh, 188 show ip ssh config, 189 show ip static-arp, 1066 show ip traffic, 1071, 1076 show ip tunnel traffic, 1055 show ip vrrp brief, 1678 show ip vrrp stat, 1686 show ip vrrp vrid, 1684 show ipc, 108 show ipc_stat, 108 show ipsec policy, 1329
show ipsec sa, 1328 show ipsec statistics, 1308, 1330 show ipv6, 382 show ipv6 access-list, 1753, 1763 show ipv6 cache, 397 show ipv6 interface, 398 show ipv6 mld-snooping, 1639 show ipv6 mld-snooping error, 1636 show ipv6 mld-snooping group, 1637 show ipv6 mld-snooping mcache, 1638 show ipv6 mld-snooping traffic, 1640 show ipv6 mld-snooping vlan, 1641 show ipv6 neighbor, 400 show ipv6 ospf area, 1309, 1331 show ipv6 ospf database, 1310 show ipv6 ospf database extensive, 1312 show ipv6 ospf interface, 1315, 1332 show ipv6 ospf memory, 1318 show ipv6 ospf neighbor, 1319 show ipv6 ospf neighbor router-id, 1320 show ipv6 ospf redistribute route, 1322 show ipv6 ospf route, 1293, 1294, 1295 show ipv6 ospf routes, 1322 show ipv6 ospf spf node area, 1324 show ipv6 ospf virtual-link, 1327, 1333 show ipv6 ospf virtual-neighbor, 1327 show ipv6 rip, 1215 show ipv6 rip route, 1216, 1217 show ipv6 route, 401 show ipv6 router, 402 show ipv6 tcp connections, 403 show ipv6 tcp status, 405 show ipv6 traffic, 407 show ipv6 tunnel, 378 show ipv6 vrrp, 1690 show ipv6 vrrp brief, 1678 show ipv6 vrrp-extended, 1691 show ipv6 vrrp-extended brief, 1679 show license, 210 show link-agg, 734 show link-aggregate, 730 show link-aggregate ethernet, 727 show link-error-disable, 63 show link-keepalive, 688 show lldp, 488 show lldp local-info, 472, 474, 483, 486, 488, 493 show lldp neighbors, 491 show lldp neighbors detail, 492 show lldp statistics, 463, 490 show lldp statisticsLLDP displaying statistics, 489 show local-userdb, 1911
43
show local-userdb test, 1912 show log, 1725 show logging, 508, 510, 511, 917 show loop-detection resource, 69 show loop-detection status, 68 show mac, 566, 716 show mac cluster, 843 show mac-address, 560, 566, 916 show media, 57 show media slot, 501 show metro, 628, 629 show mstp, 1175 show mstp config, 1168 show notification mac-movement threshold-rate, 575 show optic, 502 show optic slot, 503 show optic threshold, 504 show pod, 210 show port security ethernet, 1836, 1839 show port security mac, 1836 show port security statistics, 1837 show process cpu, 897, 1061, 1063, 1091, 1092, 1206, 1207, 1268, 1420, 1689 show pvlan, 821 show qd-buffer-profile, 597 show qd-share-level, 601 show qos-profiles QoS
44
show qos-tos, 1976, 1984 show rate-limit broadcast, 36 show rate-limit fixed, 1943, 1953 show rate-limit fixed input, 1952 show rate-limit output-shaping, 1946 show rate-limit unknown-unicast, 36 show relative-utilization, 553, 554 show reserved-vlan-map, 765 show rmon statistics, 532 show route-map, 1444 show run, 131, 1029 show run interface, 36 show run interface ethernet, 1972 show sflow, 542, 550 show snmp engineid, 426, 434 show snmp group, 435 show snmp server, 372, 425, 433 show snmp user, 435 show sntp associations, 25 show sntp status, 27 show span, 525, 860, 1089, 1146 show span detail, 1093 show span detail vlan, 1096 show span fast-uplink-span, 1102 show span pvst-mode, 1154 show span vlan, 610, 1103 show spanning-tree root-protect, 1160 show stack, 210, 272, 277, 336, 341, 350 show stack flash, 296 show stack neighbors, 303 show stack rel-ipc stats unit, 301 show stack rel-ipc-stats, 297 show stack stack-ports, 304 show statistics, 1057 show statistics dos-attack, 1918 show statistics ethernet, 523 show statistics stack-ports, 309 show statistics tunnel, 1055 show stp-protect, 1087 show symmetric-flow-control, 52 show table, 1870 show table-mac-vlan, 911, 915, 919 show table-mac-vlan denied-mac, 913 show topology-group, 610, 629 show transmit-counter profiles, 528 show transmit-counter values, 528 show trunk, 715, 733 show version, 72, 307, 522 show vlan, 817, 1093 show vlan brief, 819 show vlan-group, 790
show vlans, 818 show voice-vlan, 61 show vsrp aware, 654 show vsrp vrid, 652, 655 show web connection, 157 show webauth, 1907 show webauth blocked-list, 1911 show webauth vlan, 1912 show who, 190 show-traffic policy, 1778 sntp server-mode, 29 span vlan, 525 show commands show notification mac-movement interval-history, 576 Simple Network Time Protocol (SNTP), 24 Single Spanning Tree Protocol (SSTP) defaults, 1145 displaying information, 1146 enabling, 1145 overview, 1145 Smurf attack protection, 1913 SNMP community strings, 422 configuration for an IronStack, 315 configuring V3 over IPv6, 367 configuring version 3 on Brocade devices, 426 defining a group, 427 defining a user account, 428 defining the engine ID, 426 defining the UDP port for traps, 431 defining views, 429 disabling traps, 21, 23, 24 displaying community string, 128 displaying groups, 435 displaying the community strings, 424 displaying the engine ID, 434 displaying user information, 435 enabling to configure RADIUS, 163 encryption of community strings, 422 engine IDs for stackable devices, 315 generating traps for multi-device port authentication,
45
1849 interpreting varbinds in report packets, 435 IPv6 support, 433 Layer 2 generated traps, 21 Layer 3 generated traps, 22 over IPv6, 417 overview, 421 restricting access to an IPv6 node, 367 setting the trap holddown time, 21 specifying a single trap source, 20 specifying a trap receiver, 19 specifying an IPv6 host as trap receiver, 433 specifying an IPv6 trap receiver, 367 trap MIB changes, 432 user-based security model, 425 using to configure MAC-based VLANs, 911 using to save and load configuration information, 91 using to upgrade software, 80 v3 configuration examples, 436 version 3 traps, 430 viewing IPv6 server addresses, 372, 433 SNMP parameter configuration, 19 SNTP configuring Brocade device to function as server, 28 configuring over IPv6, 367 displaying server information, 29 enabling broadcast mode for client, 30 over IPv6, 417 specifying a server, 24 software viewing packages installed in the device, 232 software image files, 76 software license non-licensed features, 202 overview, 200 supported software packages, 206 terminology, 199 transferring, 226 types, 201 viewing from the Brocade software portal, 224 viewing information about, 227 viewing the license database, 229 software licensing configuration tasks, 216 how it works, 200 installing a license file, 221 obtaining a license, 216 replacing for legacy devices, 226 rules and caveats, 206 seamless transition for legacy devices, 200, 201 trial license expiration, 224 using a trial license, 223
software reboot, 81 software upgrade, 80 spanning tree enabling on a VLAN, 766 Spanning Tree Protocol (STP) changing bridge and port parameters, 1085 changing port parameters, 1086 clearing BPDU drop counters, 1087 compatibility of 802.1W with 802.1D, 1127, 1130 configuration example for load sharing, 1149 configuring a fast uplink port group, 1101 configuring fast uplink span within a VLAN, 1102 configuring per VLAN group, 1148 default bridge parameters, 1082 default port parameters, 1083 disabling and re-enabling fast port span, 1098 displaying detailed information for each interface, 1093 displaying information, 1088 displaying information for a single port in a specific VLAN, 1096 displaying information for an entire device, 1089 displaying state information for an individual interface, 1096 displaying the root guard by VLAN, 1161 displaying the root guard state, 1160 displaying the state of a port-based VLAN, 1092 enabling or disabling, 1083 enabling or disabling globally, 1084 enabling or disabling in a port-based VLAN, 1084 enabling or disabling on an individual port, 1084 enabling protection, 1087 enabling root guard, 1160 excluding specific ports from fast port span, 1099 feature configuration, 1097 load balancing, 1148 overview, 1081 parameters and defaults, 1082 per VLAN group, 1147 protection enhancement, 1086 reconvergence time, 1143 root guard overview, 1160 standard parameter configuration, 1082 viewing protection configuration, 1087 spanning tree protocol (STP) overview, 756 special characters used in search string, 9 SSH configuring maximum idle time, 187 designating an interface as the source for all packets,
46
187 displaying information, 188 filtering access using ACLs, 188 setting login timeout value, 187 setting port number, 187 terminating an active connection, 188 using to install a software license, 221 SSH authentication setting the number of retries, 186 SSH keys CPU priority for generation, 182 SSH2 configuration, 181 DSA challenge-response authentication, 181 password authentication, 181 RSA challenge-response authentication, 181 use with secure copy, 191 SSH2 client configuring public key authentication, 195 displaying information, 197 enabling, 195 overview, 195 using, 196 SSL changing the server certificate key size, 137 deleting the certificate, 139 enabling on Brocade device, 137 generating a certificate, 138 importing digital certificates and RSA private key files, 138 stack unit priority, 255, 278 startup configuration, 83 static ARP adding an entry, 1181 static IP route adding, 1180 static IP routes configuring to the same destination, 991 static IPv6 route configuration, 373 static IPv6 route parameters, 375 static MAC address configuration, 560 multi-port, 560 VLAN-based configuration, 561
static route adding to the destination network, 986 and port states, 987 configuration, 985 configuring, 987 configuring to a tunnel destination, 1048 IP parameters, 986 types, 985 static router ports, configuring, 1467 statistics clearing, 526 displaying virtual routing interface, 22 enabling SNMP VE, 22 STP bridge parameters, 767 modifying bridge and port parameters, 558 port parameters, 767 STP feature active uplink port failure, 1100 fast port span, 1097 fast uplink span, 1100 fast uplink span rules for trunk groups, 1101 switchover to the active uplink port, 1100 STP Group master-vlan, 1149 member-group, 1149 member-vlan, 1149 STP statistics, viewing, 525 Subnet ip-subnet, 769 ipx-network, 769 super aggregated VLAN configuration, 793 super aggregated VLANs, 761 Syslog changing the log facility, 516 changing the number of entries the local buffer can hold, 515 clearing log entries, 512 clearing messages from the local buffer, 518 CLI display of buffer configuration, 511 disabling, 24 disabling logging of a message level, 515 disabling or re-enabling, 514 displaying interface names in messages, 517 displaying messages, 508 displaying real-time messages, 510 displaying TCP or UDP port numbers in messages, 517 displaying the configuration, 510 enabling real-time display for a Telnet or SSH session,
47
509 enabling real-time display of messages, 509 message due to disabled port in loop detection, 69 message for hitless management events, 107 message types, 1987 messages for CLI access, 23 messages for hardware errors, 518 messages for hitless stacking failover and switchover, 351 messages for port flap dampening, 65 messages for VRRP-E authentication, 1666 messages on a device with the onboard clock set, 513 messages related to GRE IP tunnels, 1042 messages supported for software-based licensing, 227 overview, 508 retaining messages after a soft reboot, 518 service configuration, 510 specifying a server, 514 specifying an additional server, 514 static and dynamic buffers, 511 STP messages, 1163 time stamps, 512 Syslog messages disabling, 23 system clock setting, 30 system management basic, 521 viewing information, 521 system parameter settings default settings, 577 displaying, 577 displaying and modifying, 577 system parameters modifying default values, 583 system reload scheduling, 92
T
TACACS authentication, 142 enabling, 146
TACACS and TACACS+ authentication, authorization, and accounting, 139 configuration, 145 configuration considerations, 145 configuring an interface for all packets, 155 configuring authentication-method lists, 149 configuring for devices in a Brocade IronStack, 140 how they differ, 139 identifying servers, 146 security, 139 setting optional parameters, 147 setting the retransmission limit, 148 TACACS+ accounting, 143 accounting configuration, 154 authorization, 142 configuring authorization, 151 prompts when server is unavailable, 151 setting the key, 148 specifying servers for individual AAA functions, 147 TCAM entries in FWS devices, 1180 TCAM space on FCX devices, 394 TCP flags, 176, 177 TCP flags and edge port security, 1733 Telnet cancelling an outbound session, 24 designated VLANs to Layer 2 switch, 120 testing network connectivity, 95 Test-Route set ip next hop, 1744 TFTP server file upload, 90 transfer remedies, 93 TFTP server, configuring, 1018 thresholds changing XON and XOFF, 51 XON and XOFF, 50 Time to Live (TTL) changing the threshold, 981, 1033 Topology Group master-vlan, 609 member-group, 609 member-vlan, 609 topology group configuration, 609 configuration considerations, 608 control ports and free ports, 608 displaying information, 610 master VLAN and member VLANs, 608 overview, 607
48
total transmit queue depth limit, configuring, 584 trace route using DNS to initiate, 966 tracing an IPv4 route, 96 traffic counters displaying enhanced statistics, 528 for outbound traffic, 526 traffic policies configuration notes and feature limitations, 1766 CoS parameters for packets, 1767 CPU rate-limiting, 1779 enabling ACL statistics, 1775 maximum number supported on a device, 1767 overview, 1765 setting the maximum number on a Layer 3 device, 1768 using ACL-based rate limiting, 1768 viewing, 1778 Trunk config-trunk-ind, 711, 713 disable, 712 disable ethernet, 711, 713 enable ethernet, 712 port-name, 711 sflow-subsampling ethernet, 544 threshold, 714 trunk group additional trunking options, 710 application diagram, 698 assigning ports, 766 configuration, 706 configuration examples, 701 configuration notes for FastIron devices in an IronStack, 701 configuration rules, 699 configuring a multi-slot trunk group with one port per module, 709 configuring a static trunk group for devices in an IronStack, 710 configuring a trunk group of 10 Gbps Ethernet ports, 709 configuring a trunk group that spans two Ethernet
modules, 708 configuring FastIron X series devices, 721 configuring stackable devices in an IronStack, 720 configuring trunk groups, 708 connectivity to a server, 698 deleting static, 713 displaying configuration information, 715 effects of changing VLAN membership of a port, 724 LACP configuration example, 718 LACP examples, 718 load sharing, 704 load sharing on FastIron stackable devices, 705 load sharing on FastIron X series devices, 705 overview, 697 ports and VLAN membership, 761 specifying the minimum number of ports, 713 support for flexible membership, 703 tearing down an aggregate link, 721 trunk port eligibility in an aggregate link, 722 viewing the first and last ports, 716 trunk hash, adding Layer 2 information, 705 trunk port changing the sampling rate, 544 configuring outbound rate shaping, 714 disabling or re-enabling, 711 enabling sFlow forwarding, 714 monitoring, 714 naming, 711 setting the sFlow sampling rate, 715 Tunnel ipv6 address, 378 ipv6 enable, 377 tunnel destination, 377 tunnel mode ipv6ip, 377 tunnel source, 377 tunnel interface applying an ACL or PBR on a FastIron X series module, 1047 applying an ACL or PBR on the SX-F148GPP interface module, 1048 changing the MTU value, 1049 configuring a tunnel loopback port, 1047 configuring an IP address, 1048 configuring the destination address, 1046 configuring the source address or source interface, 1045 creating, 1045 enabling GRE encapsulation, 1046
49
U
UDLD changing the keepalive interval, 688 changing the keepalive retries, 688 configuration notes and feature limitations, 686 creating a protected link group and assigning an active port, 692 UDP configuring broadcast parameters, 1003 enabling forwarding for an application, 1004 unicast limiting command syntax, 33 Uni-Directional Link Detection (UDLD) clearing statistics, 690 displaying information, 688 displaying information for a single port, 689 enabling, 686 enabling for tagged ports, 687 for tagged ports, 686 overview, 685 protected link groups, 691 user accounts defining local, 129 local configuration, 133 local with encrypted passwords, 135 local with no passwords, 134 local with unencrypted passwords, 134 user authentication, deactivating, 186 username configuration, 129
V
viewing system information, 521 virtual cable testing, 497
Virtual Router Redundancy Protocol (VRRP) additional configuration, 1664 archtectural differences between VRRP-E, 1653 authentication, 1648 authentication types, 1665 backup preempt configuration, 1672 basic configuration, 1658 changing the timer scale, 1672 clearing statistics, 1688 comparison to VRRP-E, 1652 configuration considerations for IPv6 version 3, 1661 configuration examples, 1692 configuring a backup for IPv4, 1660 configuring a backup for IPv6, 1660 configuring the Hello interval, 1669 configuring the owner for IPv6, 1659 dead interval configuration, 1670 disabling, 1657 displaying information, 1678 displaying information for IPv6, 1691 displaying statistics, 1686 forcing a master router to abdicate to a standby router, 1677 hello messages, 1647 master negotiation, 1647 MCT configuration, 854 overview, 1644 parameters, 1654 router type, 1667 suppression of RIP advertisements, 1648 track port configuration, 1671 track ports and track priority, 1648 track priority configuration, 1671 Virtual Router ID (VRID), 1646 virtual router IP address, 1646 virtual router MAC address, 1646 with MCT, 853 Virtual Router Redundancy Protocol Extended (VRRP-E) MCT configuration, 854 overview, 1649 with MCT, 853 virtual routing interface, 757 configuring, 788 virtual routing interface group configuring, 790 displaying, 791 virtual routing interface statistics, 22 virtual routing interfaces allocating memory, 792
50
virtual switch redundancy protocol (VSRP) changing the backup priority, 646 changing the timer scale, 644 configuration notes and feature limitations, 634 configuring authentication, 644 configuring basic parameters, 642 configuring fast start, 655 configuring security features on a VSRP-aware device, 645 disabling or re-enabling, 643 displaying information, 651 displaying the active interfaces for a VRID, 654 fast start, 654 interval timers, 639 MAC address failover, 639 master election and failover, 635 overview, 633 parameters, 640 priority calculation, 636 security features, 639 suppressing RIP advertisement from backups, 650 track ports, 637 used to provide redundancy, 635 VSRP-aware interoperability, 651 VLAN 802.1Q tagging, 753 allocating memory, 792 and virtual routing interface groups, 758 appletalk-cable-vlan, 782 assigning different IDs to reserved VLANs, 765 broadcast leaks, 761 configurable parameters, 745 configuration notes for aggregated VLANs, 796 configuration rules, 762 configuring a group, 788 configuring a multi-range, 744 configuring an IP, IPX, or AppleTalk protocol VLAN, 782 configuring an IPX network with dynamic ports, 783 configuring anIP subnet with dynamic ports, 783 configuring IP subnet address on multiple port-based
VLAN, 785 configuring port-based, 738 configuring uplink ports within a port-based VLAN, 784 configuring with dynamic ports, 780 default, 752 deleting a multi-range, 744 disable multicast-to-cpu, 1586 disabling advertising, 885 disabling learning, 886 disabling membership aging of dynamic ports, 781 displaying dual-mode ports, 817 displaying information, 817 displaying information for specific ports, 819 dynamic, 782, 783 dynamic port membership, 759 excluded ports, 761 increasing the number you can configure, 792 ip access-group, 1729 IP subnet, IPX network, and AppleTalk cable, 751 IP subnet, IPX network, and protocol-based configuration example, 768 IP subnet, IPX network, and protocol-based VLANs
51
within port-based VLANs, 770 ip-proto, 782 ip-subnet, 783 IPv6 protocol configuration, 774 ipv6-proto, 774 ipx-network ethernet_snap, 784 ipx-proto, 782 Layer 2 port-based, 737 Layer 3 protocol-based, 749 loop-detection, 66 mac-vlan-permit, 910 mld-snooping active | passive, 1613, 1633 mld-snooping disable-mld-snoop, 1614, 1633 mld-snooping fast-convergence, 1617, 1636 mld-snooping fast-leave-v1, 1616, 1635 mld-snooping port-version 1 | 2, 1634 mld-snooping port-version 1 | 2 ethernet, 1614 mld-snooping proxy-off, 1615, 1634 mld-snooping router-port, 1634 mld-snooping router-port ethernet, 1615 mld-snooping static-group, 1615, 1634 mld-snooping tracking, 1616, 1635 mld-snooping version 1 | 2, 1614, 1633 monitor, 932 multicast active, 1464 multicast active | passive, 1495 multicast disable-multicast-snoop, 1465, 1495 multicast disable-pimsm-snoop, 1471, 1495 multicast fast-convergence, 1469 multicast fast-leave-v2, 1469 multicast passive, 1464 multicast pimsm-snooping, 1470, 1495 multicast port-version, 1464 multicast proxy-off, 1468 multicast router-port, 1467 multicast tracking, 1469 multicast version 2, 1464 multicast version 3, 1464 multiple VLAN membership rules, 762 multi-range, 743 multi-range show commands, 747 no webauth, 1899 no-dynamic-aging, 781 overview, 736 protocol-based configuration, 768 protocol-based for MCT, 846 pvlan mapping, 810 pvlan type community, 810, 811 removing a port, 742 router-interface ve, 787, 961 routing using virtual routing interfaces (Layer 3 only),
763, 774 show parameters, 749 source-guard enable, 1937 spanning-tree, 742 spanning-tree 802-1w ethernet, 1134 spanning-tree ethernet, 1086 spanning-tree rstp, 1144 static port membership, 761 static-mac-address, 1971 static-mac-address drop, 562 super aggregated, 761 super aggregated configuration, 793 tagged ethernet, 567, 742 types, 736 untagged ethernet, 739, 742, 782, 783, 811 uplink-switch ethernet, 784 viewing reassigned VLAN IDs, 765 virtual routing interfaces (Layer 2 only), 763 vlan by port, 742, 767 vsrp-aware vrid, 645 vsrp-aware vrid no-auth, 645 vsrp-aware vrid tc-vlan-flush, 651 webauth, 1883 VLAN group add-vlan, 789 configuring, 788 displaying, 790, 791 group-router-interface, 791 remove-vlan, 789 VLAN port, dual-mode, 814 VLAN-based mirroring, 932, 934 VLAN-based static MAC address configuration, 561, 562 Voice over IP (VoIP) configuration, 60 voltage selection during bootup (PoE), 664 voltage selection when a PoE power supply is intalled, 664 voltage selection when a PoE power supply is removed, 665 VRID activate, 643 advertise backup, 648, 1670 backup, 643, 1668, 1671, 1694 backup priority, 647 backup track-priority, 650 backup-hello-interval, 649, 1670 changing the backup hello state and interval setting,
52
648 changing the dead interval setting, 648 changing the default track priority setting, 649 changing the hello interval setting, 647 changing the hold-down interval setting, 649 configuring a VRID IP address, 646 dead-interval, 648 disabling or re-enabling backup pre-emption setting, 650 enable | disable, 643 hello-interval, 648, 1669 hold-down-interval, 649 include-port-ethernet, 646 initial-ttl, 648 ip vrrp vrid, 1694 ip-address, 646 non-preempt-mode, 650, 1672 owner, 1668, 1671, 1694 owner priority | track-priority, 1677 removing a port from the VRID VLAN, 646 restart-ports, 655 save-current-values, 647 specifying a track port setting, 650 track-port ethernet, 650, 1671 vsrp vrid, 643 VRRP-E authentication types, 1665 configuration examples, 1694 configuring IPv4, 1662 configuring IPv6, 1663 parameter configuration, 1662 parameters, 1654 server virtualization, 1674 short-path forwarding, 1674 slow start timer configuration, 1673 Syslog messages for authentication, 1666 VSRP and MRP signaling, 656 VSRP-aware interoperablilty, 651
W
web authentication automatic authentication, 1892 changing the login mode (HTTPS or HTTP), 1893 clearing hosts from the table, 1895 configuration considerations, 1880 configuration tasks, 1882 configuring the re-authentication period, 1895 customizing pages, 1904 defining the redirect address, 1898 defining the web authentication cycle, 1895 deleting a VLAN, 1898 displaying information, 1907 displaying passcodes, 1912 enabling and disabling, 1883 enabling RADIUS accounting, 1893 filtering DNS queries, 1897 forcing re-authentication when ports are down, 1897 limiting the number of web authentication attempts, 1895 mode configuration, 1884 mode configuration using a RADIUS server, 1886 mode configuration using local user databases, 1884 overview, 1879 passcodes for user authentication, 1888 specifying hosts that are permanently authenticated, 1894 specifying trusted ports, 1893 web management restricting access, 369 Webauth accounting, 1893 add mac, 1894 add mac duration | ethernet duration, 1894 attempt-max-num, 1895 authenticated-mac-age-time, 1898 auth-mode none, 1892 auth-mode passcode, 1889 auth-mode passcode flush-expired, 1891 auth-mode passcode generate, 1892 auth-mode passcode grace-period, 1891 auth-mode passcode length, 1889 auth-mode passcode log syslog | snmp-trap, 1891 auth-mode passcode refresh-type duration, 1890 auth-mode passcode refresh-type time, 1890 auth-mode passcode refresh-type time delete-all, 1890 auth-mode passcode resend-log, 1892 auth-mode passcode static, 1888 auth-mode username-password auth-methods, 1887 auth-mode username-password auth-methods local,
53
1887 auth-mode username-password auth-methods radius, 1887 auth-mode username-password local-user-database, 1888 block duration, 1896 block mac, 1896 block mac duration, 1896 cycle time, 1895 dns-filter, 1897 enable, 1883 host-max-num, 1897 port-down-auth-mac-cleanup, 1897 reauth-time, 1895 secure-login, 1893 trust-port ethernet, 1894 webauth-redirect-address, 1898 webpage custom-text bottom, 1907 webpage custom-text login-button, 1907 webpage custom-text title, 1905 webpage custom-text top, 1906 webpage logo align center | left | right, 1906 webpage logo copy tftp, 1905 webpage terms copy tftp, 1906
X
XON and XOFF changing thresholds, 51 thresholds, 50
Z
zero-based IP subnet broadcasts, 982
54