Method: Cisco::RouteMap#set_ipv6_next_hop
- Defined in:
- lib/cisco_node_utils/route_map.rb
#set_ipv6_next_hop ⇒ Object
set ipv6 next-hop 1.1.1.1 2.2.2.2 3.3.3.3
2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 |
# File 'lib/cisco_node_utils/route_map.rb', line 2109 def set_ipv6_next_hop arr = config_get('route_map', 'set_ipv6_next_hop', @get_args) val = default_set_ipv6_next_hop arr.each do |str| next if str.empty? next if str.include?('peer-address') next if str.include?('unchanged') next if str.include?('redist-unchanged') val = str.split val.delete('load-share') end val end |