Fortinet Document Library

Version:


Table of Contents

CLI Reference

6.2.1
Copy Link

Configure Autonomous System (AS) path lists.

  config router aspath-list
      Description: Configure Autonomous System (AS) path lists.
      edit <name>
          config rule
              Description: AS path list rule.
              edit <id>
                  set action [deny|permit]
                  set regexp {string}
              next
          end
      next
  end

config rule

Parameter Name Description Type Size
action Permit or deny route-based operations, based on the route's AS_PATH attribute.
deny: Deny route-based operations.
permit: Permit route-based operations.
option -
regexp Regular-expression to match the Border Gateway Protocol (BGP) AS paths. string Maximum length: 63

Configure Autonomous System (AS) path lists.

  config router aspath-list
      Description: Configure Autonomous System (AS) path lists.
      edit <name>
          config rule
              Description: AS path list rule.
              edit <id>
                  set action [deny|permit]
                  set regexp {string}
              next
          end
      next
  end

config rule

Parameter Name Description Type Size
action Permit or deny route-based operations, based on the route's AS_PATH attribute.
deny: Deny route-based operations.
permit: Permit route-based operations.
option -
regexp Regular-expression to match the Border Gateway Protocol (BGP) AS paths. string Maximum length: 63