
Example of the
match
Command to Match All Specified Values
In the next example, there is a match
only
if a route has
both
of the specified characteristics. In this example, there a match only if
the route has a tag value of 1000
and
a metric value of 2000.
Also, if there are different instances of the same route-map, then it’s sufficient if a permit match happens in any instance of that
route-map.
Dell(conf)#route-map force permit 10
Dell(config-route-map)#match tag 1000
Dell(config-route-map)#match metric 2000
In the following example, instance 10 permits the route having a tag value of 1000 and instances 20 and 30 deny the route having a
tag value of 1000. In this scenario, Dell Networking OS scans all the instances of the route-map for any permit statement. If there is
a match anywhere, the route is permitted. However, other instances of the route-map deny it.
Example of the
match
Command to Permit and Deny Routes
Dell(conf)#route-map force permit 10
Dell(config-route-map)#match tag 1000
Dell(conf)#route-map force deny 20
Dell(config-route-map)#match tag 1000
Dell(conf)#route-map force deny 30
Dell(config-route-map)#match tag 1000
Configuring Match Routes
To configure match criterion for a route map, use the following commands.
•
Match routes with the same AS-PATH numbers.
CONFIG-ROUTE-MAP mode
match as-path
as-path-name
•
Match routes with COMMUNITY list attributes in their path.
CONFIG-ROUTE-MAP mode
match community
community-list-name
[exact]
•
Match routes whose next hop is a specific interface.
CONFIG-ROUTE-MAP mode
match interface
interface
The parameters are:
– For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet
then the slot/port[/subport] information.
– For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
then the slot/port information.
– For a Loopback interface, enter the keyword
loopback
then a number from 0 to 16383.
– For a port channel interface, enter the keywords
port-channel
then a number.
– For a VLAN interface, enter the keyword
vlan
then a number from 1 to 4094.
•
Match destination routes specified in a prefix list (IPv4).
CONFIG-ROUTE-MAP mode
match ip address
prefix-list-name
•
Match destination routes specified in a prefix list (IPv6).
CONFIG-ROUTE-MAP mode
match ipv6 address
prefix-list-name
116
Access Control Lists (ACLs)
Summary of Contents for S4048-ON
Page 1: ...Dell Configuration Guide for the S4048 ON System 9 9 0 0 ...
Page 146: ...Figure 14 BFD Three Way Handshake State Changes 146 Bidirectional Forwarding Detection BFD ...
Page 522: ...Figure 87 Configuring Interfaces for MSDP 522 Multicast Source Discovery Protocol MSDP ...
Page 523: ...Figure 88 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 523 ...
Page 528: ...Figure 91 MSDP Default Peer Scenario 1 528 Multicast Source Discovery Protocol MSDP ...
Page 529: ...Figure 92 MSDP Default Peer Scenario 2 Multicast Source Discovery Protocol MSDP 529 ...
Page 530: ...Figure 93 MSDP Default Peer Scenario 3 530 Multicast Source Discovery Protocol MSDP ...
Page 633: ...Policy based Routing PBR 633 ...
Page 777: ...Figure 119 Single and Double Tag TPID Match Service Provider Bridging 777 ...
Page 778: ...Figure 120 Single and Double Tag First byte TPID Match 778 Service Provider Bridging ...