Allied Telesis x908, X8100 manual BGP Applying Route Maps to Imported Routes, Syntax

Page 46

BGP: Applying Route Maps to Imported Routes

BGP: Applying Route Maps to Imported Routes

The switch is able to import routes into BGP that it learnt by non-BGP means. In other words, the routes would be static routes, or routes learnt by OSPF or RIP.

You can apply a route map to this importation process so that the imported routes are given certain attributes, or so that certain routes are blocked from being imported.

The switch uses the route map to:

filter routes or set attributes when it imports the routes into BGP

set attributes on any update message in which it advertises the routes

Note that the entries in route maps that are applied to BGP importing cannot have match clauses that match on BGP attributes such as AS path or community. This is because BGP attributes are not relevant to non-BGP routes. The route map entries can match on prefix list, origin, next hop, or the route type if importing OSPF routes.

Syntax

You can apply the route map by using the following command in BGP router mode for the AS.

redistribute {connectedospfripstatic} route-map <map-name>

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

Image 46
Contents Introduction Technical GuideWhich products and software version does it apply to? ContentsIntroduction BGP Applying Route Maps to Imported RoutesRelated How To Notes Which products and software version does it apply to?BGP Concepts and Terminology BGP updatesBGP peers AS-path Update attributesOrigin Next-hopFilter types Access Control List ACL filtersBGP Overview of the Available Filter Types Distribute filtersExamples for filtering BGP Update messages Difference and Relationship in BGP Example Distribute filters on page Hierarchy of the Different FiltersBGP Example  Example AS path filters on page  Example Prefix filters on pageBasic configuration AlliedWare switch Confirming the neighbor relationshipawplus#show ip route BGP Configuring Distribute Filters About ACLsExample Distribute filters Using ACLs as filtersFilter out one particular route from a neighbor Filter out a range of prefix lengths 3. Check that the IP route table now includes all the routes awplusconfig# neighbor 45.45.45.46 distribute-list list2 in6. Shut down the neighbor, and then bring it up again Use a numbered ACL instead of a named ACL awplusconfig-router# do show ip route BGP Configuring AS Path Filters AS path listsExample AS path filters Using AS path lists as path filtersDiscard or allow routes from a neighbor a neighbor 4. Shut down the neighbor, and then bring it up again7. Shut down the neighbor, and then bring it up again Another example An outgoing filter that uses an AS-path listBGP Configuring AS Path Filters About prefix lists BGP Configuring Prefix FiltersMask length awplusconfig-router# neighbor neighbor prefix-list list-name in Using prefix lists as prefix filtersExample Prefix filters awplusconfig-router# neighbor neighbor prefix-list list-name outFilter out a range of different prefix lengths BGP Configuring Prefix Filters BGP Configuring Route Maps Structure of a route mapClauses Configuring a match clauseAn AS path list A community list CaseOne or more prefixes, by using a prefix list One or more prefixes, by using an ACLAn origin Configuring a set clauseA next hop address A metric the MED attributeset community community-values additive set extcommunity rtsoo ext-comm-number set weightset atomic-aggregate set ip next-hop ipaddNo match clause and one or more set clauses The effect of different combinations of clausesOne match clause with an action A match clause and one or more set clausesUpdate 2 to Peer Update from PeerUpdate 1 to Peer Router ASFirst, enter BGP router mode for the AS. The prompt should look like awplusconfig#ip prefix-list test1 permit 52.0.0.0/8 ExamplesExample B Match on a prefix-list that denies an entry awplusconfig-route-map#set metric4. Apply this route map as the in route map on the neighbor awplusconfig-route-map#match ip address Example D Matching on a next-hop prefix-listExample E Prepending AS numbers awplusconfig-route-map#router bgpadd ip routem=com entry=1 set commmun=8989 1. Configure the AW peer to send out a community numberThe routes coming from that peer has community set bgp peer=45.45.45.45 outroutemap=com sendcommunity=yesBGP#show ip route set bgp peer=45.45.45.45 outroutemap=mixed sendcommunity=yes 8. Add that ACL as a distribute-list in-filter on the neighbor route-map marker permit Examples ACLs Path filters Prefix filters Route mapsBGP Applying Route Maps to Imported Routes Syntaxneighbor unsuppress-map neighbor default-originateOther Uses of Route Maps networkRoute map configuration BGP configurationBGP Route Map Filtering Example set local-preference route-map outdef permit Metric OSPF Configuring Route Maps for Filtering and Modifying OSPF RoutesInterface A prefix, by using an ACL A prefix, by using a prefix listExternal route type OSPF Applying Route Maps  Set the metric, by using the command set metric
Related manuals
Manual 8 pages 39.31 Kb Manual 21 pages 8.63 Kb

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.