Using prefix lists as prefix filters

BGP: Configuring Prefix Filters

Using prefix lists as prefix filters

When you have created a prefix list, you can use it to filter incoming or outgoing update messages for a particular BGP peer, by using the following commands in BGP router mode for the AS.

Filter incoming updates (received from a particular neighbor):

awplus(config-router)#neighbor <neighbor> prefix-list <list-name> in

Filter outgoing updates (destined for a particular neighbor):

awplus(config-router)#neighbor <neighbor> prefix-list <list-name> out

The router will then compare the prefixes in update packets with each entry in the prefix list, looking for matches.

If a matching entry has the parameter permit, then there will be effectively no action. If a matching entry has the parameter deny, then the specified prefix will be removed from the update packet.

Once the update packet has been compared against every entry in the prefix list, it will be sent to the neighbor (out filters) or processed (in filters), minus any prefixes that have been removed by the filter.

Example: Prefix filters

Filter out one particular route from a neighbor

This example expands on the basic configuration in "BGP: Example" on page 8.

It creates a prefix list on the AlliedWare Plus switch that explicitly permits one of the routes that is advertised from the AW neighbor, and therefore implicitly denies the other route.

1.If you previously configured an AS path filter, as shown in "Example: AS path filters" on page 18, remove it from the neighbor definition.

awplus(config)# router bgp 34567

awplus(config-router)#no neighbor 45.45.45.46 filter-list list1 in

2.Create an IP prefix list to include the route 45.0.0.0/8. Prefix lists end in an implicit exclude clause, so this will exclude all other routes.

awplus(config)# ip prefix-list list1 permit 45.0.0.0/8

3.Set that prefix list as the prefix list filter for the BGP neighbor 45.45.45.46.

awplus(config)# router bgp 34567

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

Page 23
Image 23
Allied Telesis X8100, x908 manual Using prefix lists as prefix filters, Example Prefix filters

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.