Configure Route Map Match

You can configure a route map match.

About this task

Follow this procedure to configure a route map match.

Procedure

  1. Run the following command to create a route map match:
    efa policy route-map-match create

    Example:

    efa policy route-map-match create --name rmap1 --rule "seq[1],action[permit]" --match-largecommunity-list lgcomm1
    +----------------+---------+--------+
    | Route Map Name | Seq num | Action |
    +----------------+---------+--------+
    | rmap1          | 1       | permit |
    +----------------+---------+--------+
    Route Map details
    +---------------+---------+--------+-----------------+
    |  IP Address   | Result  | Reason | Rollback reason |
    +---------------+---------+--------+-----------------+
    | 10.139.44.159 | Success |        |                 |
    +---------------+---------+--------+-----------------+
    Device Results
  2. Verify the following configuration on SLX devices:
    SLX# show running-config route-map
    route-map rmap1 permit 1
      match large-community-list lgcomm1
  3. Run the following command to delete a route map match:
    efa policy route-map-match delete

    Example:

    efa policy route-map-match delete --name rmap1 --rule "seq[1],action[permit]" --match-largecommunity-list lgcomm1
    +----------------+---------+--------+
    | Route Map Name | Seq num | Action |
    +----------------+---------+--------+
    | rmap1          | 1       | permit |
    +----------------+---------+--------+
    Route Map details
    +---------------+---------+--------+-----------------+
    |  IP Address   | Result  | Reason | Rollback reason |
    +---------------+---------+--------+-----------------+
    | 10.139.44.159 | Success |        |                 |
    +---------------+---------+--------+-----------------+
    Device Results
  4. Verify the following configuration on SLX devices:
    SLX# show running-config route-map
    route-map rmap1 permit 1