Dell FCX624-E Laptop User Manual


  Open as PDF
of 1494
 
1046 PowerConnect B-Series FCX Configuration Guide
53-1002266-01
Filtering
30
PowerConnect(config)#ip community-list 1 permit 123:2
PowerConnect(config)#route-map CommMap permit 1
PowerConnect(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 1040.
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.
PowerConnect(config)#route-map NetMap permit 1
PowerConnect(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 16, “Configuring Rule-Based IP Access Control
Lists (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 1041.
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.
PowerConnect(config)#route-map HopMap permit 1
PowerConnect(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 16, “Configuring Rule-Based IP Access Control Lists (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 1041.
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.
PowerConnect(config)#access-list 10 permit 192.168.6.0 0.0.0.255
PowerConnect(config)#route-map bgp1 permit 1
PowerConnect(config-routemap bgp1)#match ip route-source 10