Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Version History

Version 1 Next »


The set routing route-map match origin command matches the route origin attribute of the route with route configured in the match clause.
The delete routing route-map match origin command restores the default behavior of not matching the route origin attribute of the route.

Command Syntax

set routing route-map <route-map-name> <NUMBERmatch origin <egp|igp|incomplete>

delete routing route-map <route-map-name> <NUMBER> match origin <egp|igp|incomplete>


Parameter

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

<NUMBER>

Specifies the sequence number of the entry. Required. The value is an integer that ranges from 1 to 65535.

origin <egp|igp|incomplete>

Specifies if the route origin attribute is matched with a match clause which originated as IGP, EGP, or has unknown origin. The unknown origin is typically redistributed from another routing protocol.


Example

  •  Configure a match clause in the route map to match the origin:
admin@Xorplus# set routing route-map GlobalMap 10 match origin egp
admin@Xorplus# set routing route-map GlobalMap 10 action permit
admin@Xorplus# commit
  • No labels