IPI-ROUTEMAP
Configure action
Use this attribute to enter the route-map mode and to permit or deny match/set operations.If deny is specified, and the match criteria are met, the route is not redistributed, and any other route maps with the same map tag are not examined.If permit is specified, and the match criteria are met, the route is redistributed as specified by the set actions. If the match criteria are not met, the next route map with the same tag is tested.
Attribute Name: action
Attribute Type: enum (permit|deny)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<action>permit</action>
</routemap>
</routemaps>
Command Syntax
route-map WORD ((permit|deny)|) (<1-65535>|)
Configure continue to next sequence
The continue clause provides the capability to execute additional entries in a route map after an entry is executed with a successful match and set clauses Example the continue command allows multiple entries to be evaluated within a single route-map.
Attribute Name: continue-to-next-sequence
Attribute Type: empty
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<continue-on-match>
<config>
</continue-to-next-sequence><!-- operation="delete"-->
</config>
</continue-on-match>
</routemap>
</routemaps>
Command Syntax
continue
Configure next sequence number
Continue commands can be assigned optional sequence numbers that indicate the order in which clauses are to be evaluated.
Attribute Name: next-sequence-number
Attribute Type: uint32
Attribute Range: 2-65535
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<continue-on-match>
<config>
<next-sequence-number>2</next-sequence-number> <!-- operation="delete"-->
</config>
</continue-on-match>
</routemap>
</routemaps>
Command Syntax
continue <2-65535>
Configure interface name
Use this attribute to define the interface match criterion. This command specifies the next-hop interface name of a route to be matched
Attribute Name: interface-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<interface-name>IFNAME</interface-name> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match interface IFNAME
Configure metric
Use this attribute to match a metric of a route. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
Attribute Name: metric
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<metric>1</metric> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match metric <1-4294967295>
Configure vlan id
use this attribute to set match entry traffic based on a VLAN
Attribute Name: vlan-id
Attribute Type: string
Attribute Range: 1-4094
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<vlan-id>VLAN</vlan-id> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match vlan VLAN
Configure mac access list name
use this attribute to set the match entry for mac-access list
Attribute Name: mac-access-list-name
Attribute Type: string
Attribute Range: 1-63
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<mac-access-list-name>WORD</mac-access-list-name> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match mac-list WORD
Configure tag
Use this command to set a tag value. The parameter is the route tag that is labeled by another routing protocol (BGP or other IGP when redistributing), because AS-external-LSA has a route-tag field in its LSAs. In addition, when using route-map, OcNOS can tag the LSAs with the appropriate tag value. Sometimes the tag matches with using route-map and sometimes, the value may be used by another application.
Attribute Name: tag
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<tag>1</tag> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match tag <1-4294967295>
Configure route type
Use this attribute to match an external route type. AS-external LSA is either Type-1 or Type-2. External type-1 matches only Type 1 external routes and external type-2 matches only Type 2 external routes.
Attribute Name: route-type
Attribute Type: enum (type-1|type-2)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<route-type>type-1</route-type> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match route-type external (type-1|type-2)
Configure as path name
Use this command to match an autonomous system path access list. This command specifies the autonomous system path to be matched. If there is a match for the specified AS path, and permit is specified, the route is redistributed or controlled, as specified by the set action. If the match criteria are met, and deny is specified, the route is not redistributed or controlled. If the match criteria are not met then the route is neither accepted nor forwarded,irrespective of permit or deny specifications.The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes, depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
Attribute Name: as-path-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<as-path-name>WORD</as-path-name> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match as-path WORD
Configure route origin
Use this attribute to match origin code.The origin attribute defines the origin of the path information. The egp parameter is indicated as an e in the routing table, and it indicates that the origin of the information is learned via EGP (Exterior Gateway Protocol). The igp parameter is indicated as an i in the routing table, and it indicates the origin of the path information is interior to the originating AS. The incomplete parameter is indicated as a ? in the routing table, and indicates that the origin of the path information is unknown or learned through other means. If a static route is redistributed into BGP, the origin of the route is incomplete.This command specifies the origin to be matched. If there is a match for the specified origin, and permit is specified when you created the route-map, the route is redistributed or controlled as specified by the set action. If the match criteria are met, and deny is specified, the route is not redistributed or controlled. If the match criteria are not met, the route is neither accepted nor forwarded, irrespective of permit or deny specifications. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables
Attribute Name: route-origin
Attribute Type: enum (egp|igp|incomplete)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<config>
<route-origin>egp</route-origin> <!-- operation="delete"-->
</config>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match origin (egp|igp|incomplete)
Configure packet max length
use this attribute to set match community maximum length
This command is supported when following feature are enabled PBR feature
Attribute Name: packet-max-length
Attribute Type: uint16
Attribute Range: 0-65535
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<route-filter>
<packet-length-constraints> <!-- operation="delete"-->
<packet-max-length>0</packet-max-length>
<config>
<packet-max-length>0</packet-max-length>
<packet-min-length>0</packet-min-length>
</config>
<packet-min-length>0</packet-min-length>
</packet-length-constraints>
</route-filter>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match length <0-65535> <0-65535>
Configure community identifier
Use this attribute to specify the community to be matched.Communities are used to group and filter routes. They are designed to provide the ability to apply policies to large numbers of routes by using match and set commands.Community lists are used to identify and filter routes by their common attributes. This command allows the matching based on community lists.The values set by the match community command overrides the global values. The route that does not match at least one match clause is ignored.
Attribute Name: community-identifier
Attribute Type: union
Attribute Name: match-type
Attribute Type: enum (no-exact-match|exact-match)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<communities>
<community> <!-- operation="delete"-->
<community-identifier>RMAP_COMMUNITY_STRING_T</community-identifier>
<config>
<community-identifier>RMAP_COMMUNITY_STRING_T</community-identifier>
<match-type>no-exact-match</match-type>
</config>
</community>
</communities>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match community (WORD|<1-99>|<100-500>) ((exact-match)|)
Configure extended community identifier
Use this attribute to match BGP external community list.Communities are used to group and filter routes. They are designed to provide the ability to apply policies to large numbers of routes by using match and set commands. Community lists are used to identify and filter routes by their common attributes. This command allows the matching based on community lists. The values set by this command overrides the global values. The route that does not match at least one match clause is ignored
Attribute Name: extended-community-identifier
Attribute Type: union
Attribute Name: match-type
Attribute Type: enum (no-exact-match|exact-match)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<extended-communities>
<extended-community> <!-- operation="delete"-->
<extended-community-identifier>RMAP_COMMUNITY_STRING_T</extended-community-identifier>
<config>
<extended-community-identifier>RMAP_COMMUNITY_STRING_T</extended-community-identifier>
<match-type>no-exact-match</match-type>
</config>
</extended-community>
</extended-communities>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match extcommunity (WORD|<1-99>|<100-500>) ((exact-match)|)
Configure match type
Do exact matching of communities
Attribute Name: match-type
Attribute Type: enum (no-exact-match|exact-match)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<extended-communities>
<extended-community>
<extended-community-identifier>RMAP_COMMUNITY_STRING_T</extended-community-identifier>
<config>
<extended-community-identifier>RMAP_COMMUNITY_STRING_T</extended-community-identifier>
</config>
<match-type>0</match-type> <!-- operation="delete"-->
</extended-community>
</extended-communities>
</match-condition>
</routemap>
</routemaps>
Command Syntax
no match extcommunity exact-match
Configure ip access list name
Use this attribute to specify the match address of route. If there is a match for the specified IP address, and permit is specified, the route is redistributed or controlled, as specified by the set action. If the match criteria are met, and deny is specified then the route is not redistributed or controlled. If the match criteria are not met, the route is neither accepted nor forwarded, irrespective of permit or deny specifications.The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes, depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
Attribute Name: ip-access-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv4>
<config>
<ip-access-list-name>WORD</ip-access-list-name> <!-- operation="delete"-->
</config>
</ipv4>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ip address WORD
Configure ip prefix list name
Use this attribute to match entries of a prefix-list. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
Attribute Name: ip-prefix-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv4>
<config>
<ip-prefix-list-name>WORD</ip-prefix-list-name> <!-- operation="delete"-->
</config>
</ipv4>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ip address prefix-list WORD
Configure peer access list name
Use this attribute to specify the match peer IPv4 address of a route.
Attribute Name: peer-access-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv4>
<config>
<peer-access-list-name>WORD</peer-access-list-name> <!-- operation="delete"-->
</config>
</ipv4>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ip peer WORD
Configure next hop prefix list name
Use this attribute to specify the next-hop IP address match criterion using the prefix-list. This command matches the next-hop IP address of a route.
Attribute Name: next-hop-prefix-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv4>
<config>
<next-hop-prefix-list-name>WORD</next-hop-prefix-list-name> <!-- operation="delete"-->
</config>
</ipv4>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ip next-hop prefix-list WORD
Configure next hop access list name
Use this attribute to specify a next-hop address to be matched in a route-map. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
Attribute Name: next-hop-access-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv4>
<config>
<next-hop-access-list-name>WORD</next-hop-access-list-name> <!-- operation="delete"-->
</config>
</ipv4>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ip next-hop WORD
Configure ipv6 address access list name
Use this attribute to specify the match address of route. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables
This command is supported when following feature are enabled IPV6 feature
Attribute Name: ipv6-address-access-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv6>
<config>
<ipv6-address-access-list-name>WORD</ipv6-address-access-list-name> <!-- operation="delete"-->
</config>
</ipv6>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ipv6 address WORD
Configure ipv6 prefix list name
Use this attribute to match entries of a prefix-list. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes, depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: ipv6-prefix-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv6>
<config>
<ipv6-prefix-list-name>WORD</ipv6-prefix-list-name> <!-- operation="delete"-->
</config>
</ipv6>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ipv6 address prefix-list WORD
Configure routemap name
Use this attribute to specify the match peer IPv6 address of a route.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: peer-access-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv6>
<config>
<peer-access-list-name>WORD</peer-access-list-name> <!-- operation="delete"-->
</config>
</ipv6>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ipv6 peer WORD
Configure sequence id
Use this attribute to match entries of a prefix-list. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: next-hop-prefix-list-name
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv6>
<config>
<next-hop-prefix-list-name>WORD</next-hop-prefix-list-name> <!-- operation="delete"-->
</config>
</ipv6>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ipv6 next-hop prefix-list WORD
Configure next hop match string
Use this attribute to specify the next-hop address to be matched. The route specified by the policies might not be the same as specified by the routing protocols. Setting policies enable packets to take different routes depending on their length or content. Packet forwarding based on configured policies overrides packet forwarding specified in routing tables.
This command is supported when following feature are enabled IPV6 feature
Attribute Name: next-hop-match-string
Attribute Type: union
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<ipv6>
<config>
<next-hop-match-string>RMAP_IPV6_NEXTHOP_T</next-hop-match-string>
</config>
</ipv6>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match ipv6 next-hop (WORD|X:X::X:X)
Configure large community number match
Use this attributes to set the communities attribute. and group destinations in a certain community, as well as apply routing decisions according to those communities.
Attribute Name: large-community-number-match
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<match-condition>
<large-match-community>
<config>
<large-community-number-match>XXX:YYYY:ZZZ</large-community-number-match> <!-- operation="delete"-->
</config>
</large-match-community>
</match-condition>
</routemap>
</routemaps>
Command Syntax
match large-community [XXX:YYYY:ZZZ]
Configure metric value
Use this command to set a metric value for a route and influence external neighbors about the preferred path into an Autonomous System (AS). The preferred path is the one with a lower metric value. A router compares metrics for paths from neighbors in the same ASs. To compare metrics from neighbors coming from different ASs, use the bgp always-compare-med command.To use this command, you must first have a match clause. Match and set commands set the conditions for redistributing routes from one routing protocol to another. The match command specifies the match criteria under which redistribution is allowed for the current route-map. The set command specifies the set redistribution actions to be performed, if the match criteria are met.If the packets do not match any of the defined criteria, they are routed through the normal routing process.
Attribute Name: metric-value
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<metric-value>WORD</metric-value> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set metric WORD
Configure forward interface type
Use this attributes to discard routes based on policy/rules configured for a route map.Route maps can be applied to BGP neighbors. When this command is given for a route map and that route map is applied to a BGP neighbor, the discard route entries are added by BGP for the prefix permitted by the route map.
Attribute Name: forward-interface-type
Attribute Type: enum (null0|tunnel-te)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<forward-interface-type>null0</forward-interface-type> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set interface (null0|tunnel-te)
Configure route tag
Use this attribute to set a tag value. The parameter is the route tag that is labeled by another routing protocol (BGP or other IGP when redistributing), because AS-external-LSA has a route-tag field in its LSAs. In addition, when using route-map, OcNOS can tag the LSAs with the appropriate tag value. Sometimes the tag matches with using route-map, and sometimes, the value may be used by another application.
Attribute Name: route-tag
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<route-tag>1</route-tag> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set tag <1-4294967295>
Configure weight
Use this attribute to set weights for the routing table. The weight value is used to assist in best path selection. It is assigned locally to a router. When there are several routes with a common destination, the routes with a higher weight value are preferred. To use this command, you must first have a match clause. Match and set commands set the conditions for redistributing routes from one routing protocol to another. The match command specifies the match criteria under which redistribution is allowed for the current route-map. The set command specifies the set redistribution actions to be performed, if the match criteria are met.
Attribute Name: weight
Attribute Type: uint32
Attribute Range: 0-4294967295
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<weight>0</weight> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set weight <0-4294967295>
Configure local preference
Use this attribute to set the BGP local preference path attribute
Attribute Name: local-preference
Attribute Type: uint32
Attribute Range: 0-4294967295
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<local-preference>0</local-preference> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set local-preference <0-4294967295>
Configure route origin type
Use this command to set the BGP origin code. The origin attribute defines the origin of the path information. To use this command, you must first have a match clause. Match and set commands set the conditions for redistributing routes from one routing protocol to another. The match command specifies the match criteria under which redistribution is allowed for the current route-map. The set command specifies the set redistribution actions to be performed, if the match criteria are met.If the packets do not match any of the defined criteria, they are routed through the normal routing process.
Attribute Name: route-origin-type
Attribute Type: enum (egp|igp|incomplete)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<route-origin-type>egp</route-origin-type> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set origin (egp|igp|incomplete)
Configure metric type
Use this command to set the metric type for the destination routing protocol. Select a type to be either Type-1 or Type2 in the AS-external-LSA when the route-map matches the condition.
Attribute Name: metric-type
Attribute Type: enum (type-1|type-2|internal|external)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<metric-type>type-1</metric-type> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set metric-type (type-1|type-2|internal|external)
Configure aigp metric
Use this command to set the AIGP metric for BGP protocol routes.
Attribute Name: aigp-metric
Attribute Type: union
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<aigp-metric>igp-metric</aigp-metric> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set aigp-metric (igp-metric|<1-4294967295>)
Configure level type
Use this attribute to set the IS-IS level to export a route.
Attribute Name: level-type
Attribute Type: enum (level-1|level-2|level-1-2)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<level-type>level-1</level-type> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set level (level-1|level-2|level-1-2)
Configure enable as path tag
Use this command to modify an autonomous system path for a route. By specifying the length of the AS-Path, the router influences the best path selection by a neighbor
Attribute Name: enable-as-path-tag
Attribute Type: empty
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
</enable-as-path-tag><!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set as-path tag
Configure atomic aggregate
Use this attribute to set an atomic aggregate attribute.To use this command, you must first have a match clause. Match and set commands set the conditions for redistributing routes from one routing protocol to another. The match command specifies the match criteria under which redistribution is allowed for the current route-map. The set command specifies the set redistribution actions to be performed, if the match criteria are met.If the packets do not match any of the defined criteria, they are routed through the normal routing process.
Attribute Name: atomic-aggregate
Attribute Type: empty
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
</atomic-aggregate><!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set atomic-aggregate
Configure delete community value
Use this attribute to delete the matched communities from the community attribute of an inbound or outbound update when applying route-map.
Attribute Name: delete-community-value
Attribute Type: union
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<delete-community-value>RMAP_COMMUNITY_STRING_T</delete-community-value>
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set comm-list (WORD|<1-99>|<100-500>) delete
Configure bgp originator id
Use this command to set the originator ID attribute. To use this command, you must first have a match clause. Match and set commands set the conditions for redistributing routes from one routing protocol to another. The match command specifies the match criteria under which redistribution is allowed for the current route-map. The set command specifies the set redistribution actions to be performed, if the match criteria are met.If the packets do not match any of the defined criteria, they are routed through the normal routing process
Attribute Name: bgp-originator-id
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<bgp-originator-id>A.B.C.D</bgp-originator-id> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set originator-id A.B.C.D
Configure as path prepend
Use this attributes to modify an autonomous system path for a route. By specifying the length of the AS-Path, the router influences the best path selection by a neighbor.Use this command to prepend an AS path string to routes increasing the AS path length.To use this command, you must first give the match and set commands configure the conditions for redistributing routes from one routing protocol to another: 1. The match command specifies the match criteria under which redistribution is allowed for the current route-map. 2.The set command specifies the set redistribution actions to be performed if the match criteria are met.If the packets do not match any of the defined criteria, they are routed through the normal routing process.
Attribute Name: as-path-prepend
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<as-path-prepend>1</as-path-prepend> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set as-path prepend .<1-4294967295>
Configure ext community site of origin
Use this attribute to set an extended community attribute as Site-of-origin extended community.
Attribute Name: ext-community-site-of-origin
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<ext-community-site-of-origin>AA:NN</ext-community-site-of-origin> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set extcommunity soo .AA:NN
Configure ext community color
Use this attribute to set an extended community attribute color value
Attribute Name: ext-community-color
Attribute Type: uint32
Attribute Range: 1-4294967295
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<config>
<ext-community-color>1</ext-community-color> <!-- operation="delete"-->
</config>
</set-action>
</routemap>
</routemaps>
Command Syntax
set extcommunity color <1-4294967295>
Configure ip nexthop address
Use this attribute to set the specified next-hop value.
Attribute Name: ip-nexthop-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<ipv4>
<config>
<ip-nexthop-address>A.B.C.D</ip-nexthop-address> <!-- operation="delete"-->
</config>
</ipv4>
</set-action>
</routemap>
</routemaps>
Command Syntax
set ip next-hop A.B.C.D
Configure use peer address
Use this attribute to set the next hop value as BGP peer-address
Attribute Name: use-peer-address
Attribute Type: empty
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<ipv4>
<config>
</use-peer-address><!-- operation="delete"-->
</config>
</ipv4>
</set-action>
</routemap>
</routemaps>
Command Syntax
set ip next-hop peer-address
Configure default nexthop address
Use this attribute to set the default next hop value
Attribute Name: default-nexthop-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<ipv4>
<config>
<default-nexthop-address>A.B.C.D</default-nexthop-address> <!-- operation="delete"-->
</config>
</ipv4>
</set-action>
</routemap>
</routemaps>
Command Syntax
set ip default next-hop A.B.C.D
Configure vpnv4 nexthop address
Use this command to set a VPNv4 next-hop address. To use this command, you must first have a match clause. Match and set commands set the conditions for redistributing routes from one routing protocol to another. The match command specifies the match criteria under which redistribution is allowed for the current route-map. The set command specifies the set redistribution actions to be performed, if the match criteria are met. If the packets do not match any of the defined criteria, they are routed through the normal routing process.
Attribute Name: vpnv4-nexthop-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<ipv4>
<config>
<vpnv4-nexthop-address>A.B.C.D</vpnv4-nexthop-address> <!-- operation="delete"-->
</config>
</ipv4>
</set-action>
</routemap>
</routemaps>
Command Syntax
set vpnv4 next-hop A.B.C.D
Configure ipv6 nexthop address
Use this attribute to set a next hop-address.
Attribute Name: ipv6-nexthop-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<ipv6>
<config>
<ipv6-nexthop-address>X:X::X:X</ipv6-nexthop-address> <!-- operation="delete"-->
</config>
</ipv6>
</set-action>
</routemap>
</routemaps>
Command Syntax
set ipv6 next-hop X:X::X:X
Configure default ipv6 nexthop address
Use this attribute to set the default ipv6 next hop-address
Attribute Name: default-ipv6-nexthop-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<ipv6>
<config>
<default-ipv6-nexthop-address>X:X::X:X</default-ipv6-nexthop-address> <!-- operation="delete"-->
</config>
</ipv6>
</set-action>
</routemap>
</routemaps>
Command Syntax
set ipv6 default next-hop X:X::X:X
Configure local ipv6 nexthop address
Use this attribute to set Local IPv6 address as next hop-address
Attribute Name: local-ipv6-nexthop-address
Attribute Type: inet:ipv6-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<ipv6>
<config>
<local-ipv6-nexthop-address>X:X::X:X</local-ipv6-nexthop-address> <!-- operation="delete"-->
</config>
</ipv6>
</set-action>
</routemap>
</routemaps>
Command Syntax
set ipv6 next-hop local X:X::X:X
Configure aggregator ip address
IP address of aggregator.
Attribute Name: aggregator-ip-address
Attribute Type: inet:ipv4-address
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<bgp-aggregator-attribute> <!-- operation="delete"-->
<aggregator-ip-address>A.B.C.D</aggregator-ip-address>
<config>
<aggregator-ip-address>A.B.C.D</aggregator-ip-address>
<as-number>1</as-number>
</config>
<as-number>1</as-number>
</bgp-aggregator-attribute>
</set-action>
</routemap>
</routemaps>
Command Syntax
set aggregator as <1-4294967295> A.B.C.D
Configure ext community rt
use this attribute to set an Route target extended community
Attribute Name: ext-community-rt
Attribute Type: string
Attribute Name: additive-type
Attribute Type: enum (no-additive|additive)
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<extended-community>
<route-target> <!-- operation="delete"-->
<ext-community-rt>AA:NN</ext-community-rt>
<config>
<ext-community-rt>AA:NN</ext-community-rt>
<additive-type>no-additive</additive-type>
</config>
</route-target>
</extended-community>
</set-action>
</routemap>
</routemaps>
Command Syntax
set extcommunity rt .AA:NN ((additive)|)
Configure cost value
use this attribute to set Extended community cost value
Attribute Name: cost-value
Attribute Type: uint32
Attribute Range: 0-4294967295
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<extended-community>
<cost> <!-- operation="delete"-->
<cost-value>0</cost-value>
<config>
<cost-value>0</cost-value>
<community-id>0</community-id>
<comparison-type>no-comparision</comparison-type>
</config>
<community-id>0</community-id>
<comparison-type>no-comparision</comparison-type>
</cost>
</extended-community>
</set-action>
</routemap>
</routemaps>
Command Syntax
set extcommunity cost (igp|pre-bestpath|) <0-255> <0-4294967295>
Configure max suppress time limit
Maximum duration to suppress a stable route in minutes.
Attribute Name: max-suppress-time-limit
Attribute Type: uint8
Default Value: 60
Attribute Range: 1-255
Attribute Name: enable-dampening
Attribute Type: empty
Attribute Name: reachability-half-life-time
Attribute Type: uint8
Default Value: 15
Attribute Range: 1-45
Attribute Name: reuse-time-limit
Attribute Type: uint16
Default Value: 750
Attribute Range: 1-20000
Attribute Name: suppress-time-limit
Attribute Type: uint16
Default Value: 2000
Attribute Range: 1-20000
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<dampening>
<config>
</enable-dampening><!-- operation="delete"-->
<reachability-half-life-time>1</reachability-half-life-time> <!-- operation="delete"-->
<reuse-time-limit>1</reuse-time-limit> <!-- operation="delete"-->
<suppress-time-limit>1</suppress-time-limit> <!-- operation="delete"-->
<max-suppress-time-limit>1</max-suppress-time-limit> <!-- operation="delete"-->
</config>
</dampening>
</set-action>
</routemap>
</routemaps>
Command Syntax
set dampening <1-45> <1-20000> <1-20000> <1-255>
Configure unreachability half life time
Un-reachability half-life time for the penalty in minutes.
Attribute Name: unreachability-half-life-time
Attribute Type: uint8
Default Value: 15
Attribute Range: 1-45
Attribute Name: enable-dampening
Attribute Type: empty
Attribute Name: reachability-half-life-time
Attribute Type: uint8
Default Value: 15
Attribute Range: 1-45
Attribute Name: reuse-time-limit
Attribute Type: uint16
Default Value: 750
Attribute Range: 1-20000
Attribute Name: suppress-time-limit
Attribute Type: uint16
Default Value: 2000
Attribute Range: 1-20000
Attribute Name: max-suppress-time-limit
Attribute Type: uint8
Default Value: 60
Attribute Range: 1-255
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<dampening>
<config>
</enable-dampening><!-- operation="delete"-->
<reachability-half-life-time>1</reachability-half-life-time> <!-- operation="delete"-->
<reuse-time-limit>1</reuse-time-limit> <!-- operation="delete"-->
<suppress-time-limit>1</suppress-time-limit> <!-- operation="delete"-->
<max-suppress-time-limit>1</max-suppress-time-limit> <!-- operation="delete"-->
<unreachability-half-life-time>1</unreachability-half-life-time> <!-- operation="delete"-->
</config>
</dampening>
</set-action>
</routemap>
</routemaps>
Command Syntax
set dampening <1-45> <1-20000> <1-20000> <1-255> <1-45>
Configure enable dampening
Use this attribute to enable route dampening and set various parameters. Route dampening minimizes the instability caused by route flapping. A penalty is added for every flap in a flapping route. As soon as the total penalty reaches the suppress limit the advertisement of the route is suppressed. This penalty is decayed according to the configured half time value. Once the penalty is lower than the reuse limit, the route advertisement is unsuppressed. The dampening information is purged from the router once the penalty becomes less than half of the reuse limit.Reachability half-life time for the penalty in minutes. The time for the penalty to decrease to one-half of its current value.
Attribute Name: enable-dampening
Attribute Type: empty
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<dampening>
<config>
</enable-dampening>
</config>
</dampening>
</set-action>
</routemap>
</routemaps>
Command Syntax
set dampening
Configure community with as number
Autonomous system (AS) number and network number entered in the 4-byte new community format. This value is configured with two 2-byte numbers separated by a colon. A number from 1 to 65535 can be entered as each 2-byte number. A single community can be entered or multiple communities can be entered, each separated by a space.
Attribute Name: community-with-as-number
Attribute Type: string
Attribute Name: additive-set
Attribute Type: empty
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<communities>
<config>
</additive-set><!-- operation="delete"-->
<community-with-as-number>AA:NN</community-with-as-number> <!-- operation="delete"-->
</config>
</communities>
</set-action>
</routemap>
</routemaps>
Command Syntax
set community-additive .AA:NN
Configure large community number set
Use this attributes to set the communities attribute. and group destinations in a certain community, as well as apply routing decisions according to those communities.
Attribute Name: large-community-number-set
Attribute Type: string
Netconf edit-config payload
<routemaps xmlns="http://www.ipinfusion.com/yang/ocnos/ipi-routemap">
<routemap>
<sequence-id>1</sequence-id>
<config>
<sequence-id>1</sequence-id>
<routemap-name>WORD</routemap-name>
</config>
<routemap-name>WORD</routemap-name>
<set-action>
<large-community>
<config>
<large-community-number-set>XXX:YYYY:ZZZ</large-community-number-set> <!-- operation="delete"-->
</config>
</large-community>
</set-action>
</routemap>
</routemaps>
Command Syntax
set large-community [XXX:YYYY:ZZZ]