Configuration Examples - Edge-Core ES4624-SFP Manual

L3 gigabit ethernet switch
Hide thumbs Also See for ES4624-SFP:
Table of Contents

Advertisement

Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set vpnv4 next-hop 10.1.1.1
17.2.3.26 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: Weight value is adopted to facilitate the best path option and validates
only within the local switch. While there are several route to the same destination the one
with higher priority is more preferred. 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 weight 60

17.2.4 Configuration Examples

The figure below shows a network consisting of four Layer 3 switches. This example
demonstrates how to set the BGP as-path properties through route-map. BGP protocol is
applied among the Layer 3 switches. As for switchC, the network 192.68.11.0/24 can be
reached through two paths in which one is AS-PATH 1 by IBGP (going through SwitchD),
the other one is AS-PATH 2 by EBGP (going through SwitchB). BGP selects the shortest
path, so AS-PATH 1 is the preferred path. If the path 2 is wished, which is through EBGP
path, we can add two extra AS path numbers into the AS-PATH messages from SwitchA
to SwitchD so as to change the determination SwitchC take to 192.68.11.0/24.
425

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Es4626-sfp

Table of Contents