Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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 clausemap match ipv4-addr address command  matches the destination IP address prefix length or the prefix list of the routes.
The delete routing route-map match ip prefixmap match ipv4-len addr address command restores the default behavior of not matching the outgoing interface value of the route. matching the destination IP address prefix length or the prefix list of the routes.

Command Syntax

set routing route-map <route-map-name> order <NUMBERmatch ip <address|next-hop> prefixmatch ipv4-addr address {prefix-len <prefix-len>|prefix-list <prefix-list-v4>}

delete routing route-map <route-map-name> order <NUMBER> match ip <address|next-hop> prefixmatch ipv4-addr address {prefix-len <prefix-len>|prefix-list <prefix-list-v4>}


Parameter

 ip <address|next-hop> value with the outgoing interface of the route entry

Parameter

Description

route-map <route-map-name>

Specifies the name of the route map. Required.

order <NUMBER>

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

prefix-len <prefix-len>Specifies the prefix length to be matched. The value is an integer that ranges from 0 to 32.
prefix-len list <prefix-len>-list-v4>Specifies the name of the prefix list to be matched.


Example

  •  Configure a match clause in the route map to match the outgoing interface the address prefix length of the route:routes.
Code Block
admin@Xorplus# set routing route-map GlobalMap order 10 match ipv4-addr interfaceaddress ge-1/1/1prefix-len 24
admin@Xorplus# commit