Versions Compared

Key

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

...

The set protocols dot1x filter sequence from destination-address-ipv4 command configures the destination IPv4 address information of the matching packets based on the NAC-based ACL rulesrouting as-path-list command configures an AS Path list to match a specific AS path. AS Path lists are named lists of regular expression rules. They are used to match AS Path attributes in the routes for inclusion in or exclusion from route policies.

The delete routing as-path-list command removes the AS Path list configuration.


Command Syntax

set routing as-path-list <as-path-list-name> {deny|permit} <wildcard>

delete routing as-path-list <as-path-list-name> ( {deny|permit) <wildcard>


Parameter

...

<filter

Parameter

Description

filter

as-path-list <as-path-list-name>

Specifies the name of the AS Path list.

sequence <sequence-number>

Specifies filter sequence number. The value is an integer that ranges from 0 to 9999.

destination-address-ipv4 <ipv4-address>

Specifies the destination IPv4 address of packets that match ACL rules. It must be an IPv4 subnet in address/prefix-length form. For example, 10.1.1.0/24.

Example

{deny|permit} 

Specifies whether the route is available for further processing when there is a match.

<wildcard>

Specifies wildcards expression to define matching rules.


Example

  • Configure an AS Path list, permit routes that contain 20 in the AS_Path to pass through.
Code Block
admin@Xorplus# set protocols dot1x filter f1 sequence 2 from destination-address-ipv4 10.1.1.0/24routing as-path-list Aslist permit _20_
admin@Xorplus# commit