HPE FlexNetwork HSR6800 Configuration Manual page 428

Layer 3-ip routing configuration guide
Hide thumbs Also See for FlexNetwork HSR6800:
Table of Contents

Advertisement

[RouterA-GigabitEthernet2/1/1] quit
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] ipv6 address 11::1 32
[RouterA-GigabitEthernet2/1/2] quit
# Enable RIPng on GigabitEthernet 2/1/1.
[RouterA] interface gigabitethernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ripng 1 enable
[RouterA-GigabitEthernet2/1/1] quit
# Configure three static routes with next hop 11::2, and make sure that the static routes are
active.
[RouterA] ipv6 route-static 20:: 32 11::2
[RouterA] ipv6 route-static 30:: 32 11::2
[RouterA] ipv6 route-static 40:: 32 11::2
# Configure a routing policy.
[RouterA] ip ipv6-prefix a index 10 permit 30:: 32
[RouterA] route-policy static2ripng deny node 0
[RouterA-route-policy] if-match ipv6 address prefix-list a
[RouterA-route-policy] quit
[RouterA] route-policy static2ripng permit node 10
[RouterA-route-policy] quit
# Enable RIPng and apply routing policy static2ripng to filter redistributed static routes on
Router A.
[RouterA] ripng
[RouterA-ripng-1] import-route static route-policy static2ripng
Configure Router B:
2.
# Configure the IPv6 address of GigabitEthernet 2/1/1
<RouterB> system-view
[RouterB] ipv6
[RouterB] interface gigabitethernet 2/1/1
[RouterB-GigabitEthernet2/1/1] ipv6 address 10::2 32
# Enable RIPng on the interface.
[RouterB-GigabitEthernet2/1/1] ripng 1 enable
[RouterB-GigabitEthernet2/1/1] quit
# Enable RIPng.
[RouterB] ripng
# Display RIPng routing table information.
[RouterB-ripng-1] display ripng 1 route
Route Flags: A - Aging, S - Suppressed, G - Garbage-collect
----------------------------------------------------------------
Peer FE80::7D58:0:CA03:1
Dest 10::/32,
via FE80::7D58:0:CA03:1, cost
Dest 20::/32,
via FE80::7D58:0:CA03:1, cost
Dest 40::/32,
via FE80::7D58:0:CA03:1, cost
on GigabitEthernet2/1/1
1, tag 0, A, 18 Sec
1, tag 0, A, 8 Sec
1, tag 0, A, 3 Sec
416

Advertisement

Table of Contents
loading

Table of Contents