Example of the
match
Command to Match Any of Several Values
The following example shows using the
match
command to match any of several values.
Dell(conf)#route-map force permit 10
Dell(config-route-map)#match tag 1000
Dell(config-route-map)#match tag 2000
Dell(config-route-map)#match tag 3000
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.
116
Access Control Lists (ACLs)
Содержание S4048T-ON
Страница 1: ...Dell Configuration Guide for the S4048 ON System 9 11 2 1 ...
Страница 148: ...Figure 10 BFD Three Way Handshake State Changes 148 Bidirectional Forwarding Detection BFD ...
Страница 251: ...Dell Control Plane Policing CoPP 251 ...
Страница 363: ... RPM Synchronization GARP VLAN Registration Protocol GVRP 363 ...
Страница 511: ...Figure 64 Inspecting the LAG Configuration Link Aggregation Control Protocol LACP 511 ...
Страница 512: ...Figure 65 Inspecting Configuration of LAG 10 on ALPHA 512 Link Aggregation Control Protocol LACP ...
Страница 515: ...Figure 67 Inspecting a LAG Port on BRAVO Using the show interface Command Link Aggregation Control Protocol LACP 515 ...
Страница 516: ...Figure 68 Inspecting LAG 10 Using the show interfaces port channel Command 516 Link Aggregation Control Protocol LACP ...
Страница 558: ...Figure 84 Configuring Interfaces for MSDP 558 Multicast Source Discovery Protocol MSDP ...
Страница 559: ...Figure 85 Configuring OSPF and BGP for MSDP Multicast Source Discovery Protocol MSDP 559 ...
Страница 560: ...Figure 86 Configuring PIM in Multiple Routing Domains 560 Multicast Source Discovery Protocol MSDP ...
Страница 564: ...Figure 88 MSDP Default Peer Scenario 2 564 Multicast Source Discovery Protocol MSDP ...
Страница 565: ...Figure 89 MSDP Default Peer Scenario 3 Multicast Source Discovery Protocol MSDP 565 ...
Страница 729: ...protocol spanning tree pvst no disable vlan 300 bridge priority 4096 Per VLAN Spanning Tree Plus PVST 729 ...
Страница 841: ...Figure 115 Single and Double Tag TPID Match Service Provider Bridging 841 ...
Страница 842: ...Figure 116 Single and Double Tag First byte TPID Match 842 Service Provider Bridging ...