28 set vpnv4 next-hop, 29 set weight, Set vpnv – PLANET XGS3-24042 User Manual

Page 491: Next, Set weight

Advertising
background image


31-130

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#set tag 60

31.28 set vpnv4 next-hop

Command:

set vpnv4 next-hop <ip_addr>

no set vpnv4 next-hop [<ip_addr>]

Function:

Configure the next-hop of BGP VPNv4 routing message. The “no set vpnv4 next-hop

[<ip_addr>]” command deletes the configuration.

Parameter:

<ip_addr> is the next-hop ip address of VPNv4 route shown by dotted decimal notation.

Command Mode:

route-map mode

Usage Guide:

To use this command, one match clause should at first be defined.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#set vpnv4 next-hop 10.1.1.1

31.29 set weight

Command:

set weight <weight_val>

no set weight [<weight_val>]

Function:

Configure the weight value of BGP routing message. The “no set weight [<weight_val>]

command deletes this configuration.

Parameter:

<weight_val> is weight value, ranging between 0~4294967295

Command Mode:

route-map mode

Usage Guide:

Advertising