DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
210
11-72
set origin
This command is used to set the BGP origin code. To delete an entry, use the
no
form of this command.
set origin {igp | egp | incomplete}
no set origin
Parameters
igp
Specifies that the prefix is originated from an Interior Gateway
Protocol.
egp
Specifies that the prefix is originated from an Exterior Gateway
Protocol.
incomplete
Specifies that the prefix is originated from an unknown source.
Default
The default origin follows the value in the main IP routing table.
Command Mode
Route-map Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
The route redistribute to BGP has the origin code “INCOMPLETE”. The main purpose of this command is
to set origin code for the redistributed route. The origin code (ORIGIN) is a well-known mandatory
attribute that indicates the origin of the prefix.
The origin code has three values:
•
IGP, indicates that the prefix is originated from an Interior Gateway Protocol.
•
EGP, indicates that the prefix is originated from an Exterior Gateway Protocol.
•
INCOMPLETE, indicates that the prefix is originated from unknown source.
You can verify your settings by entering the
show route-map
command.
Example
This example shows how to set the origin of routes that pass the AS path list, PATH_ACL in the route
map, named myPolicy, to EGP.
Switch# configure terminal
Switch(config)# route-map myPolicy permit 1
Switch(config-route-map)# match as-path PATH_ACL
Switch(config-route-map)# set origin egp
11-73
set weight
This command is used to set the BGP weight for the matched routes. Use the
no
form of the command to
remove the command statement.
set weight NUMBER
Summary of Contents for DXS-3600 Series
Page 1: ......
Page 423: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 418 ...
Page 548: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 543 ...
Page 673: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 668 ...
Page 712: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 707 Switch ...
Page 845: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 840 ...
Page 884: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 879 ...
Page 1152: ...DXS 3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide 1147 ...