BigIron RX Series Configuration Guide 57553-1002253-01Configuring a PBR policy 22NOTETo specify the host name instead of the IP address, the host name must be configured using theBrocade device’s DNS resolver. To configure the DNS resolver name, use the ip dns server-address…command at the global CONFIG level of the CLI.The parameter specifies the mask value to compare against the host address specifiedby the parameter. The is a four-part value in dotted-decimal notation (IPaddress format) consisting of ones and zeros. Zeros in the mask mean the packet’s sourceaddress must match the . Ones mean any value matches. For example, the and values 209.157.22.26 0.0.0.255 mean that all hosts in the Class Csubnet 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 afterthe IP address, then enter the number of significant bits in the mask. For example, you can enterthe CIDR equivalent of “209.157.22.26 0.0.0.255” as “209.157.22.26/24”. The CLI automaticallyconverts the CIDR number into the appropriate ACL mask (where zeros instead of ones are thesignificant 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 thestartup-config file, the value appears as 209.157.22.0/24 (if you have enabled display of subnetlengths) 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 filein “/” format. To enable the software to display the CIDR masks, enter the ipshow-subnet-length command at the global CONFIG level of the CLI. You can use the CIDR formatto configure the ACL entry regardless of whether the software is configured to display the masks inCIDR format.NOTEIf you use the CIDR format, the ACL entries appear in this format in the running-config andstartup-config files, but are shown with subnet mask in the display produced by the show ipaccess-list command.The host | parameter lets you specify a host IP address or name. Whenyou use this parameter, you do not need to specify the mask. A mask of all zeros (0.0.0.0) isimplied.The any parameter configures the policy to match on all host addresses.NOTEDo not use the log option in ACLs that will be used for PBR.Configure the route mapAfter you configure the ACLs, you can configure a PBR route map that matches based on the ACLsand sets routing information in the IP traffic.NOTEThe match and set statements described in this section are the only route-map statementssupported for PBR. Other route-map statements described in the documentation apply only to theprotocols with which they are described.To configure a PBR route map, enter commands such as the following.