Step 1 |
enable
Example:
|
Enables privileged EXEC mode.
|
Step 2 | configure terminal
Example:
Router# configure terminal
|
Enters global configuration mode.
|
Step 3 | ip vrf
vrf-name
Example:
Router(config)# ip vrf vrf1
|
Defines a VRF instance and to enter VRF configuration mode.
|
Step 4 | rd
route-distinguisher
Example:
Router(config-vrf)# rd 10:1
|
Specifies a route distinguisher (RD) for a VRF instance.
|
Step 5 | route-target export
route-target-ext-community
Example:
Router(config-vrf)# route-target export 10:1
|
Creates a route-target extended community for a VRF instance and exports routing information to the target VPN extended community.
|
Step 6 | route-target import
route-target-ext-community
Example:
Router(config-vrf)# route-target import 10:1
|
Creates a route-target extended community for a VRF instance and imports routing information to the target VPN extended community.
|
Step 7 | exit
Example:
|
Exits VRF configuration mode and enters global configuration mode.
|
Step 8 | class-map type inspect match-any
class-map-name
Example:
Router(config)# class-map type inspect match-any class-map1
|
Creates a Layer 3 and Layer 4 (application-specific) inspect type class map and enters class-map configuration mode.
|
Step 9 | match protocol tcp
Example:
Router(config-cmap)# match protocol tcp
|
Configures the match criterion for a class map on the basis of the specified protocol.
|
Step 10 | match protocol h323
Example:
Router(config-cmap)# match protocol h323
|
Configures the match criterion for a class map on the basis of the specified protocol.
|
Step 11 | exit
Example:
Router(config-cmap)# exit
|
Exits class-map configuration mode and enters global configuration mode.
|
Step 12 | policy-map type inspect
policy-map-name
Example:
Router(config)# policy-map type inspect global-vpn1-pmap
|
Creates a Layer 3 and Layer 4 (protocol-specific) inspect type policy map and enters policy-map configuration mode.
|
Step 13 |
class type inspect
class-map-name
Example:
Router(config-pmap)# class type inspect class-map1
|
Specifies the traffic (class) on which an action is to be performed and enters policy-map-class configuration mode.
|
Step 14 |
inspect
[parameter-map-name]
Example:
Router(config-pmap-c)# inspect class-map1
|
Enables Cisco IOS XE stateful packet inspection.
|
Step 15 | exit
Example:
Router(config-pmap-c)# exit
|
Exits policy-map-class configuration mode and enters policy-map configuration mode.
|
Step 16 | class class-default
Example:
Router(config-pmap)# class class-default
|
Specifies the default class so that you can configure or modify its policy.
|
Step 17 | end
Example:
|
Exits policy-map configuration mode and enters global configuration mode.
|