...
set routing as-path-list <as-path-list-name> {deny|permit} <wildcard>regex <txt>
delete routing as-path-list <as-path-list-name> name> [{deny|permit} <wildcard> regex <txt>]
Parameter
Parameter | Description |
as-path-list <as-path-list-name> | Specifies the name of the AS Path list. |
{deny|permit} | Specifies whether the route is available for further processing when there is a match. |
<wildcard>
regex <txt> | Specifies the AS_Path regular expression (BGP Regular Expressions). The value is a string of 1 to 255 characters, space is not supported. |
Example
- Configure an AS Path list, permit routes that contain 20 in the AS_Path to pass through.
Code Block |
---|
admin@Xorplus# set routing as-path-list Aslist permit regex _20_
admin@Xorplus# commit |
...