Allied Telesis X8100, x908 manual set bgp peer=45.45.45.45 outroutemap=mixed sendcommunity=yes

Page 41
set bgp peer=45.45.45.45 outroutemap=mixed sendcommunity=yes

Examples

add ip routem=mixed entry=1 match prefixlist=com add ip routem=mixed entry=1 set com=89:89

add ip routem=mixed entry=2 match prefixlist=as add ip routem=mixed entry=2 set aspath=34599

set bgp peer=45.45.45.45 outroutemap=mixed sendcommunity=yes

When the route 156.23.4.144/28 is checked on the AlliedWare Plus switch, its ASPath contains 34599.

BGP#show ip bgp 156.23.4.144/28

BGP routing table entry for 156.23.4.144/28

Paths: (1 available, best #1, table Default-IP-Routing-Table) Not advertised to any peer

34568 34599

45.45.45.46 from 45.45.45.46 (45.45.45.46)

Origin incomplete metric 0, localpref 100, valid, external, best Last update: Wed Oct 1 08:54:10 2008

3.On the AlliedWare Plus switch, create an ASPath-list that drops AS paths containing 34599, but allows all others.

ip as-path access-list list1 deny 34599 ip as-path access-list list1 permit .*

4.Create a community-list that includes the community 89:89, among others. ip community-list 78 permit 55:66

ip community-list 78 permit 89:89 ip community-list 78 permit 9999:89

5.Create a route map that drops updates that match this community-list, but allows all other updates.

route-map com deny 1

match community 78 route-map com permit 2

6.Apply both the aspath-list and the route map as in-filters on the neighbor: router bgp 34567

redistribute connected

neighbor 45.45.45.46 remote-as 34568 neighbor 45.45.45.46 route-map com in neighbor 45.45.45.46 filter-list list1 in

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

Image 41
Contents Technical Guide IntroductionIntroduction ContentsWhich products and software version does it apply to? BGP Applying Route Maps to Imported RoutesWhich products and software version does it apply to? Related How To NotesBGP peers BGP updatesBGP Concepts and Terminology Origin Update attributesAS-path Next-hopBGP Overview of the Available Filter Types Access Control List ACL filtersFilter types Distribute filtersDifference and Relationship in BGP Examples for filtering BGP Update messagesBGP Example Hierarchy of the Different Filters Example Distribute filters on page  Example AS path filters on page  Example Prefix filters on pageBasic configuration awplus#show ip route Confirming the neighbor relationshipAlliedWare switch About ACLs BGP Configuring Distribute FiltersFilter out one particular route from a neighbor Using ACLs as filtersExample Distribute filters Filter out a range of prefix lengths 6. Shut down the neighbor, and then bring it up again awplusconfig# neighbor 45.45.45.46 distribute-list list2 in3. Check that the IP route table now includes all the routes Use a numbered ACL instead of a named ACL 4. Check that the IP route table no longer includes 52.0.0.0/8 AS path lists BGP Configuring AS Path FiltersDiscard or allow routes from a neighbor Using AS path lists as path filtersExample AS path filters 7. Shut down the neighbor, and then bring it up again 4. Shut down the neighbor, and then bring it up againa neighbor An outgoing filter that uses an AS-path list Another exampleBGP Configuring AS Path Filters Mask length BGP Configuring Prefix FiltersAbout prefix lists Example Prefix filters Using prefix lists as prefix filtersawplusconfig-router# neighbor neighbor prefix-list list-name in awplusconfig-router# neighbor neighbor prefix-list list-name outFilter out a range of different prefix lengths awplusconfig-router# do show ip route Structure of a route map BGP Configuring Route MapsAn AS path list Configuring a match clauseClauses Case A community listOne or more prefixes, by using an ACL One or more prefixes, by using a prefix listA next hop address Configuring a set clauseAn origin A metric the MED attributeset community community-values additive set atomic-aggregate set weightset extcommunity rtsoo ext-comm-number set ip next-hop ipaddOne match clause with an action The effect of different combinations of clausesNo match clause and one or more set clauses A match clause and one or more set clausesUpdate 1 to Peer Update from PeerUpdate 2 to Peer Router ASFirst, enter BGP router mode for the AS. The prompt should look like Example B Match on a prefix-list that denies an entry Examplesawplusconfig#ip prefix-list test1 permit 52.0.0.0/8 awplusconfig-route-map#set metric4. Apply this route map as the in route map on the neighbor Example E Prepending AS numbers Example D Matching on a next-hop prefix-listawplusconfig-route-map#match ip address awplusconfig-route-map#router bgpThe routes coming from that peer has community 1. Configure the AW peer to send out a community numberadd ip routem=com entry=1 set commmun=8989 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 Route maps ACLs Path filters Prefix filtersSyntax BGP Applying Route Maps to Imported RoutesOther Uses of Route Maps neighbor default-originateneighbor unsuppress-map networkBGP Route Map Filtering Example BGP configurationRoute map configuration set local-preference route-map outdef permit Interface OSPF Configuring Route Maps for Filtering and Modifying OSPF RoutesMetric External route type A prefix, by using a prefix listA prefix, by using an ACL  Set the metric, by using the command set metric OSPF Applying Route Maps
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.