Fortinet black logo

CLI Reference

router aspath-list

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