Qtech QSW-8200-28F-AC-DC [12/74] Match route type

Qtech QSW-8200-28T-AC-DC [12/74] Match route type
User Manual
Chapter 1. Commands for Routing Policy 12
www.qtech.ru
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#match origin egp
1.12 match route-type
Command: match route-type external <type-1 | type-2 >
no match route-type external [<type-1 | type-2 >]
Function: Configure to matching with the route type of OSPF routing message. The no
match route-type external [<type-1 | type-2 >]” deletes the configuration.
Parameter: type-1 means match with the OSPF type 1 external route, type-2 means
match with the OSPF type 2 external route.
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 1 or 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
1.13 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 04294967295.
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
1.14 route-map
Command: route-map <map_name> {deny | permit} <sequence_num>
no route-map <map_name> [{deny | permit} <sequence_num>]
Function: Configure the route-map and entering the route-map mode. The no route-
map <map_name> [{deny | permit} <sequence_num>]” command deletes route-map.

Содержание

Похожие устройства

Скачать