Setting parameters in the routes – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 272

Advertising
background image

258

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Filtering

8

To configure the match-interface option, use the following command.

Virtual ADX(config)# route-map test-route permit 99

Virtual ADX(config-routemap test-route)# match interface ethernet 1/1

Virtual ADX(config-routemap test-route)# exit

Syntax: [no] match interface interface interface...

The interface variable specifies the interface that you want to use with the match interface
command. Up to 5 interfaces of the following types can be specified:

ethernet port

loopback loopback-number

null0

ve ve-ID

Setting parameters in the routes

Use the following command to define a set clause that prepends an AS number to the AS path on
each route that matches the corresponding match statement.

Virtual ADX(config-routemap GET_ONE)# set as-path prepend 65535

Syntax: [no] set

[as-path [prepend as-num,as-num,...]] |
[automatic-tag] |
[comm-list acl delete] |
[community num:num | num | internet | local-as | no-advertise | no-export] |
[dampening [half-life reuse suppress max-suppress-time]]
[ip next hop ip-addr]
[ip next-hop peer-address] |
[local-preference num] |
[metric [+ | - ]num | none] |
[metric-type type-1 | type-2] | external
[metric-type internal] |
[next-hop ip-addr] |
[origin igp | incomplete] |
[tag ] |
[weight num]

The as-path prepend num,num,... parameter adds the specified AS numbers to the front of the
AS-path list for the route. The range of num values is 1 – 65535 for two-byte ASNs and 1 –
4294967295 if AS4s have been enabled.

The automatic-tag parameter calculates and sets an automatic tag value for the route.

NOTE

This parameter applies only to routes redistributed into OSPF.

The comm-list parameter deletes a community from the community attributes field for a BGP4
route.

The community parameter sets the community attribute for the route to the number or well-known
type you specify.

Advertising