filter-hash
Note |
Effective with Cisco IOS Release 15.2(4)M, the filter-hash command is not available in Cisco IOS software. |
To specify the hash for verification and validation of decrypted contents, use the filter-hash command in Flexible Packet Matching (FPM) encryption filter configuration mode.
filter-hash hash-value
Syntax Description
hash-value |
Hash value obtained from the encrypted traffic classification definition file (eTCDF). |
Command Default
No hash value is specified.
Command Modes
FPM encryption filter configuration (c-map-match-enc-config)
Command History
Release |
Modification |
---|---|
15.0(1)M |
This command was introduced. |
15.2(4)M |
This command was removed from the Cisco IOS software. |
Usage Guidelines
If you have access to an eTCDF or if you know valid values to configure encrypted FPM filters, you can configure the same eTCDF through the command-line interface instead of using the preferred method of loading the eTCDF on the router. You must create a class map of type access-control using the class-map type command, and use the match encrypted command to configure the match criteria for the class map on the basis of encrypted FPM filters and enter FPM match encryption filter configuration mode. You can then use the appropriate commands to specify the algorithm, cipher key, cipher value, filter hash, filter ID, and filter version. You can copy the values from the eTCDF by opening the eTCDF in any text editor.
Use the filter-hash command to specify the hash for verification and validation of decrypted contents.
Examples
The following example shows how to specify the hash value from the eTCDF file for verification and validation of decrypted contents:
Router(config)# class-map type access-control match-all c1
Router(config-cmap)# match encrypted
Router(c-map-match-enc-config)# filter-hash AABBCCDD11223344
Router(c-map-match-enc-config)#