set routing route-map match large-community


The set routing route-map match large-community command matches the BGP Large Community number attribute of the route with one, or more regular expressions in the community-list.
The delete routing route-map match large-community command restores the default behavior of not matching the  BGP Large Community number attribute of the route.

Command Syntax

set routing route-map <route-map-name> order <NUMBERmatch large-community <large-community-list>

delete routing route-map <route-map-name> order <NUMBER> match large-community <large-community-list>


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

order <NUMBER>

Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.

large-community <large-community-list>

Specifies the name of the  BGP Large Community list to match the community number attribute of the route.


Example

  •  Configure a match clause in the route map to match the BGP Large Community list:
admin@Xorplus# set routing large-community-list standard Largecom1 permit large-community 6215:22:33
admin@Xorplus# set routing route-map GlobalMap order 10 match large-community Largecom1
admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.