Assigning a key group to a router interface

Use the following CLI syntax to assign a key group to a router interface:

- config>router# interface ip-int-name [create]
        - group-encryption
            - encryption-keygroup keygroup-id direction {inbound | outbound} 

The following example displays a key group assigned to a router interface:


- config>router# interface demo
    - config>router>if# group-encryption
    - config>router>if>group-encryp# encryption-keygroup 6 direction inbound
    - config>router>if>group-encryp# encryption-keygroup 6 direction outbound

The following example displays key group configuration for a router interface.

domain1>config>router# info 
----------------------------------------------
...
        interface demo
            group-encryption
                encryption-keygroup 6 direction inbound
                encryption-keygroup 6 direction outbound
                exit
            no shutdown
            exit
        exit
...
----------------------------------------------