Qtech QSW-8200-28T-POEAC- DC [9/74] Match community

Qtech QSW-8200-28T-AC-DC [9/74] Match community
User Manual
Chapter 1. Commands for Routing Policy 9
www.qtech.ru
1.5 match community
Command: match community <community-list-name | community-list-num> [exact-
match]
no match community [<community-list-name | community-list-num>
[exact-match]]
Function: Configure the community attributes of BGP routing messages. The “no match
community [<community-list-name | community-list-num > [exact-match]]” command
deletes this configuration.
Parameter: <community-list-name > is the name of the community-list, <community-
list-num > is the community-list sequence number, ranging between 199 (Standard
ACL) or 100199 (Extended ACL), [exact-match] means precise matching.
Command Mode: route-map mode
Usage Guide: This command matches the community attributes of the BGP routing
message following the rules specified in the community list. 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 community 100 exact-match
1.6 match interface
Command: match interface <interface-name >
no match interface [<interface-name >]
Function: Configure to match the interfaces. The “no match interface [<interface-name
>]” deletes this configuration.
Parameter: <interface-name >” is the name of the interface.
Command Mode: route-map mode
Usage Guide: This command matches according to the next-hop messages in the route.
If the matching succeeded, then the “permit” or “deny” action in the route-map is
performed. This command is only used in RIP and OSPF protocols.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#match interface vlan1
1.7 match ip
Command: match ip <address | next-hop> <ip-acl -name | ip-acl -num | prefix-list list-
name>

Содержание

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

Скачать