set origin
Except on the first page, right running head:
Heading1 or Heading1NewPage text (automatic)
367
Alcatel-Lucent
Beta
Beta
OmniAccess 700 CLI Command Reference Guide
SET
ORIGIN
set origin
{
igp
|
egp <1-65535>
|
incomplete
}
D
ESCRIPTION
Enter this command in the Route-Map Configuration mode. This command sets
the BGP origin code.
P
ARAMETERS
D
EFAULT
V
ALUE
For redistributed routes, origin is set to incomplete. For routes learned from IGP
protocol, origin is set to IGP. The routes learned from EBGP, route origin is set to
EGP.
E
XAMPLE
ALU(config-route-map)# set origin incomplete
SET
WEIGHT
set weight <0-4294967295>
D
ESCRIPTION
Enter this command in the Route-Map Configuration mode. Use this command to
weight of route.
BGP has weight attribute. If the same route is received from multiple routers, then
weight is used to give preference to some route. Route with highest weight is
preferred.
P
ARAMETERS
D
EFAULT
V
ALUE
Default weight is 0.
E
XAMPLE
ALU(config-route-map)# set weight 10
Parameter
Description
igp
Set Interior Gateway Protocol as origin attribute.
egp <1-65535>
Set Exterior Gateway Protocol as origin attribute.
incomplete
Unknown origin.
Parameter
Description
0-4294967295
Weight value.