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

« Previous Version 2 Next »


The set routing route-map match ip prefix-len command matches the outgoing interface value of the route with the value configured in the match clause.
The delete routing route-map match ip prefix-len command restores the default behavior of not matching the outgoing interface value of the route. 

Command Syntax

set routing route-map <route-map-name> <NUMBERmatch ip <address|next-hop> prefix-len <prefix-len>

delete routing route-map <route-map-name> <NUMBER> match ip <address|next-hop> prefix-len <prefix-len>


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.

 ip <address|next-hop>

Specifies the type of matching address.

  • address: matches the destination IP address prefix length of the routes.
  • next-hop: matches the source IP address prefix length of the routes.
prefix-len <prefix-len>Specifies the prefix length to be matched. The value is an integer that ranges from 0 to 32.


Example

  •  Configure a match clause in the route map to match the outgoing interface of the route:
admin@Xorplus# set routing route-map GlobalMap 10 match interface ge-1/1/1
admin@Xorplus# commit
  • No labels