HP MSR Series Configuration Manual page 268

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

Advertisement

# Configure IPv6 addresses for interfaces Ethernet 1/1 and Ethernet 1/2.
<RouterA> system-view
[RouterA] ipv6
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ipv6 address 10::1 32
[RouterA-Ethernet1/1] quit
[RouterA] interface ethernet 1/2
[RouterA-Ethernet1/2] ipv6 address 11::1 32
[RouterA-Ethernet1/2] quit
# Enable RIPng on Ethernet 1/1.
[RouterA] interface ethernet 1/1
[RouterA-Ethernet1/1] ripng 1 enable
[RouterA-Ethernet1/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
2.
Configure Router B:
# Configure the IPv6 address of Ethernet 1/1
<RouterB> system-view
[RouterB] ipv6
[RouterB] interface ethernet 1/1
[RouterB-Ethernet1/1] ipv6 address 10::2 32
# Enable RIPng on the interface.
[RouterB-Ethernet1/1] ripng 1 enable
[RouterB-Ethernet1/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,
on Ethernet1/1
256

Advertisement

Table of Contents
loading

Table of Contents