
351
[SwitchA-ikev2-profile-profile1] quit
# Create an IKEv2 proposal named
10
.
[SwitchA] ikev2 proposal 10
# Specify the integrity protection algorithm as HMAC-MD5.
[SwitchA-ikev2-proposal-10] integrity md5
# Specify the encryption algorithm as 3DES-CBC.
[SwitchA-ikev2-proposal-10] encryption 3des-cbc
# Specify the DH group as Group 1.
[SwitchA-ikev2-proposal-10] dh group1
# Specify the PRF algorithm as HMAC-MD5.
[SwitchA-ikev2-proposal-10] prf md5
[SwitchA-ikev2-proposal-10] quit
# Create an IKEv2 policy named
1
.
[SwitchA] ikev2 policy 1
# Specify the IKEv2 proposal
10
for the IKEv2 policy.
[SwitchA-ikev2-policy-1] proposal 10
[SwitchA-ikev2-policy-1] quit
# Create an IKE-based IPsec policy entry with the name
map1
and the sequence number 10.
[SwitchA] ipsec policy map1 10 isakmp
# Specify the remote IP address 2.2.2.2 for the IPsec tunnel.
[SwitchA-ipsec-policy-isakmp-map1-10] remote-address 2.2.2.2
# Specify the IPsec transform set
tran1
for the IPsec policy.
[SwitchA-ipsec-policy-isakmp-map1-10] transform-set tran1
# Specify ACL 3101 to identify the traffic to be protected.
[SwitchA-ipsec-policy-isakmp-map1-10] security acl 3101
# Specify the IKEv2 profile
profile1
for the IPsec policy.
[SwitchA-ipsec-policy-isakmp-map1-10] ikev2-profile profile1
[SwitchA-ipsec-policy-isakmp-map1-10] quit
# Apply the IPsec policy
map1
to VLAN-interface 1.
[SwitchA] interface vlan-interface 1
[SwitchA-Vlan-interface1] ipsec apply policy map1
# Specify an Ethernet interface module or a service module for forwarding the traffic on the
interface.
[SwitchA-Vlan-interface1] service slot 3
[SwitchA-Vlan-interface1] quit
2.
Configure Switch B:
# Assign an IP address to VLAN-interface 1.
<SwitchB> system-view
[SwitchB] interface Vlan-interface1
[SwitchB-Vlan-interface1] ip address 2.2.2.2 255.255.255.0
[SwitchB-Vlan-interface1] quit
# Configure IPv4 advanced ACL 3101 to identify the traffic between Switch B and Switch A.
[SwitchB] acl advanced 3101
[SwitchB-acl-ipv4-adv-3101] rule 0 permit ip source 2.2.2.2 0 destination 1.1.1.0 0
[SwitchB-acl-ipv4-adv-3101] quit
# Create an IPsec transform set named
tran1
.
[SwitchB] ipsec transform-set tran1
Summary of Contents for 10500 series
Page 326: ...312 No duration limit for this SA ...