set vpnv4 next-hop
Use this command to set a VPNv4 next-hop address.
To use this command, you must first have a match clause. Match and set commands set the conditions for redistributing routes from one routing protocol to another. The match command specifies the match criteria under which redistribution is allowed for the current route-map. The set command specifies the set redistribution actions to be performed, if the match criteria are met.
If the packets do not match any of the defined criteria, they are routed through the normal routing process.
Note: This command is valid for BGP only.
Use the no parameter with this command to disable this function
Command Syntax
set vpnv4 next-hop A.B.C.D
no set vpnv4 next-hop (A.B.C.D|)
Parameter
A.B.C.D
IP address of originator.
Default
No default value is specified
Command Mode
Route-map mode
Applicability
This command was introduced before OcNOS version 1.3.
Example
#configure terminal
(config)#route-map rmap1 permit 3
(config-route-map)#set vpnv4 next-hop 6.6.6.6
Last modified date: 07-13-2023