86 set vpnv4 next-hop – Accton Technology ES4626 User Manual
Page 566

566
acceptable by this VRF, the export RT represents the RT value carried with this VRF
when routing spreading, both refers to above two option both enabled. If the export RT
carried with the received route ever matches with the import RT of this VRF, then this
VRF will accept this route or else not (except for the no bgp inbound-route-filter is
configured which enables RD match). Several RT can be configured on the same VRF.
Normally we set one RT with the both mode so to equal the RD and RT_VALUE.
Example:
Switch(config)#ip vrf DC1
Switch(config-vrf)#rd 100:10
Switch(config-vrf)#route-target both 100:10
Switch(config-vrf)#
In above example is created a VRF named DC1 with RD value 100:10. the RT is
configured bilateral. The RT-VALUE is equal to RD.
13.8.3.86 set vpnv4 next-hop
Command: set vpnv4 next-hop <ip-addr>
no set vpnv4 next-hop <ip-addr>
Function:
Configure the nexthop of the VPNv4 route.
Parameter: <ip-addr>
is nexthop of vpnv4 route
Command Mode
:vrf mode
Usage Guide:
Configure VPNv4 route nexthop with this command. As normal nexthop
settings are only for IPv4 route, this command specially configures the VPNv4
address-family.
Example:
Configure the address-family as follows:
Switch(config)#route-map map1 permit 15
Switch(config-map)#match interface Vlan1
Switch(config-map)#set weight 655
Switch(config-map)#set vpnv4 next-hop 10.1.1.250
Switch(config-map)#exit
Switch(config)#router bgp 100
Switch(config-router)#neighbor 10.1.1.68 remote-as 100
Switch(config-router)#neighbor 10.1.1.68 route-map map1 in
Switch(config-router)#address-family vpnv4 unicast
Switch(config-router-af)#neighbor 10.1.1.68 activate
Switch(config-router-af)#exit-address-family
View the routing message after refresh
Switch#show ip bgp vpn all