No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - IP Routing 01

NE05E and NE08E V300R003C10SPC500

This is NE05E and NE08E V300R003C10SPC500 Configuration Guide - IP Routing
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Condition Clauses

Condition Clauses

Condition clauses follow if or elseif and are used as matching rules to filter routes.

NOTE:

The parameters in condition clauses can be specific values or global variables referenced using $+global variable name. The parameters in a route-filter with pre-defined variables can be those defined in this route-filter.

Global variables cannot be referenced by the route attribute sets in the format of {element A, element B...}.

Condition Clauses That Are Based on the Route Cost

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

med eq med

Matches the BGP routes with the specified med.

med: indicates an integer ranging from 0 to 4294967295.
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • ip import-rib vpn-instance vpn-instance-name protocol ospf

  • import-route(IS-IS)

  • default-route-advertise (IS-IS)

  • preference (IS-IS)

  • frr-policy route (IS-IS)

  • filter-policy export (IS-IS)

  • filter-policy import (IS-IS)

  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
med ge med

Matches the BGP routes with the MED greater than or equal to the specified med.

med: indicates an integer ranging from 0 to 4294967295.
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • ip import-rib vpn-instance vpn-instance-name protocol ospf

  • import-route(IS-IS)

  • default-route-advertise (IS-IS)

  • preference (IS-IS)

  • frr-policy route (IS-IS)

  • filter-policy export (IS-IS)

  • filter-policy import (IS-IS)

  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
med le med

Matches the BGP routes with the MED less than or equal to the specified med.

