Example D Matching on a next-hop prefix-list

Examples

Example D Matching on a next-hop prefix-list

1.Create a prefix-list that matches on the neighbor's IP address:

awplus#ship prefix-list nh-test permit 45.45.45.46/32

2.Create a route map with a permit entry that matches on this prefix-list as a next-hop:awplus#shroute-map nh-test permit 1

awplus#shmatch ip next-hop prefix-list nh-test

3.Apply this route map as the in route map on the neighbor:

awplus(config)#router bgp 34567

awplus(config-router)#neighbor 45.45.45.46 route-map nh-test in

4.Shut down the neighbor, and then bring it up again:

awplus(config-router)#neighbor 45.45.45.46 shutdown awplus(config-router)#neighbor 45.45.45.46 no shutdown

5.All the routes are learnt OK from the neighbor:

awplus#show ip route

Codes: C - connected, S - static, R - RIP, B - BGP O - OSPF, IA - OSPF inter area

N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2

* - candidate default

B45.0.0.0/8 [20/0] via 45.45.45.46, vlan1, 00:00:03

C45.45.45.0/24 is directly connected, vlan1

B52.0.0.0/8 [20/0] via 45.45.45.46, vlan1, 00:00:03

C64.0.0.0/4 is directly connected, vlan64

Example E Prepending AS numbers

1.Create a route map that prepends a list of AS numbers to the attribute field of outgoing updates:

awplus(config)#route-map as-list-test permit 1

awplus(config-route-map)#match ip address 1

awplus(config-route-map)#set as-path prepend 11 22 33 44 55 66 77 88 99 1010 1111 1212 1313 1414 1515 1616

2.Set this as the out route map for the neighbor 45.45.45.46

awplus(config-route-map)#router bgp 34567

awplus(config-router)#neighbor 45.45.45.46 route-map as-list- test out

3.Shut down the neighbor, and then bring it up again:

awplus(config-router)#neighbor 45.45.45.46 shutdown awplus(config-router)#neighbor 45.45.45.46 no shutdown

4.Now, check the routes learnt on the neighbor - note the long AS-path list:

Manager BGP peer> show bgp route

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

Page 38
Image 38
Allied Telesis x908, X8100 manual Example D Matching on a next-hop prefix-list, Example E Prepending AS numbers

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.