set peer-group

Last Updated : Aug 28, 2026 |
Attaches a peer-group to a crypto map. Use no set peer-group to remove the peer-group from the crypto map.
Prolog information
Note:
You can only change the peer-group of a crypto map when the map is inactive.
The set peer and set peer-group commands are mutually exclusive. You must attach to a given crypto map either a peer or a peer-group, not both.

Syntax

set peer-group peer-group-name
no set peer-group

Parameters

Parameter
Description
Possible Values
Default Value
peer-group-name
The name of the peer-group

User level

read-write

Context

crypto map

Examples

To attach the peer group vpn.avaya.com to crypto map 1:
Gxxx-001(config-crypto:1)# set peer-group vpn.avaya.com