Fortinet white logo
Fortinet white logo

CLI Reference

config rule

config rule

Description: Configures 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

config rule

config rule

Description: Configures 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