efa policy route-map-set create

Create route map set.

Syntax

efa policy route-map-set create [ --name string | --rule string | --set-community string | --set-extcommunity-rt string | --set-extcommunity-soo string | --set-communitylist-delete string | --set-large-community string | --set-large-communitylist-delete string |

Parameters

--name string
Specifies the name of the route map.
--rule string
Rule in format seq[seq-num],action[permit/deny].
--set-community string
In format [1-4294967295 | AA:NN, AA and NN is 2 bytes | internet | local-as | no-export | no-advertise]. Example: 6550:125,local-as,internet.
--set-extcommunity-rt string
In format [ASN:NN|IpAddress:NN, ASN and NN is 2 or 4 bytes]. Example: 2:300,12.12.13.33:24.
--set-ext-community-soo string
In format [ASN:NN|IpAddress:NN, ASN and NN is 2 or 4 bytes]. Example: 32:124.
--set-communitylist-delete string
Specifies the name of the community list to delete.
--set-large-community string
In format value[value: <NN:NN:NN | additive> NN is 4 bytes]. Example: 10:20:30,40:50:60,additive.
--set-large-communitylist-delete string
Specifies the name of the large community list to delete.

Examples

efa policy route-map-set create --name rmap1 --rule "seq[1],action[permit]" 
--set-largecommunitylist-delete 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 

efa policy route-map-set create --name rmap1 --rule "seq[1],action[permit]" 
--set-largecommunity 50:50:50,additive          
+----------------+---------+--------+ 
| 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