Arista adding multiple route-map match interfaces?



As an IT administrator, it is important to understand how to configure route maps on Arista devices. Route maps are used to control traffic and filter out unwanted traffic. This article will explain how to add multiple route map matches to an interface on an Arista device.

A route map is a set of instructions used to control traffic, filter out unwanted traffic, and modify routing information. A route map consists of a sequence of match criteria and set actions. When a packet is received, the Arista device evaluates the sequence of match criteria until it finds one that matches the packet. The packet is then evaluated against the set action associated with that match criteria.

The first step in adding multiple route map matches to an interface on an Arista device is to create the route map. This can be done using the “route-map” command. The syntax of the command is as follows:

route-map [permit | deny ]

The map-name is an arbitrary name used to identify the route map. The permit or deny keyword specifies whether the route map should accept or reject packets that match the criteria. The sequence-number is an integer that indicates the order in which the match criteria should be evaluated.

Once the route map has been created, the next step is to add match criteria to it. This can be done using the “match” command. The syntax of the command is as follows:

match

The criteria can be any of the following: source-ip, destination-ip, source-port, destination-port, protocol, or any other criteria supported by the Arista device.

Once the match criteria have been added, the next step is to configure the set action. This can be done using the “set” command. The syntax of the command is as follows:

set

The action can be any of the following: next-hop, community, or any other action supported by the Arista device. The value is the value associated with the action.

Once the route map has been configured, the next step is to apply it to an interface. This can be done using the “ip policy” command. The syntax of the command is as follows:

ip policy

The map-name is the name of the route map that was created earlier.

Once the route map has been applied to an interface, it will be used to filter traffic received on that interface. Any packet that matches the match criteria will be evaluated against the set action associated with it. If the packet meets the criteria, it will be allowed to pass through the interface.

In summary, adding multiple route map matches to an interface on an Arista device is a relatively straightforward process. It involves creating the route map, adding the match criteria, configuring the set action, and applying the route map to the interface. Once the route map is applied, it will be used to filter traffic received on that interface.

Inquire Now

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Find your next full or part-time role here

ScaleDesk can either help you find your next full time gig or a part time side gig where you can create extra income!

Onboard with us once
Skip HR screening and go to the final interview with with only your resume and a video interview you never have to redo
Get paid electronically every month for the hours you work
We will be your reference even if you work for us once

IT Teams: Use ScaleDesk to augment your team

Schedule Demo