22.10.2013 Views

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

7.8.1.0 - Force10 Networks

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Use these commands in the following sequence, starting in the CONFIGURATION mode to configure an<br />

AS-PATH ACL to filter a specific AS_PATH value.<br />

Step Command Syntax Command Mode Purpose<br />

1 ip as-path access-list<br />

as-path-name<br />

2<br />

3<br />

4<br />

5<br />

{deny | permit} filter<br />

parameter<br />

Regular Expressions as filters<br />

CONFIGURATION Assign a name to a AS-PATH ACL and enter<br />

AS-PATH ACL mode.<br />

CONFIG-AS-PATH Enter the parameter to match BGP AS-PATH for<br />

filtering. This is the filter that will be used to match<br />

the AS-path. The entries can be any format,<br />

letters, numbers, or regular expressions.<br />

This command can be entered multiple times if<br />

multiple filters are desired.<br />

See Table 11 for accepted expressions.<br />

exit AS-PATH ACL Return to CONFIGURATION mode<br />

router bgp as-number CONFIGURATION Enter ROUTER BGP mode.<br />

neighbor {ip-address |<br />

peer-group-name}<br />

filter-list as-path-name<br />

{in | out}<br />

CONFIG-ROUTER-<br />

BGP<br />

Use a configured AS-PATH ACL for route filtering<br />

and manipulation.<br />

If you assign an non-existent or empty AS-PATH<br />

ACL, the software allows all routes.<br />

Regular expressions are used to filter AS paths or community lists. A regular expression is a special<br />

character used to define a pattern that is then compared with an input string.<br />

For an AS-path access list as shown in the commands above, if the AS path matches the regular expression<br />

in the access list, then the route matches the access list.<br />

232 Border Gateway Protocol

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!