set routing route-map match source-protocol
The set routing route-map match source-protocol command matches the source routing protocol value of the route with the value configured in the match clause.
The delete routing route-map match source-protocol command restores the default behavior of not matching the source routing protocol value of the route.
Command Syntax
set routing route-map <route-map-name> order <NUMBER> match source-protocol <bgp|connected|kernel|ospf|ospf6|static|system>
delete routing route-map <route-map-name> order <NUMBER> match source-protocol <bgp|connected|kernel|ospf|ospf6|static|system>
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. |
source-protocol <bgp|connected|kernel|ospf|ospf6|static|system> | Specifies the bgp, connected, ospf, kernel, system or static value to be matched with the route entry source protocol. |
Example
- Configure a match clause in the route map to match the source routing protocol value:
admin@Xorplus# set routing route-map GlobalMap order 10 match source-protocol bgp admin@Xorplus# set routing route-map GlobalMap order 10 matching-policy permit admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.