set macs

Last Updated : Oct 13, 2017 |

Syntax

set macs <default | all | {mac} [{mac}...]>

Parameters

Parameter

Description

Possible values

Default value

{mac}

<hmac-sha1,

hmac-sha1-96,

hmac-sha2-256,

hmac-sha2-512>

Description

Set SSH Client’s Message Authentication Codes (MACs).

Context

ssh-client-configuration

User level

admin

Example

# set macs hmac-sha1 hmac-sha1-96
         MACs: hmac-sha1 hmac-sha1-96
# set macs default
         MACs: hmac-sha1
# set macs all
         MACs: hmac-sha1 hmac-sha2-256 hmac-sha2-512 hmac-sha1-96