Fortinet white logo
Fortinet white logo

CLI Reference

config rule

config rule

Description: Configure route map rule.

config rule

edit <name>

set action [permit | deny]

set match-ip-address {ipv4-address}

unset

next

show

abort

end

delete <name>

purge

show

end

delete <name>

purge

show

end

show

end

Sample command:
FX201E5919000057 (route-map) # show
config router route-map
    edit 1
        config rule
            edit 1
                set action permit
                set match-ip-address 1
            next
        end
    next
end
Parameter Description Type Size Default
action Action of the rule. option - permit
Option Description
permit Permit the rule.
deny Deny the rule.

match-ip-address

Match IP address permitted by the prefix-list.

string

-

none

config rule

config rule

Description: Configure route map rule.

config rule

edit <name>

set action [permit | deny]

set match-ip-address {ipv4-address}

unset

next

show

abort

end

delete <name>

purge

show

end

delete <name>

purge

show

end

show

end

Sample command:
FX201E5919000057 (route-map) # show
config router route-map
    edit 1
        config rule
            edit 1
                set action permit
                set match-ip-address 1
            next
        end
    next
end
Parameter Description Type Size Default
action Action of the rule. option - permit
Option Description
permit Permit the rule.
deny Deny the rule.

match-ip-address

Match IP address permitted by the prefix-list.

string

-

none