D-Link DXS-3600 Series Reference Manual page 206

Dxs-3600 series layer 2/3 managed 10gigabit ethernet switch
Hide thumbs Also See for DXS-3600 Series:
Table of Contents

Advertisement

DXS-3600 Series Layer 3 Managed 10Gigabit Ethernet Switch CLI Reference Guide
10-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
egp
incomplete
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
10-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
Specifies that the prefix is originated from an Interior Gateway
Protocol.
Specifies that the prefix is originated from an Exterior Gateway
Protocol.
Specifies that the prefix is originated from an unknown source.
206

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dxs-3600-32s

Table of Contents