beautypg.com

Configuring ripng ipsec policies, Network requirements, Configuration procedure – H3C Technologies H3C SR8800 User Manual

Page 308

background image

292

Configuring RIPng IPsec policies

Network requirements

As shown in the following figure,

Configure RIPng on the routers.

Configure IPsec policies on the routers to authenticate and encrypt protocol packets.

Figure 107 Network diagram

Configuration procedure

1.

Configure IPv6 addresses for interfaces. (Details not shown)

2.

Configure RIPng basic functions:
# Configure Router A.

system-view

[RouterA] ripng 1

[RouterA-ripng-1] quit

[RouterA] interface GigabitEthernet 3/1/1

[RouterA-GigabitEthernet3/1/1] ripng 1 enable

[RouterA-GigabitEthernet3/1/1] quit

# Configure Router B.

system-view

[RouterB] ripng 1

[RouterB-ripng-1] quit

[RouterB] interface GigabitEthernet 3/1/1

[RouterB-GigabitEthernet3/1/1] ripng 1 enable

[RouterB-GigabitEthernet3/1/1] quit

[RouterB] interface GigabitEthernet 3/1/2

[RouterB-GigabitEthernet3/1/2] ripng 1 enable

[RouterB-GigabitEthernet3/1/2] quit

# Configure Router C.

system-view

[RouterC] ripng 1

[RouterC-ripng-1] quit

[RouterC] interface GigabitEthernet 3/1/1

[RouterC-GigabitEthernet3/1/1] ripng 1 enable

[RouterC-GigabitEthernet3/1/1] quit

3.

Configure RIPng IPsec policies:
# On Router 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.