106
This example shows how to add an access list named
acc_list1
with two rules. The first rule denies
the subnet that exactly matches the prefix
192.168.50.0 255.255.255.0
and permits all other
subnets that match the prefix
192.168.0.0 255.255.0.0.
config router access-list
edit acc_list1
config rule
edit 1
set prefix 192.168.50.0 255.255.255.0
set action deny
set exact_match enable
next
edit 2
set prefix 192.168.0.0 255.255.0.0
set action permit
set exact_match disable
end
end
This example shows how to display the list of access lists.
get router access-list
This example shows how to display the settings for
acc_list1
.
get router access-list acc_list1
This example shows how to display the configuration for the router access-list command.
show router access-list
This example shows how to display the configuration for acc_list1.
show router access-list acc_list1
Command History
Related Commands
•
config router ospf
•
config router prefix-list
•
config router rip
Summary of Contents for freeGuard 100
Page 1: ...freeGuard 100 UTM Firewall CLI USER S MANUAL P N F0025000 Rev 1 1...
Page 3: ......
Page 7: ......
Page 87: ...80 The config ips anomaly command has 1 subcommand config limit...
Page 183: ...176...