Sam Verify - Cisco CRS User Manual

Ios xr system security command reference
Hide thumbs Also See for CRS:
Table of Contents

Advertisement

sam verify

sam verify
To use the Message Digest 5 (MD5) hash algorithm to verify the integrity of the software component on a
flash memory card and ensure that it has not been tampered with during transit, use the sam verify command.
sam verify {location| file-system} {MD5| SHA [ digest ]}
Syntax Description
location
file-system
MD5
SHA
digest
Command Default
None
Command Modes
EXEC
Command History
Release
Release 2.0
Usage Guidelines
Use the sam verify command to generate a message digest for a given device. The message digest is useful
for determining whether software on a flash memory card has been tampered with during transit. The command
generates a hash code that can be used to compare the integrity of the software between the time it was shipped
and the time you received it.
For example, if you are given a flash memory card with preinstalled software and a previously generated MD5
message digest, you can verify the integrity of the software using the sam verify command:
sam verify
The device argument specifies the flash device. The digest argument specifies the message digest supplied
by the originator of the software.
If the message digest matches the message digest generated by the sam verify command, the software
component is valid.
Cisco IOS XR System Security Command Reference for the Cisco CRS Router, Release 4.1
240
Name of the flash memory card slot, either disk0 or disk1.
Absolute path to the file to be verified.
Specifies a one-way hashing algorithm to generate a 128-bit hash (or message digest)
of the specified software component.
Specifies the Secure Hash Algorithm, a hashing algorithm that takes a message of
less than 264 bits in length and produces a 160-bit message digest. The large message
digest provides security against brute-force collision and inversion attacks.
(Optional) Message digest generated by the hashing algorithm, to be compared in
determining the integrity of the software component.
device
digest
MD5
Software Authentication Manager Commands
Modification
This command was introduced.
OL-24740-01

Advertisement

Table of Contents
loading

Table of Contents