beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 771

background image

746

[SecPathB-GigabitEthernet0/1] quit

[SecPathB] interface GigabitEthernet 0/2

[SecPathB-GigabitEthernet0/2] ripng 1 enable

[SecPathB-GigabitEthernet0/2] quit

# Configure SecPath C.

system-view

[SecPathC] ripng 1

[SecPathC-ripng-1] quit

[SecPathC] interface GigabitEthernet 0/1

[SecPathC-GigabitEthernet0/1] ripng 1 enable

[SecPathC-GigabitEthernet0/1] quit

[SecPathC] interface GigabitEthernet 0/2

[SecPathC-GigabitEthernet0/2] ripng 1 enable

[SecPathC-GigabitEthernet0/2] quit

[SecPathC] interface GigabitEthernet 0/3

[SecPathC-GigabitEthernet0/3] ripng 1 enable

[SecPathC-GigabitEthernet0/3] quit

# Display the routing table of SecPath B.

[SecPathB] display ripng 1 route

Route Flags: A - Aging, S - Suppressed, G - Garbage-collect

----------------------------------------------------------------

Peer FE80::20F:E2FF:FE23:82F5 on GigabitEthernet0/1

Dest 1::/64,

via FE80::20F:E2FF:FE23:82F5, cost 1, tag 0, A, 6 Sec

Dest 2::/64,

via FE80::20F:E2FF:FE23:82F5, cost 1, tag 0, A, 6 Sec

Peer FE80::20F:E2FF:FE00:100 on GigabitEthernet0/2

Dest 3::/64,

via FE80::20F:E2FF:FE00:100, cost 1, tag 0, A, 11 Sec

Dest 4::/64,

via FE80::20F:E2FF:FE00:100, cost 1, tag 0, A, 11 Sec

Dest 5::/64,

via FE80::20F:E2FF:FE00:100, cost 1, tag 0, A, 11 Sec

3.

Configure SecPath B to filter incoming and outgoing routes:

[SecPathB] acl ipv6 number 2000

[SecPathB-acl6-basic-2000] rule deny source 3::/64

[SecPathB-acl6-basic-2000] rule permit

[SecPathB-acl6-basic-2000] quit

[SecPathB] ripng 1

[SecPathB-ripng-1] filter-policy 2000 import

[SecPathB-ripng-1] filter-policy 2000 export

# Display routing tables of SecPath B and SecPath A.

[SecPathB] display ripng 1 route

Route Flags: A - Aging, S - Suppressed, G - Garbage-collect

----------------------------------------------------------------