beautypg.com

10 match tag, 11 route-map – Accton Technology ES4626 User Manual

Page 372

background image

372

Command Mode:

route-map mode

Usage Guide:

This command matches according to the type of OSPF routes (OSPF

AS-external LSA type is either type 1or type 2). If the matching succeeded, then the

“permit” or “deny” action in the route-map is performed.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#match route-type external type-1

13.2.3.10 match tag

Command: match tag <tag-val >

no match tag [<tag-val >]

Function:

Configure to matching with the tag domain of the OSPF routing message. The

no match tag [<tag-val >]” deletes this configuration.

Parameter: <tag-val >

is the tag value, ranging between 0~4294967295.

Command Mode: route-map mode

Usage Guide:

This command matches according to the tag value in the OSPF route. If

the matching succeeded, then the “permit” or “deny” action in the route-map is

performed.

Example:

Switch#config terminal

Switch(config)#route-map r1 permit 5

Switch(config-route-map)#match tag 60

13.2.3.11 route-map

Command: route-map {deny | permit}

no route-map [{deny | permit} ]

Function:

Configure the route-map and entering the route-map mode. The “no

route-map [{deny | permit} ]

” command deletes

route-map.

Parameter:

is the name of route-map, permit sets route-map matching

mode to permit mode, deny sets route-map matching mode to permit mode(set sub will

not be executed under this mode), is the route-map sequence

number, ranging between 1~65535.

Default:

None

Command Mode:

Global Mode

Usage Guide:

A route-map may consist of several nodes each of which is a check unit.

The check sequence among nodes is identified by sequence-number. “permit” means the

This manual is related to the following products: