Ipv6 route
Use this command to configure a tracking-id to ipv6 static route that is leaked to the non-default VRF.
Use the no form of this command to delete the tracking id
Command Syntax
ipv6 route X:X::X:X/M (X:X::X:X|IFNAME) {<track <1-500>}
ipv6 route vrf NAME X:X::X:X/M (X:X::X:X|IFNAME) global {<track <1-500>}
Parameters
X:X::X:X/M
Destination prefix with subnet in ipv6 format
X:X::X:X
Nexthop address in IPv6 format
IFNAME
Nexthop address in interface name format
vrf
VRF (Virtual Routing and Forwarding) instance
NAME
VRF name
global
Global table lookup (to support inter-VRF static route leaking)
track
Tracking-id to IPv4 static route
<1-500>
Identifier for the tracked object
Command Mode
Configuration mode
Applicability
This command is introduced in OcNOS-SP version 5.1.
Example
#configure terminal
OcNOS(config)# ipv6 route 5000::/64 3001::1 track 20
OcNOS(config-object-track)#commit
OcNOS(config)#no ipv6 route 5000::/64 3001::1 track 20
OcNOS(config)#commit
#configure terminal
OcNOS(config)# ipv6 route vrf vrf1 2002::0/64 xe1 global track 30
OcNOS(config)#commit
OcNOS(config)#no ipv6 route vrf vrf1 2002::0/64 xe1 global track 30
OcNOS(config)#commit
Last modified date: 07-13-2023