Fortinet black logo

CLI Reference

router community-list

Configure community lists.

  config router community-list
      Description: Configure community lists.
      edit <name>
          set type [standard|expanded]
          config rule
              Description: Community list rule.
              edit <id>
                  set action [deny|permit]
                  set regexp {string}
                  set match {string}
              next
          end
      next
  end

config router community-list

Parameter Name Description Type Size
type Community list type (standard or expanded).
standard: Standard community list type.
expanded: Expanded community list type.
option -

config rule

Parameter Name Description Type Size
action Permit or deny route-based operations, based on the route's COMMUNITY attribute.
deny: Deny route-based operations.
permit: Permit or allow route-based operations.
option -
regexp Ordered list of COMMUNITY attributes as a regular expression. string Maximum length: 255
match Community specifications for matching a reserved community. string Maximum length: 255

Configure community lists.

  config router community-list
      Description: Configure community lists.
      edit <name>
          set type [standard|expanded]
          config rule
              Description: Community list rule.
              edit <id>
                  set action [deny|permit]
                  set regexp {string}
                  set match {string}
              next
          end
      next
  end

config router community-list

Parameter Name Description Type Size
type Community list type (standard or expanded).
standard: Standard community list type.
expanded: Expanded community list type.
option -

config rule

Parameter Name Description Type Size
action Permit or deny route-based operations, based on the route's COMMUNITY attribute.
deny: Deny route-based operations.
permit: Permit or allow route-based operations.
option -
regexp Ordered list of COMMUNITY attributes as a regular expression. string Maximum length: 255
match Community specifications for matching a reserved community. string Maximum length: 255