Configuring Switch Fast Forwarding Ecmp/Wcmp Policy - D-Link xStack DGS-3610 Series Configuration Manual

Hide thumbs Also See for xStack DGS-3610 Series:
Table of Contents

Advertisement

DGS-3610 Series Configuration Guide
!
DGS-3610(config)# router ospf
DGS-3610(config-router)# redistribute rip subnets route-map redrip
DGS-3610(config-router)# network 192.168.12.0 0.0.0.255 area 0
!
DGS-3610(config)# access-list 20 permit 200.168.23.0
!
DGS-3610(config)# route-map redrip permit 10
DGS-3610(config-route-map)# match metric 4
DGS-3610(config-route-map)# set metric 40
DGS-3610(config-route-map)# set metric-type type-1
DGS-3610(config-route-map)# set tag 40
!
In the following configuration example, the RIP routing protocol redistributes only the OSPF
routes whose tag is and initial metric is 10.
DGS-3610(config)# router rip
DGS-3610(config-router)# version 2
DGS-3610(config-router)# redistribute ospf route-map redospf
DGS-3610(config-router)# network 200.168.23.0
!
DGS-3610(config)# route-map redospf permit 10
DGS-3610(config-route-map)# match tag 10
DGS-3610(config-route-map)# set metric 10
!
30.3 Configuring Switch Fast
Forwarding ECMP/WCMP Policy
In the switch, when the hardware forwards and stores ECMP/WCMP routes, load-balance
policies are also involved. When the route has multiple next hops, the hardware can select a
next hop according to the policy set. The switch will select different fields of the packets as
the keyword according to our settings, and send them to the hash as input (there are two
algorithm available) to select the appropriate hop. The appropriate packet characteristic
fields and hash algorithm should be selected to make more balanced egress traffic volume
of the packets.
30.3.1
Selecting Hash Keyword
You can set the packet hash keyword as the combination of source IP, destination IP,
TCP/UDP port number, and user-define (udf). UDF is 1-128, used as the seed value for
hash calculation. Among various keywords, SIP is required, while others are optional.
Various possible combinations are listed as below:
SIP
SIP+DIP
SIP+TCP/UDP port
port
SIP+UDF
Chapter 30 Protocol-Independent Configuration
30-11

Advertisement

Table of Contents
loading

Table of Contents