BGP: Configuring AS Path Filters

BGP: Configuring AS Path Filters

BGP: Configuring AS Path Filters

To configure path filters we need to first understand something about AS path lists and how to use them.

AS path lists

Path filters use a construct known as an AS path list. An AS path list has a name and consists of one or more (unnumbered) entries. Each entry specifies:

which AS paths to consider.

whether the AS paths in question should be included or excluded from the list.

The set of paths to consider is specified using regular expressions. The AlliedWare Plus OS supports the full set of syntax elements for simple regular expressions:

SYMBOL

CHARACTER

USED TO...

 

 

 

^

Caret

Match the beginning of the input string. When

 

 

used at the beginning of a string of characters, it

 

 

negates a pattern match.

 

 

 

$

Dollar sign

Match the end of the input string.

 

 

 

.

Period

Match a single character (white spaces included).

 

 

 

*

Asterix

Match zero or more sequences of a pattern.

 

 

 

+

Plus sign

Match one or more sequences of a pattern.

 

 

 

?

Question mark

Match zero or one occurrences of a pattern.

 

 

 

_

Underscore

Match spaces, commas, braces, parentheses, or the

 

 

beginning and end of an input string.

 

 

 

[]

Brackets

Specify a range of single-characters.

 

 

 

-

Hyphen

Separate the end points of a range.

 

 

 

For example, you can specify things like:

any path that contains a certain set of AS numbers: e.g. 23334 45634 8988

any path that starts with a particular AS number: e.g. ^23334

any path that ends with a particular AS number: e.g. 8988$

a specific path: e.g. ^23334 45634 8988$

an empty path: ^$

Syntax To create an entry in an AS path list, use the command:

awplus(config)# ip as-path access-list <list-name> {deny permit} <regular-expression>

There is an implicit deny all entry at the end of each path list. Any AS path that does not match any earlier entry is excluded from the list.

Use Route Maps and Other Filters to Filter and Alter BGP and OSPF Routes Page 17

Page 17
Image 17
Allied Telesis X8100, x908 manual BGP Configuring AS Path Filters, AS path lists

X8100, x908 specifications

The Allied Telesis x908 and the SwitchBlade x900 series of network switches are cutting-edge solutions designed to address the demands of modern networking environments. These switches are known for their high performance, reliability, and robust feature sets, making them ideal for enterprise and service provider networks.

The Allied Telesis x908 series consists of modular and chassis-based systems that can accommodate a variety of network configurations. One of the main features of the x908 series is its ability to offer high scalability with support for a large number of ports. This makes it suitable for data centers and large enterprise networks where space and bandwidth optimization are critical.

In addition to scalability, the x908 series supports advanced Layer 2 and Layer 3 switching capabilities. This allows for efficient traffic management and routing, ensuring that data is delivered swiftly and reliably. The x908 also incorporates intelligent features such as Quality of Service (QoS), which prioritizes critical network traffic, ensuring that time-sensitive data—like voice and video—maintains its quality during transmission.

The SwitchBlade x900 series takes this functionality further with its innovative modular architecture. This allows organizations to configure their networks to meet specific needs by choosing from a variety of interface cards and service modules. The SwitchBlade x900 also supports advanced security features such as Access Control Lists (ACLs) and VLAN segmentation, which provide enhanced protection against unauthorized access and network threats.

Another hallmark of the x908 and SwitchBlade series is their support for high-speed Ethernet technologies, including 10G and 40G Ethernet. This enables organizations to keep pace with the increasing bandwidth demands of applications and services, particularly in cloud computing and data-intensive workloads.

Both the x908 and the SwitchBlade x900 series are designed with energy efficiency in mind, featuring power-saving technologies that reduce overall operational costs. Coupled with Allied Telesis' management tools, which provide detailed analytics and monitoring, network administrators can optimize performance and energy consumption simultaneously.

In summary, the Allied Telesis x908 and SwitchBlade x900 series offer a comprehensive suite of features, high performance, scalability, and advanced networking technologies. They represent a strategic investment for organizations looking to build resilient, efficient, and future-proof network infrastructures.