R211x-HP Flexfabric 11900 Security Command Reference

Table Of Contents
240
Examples
# Set the local ID to IP address 2.2.2.2.
<Sysname> system-view
[Sysname] ike profile prof1
[Sysname-ike-profile-prof1] local-identity address 2.2.2.2
Related commands
match remote
ike identity
match local address (IKE keychain view)
Use match local address to specify a local interface or IP address to which an IKE keychain can be
applied.
Use undo match local address to restore the default.
Syntax
match local address { interface-type interface-number
| { ipv4-address | ipv6 ipv6-address }
[ vpn-instance vpn-name ] }
undo match local address
Default
An IKE keychain can be applied to any local interface or IP address.
Views
IKE keychain view
Predefined user roles
network-admin
mdc-admin
Parameters
interface-type interface-number: Specifies a local interface. It can be any Layer 3 interface.
ipv4-address: Specifies the IPv4 address of a local interface.
ipv6 ipv6-address: Specifies the IPv6 address of a local interface.
vpn-instance vpn-name: Specifies the MPLS L3VPN to which the IPv4 or IPv6 address belongs. The
vpn-name argument is a case-sensitive string of 1 to 31 characters. To specify an IP address on the public
network, do not specify this option.
Usage guidelines
Use this command to specify which address or interface can use the IKE keychain for IKE negotiation.
Specify the local address configured in IPsec policy view (using the local-address command) for this
command. If no local address is configured, specify the IP address of the interface that references the
IPsec policy.
You can specify up to six IKE keychains for an IKE profile. An IKE keychain specified earlier has a higher
priority. To give an IKE keychain a higher priority, you can configure this command for the keychain. For
example, suppose you configured IKE keychain A before configuring IKE keychain B, and you configured
the peer ID 2.2.0.0/16 for IKE profile A and the peer ID 2.2.2.0/24 for IKE profile B. For peer 2.2.2.2,