Link an IPsec Policy to a Management Interface
Use the following procedure to link an IPsec policy to a management interface,
                        and configure a policy direction. By default, the direction is both.
                
                
                
        
Note
This procedure applies to VSP 8600 Series only.
Before you begin
- 
                                                
You must enable IPsec on the interface first, and then you link the IPsec policy to the interface.
 
Procedure
Example
Link the IPsec policy for IPv4 to the management interface:
Switch:1>enable Switch:1#configure terminal Switch:1(config)#interface mgmtEthernet mgmt Switch:1(config-if)#ip ipsec policy newpolicy dir both
Variable Definitions
The following table defines parameters for the ip ipsec policy and ipv6 ipsec policy commands.
| 
 Variable  | 
 Value  | 
|---|---|
| 
 WORD<1–32>  | 
 Specifies the policy ID.  | 
| 
 dir <both|in|out>  | 
 Specifies the direction you want to protect with IPsec: 
 The default is both.  |