Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Parameter

Description

<ip-prefix-name>

Specifies the name of an IPv4 prefix list.

seq <sequence-number>

Optional. Specifies the sequence number of an entry in the IPv4 prefix list.

<ipv4/prefixlen>

Specifies an IP address/prefix lenghth.
ge <greater-equal-value>

Optional. Specifies the lower threshold of the mask length. If ge greater-equal-value and le less-equal-value are not specified, the value of mask-length is the mask length.

greater-equal-value must meet the following requirement: prefixlengreater-equal-value ≤ less-equal-value ≤ 32.

If only ge is configured, the mask ranges from greater-equal-value to 32.

le <less-equal-value>

Optional. Specifies the upper threshold of the mask length. If ge greater-equal-value and le less-equal-value are not specified, the value of mask-length is the mask length.

Usage Guidelines

The BGP community list can be either standard or expanded. The standard BGP community list is a pair of values (such as 100:100) that can be tagged on a specific prefix and advertised to other neighbors or applied on route
ingress.

Example

  • Here is an example of a standard community list filter:

...

less-equal-value must meet the following requirement: prefixlengreater-equal-value ≤ less-equal-value ≤ 32.

If only le is configured, the mask ranges from prefixlen to less-equal-value.


Example

  • Configure the IP prefix list named p1 to permit only the routes with the mask length ranging from 17 to 18 on the network segment 10.0.0.0/8.

Code Block
admin@Xorplus# set routing prefix-list ipv4 p1 10.0.0.0/8 ge 17 le 18
admin@Xorplus# set routing communityprefix-list standardipv4 p1 COMMUNITY1action permit 100:100
admin@Xorplus# commit