ZXR10 ZSR V2 Configuration Guide (IPv6)
R2(config)#interface gei-2/2
R2(config-if-gei-2/2)#no shutdown
R2(config-if-gei-2/2)#ipv6 enable
R2(config-if-gei-2/2)#ipv6 address 192:168::1:2/64
R2(config-if-gei-2/2)#exit
R2(config)#ipv6 router ospf 1026
R2(config-ospfv3-1026)#router-id 22.22.22.22
R2(config-ospfv3-1026)#interface gei-2/2 area 1
R2(config-ospfv3-1026-if-gei-2/2)#exit
2.
Create a route-map on R1.
R1(config)#route-map ff
R1(config-route-map)#match ipv6 metric 0
R1(config-route-map)#set ipv6 metric 50
R1(config-route-map)#set ipv6 metric-type type-1
R1(config-route-map)#set ipv6 tag 100
3.
Configure a static route on R1.
R1(config)#ipv6 route 1:2:3::/64 192:168::1:2
4.
On R1, apply the route map to OSPF route redistribution.
R1(config)#ipv6 router ospf 1026
R1(config-ospfv3-1026)#redistribute static route-map ff
R1(config-ospfv3-1026)#end
Configuration Verification
Log in to R1, and run the following commands to check the configuration, static route and
OSPF routes.
R1#show route-map ff
[route-map ff] IP type: IPv6
route-map ff permit 10
match ipv6 metric 0
set ipv6 metric-type type-1
set ipv6 metric 50
set ipv6 tag 100
R1#show ipv6 forwarding route static
IPv6 Routing Table:
Headers: Dest: Destination, Gw: Gateway, Pri: Priority;
Codes
: K: kernel, I1: isis-l1, SFN: sf-nat64, R: ripng, AF: aftr, B: bgp,
D: direct, I2: isis-l2, SLN: sl-nat64, O: ospfv3, D6: dhcp, P: ppp,
S: static, N: nd, V: vrrp, A: address, M: multicast, UI: user-ipaddr;
Dest
Owner
Metric
Interface
Pri
Gw
1:2:3::/64
S
0
gei-1/2
1
192:168::1:2
9-14
SJ-20140504150128-018|2014-05-10 (R1.0)
ZTE Proprietary and Confidential
Содержание ZXR10 ZSR
Страница 12: ...This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 306: ...Figures This page intentionally left blank IV SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...
Страница 308: ...This page intentionally left blank VI SJ 20140504150128 018 2014 05 10 R1 0 ZTE Proprietary and Confidential ...