OS10 Enterprise Edition User Guide Release 10.4.1.0

PDF

Weight attribute

Influence the BGP routing based on the weight value. Routes with a higher weight value have preference when multiple routes to the same destination exist.

  1. Assign a weight to the neighbor connection in ROUTER-BGP mode.
    neighbor {
                                           ip-address}
                                        
  2. Set a weight value for the route in ROUTER-NEIGHBOR mode (1 to 4294967295, default 0).
    weight 
                                           weight
                                        
  3. Return to ROUTER-BGP mode.
    exit
  4. Assign a weight value to the peer-group in ROUTER-BGP mode.
    template 
                                           template name
                                        
  5. Set a weight value for the route in ROUTER-TEMPLATE mode.
    weight 
                                           weight
                                        

Modify weight attribute

OS10(config)# router bgp 10
                                 OS10(config-router-bgp-10)# neighbor 10.1.1.4
                                 OS10(config-router-neighbor)# weight 400
                                 OS10(config-router-neighbor)# exit
                                 OS10(config-router-bgp-10)# template zanzibar
                                 OS10(config-router-template)# weight 200
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\