| Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
- Enter your password if prompted.
|
| Step 2 |
configure terminal
Example:
Device# configure terminal
|
Enters global configuration mode.
|
| Step 3 |
access-list
access-list-number
{deny | permit}
icmp
source source-wildcard
destination destination-wildcard
Example:
Device(config)# access-list 102 permit icmp 192.168.0.1 255.255.255.0 192.168.2.22 255.255.255.0
|
Defines an extended IP access list.
|
| Step 4 |
class-map type inspect
class-map-name
Example:
Device(config)# class-map type inspect c1
|
Defines the class on which an action is to be performed and enters QoS class-map configuration mode.
|
| Step 5 |
match protocol
protocol-name
Example:
Device(config-cmap)# match protocol icmp
|
Configures a match criterion for a class map on the basis of the specified protocol.
|
| Step 6 |
exit
Example:
Device(config-cmap)# exit
|
Exits QoS class-map configuration mode and enters global configuration mode.
|
| Step 7 |
policy-map type inspect
policy-map-name
Example:
Device(config)# policy-map type inspect p1
|
Creates a protocol-specific inspect type policy map and enters QoS policy-map configuration mode.
|
| Step 8 |
class
class-map-name
Example:
Device(config-pmap)# class c1
|
Defines the class on which an action is to be performed and enters QoS policy-map class configuration mode.
|
| Step 9 |
inspect
Example:
Device(config-pmap-c)# inspect
|
Enables stateful packet inspection.
|
| Step 10 |
exit
Example:
Device(config-pmap-c)# exit
|
Exits QoS policy-map class configuration mode and enters QoS policy-map configuration mode.
|
| Step 11 |
exit
Example:
Device(config-pmap)# exit
|
Exits QoS policy-map configuration mode and enters global configuration mode.
|
| Step 12 |
zone security
zone-name
Example:
Device(config)# zone security z1
|
Creates a security zone and enters security zone configuration mode.
-
Your configuration must have two security zones to create a zone pair: a source zone and a destination zone.
- In a zone pair, you can use the default zone as either the source or the destination zone.
|
| Step 13 |
exit
Example:
Device(config-sec-zone)# exit
|
Exits security zone configuration mode and enters global configuration mode.
|
| Step 14 |
zone-pair security
zone-pair-name
source
source-zone
destination
destination-zone
Example:
Device(config)# zone-pair security inout source z1 destination z2
|
Creates a zone pair to which interfaces can be assigned and enters security zone-pair configuration mode.
|
| Step 15 |
service-policy type inspect
policy-map-name
Example:
Device(config-sec-zone-pair)# service-policy type inspect p1
|
Attaches a firewall policy map to a zone pair.
|
| Step 16 |
end
Example:
Device(config-sec-zone-pair)# end
|
Exits security zone-pair configuration mode and enters privileged EXEC mode.
|