med: indicates an integer ranging from 0 to 4294967295.
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • ip import-rib vpn-instance vpn-instance-name protocol ospf

  • import-route(IS-IS)

  • default-route-advertise (IS-IS)

  • preference (IS-IS)

  • frr-policy route (IS-IS)

  • filter-policy export (IS-IS)

  • filter-policy import (IS-IS)

  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
{ isis-cost | rip-cost | ospf-cost } eq cost Matches the IS-IS/RIP/OSPF routes with the specified cost. cost: indicates an integer ranging from 0 to 4294967295.
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • preference (OSPF)
  • preference (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
  • frr-policy route (IS-IS)

  • import-route (IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • import-route (RIP)
  • default-route originate (RIP)
  • preference (RIPng)
  • import-route (RIPng)
{ isis-cost | rip-cost | ospf-cost } ge cost Matches the IS-IS/RIP/OSPF routes with the cost greater than or equal to the specified cost. cost: indicates an integer ranging from 0 to 4294967295.
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • preference (OSPF)
  • preference (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
  • frr-policy route (IS-IS)

  • import-route (IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • import-route (RIP)
  • default-route originate (RIP)
  • preference (RIPng)
  • import-route (RIPng)
{ isis-cost | rip-cost | ospf-cost } le cost Matches the IS-IS/RIP/OSPF routes with the cost less than or equal to the specified cost. cost: indicates an integer ranging from 0 to 4294967295.
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • preference (OSPF)
  • preference (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
  • frr-policy route (IS-IS)

  • import-route (IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • import-route (RIP)
  • default-route originate (RIP)
  • preference (RIPng)
  • import-route (RIPng)
rib-cost eq cost Matches all routes with the specified cost in the IP routing table. cost: indicates an integer ranging from 0 to 4294967295.
  • import-route (BGP)
  • network (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
rib-cost ge cost Matches all routes with the cost greater than or equal to the specified cost in the IP routing table. cost: indicates an integer ranging from 0 to 4294967295.
  • import-route (BGP)
  • network (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
rib-cost le cost Matches all routes with the cost less than or equal to the specified cost in the IP routing table. cost: indicates an integer ranging from 0 to 4294967295.
  • import-route (BGP)
  • network (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
preference eq preference Matches the routes with the specified preference. preference: indicates an integer ranging from 0 to 255.
  • import-route (BGP)
  • route-filter import (BGP)
  • route-filter export (BGP)
  • peer route-filter import
  • peer route-filter export
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • ingress-lsp trigger
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • import-route (OSPF)

  • import-route (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • import-route (IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • preference (RIPng)

  • import-route (RIP)
  • import-route (RIPng)

  • default-route originate (RIP)
  • ripng default-route
preference le preference Matches the routes whose priority is less than or equal to the specified preference. preference: indicates an integer ranging from 0 to 255.
  • import-route (BGP)
  • route-filter import (BGP)
  • route-filter export (BGP)
  • peer route-filter import
  • peer route-filter export
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • ingress-lsp trigger
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • import-route (OSPF)

  • import-route (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • import-route (IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • preference (RIPng)

  • import-route (RIP)
  • import-route (RIPng)

  • default-route originate (RIP)
  • ripng default-route
preference ge preference Matches the routes whose priority is greater than or equal to the specified preference. preference: indicates an integer ranging from 0 to 255.
  • import-route (BGP)
  • route-filter import (BGP)
  • route-filter export (BGP)
  • peer route-filter import
  • peer route-filter export
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • ingress-lsp trigger
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • import-route (OSPF)

  • import-route (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • import-route (IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • preference (RIPng)

  • import-route (RIP)
  • import-route (RIPng)

  • default-route originate (RIP)
  • ripng default-route

Condition Clauses That Are Based on the Source IP Address, Destination IP Address, or Next Hop IP Address of a Route

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

ip route-source in { ip-prefix-list-name | ip-prefix-list }

Matches the IPv4 routes carrying the specified source IP address.

ip-prefix-list-name: indicates the name of an IPv4 prefix set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

ip-prefix-list: indicates the IPv4 prefix set in the format of {element A, element B...}, in which the elements are IPv4 addresses carrying mask lengths. For example, { 1.1.1.0 24, 2.2.2.2 32 }.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • import-route (OSPF)

  • import-route (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • import-route (IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • preference (RIPng)

  • import-route (RIP)
  • import-route (RIPng)

  • default-route originate (RIP)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
ipv6 route-source in { ipv6-prefix-list-name | ipv6-prefix-list }

Matches the IPv6 routes carrying the specified source IPv6 address.

ipv6-prefix-list-name: indicates the name of an IPv6 prefix set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

ipv6-prefix-list: indicates the IPv6 prefix set in the format of {element A, element B...}, in which the elements are IPv6 addresses carrying mask lengths.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • nexthop recursive-lookup (BGP)
  • import route-filter
  • export route-filter
  • qos-local-id
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • preference (OSPF)
  • preference (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • import-route (OSPF)

  • import-route (OSPFv3)
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)

  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIPng)
  • import-route (RIPng)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
ip route-destination in { ip-prefix-list-name | ip-prefix-list }

Matches the IPv4 routes carrying the specified destination IP address.

ip-prefix-list-name: indicates the name of an IPv4 prefix set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

ip-prefix-list: indicates the IPv4 prefix set in the format of {element A, element B...}, in which the elements are IPv4 addresses carrying mask lengths.

  • import-route (BGP)
  • network (BGP)
  • route-filter import (BGP)
  • route-filter export (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • preference (OSPF)
  • preference (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • import-route (OSPFv3)
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • local-mt filter-policy (OSPF)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIP)
  • preference (RIPng)
  • import-route (RIP)
  • import-route (RIPng)

  • default-route originate (RIP)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
ipv6 route-destination in { ipv6-prefix-list-name | ipv6-prefix-list }

Matches the IPv6 routes carrying the specified destination IPv6 address.

ipv6-prefix-list-name: indicates the name of an IPv6 prefix set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

ipv6-prefix-list: indicates the IPv6 prefix set in the format of {element A, element B...}, in which the elements are IPv6 addresses carrying mask lengths.

  • import-route (BGP)
  • network (BGP)
  • route-filter import (BGP)
  • route-filter export (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • nexthop recursive-lookup (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import route-filter
  • export route-filter
  • qos-local-id
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • preference (OSPF)
  • preference (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • import-route (OSPF)

  • import-route (OSPFv3)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)

  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIPng)
  • import-route (RIPng)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
ip next-hop in { ip-prefix-list-name | ip-prefix-list }

Matches the IPv4 routes carrying the specified next hop IP address.

ip-prefix-list-name: indicates the name of an IPv4 prefix set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

ip-prefix-list: indicates the IPv4 prefix set in the format of {element A, element B...}, in which the elements are IPv4 addresses carrying mask lengths.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • preference (OSPF)
  • preference (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • import-route (OSPFv3)
  • import-route (OSPF)

  • default-route-advertise (OSPF)
  • local-mt filter-policy (OSPF)
  • filter-policy import (OSPF)

  • frr-policy route (OSPF)

  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
  • preference (RIP)

  • preference (RIPng)

  • import-route (RIP)
  • import-route (RIPng)

  • default-route originate (RIP)
ipv6 next-hop in { ipv6-prefix-list-name | ipv6-prefix-list }

Matches the IPv6 routes carrying the specified next hop IPv6 address.

ipv6-prefix-list-name: indicates the name of an IPv6 prefix set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

ipv6-prefix-list: indicates the IPv6 prefix set in the format of {element A, element B...}, in which the elements are IPv6 addresses carrying mask lengths.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • nexthop recursive-lookup (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import route-filter
  • export route-filter
  • qos-local-id
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • preference (OSPF)
  • preference (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • filter-policy import (OSPFv3)
  • local-mt filter-policy (OSPF)
  • frr-policy route (OSPFv3)

  • import-route (OSPFv3)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)

  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • preference (RIPng)
  • import-route (RIPng)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)

Condition Clauses That Are Based on the Tag of an OSPF, IS-IS or Static Route

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

tag eq tag

Matches the routes with the specified tag.

tag: indicates an integer ranging from 0 to 4294967295.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import route-filter
  • export route-filter
  • import-route (OSPF)

  • import-route (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • local-mt filter-policy (OSPF)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
  • default-route originate (RIP)
  • import-route (RIP)
  • preference (RIP)
  • import-route (RIPng)
  • preference (RIPng)
tag ge tag

Matches the routes with the tag greater than or equal to the specified tag.

tag: indicates an integer ranging from 0 to 4294967295.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import route-filter
  • export route-filter
  • import-route (OSPF)

  • import-route (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • local-mt filter-policy (OSPF)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
  • default-route originate (RIP)
  • import-route (RIP)
  • preference (RIP)
  • import-route (RIPng)
  • preference (RIPng)
tag le tag

Matches the routes with the tag less than or equal to the specified tag.

tag: indicates an integer ranging from 0 to 4294967295.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • import-rib { public | vpn-instance vpn-instance-name } protocol direct
  • import-rib { public | vpn-instance vpn-instance-name } protocol static
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospf
  • import-rib { public | vpn-instance vpn-instance-name } protocol ospfv3
  • import-rib { public | vpn-instance vpn-instance-name } protocol isis
  • import route-filter
  • export route-filter
  • import-route (OSPF)

  • import-route (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • local-mt filter-policy (OSPF)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • import-route(IS-IS)
  • default-route-advertise (IS-IS)
  • preference (IS-IS)
  • frr-policy route (IS-IS)
  • filter-policy export (IS-IS)
  • filter-policy import (IS-IS)
  • import-route isis level-1 into level-2 (IS-IS)
  • import-route isis level-2 into level-1 (IS-IS)
  • default-route originate (RIP)
  • import-route (RIP)
  • preference (RIP)
  • import-route (RIPng)
  • preference (RIPng)

Condition Clauses That Are Based on the Local_Pref Attribute of a BGP Route

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

local-preference eq preference

Matches the BGP routes with the Local_Pref value being preference.

preference: indicates an integer ranging from 0 to 4294967295.

  • peer route-filter import
  • peer route-filter export
local-preference ge preference

Matches the BGP routes with the Local_Pref value greater than or equal to preference.

preference: indicates an integer ranging from 0 to 4294967295.

  • peer route-filter import
  • peer route-filter export
local-preference le preference

Matches the BGP routes with the Local_Pref value less than or equal to preference.

preference: indicates an integer ranging from 0 to 4294967295.

  • peer route-filter import
  • peer route-filter export

Condition Clauses That Are Based on the AS_Path Attribute of a BGP Route

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

as-path in { as-path-list-name | as-path-list }

Matches the BGP routes carrying the AS_Path in the specified AS_Path set.

as-path-list-name: indicates the name of an AS_Path set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

as-path-list: indicates the AS_Path set in the format of {element A, element B...}, in which the elements are in the format of regular+AS_Path regular expression.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
as-path is-none

Matches the BGP routes carrying an empty AS_Path (locally generated BGP routes).

-
  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
as-path origin as-path [ whole-match ]

Matches BGP routes with AS_Path whose rightmost AS numbers are the same as as-path.

as-path: The value is enclosed in single quotation marks, with every two neighboring AS numbers separated with a space. Duplicate AS numbers are counted as one unless whole-match is configured.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
as-path pass as-path [ whole-match ]

Matches BGP routes with AS_Path whose contiguous AS numbers match as-path.

as-path: The value is enclosed in single quotation marks, with every two neighboring AS numbers separated with a space. Duplicate AS numbers are counted as one unless whole-match is configured.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
as-path peer-is as-path [ whole-match ]

Matches BGP routes with AS_Path whose leftmost AS numbers are the same as as-path.

as-path: The value is enclosed in single quotation marks, with every two neighboring AS numbers separated with a space. Duplicate AS numbers are counted as one unless whole-match is configured.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
as-path length { eq | ge | le } as-path-number
Matches the BGP routes carrying the AS_Path with the length equal to as-path-number, greater than or equal to as-path-number, or .less than or equal to as-path-number.
  • eq: Equal to;
  • ge: Greater than or equal to;
  • le: Less than or equal to.

as-path-number: indicates the AS_Path length. The value is an integer ranging from 0 to 2047.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
as-path unique-length { eq | ge | le } as-path-number
Matches the BGP routes carrying the AS_Path with the length equal to as-path-number, greater than or equal to as-path-number, or .less than or equal to as-path-number (duplicate AS numbers are counted as one).
  • eq: Equal to;
  • ge: Greater than or equal to;
  • le: Less than or equal to.

as-path-number: indicates the AS_Path length. The value is an integer ranging from 0 to 2047.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)

Condition Clauses That Are Based on the Community Attribute of a BGP Route

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

community matches-any { community-list-name | community-list }

Matches the BGP routes carrying at least one of the communities specified in the community set.

community-list-name: indicates the name of a community set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

community-list: indicates the community set in the format of {element A, element B...}, in which the elements are in the format of aa:nn, a community number, or a known community (internet, no-export-subconfed, no-advertise, or no-export).

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
community matches-all { community-list-name | community-list }

Matches the BGP routes carrying the communities listed in the specified community set or more communities.

community-list-name: indicates the name of a community set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

community-list: indicates the community set in the format of {element A, element B...}, in which the elements are in the format of aa:nn, a community number, or a known community (internet, no-export-subconfed, no-advertise, or no-export).

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
community matches-within { community-list-name | community-list }

Matches the BGP routes carrying the communities listed in the specified community set or less communities.

community-list-name: indicates the name of a community set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

community-list: indicates the community set in the format of {element A, element B...}, in which the elements are in the format of aa:nn, a community number, or a known community (internet, no-export-subconfed, no-advertise, or no-export).

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
community is-none

Matches the BGP routes with an empty community.

-
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)

Condition Clauses That Are Based on an Attribute of a VPN Route

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

rd in { rd-list-name | rd-list }

Matches the VPN routes with RDs in the specified RD set.

rd-list-name: indicates the name of an RD set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

rd-list: indicates the RD set in the format of {element A, element B...}. For details about RD element values, see RD element values.

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • nexthop recursive-lookup bit-error-detection
extcommunity rt matches-any { rt-list-name | rt-list }

Matches the VPN routes carrying at least one of the RTs specified in the route target set.

rt-list-name: indicates the name of a route target set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

rt-list: indicates the route target set in the format of {element A, element B...}. For details about RT element values, see RT element values.

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
extcommunity rt matches-all { rt-list-name | rt-list }

Matches the VPN routes carrying the RTs listed in the specified route target set or more RTs.

rt-list-name: indicates the name of a route target set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

rt-list: indicates the route target set in the format of {element A, element B...}. For details about RT element values, see RT element values.

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
extcommunity rt matches-within { rt-list-name | rt-list }

Matches the VPN routes carrying the RTs listed in the specified route target set or less RTs.

rt-list-name: indicates the name of a route target set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

rt-list: indicates the route target set in the format of {element A, element B...}. For details about RT element values, see RT element values.

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
extcommunity rt is-none

Matches the VPN routes with an empty RT.

-
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
extcommunity soo matches-any { soo-list-name | soo-list }

Matches the VPN routes carrying at least one of the site or origins (SoOs) specified in the SoO set.

soo-list-name: indicates the name of an SoO set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

soo-list: indicates the SoO set in the format of {element A, element B...}. For details about SoO element values, see SoO element values.

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
extcommunity soo matches-all { soo-list-name | soo-list }

Matches the VPN routes carrying the SoOs listed in the specified SoO set or more SoOs.

soo-list-name: indicates the name of an SoO set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

soo-list: indicates the SoO set in the format of {element A, element B...}. For details about SoO element values, see SoO element values.

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
extcommunity soo matches-within { soo-list-name | soo-list }

Matches the VPN routes carrying the SoOs listed in the specified SoO set or less SoOs.

soo-list-name: indicates the name of an SoO set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

soo-list: indicates the SoO set in the format of {element A, element B...}. For details about SoO element values, see SoO element values.

  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
extcommunity soo is-none

Matches the VPN routes with an empty SoO.

-
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)

Condition Clauses That Are Based on Any of Other Attributes

Condition Clause

Function

Parameters

Commands Used to Apply Condition Clauses

mpls-label exist

Matches the routes carrying MPLS labels.

-

  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
origin is origin-type

Matches the BGP routes carrying the specified origin-type.

The value of origin-type can be any of the following items:
  • egp: indicates the routes learned through the EGP.
  • igp: indicates the routes that are added to the BGP routing table using the network (BGP) command.
  • incomplete: indicates the routes imported using the import-route (BGP) command.
  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
protocol is protocol-type

Matches the routes of the specified routing protocol.

The value of protocol-type can be any of the following items:
  • bgp
  • direct
  • isis
  • ospf
  • rip
  • static
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • aggregate suppress-filter
  • aggregate origin-filter
  • nexthop recursive-lookup (BGP)
protocol in protocol-type

Matches the routes of the specified routing protocol.

The value of protocol-type can be any of the following items:
  • bgp
  • direct
  • isis
  • ospf
  • rip
  • static
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • aggregate suppress-filter
  • aggregate origin-filter
  • nexthop recursive-lookup (BGP)
route-type is route-type

Matches the routes of the specified type.

The value of route-type can be any of the following items:
  • external-type1: indicates Type 1 external OSPF routes.
  • external-type2: indicates Type 2 external OSPF routes.
  • internal: indicates internal routes, including inter-area and intra-area OSPF routes.
  • nssa-external-type1: indicates Not-So-Stubby Area (NSSA) Type 1 external OSPF routes.
  • nssa-external-type2: indicates NSSA Type 2 external OSPF routes.
  • is-is-level-1: indicates Level-1 IS-IS routes.
  • is-is-level-2: indicates Level-2 IS-IS routes.
  • ibgp: indicates IBGP routes.
  • ebgp: indicates EBGP routes.
  • import-route (BGP)
  • network (BGP)
  • peer route-filter import
  • peer route-filter export
  • preference (BGP)
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • import route-filter
  • export route-filter
  • qos-local-id
  • ingress-lsp trigger
  • routing-table rib-only
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
  • import-route (OSPF)
  • import-route (OSPFv3)
  • default-route-advertise (OSPF)
  • default-route-advertise (OSPFv3)
  • preference (OSPF)
  • preference (OSPFv3)
  • frr-policy route (OSPF)

  • frr-policy route (OSPFv3)

  • local-mt filter-policy (OSPF)
  • filter-policy import (OSPF)

  • filter-policy import (OSPFv3)
  • import-route(IS-IS)

  • default-route-advertise (IS-IS)

  • preference (IS-IS)

  • frr-policy route (IS-IS)

  • filter-policy export (IS-IS)

  • filter-policy import (IS-IS)

path-type is path-type

Matches the BGP routes of the specified type.

The value of path-type can be either of the following items:
  • ibgp: indicates IBGP routes.
  • ebgp: indicates EBGP routes. ba
  • peer route-filter import
  • peer route-filter export
rpki is rpki-type

Matches the BGP routes with the specified rpki-type.

The value of rpki-type can be any of the following items:
  • invalid: indicates that the origin AS is incorrect.
  • not-found: indicates that the origin AS is not found.
  • valid: indicates that the origin AS is correct.
  • peer route-filter import
  • peer route-filter export
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
orf-prefix in { ip-prefix-list-name | ip-prefix-list }

Matches the BGP routes with the outbound route filtering (ORF) prefixes in the specified IPv4 prefix set.

ip-prefix-list-name: indicates the name of an IPv4 prefix set. The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

ip-prefix-list: indicates the IPv4 prefix set in the format of {element A, element B...}, in which the elements are IPv4 addresses carrying mask lengths.

None

interface in interface-list-name

Matches the BGP routes of which the outbound interfaces are in the specified outbound interface list.

interface-list-name: indicates the name of an outbound interface list. The value is a string of 1 to 64 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit. interface-list-name must have been set using the xpl interface-list section-name command.

  • import-route (BGP)
  • route-filter import (BGP)
  • route-filter export (BGP)
  • peer route-filter export
  • aggregate suppress-filter
  • aggregate origin-filter
  • dampening
  • nexthop recursive-lookup (BGP)
  • nexthop recursive-lookup bit-error-detection
  • import route-filter
  • export route-filter
  • ingress-lsp trigger
  • import-rib (BGP-VPN instance address family view)
  • import-rib vpn-instance (BGP public network address family view)
Translation
Download
Updated: 2019-01-14

Document ID: EDOC1100058916

Views: 35421

Downloads: 51

Average rating:
This Document Applies to these Products
Related Version
Related Documents
Share
Previous Next