Apply Comm-List Delete - H3C S7500E Series Command Manual

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If BGP routing
information matches AS-path-ACL 1, add AS number 200 before the original AS_PATH
attribute.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply as-path 200

6.1.2 apply comm-list delete

Syntax
apply comm-list comm-list-number delete
undo apply comm-list
View
Routing policy view
Parameters
comm-list-number: Community list number. The basic community list number ranges
from 1 to 99. The advanced community list number ranges from 100 to 199.
Description
Use the apply comm-list delete command to remove community attributes in BGP
routing information specified by the community list.
Use the undo apply comm-list command to remove the clause configuration.
No community attributes are removed by default.
Examples
# Create routing policy policy1 with node 10, matching mode as permit. If BGP routing
information matches AS-path-ACL 1, remove community attributes specified in
community list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply comm-list 1 delete
Chapter 6 Routing Policy Configuration Commands
6-2

Advertisement

Table of Contents
loading

Table of Contents