Using Routing Access Profiles
ExtremeWare 7.2e Installation and User Guide
163
Autonomous System Expression Example
The following example uses combinations of the autonomous system expressions to create a
complicated access profile:
create access-profile AS1 type as-path
configure access-profile AS1 mode none
These commands create the access profile.
configure access-profile AS1 add 5 permit as-path “^65535$”
This command configures the access profile to permit AS paths that contain only (begin and end with)
AS number 65535.
configure access-profile AS1 add 10 permit as-path “^65535 14490$”
This command configures the access profile to permit AS paths beginning with AS number 65535,
ending with AS number 14490, and containing no other AS paths.
configure access-profile AS1 add 15 permit as-path “^1 2-8 [11 13 15]$”
This command configures the access profile to permit AS paths beginning with AS number 1, followed
by any AS number from 2 - 8, and ending with either AS number 11, 13, or 15.
configure access-profile AS1 add 20 deny as-path “111 [2-8]”
This command configures the access profile to deny AS paths beginning with AS number 111 and
ending with any AS number from 2 - 8.
configure access-profile AS1 add 25 permit as-path “111 .?”
This command configures the access profile to permit AS paths beginning with AS number 111 and
ending with any additional AS number, or beginning and ending with AS number 111.
Deleting an Access Profile Entry
To delete an access profile entry, use the following command:
^
Matches the beginning of the AS path
$
Matches the end of the AS path
–
Matches the beginning or end, or a space
-
Separates the beginning and end of a range of numbers
*
Matches 0 or more instances
+
Matches 1 or more instances
?
Matches 0 or 1 instance
{
Start of AS SET segment in the AS path
}
End of AS SET segment in the AS path
(
Start of a confederation segment in the AS path
)
End of a confederation segment in the AS path
Table 32: Regular Expression Notation (Continued)
Character
Definition
Содержание ExtremeWare 7.2e
Страница 14: ...14 ExtremeWare 7 2 0 Software User Guide Contents...
Страница 18: ...18 ExtremeWare 7 2e Installation and User Guide Preface...
Страница 46: ...46 ExtremeWare 7 2e Installation and User Guide Summit 400 48t Switch Overview and Installation...
Страница 80: ...80 ExtremeWare 7 2e Installation and User Guide Accessing the Switch...
Страница 102: ...102 ExtremeWare 7 2e Installation and User Guide Virtual LANs VLANs...
Страница 108: ...108 ExtremeWare 7 2e Installation and User Guide Forwarding Database FDB...
Страница 180: ...180 ExtremeWare 7 2e Installation and User Guide Security...
Страница 194: ...194 ExtremeWare 7 2e Installation and User Guide Ethernet Automatic Protection Switching...
Страница 218: ...218 ExtremeWare 7 2e Installation and User Guide Spanning Tree Protocol STP...
Страница 248: ...248 ExtremeWare 7 2e Installation and User Guide Interior Gateway Protocols...
Страница 256: ...256 ExtremeWare 7 2e Installation and User Guide IP Multicast Routing...
Страница 308: ...308 ExtremeWare 7 2e Installation and User Guide Using ExtremeWare Vista on the Summit 400...
Страница 316: ...316 ExtremeWare 7 2e Installation and User Guide Technical Specifications...
Страница 324: ...324 ExtremeWare 7 2e Installation and User Guide Software Upgrade and Boot Options...