HPE 5800 Series Configuration Manual page 309

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

[SwitchB] ipv6
[SwitchB] ospfv3 1
[SwitchB-ospfv3-1] router-id 2.2.2.2
[SwitchB-ospfv3-1] quit
[SwitchB] interface vlan-interface 100
[SwitchB-Vlan-interface100] ospfv3 1 area 0
[SwitchB-Vlan-interface100] quit
[SwitchB] interface vlan-interface 200
[SwitchB-Vlan-interface200] ospfv3 1 area 1
[SwitchB-Vlan-interface200] quit
# Configure Switch C: enable OSPFv3 and configure the router ID as 3.3.3.3.
<SwitchC> system-view
[SwitchC] ipv6
[SwitchC] ospfv3 1
[SwitchC-ospfv3-1] router-id 3.3.3.3
[SwitchC-ospfv3-1] quit
[SwitchC] interface vlan-interface 100
[SwitchC-Vlan-interface100] ospfv3 1 area 0
[SwitchC-Vlan-interface100] quit
Configure OSPFv3 IPsec policies:
3.
# On Switch A, create an IPsec proposal named tran1, and set the encapsulation mode to
transport mode, the security protocol to ESP, the encryption algorithm to DES, and
authentication algorithm to SHA1. Create an IPsec policy named policy001, specify the
manual mode for it, reference IPsec proposal tran1, set the SPIs of the inbound and outbound
SAs to 12345, and the keys for the inbound and outbound SAs using ESP to abcdefg.
[SwitchA] ipsec transform-set tran1
[SwitchA-ipsec-transform-set-tran1] encapsulation-mode transport
[SwitchA-ipsec-transform-set-tran1] transform esp
[SwitchA-ipsec-transform-set-tran1] esp encryption-algorithm des
[SwitchA-ipsec-transform-set-tran1] esp authentication-algorithm sha1
[SwitchA-ipsec-transform-set-tran1] quit
[SwitchA] ipsec policy policy001 10 manual
[SwitchA-ipsec-policy-manual-policy001-10] transform-set tran1
[SwitchA-ipsec-policy-manual-policy001-10] sa spi outbound esp 12345
[SwitchA-ipsec-policy-manual-policy001-10] sa spi inbound esp 12345
[SwitchA-ipsec-policy-manual-policy001-10] sa string-key outbound esp abcdefg
[SwitchA-ipsec-policy-manual-policy001-10] sa string-key inbound esp abcdefg
[SwitchA-ipsec-policy-manual-policy001-10] quit
# On Switch B, create an IPsec proposal named tran1, and set the encapsulation mode to
transport mode, the security protocol to ESP, the encryption algorithm to DES, and
authentication algorithm to SHA1. Create an IPsec policy named policy001, specify the
manual mode for it, reference IPsec proposal tran1, set the SPIs of the inbound and outbound
SAs to 12345, and the keys for the inbound and outbound SAs using ESP to abcdefg. Create
an IPsec proposal named tran2, and set the encapsulation mode to transport mode, the
security protocol to ESP, the encryption algorithm to DES, and authentication algorithm to
SHA1. Create an IPsec policy named policy002, specify the manual mode for it, reference
IPsec proposal tran2, set the SPIs of the inbound and outbound SAs to 54321, and the keys for
the inbound and outbound SAs using ESP to gfedcba.
[SwitchB] ipsec transform-set tran1
[SwitchB-ipsec-transform-set-tran1] encapsulation-mode transport
298

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents