The following CLI syntax changes the key group on a router interface. In the example below, the inbound and outbound key groups are changed from key group 6 to key group 8.
- config>router# interface ip-int-name
- group-encryption
- no encryption-keygroup keygroup-id direction {inbound | outbound}
- config>router# interface demo
- config>router>if# group-encryption
- config>router>if>group-encryp# no encryption-keygroup 6 direction inbound
- config>router>if>group-encryp# encryption-keygroup 8 direction outbound
- config>router>if>group-encryp# encryption-keygroup 8 direction inbound
The following example shows that the key group configuration has been changed for the router interface.
domain1>config>router# info
----------------------------------------------
...
interface demo
group-encryption
encryption-keygroup 8 direction inbound
encryption-keygroup 8 direction outbound
exit
no shutdown
exit
exit
...
----------------------------------------------