H3C LSW1FC4P0 Interface Card for S5820X-28C Ethernet Switches Command Line Interface Guide Firmware Version 9.0.7
Command Reference
Ipsec Policy
59272-00 C 179
Ipsec Policy
Manages policies in the Security Policy database.
Authority Admin session and an Ipsec Edit session
Syntax ipsec policy
copy [policy_source] [policy_destination]
create [policy]
delete [policy]
edit [policy]
list [option]
rename [policy_old] [policy_new]
Keywords copy [policy_source] [policy_destination]
Creates a new policy named [policy_destination] and copies the configuration into
it from the policy given by [policy_source]. You must enter the Ipsec Save
command afterwards to save your changes. [policy_destination] must not begin
with DynamicSP_, which is reserved for dynamic policies.
create [policy]
Creates a policy with the name given by [policy]. A policy name must begin with a
letter and be no longer than 32 characters. Valid characters are 0-9, A-Z, a-z, _, $,
^, and -. The Security Policy database supports a maximum of 128 user-defined
policies. You must enter the Ipsec Save command afterwards to save your
changes. Table 8 describes the policy parameters.
Table 8. Policy Configuration Parameters
Parameter Description
Description Description of the policy
SourceAddress IP address or DNS host name of the host, switch, or gateway
from which data originates.
SourcePort Source port number (1–65535)
DestinationAddress IP address or DNS host name of the host, switch, or gateway
receiving data. If you specified an IP address for the SourceAd-
dress, the DestinationAddress must use the same IP version
format.
DestinationPort Destination port number (1–65535)










