<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3296988580828016965</id><updated>2012-02-16T00:13:45.114-08:00</updated><category term='BGP - Metric Attribute'/><category term='BGP - Enabling BGP Routing'/><category term='Advanced routing protocols'/><category term='BGP How Does BGP Work'/><category term='VLAN'/><category term='WAN'/><category term='BGP - Backdoor Attribute'/><category term='BGP - Route Flap Dampening'/><category term='SNMP-SNMP Version 2'/><category term='BGP - As_path Attribute'/><category term='BGP - Forming BGP Neighbors'/><category term='BGP - Troubleshooting'/><category term='OSI Model Networking Materials'/><category term='BGP - Route Maps'/><category term='BGP - show ip bgp'/><category term='BGP - Neighbors'/><category term='BGP - BGP and Loopback Interfaces'/><category term='Cisco HSRP'/><category term='SNMP-Data Representation'/><category term='Layers of the OSI Model'/><category term='Virus Ports'/><category term='SNMP- Basic Components'/><category term='SNMP-Management'/><category term='BGP - RR and Conventional BGP Speakers'/><category term='WAFS'/><category term='BGP - iBGP'/><category term='Access Lists'/><category term='SNMP-Basic Commands'/><category term='BGP - Synchronization'/><category term='VPN Overview'/><category term='BGP - Filtering'/><category term='Cisco Commands'/><category term='Cisco Routers and Access Products'/><category term='Registered Port Numbers'/><category term='SNMP Interoperability'/><category term='SNMP-Management Information Base'/><category term='BGP - Peer Groups'/><category term='BGP - Route Reflectors'/><category term='BGP - Confederation'/><category term='BGP - Weight Attribute'/><category term='BGP - Origin Attribute'/><category term='SNMP-SNMP Version 1'/><category term='IP Routing'/><category term='MPLS'/><category term='BGP - show ip bgp injected-paths'/><category term='BGP - eBGP and iBGP'/><category term='BGP - Static Routes'/><category term='BGP - AS−Regular Expression'/><category term='BGP - Configuration Examples'/><category term='BGP - eBGP Multihop'/><category term='BGP - Multiple RRs within a Cluster'/><category term='BGP - Community Attribute'/><category term='Traffic with Access Lists'/><category term='BGP - Network Command'/><category term='SNMP-Security'/><category term='VoIP'/><category term='SNMP-Introduction'/><category term='BGP - Configuring BGP Conditional Route Injection'/><category term='BGP - Verifying BGP Conditional Route Injection'/><category term='BGP - Local Preference Attribute'/><category term='Well Known Port Numbers'/><category term='BGP - bgp inject-map exist-map'/><category term='BGP - Nexthop Attribute'/><category term='BGP - CIDR'/><title type='text'>Master in Networking</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default?start-index=101&amp;max-results=100'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>127</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5306856378547574186</id><published>2008-12-23T06:20:00.000-08:00</published><updated>2008-12-23T06:25:53.975-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP Interoperability'/><title type='text'>SNMP Interoperability</title><content type='html'>&lt;div style="text-align: justify;"&gt;As presently specified, SNMPv2 is incompatible with SNMPv1 in two key areas: message formats and protocol operations. SNMPv2 messages use different header and protocol data unit (PDU) formats than SNMPv1 messages. SNMPv2 also uses two protocol operations that are not specified in SNMPv1. Furthermore, RFC 1908 defines two possible SNMPv1/v2 coexistence strategies: proxy agents and bilingual network-management systems.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMP Proxy Agents&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;An SNMPv2 agent can act as a proxy agent on behalf of SNMPv1 managed devices, as follows:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;An SNMPv2 NMS issues a command intended for an SNMPv1 agent.&lt;/li&gt;&lt;li&gt;The NMS sends the SNMP message to the SNMPv2 proxy agent.&lt;/li&gt;&lt;li&gt;The proxy agent forwards Get, GetNext, and Set messages to the SNMPv1 agent unchanged.&lt;/li&gt;&lt;li&gt;GetBulk messages are converted by the proxy agent to GetNext messages and then are forwarded to the SNMPv1 agent.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;The proxy agent maps SNMPv1 trap messages to SNMPv2 trap messages and then forwards them to the NMS.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Bilingual SNMPv2 network-management systems&lt;/span&gt; support both SNMPv1 and SNMPv2. To support this dual-management environment, a management application in the bilingual NMS must contact an agent. The NMS then examines information stored in a local database to determine whether the agent supports SNMPv1 or SNMPv2. Based on the information in the database, the NMS communicates with the agent using the appropriate version of SNMP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5306856378547574186?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5306856378547574186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5306856378547574186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5306856378547574186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5306856378547574186'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-interoperability.html' title='SNMP Interoperability'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4326225778689658557</id><published>2008-12-23T06:19:00.001-08:00</published><updated>2008-12-23T06:19:57.560-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-Security'/><title type='text'>SNMP Security</title><content type='html'>&lt;div style="text-align: justify;"&gt;SNMP lacks any authentication capabilities, which results in vulnerability to a variety of security threats. These include masquerading occurrences, modification of information, message sequence and timing modifications, and disclosure. Masquerading consists of an unauthorized entity attempting to perform management operations by assuming the identity of an authorized management entity. Modification of information involves an unauthorized entity attempting to alter a message generated by an authorized entity so that the message results in unauthorized accounting management or configuration management operations. Message sequence and timing modifications occur when an unauthorized entity reorders, delays, or copies and later replays a message generated by an authorized entity. Disclosure results when an unauthorized entity extracts values stored in managed objects, or learns of notifiable events by monitoring exchanges between managers and agents. Because SNMP does not implement authentication, many vendors do not implement Set operations, thereby reducing SNMP to a monitoring facility.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4326225778689658557?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4326225778689658557/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4326225778689658557' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4326225778689658557'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4326225778689658557'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-security.html' title='SNMP Security'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-919210222145722778</id><published>2008-12-23T06:18:00.000-08:00</published><updated>2008-12-23T06:19:07.068-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-Management'/><title type='text'>SNMP Management</title><content type='html'>&lt;div style="text-align: justify;"&gt;SNMP is a distributed-management protocol. A system can operate exclusively as either an NMS or an agent, or it can perform the functions of both. When a system operates as both an NMS and an agent, another NMS might require that the system query manage devices and provide a summary of the information learned, or that it report locally stored management information.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-919210222145722778?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/919210222145722778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=919210222145722778' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/919210222145722778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/919210222145722778'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-management.html' title='SNMP Management'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5826343258891469399</id><published>2008-12-23T06:16:00.000-08:00</published><updated>2008-12-23T06:18:02.689-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-SNMP Version 2'/><title type='text'>SNMP Version 2</title><content type='html'>&lt;div style="text-align: justify;"&gt;SNMP version 2 (SNMPv2) is an evolution of the initial version, SNMPv1. Originally, SNMPv2 was published as a set of proposed Internet standards in 1993; currently, it is a draft standard. As with SNMPv1, SNMPv2 functions within the specifications of the Structure of Management Information (SMI). In theory, SNMPv2 offers a number of improvements to SNMPv1, including additional protocol operations.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMPv2 and Structure of Management Information&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Structure of Management Information (SMI) defines the rules for describing management information, using ASN.1.&lt;br /&gt;&lt;br /&gt;The SNMPv2 SMI is described in RFC 1902. It makes certain additions and enhancements to the SNMPv1 SMI-specific data types, such as including bit strings, network addresses, and counters. Bit strings are defined only in SNMPv2 and comprise zero or more named bits that specify a value. Network addresses represent an address from a particular protocol family. SNMPv1 supports only 32-bit IP addresses, but SNMPv2 can support other types of addresses as well. Counters are non-negative integers that increase until they reach a maximum value and then return to zero. In SNMPv1, a 32-bit counter size is specified. In SNMPv2, 32-bit and 64-bit counters are defined.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SMI Information Modules&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The SNMPv2 SMI also specifies information modules, which specify a group of related definitions. Three types of SMI information modules exist: MIB modules, compliance statements, and capability statements. MIB modules contain definitions of interrelated managed objects. Compliance statements provide a systematic way to describe a group of managed objects that must be implemented for conformance to a standard. Capability statements are used to indicate the precise level of support that an agent claims with respect to a MIB group. An NMS can adjust its behavior toward agents according to the capabilities statements associated with each agent.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMPv2 Protocol Operations&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Get, GetNext, and Set operations used in SNMPv1 are exactly the same as those used in SNMPv2. However, SNMPv2 adds and enhances some protocol operations. The SNMPv2 Trap operation, for example, serves the same function as that used in SNMPv1, but it uses a different message format and is designed to replace the SNMPv1 Trap.&lt;br /&gt;&lt;br /&gt;SNMPv2 also defines two new protocol operations: GetBulk and Inform. The GetBulk operation is used by the NMS to efficiently retrieve large blocks of data, such as multiple rows in a table. GetBulk fills a response message with as much of the requested data as will fit. The Inform operation allows one NMS to send trap information to another NMS and to then receive a response. In SNMPv2, if the agent responding to GetBulk operations cannot provide values for all the variables in a list, it provides partial results.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5826343258891469399?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5826343258891469399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5826343258891469399' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5826343258891469399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5826343258891469399'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-version-2.html' title='SNMP Version 2'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3356667385350052187</id><published>2008-12-23T06:14:00.000-08:00</published><updated>2008-12-23T06:15:47.029-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-SNMP Version 1'/><title type='text'>SNMP Version 1</title><content type='html'>&lt;div style="text-align: justify;"&gt;SNMP version 1 (SNMPv1) is the initial implementation of the SNMP protocol. It is described in Request For Comments (RFC) 1157 and functions within the specifications of the Structure of Management Information (SMI). SNMPv1 operates over protocols such as User Datagram Protocol (UDP), Internet Protocol (IP), OSI Connectionless Network Service (CLNS), AppleTalk Datagram-Delivery Protocol (DDP), and Novell Internet Packet Exchange (IPX). SNMPv1 is widely used and is the de facto network-management protocol in the Internet community.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMPv1 and Structure of Management Information &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The Structure of Management Information (SMI) defines the rules for describing management information, using Abstract Syntax Notation One (ASN.1). The SNMPv1 SMI is defined in RFC 1155. The SMI makes three key specifications: ASN.1 data types, SMI-specific data types, and SNMP MIB tables.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMPv1 and ASN.1 Data Types&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The SNMPv1 SMI specifies that all managed objects have a certain subset of Abstract Syntax Notation One (ASN.1) data types associated with them. Three ASN.1 data types are required: name, syntax, and encoding. The name serves as the object identifier (object ID). The syntax defines the data type of the object (for example, integer or string). The SMI uses a subset of the ASN.1 syntax definitions. The encoding data describes how information associated with a managed object is formatted as a series of data items for transmission over the network.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMPv1 and SMI-Specific Data Types&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The SNMPv1 SMI specifies the use of a number of SMI-specific data types, which are divided into two categories: simple data types and application-wide data types.&lt;br /&gt;&lt;br /&gt;Three simple data types are defined in the SNMPv1 SMI, all of which are unique values: integers, octet strings, and object IDs. The integer data type is a signed integer in the range of –2,147,483,648 to 2,147,483,647. Octet strings are ordered sequences of 0 to 65,535 octets. Object IDs come from the set of all object identifiers allocated according to the rules specified in ASN.1.&lt;br /&gt;&lt;br /&gt;Seven application-wide data types exist in the SNMPv1 SMI: network addresses, counters, gauges, time ticks, opaques, integers, and unsigned integers. Network addresses represent an address from a particular protocol family. SNMPv1 supports only 32-bit IP addresses. Counters are non-negative integers that increase until they reach a maximum value and then return to zero. In SNMPv1, a 32-bit counter size is specified. Gauges are non-negative integers that can increase or decrease but that retain the maximum value reached. A time tick represents a hundredth of a second since some event. An opaque represents an arbitrary encoding that is used to pass arbitrary information strings that do not conform to the strict data typing used by the SMI. An integer represents signed integer-valued information. This data type edefines the integer data type, which has arbitrary precision in ASN.1 but bounded precision in the SMI. An unsigned integer represents unsigned integer-valued information and is useful when values are always non-negative. This data type redefines the integer data type, which has arbitrary precision in ASN.1 but bounded precision in the SMI.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMP MIB Tables&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The SNMPv1 SMI defines highly structured tables that are used to group the instances of a tabular object (that is, an object that contains multiple variables). Tables are composed of zero or more rows, which are indexed in a way that allows SNMP to retrieve or alter an entire row with a single Get, GetNext, or Set command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SNMPv1 Protocol Operations&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;SNMP is a simple request/response protocol. The network-management system issues a request, and managed devices return responses. This behavior is implemented by using one of four protocol operations: Get, GetNext, Set, and Trap. The Get operation is used by the NMS to retrieve the value of one or more object instances from an agent. If the agent responding to the Get operation cannot provide values for all the object instances in a list, it does not provide any values. The GetNext operation is used by the NMS to retrieve the value of the next object instance in a table or a list within an agent. The Set operation is used by the NMS to set the values of object instances within an agent. The Trap operation is used by agents to asynchronously inform the NMS of a significant event.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3356667385350052187?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3356667385350052187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3356667385350052187' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3356667385350052187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3356667385350052187'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-version-1.html' title='SNMP Version 1'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6673422623850847880</id><published>2008-12-23T06:12:00.001-08:00</published><updated>2008-12-23T06:12:50.476-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-Data Representation'/><title type='text'>SNMP and Data Representation</title><content type='html'>&lt;div style="text-align: justify;"&gt;SNMP must account for and adjust to incompatibilities between managed devices. Different computers use different data representation techniques, which can compromise the capability of SNMP to exchange information between managed devices. SNMP uses a subset of Abstract Syntax Notation One (ASN.1) to accommodate communication between diverse systems.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6673422623850847880?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6673422623850847880/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6673422623850847880' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6673422623850847880'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6673422623850847880'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-and-data-representation.html' title='SNMP and Data Representation'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-7873256190915659528</id><published>2008-12-23T06:08:00.000-08:00</published><updated>2008-12-23T06:11:39.809-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-Management Information Base'/><title type='text'>SNMP Management Information Base</title><content type='html'>&lt;div style="text-align: justify;"&gt;SNMP Management Information Base&lt;br /&gt;&lt;br /&gt;A Management Information Base (MIB) is a collection of information that is organized hierarchically. MIBs are accessed using a network-management protocol such as SNMP. They are comprised of managed objects and are identified by object identifiers.&lt;br /&gt;&lt;br /&gt;A managed object (sometimes called a MIB object, an object, or a MIB) is one of any number of specific characteristics of a managed device. Managed objects are comprised of one or more object instances, which are essentially variables.&lt;br /&gt;&lt;br /&gt;Two types of managed objects exist: scalar and tabular. Scalar objects define a single object instance.&lt;br /&gt;&lt;br /&gt;Tabular objects define multiple related object instances that are grouped in MIB tables.&lt;br /&gt;&lt;br /&gt;An example of a managed object is atInput, which is a scalar object that contains a single object instance, the integer value that indicates the total number of input AppleTalk packets on a router interface.&lt;br /&gt;&lt;br /&gt;An object identifier (or object ID) uniquely identifies a managed object in the MIB hierarchy. The MIB hierarchy can be depicted as a tree with a nameless root, the levels of which are assigned by different organizations. Below figure illustrates the MIB tree.&lt;br /&gt;The top-level MIB object IDs belong to different standards organizations, while lower-level object IDs are allocated by associated organizations.&lt;br /&gt;&lt;br /&gt;Vendors can define private branches that include managed objects for their own products. MIBs that have not been standardized typically are positioned in the experimental branch.&lt;br /&gt;&lt;br /&gt;The managed object atInput can be uniquely identified either by the object name—iso.identified-organization.dod.internet.private.enterprise.cisco.temporary variables.AppleTalk.atInput—or by the equivalent object descriptor, 1.3.6.1.4.1.9.3.3.1.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-7873256190915659528?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/7873256190915659528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=7873256190915659528' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7873256190915659528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7873256190915659528'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-management-information-base.html' title='SNMP Management Information Base'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5049533068617333898</id><published>2008-12-23T05:08:00.000-08:00</published><updated>2008-12-23T05:09:25.395-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-Basic Commands'/><title type='text'>SNMP Basic Commands</title><content type='html'>&lt;div style="text-align: justify;"&gt;Managed devices are monitored and controlled using four basic SNMP commands: read, write, trap, and traversal operations.&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;read&lt;/span&gt; command is used by an NMS to monitor managed devices. The NMS examines different variables that are maintained by managed devices.&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;write&lt;/span&gt; command is used by an NMS to control managed devices. The NMS changes the values of variables stored within managed devices.&lt;br /&gt;&lt;br /&gt;The &lt;span style="font-weight: bold;"&gt;trap&lt;/span&gt; command is used by managed devices to asynchronously report events to the NMS. When certain types of events occur, a managed device sends a trap to the NMS.&lt;br /&gt;&lt;br /&gt;Traversal operations are used by the NMS to determine which variables a managed device supports and to sequentially gather information in variable tables, such as a routing table.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5049533068617333898?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5049533068617333898/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5049533068617333898' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5049533068617333898'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5049533068617333898'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-basic-commands.html' title='SNMP Basic Commands'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-2937772276124825219</id><published>2008-12-23T05:04:00.000-08:00</published><updated>2008-12-23T05:07:10.896-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP- Basic Components'/><title type='text'>SNMP Basic Components</title><content type='html'>An SNMP-managed network consists of three key components: managed devices, agents, and network-management systems (NMSs). A managed device is a network node that contains an SNMP agent and that resides on a managed network. Managed devices collect and store management information and make this information available to NMSs using SNMP. Managed devices, sometimes called network elements, can be routers and access servers, switches and bridges, hubs, computer hosts, or printers.&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;An agent is a network-management software module that resides in a managed device. An agent has local knowledge of management information and translates that information into a form compatible with SNMP.&lt;br /&gt;&lt;br /&gt;An NMS executes applications that monitor and control managed devices. NMSs provide the bulk of the processing and memory resources required for network management. One or more NMSs must exist on any managed network.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_rcbpfThKZBA/SVDiXTuDeFI/AAAAAAAAALw/M-SeomryALY/s1600-h/Fig2.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 252px;" src="http://3.bp.blogspot.com/_rcbpfThKZBA/SVDiXTuDeFI/AAAAAAAAALw/M-SeomryALY/s320/Fig2.JPG" alt="" id="BLOGGER_PHOTO_ID_5282971252963899474" border="0" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-2937772276124825219?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/2937772276124825219/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=2937772276124825219' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2937772276124825219'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2937772276124825219'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-basic-components.html' title='SNMP Basic Components'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_rcbpfThKZBA/SVDiXTuDeFI/AAAAAAAAALw/M-SeomryALY/s72-c/Fig2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3142227848424116217</id><published>2008-12-23T05:01:00.000-08:00</published><updated>2008-12-23T05:04:38.966-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SNMP-Introduction'/><title type='text'>SNMP Introduction</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Simple Network Management Protocol&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;The Simple Network Management Protocol (SNMP) is an application layer protocol that facilitates the exchange of management information between network devices. It is part of the Transmission Control Protocol/Internet Protocol (TCP/IP) protocol suite. SNMP enables network administrators to manage network performance, find and solve network problems, and plan for network growth. Two versions of SNMP exist: SNMP version 1 (SNMPv1) and SNMP version 2 (SNMPv2). Both versions have a number of features in common, but SNMPv2 offers enhancements, such as additional protocol operations. Standardization of yet another version of SNMP—SNMP Version 3 (SNMPv3)—is pending. This chapter provides descriptions of the SNMPv1 and SNMPv2 protocol operations. Below figure illustrates a basic network managed by SNMP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SVDhmXJAI3I/AAAAAAAAALo/VdLz02ml44o/s1600-h/Fig1.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 382px; height: 229px;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SVDhmXJAI3I/AAAAAAAAALo/VdLz02ml44o/s320/Fig1.JPG" alt="" id="BLOGGER_PHOTO_ID_5282970412068643698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3142227848424116217?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3142227848424116217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3142227848424116217' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3142227848424116217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3142227848424116217'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/12/snmp-introduction_23.html' title='SNMP Introduction'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_rcbpfThKZBA/SVDhmXJAI3I/AAAAAAAAALo/VdLz02ml44o/s72-c/Fig1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4600012571994380612</id><published>2008-11-11T07:31:00.000-08:00</published><updated>2008-11-11T07:33:00.647-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - show ip bgp injected-paths'/><title type='text'>show ip bgp injected-paths</title><content type='html'>&lt;p&gt;&lt;span style="font-weight: bold;"&gt;show ip bgp injected-paths&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To display all the injected paths in the BGP routing table, use the show ip bgp injected-paths command in EXEC mode.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;show ip bgp injected-paths&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Syntax Description&lt;/span&gt;: This command has no arguments or keywords.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Command Modes&lt;/span&gt; EXEC&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4600012571994380612?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4600012571994380612/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4600012571994380612' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4600012571994380612'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4600012571994380612'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/show-ip-bgp-injected-paths.html' title='show ip bgp injected-paths'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4744355105313362244</id><published>2008-11-11T07:29:00.000-08:00</published><updated>2008-11-11T07:31:21.379-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - show ip bgp'/><title type='text'>show ip bgp</title><content type='html'>&lt;p&gt;&lt;span style="font-weight: bold;"&gt;show ip bgp&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To display entries in the Border Gateway Protocol (BGP) routing table, use the show ip bgp command in EXEC command.&lt;br /&gt;&lt;br /&gt;show ip bgp [network] [network-mask] [longer-prefixes] [prefix-list prefix-list-name | route-map&lt;br /&gt;route-map-name] [shorter prefixes mask-length]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;network&lt;/span&gt;      (Optional) Network number, entered to display a particular network in the BGP routing table.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;network-mask &lt;/span&gt;(Optional) Displays all BGP routes matching the address and mask pair.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;longer-prefixes &lt;/span&gt;(Optional) Displays the route and more specific routes.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;prefix-list | route-map  &lt;/span&gt;(Optional) Displays selected routes from a BGP routing table based on the contents of a prefix list or route map.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;prefix-list-name | route-map-name &lt;/span&gt;(Optional) The name of the route map or prefix list that is specified for the above argument.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;shorter prefixes mask-length &lt;/span&gt;(Optional) Displays learned prefixes that are longer than the maximum length but shorter than the specified mask for the prefix.&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-weight: bold;"&gt;Command Modes&lt;/span&gt; : EXEC&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4744355105313362244?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4744355105313362244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4744355105313362244' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4744355105313362244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4744355105313362244'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/show-ip-bgp.html' title='show ip bgp'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1971514906952033508</id><published>2008-11-11T07:27:00.000-08:00</published><updated>2008-11-11T07:28:58.821-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - bgp inject-map exist-map'/><title type='text'>bgp inject-map exist-map</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;bgp inject-map exist-map&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To inject a more specific route into a Border Gateway Protocol (BGP) routing table, use the bgp inject-map exist-map command in address family or router configuration mode. To disable the conditional injection of a selected route, use the no form of this command.&lt;br /&gt;&lt;br /&gt;bgp inject-map {inject-map-name} exist-map {exist-map-name}[copy-attributes]&lt;br /&gt;no bgp inject-map {inject-map-name} exist-map {exist-map-name}[copy-attributes]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;: inject-map-name  &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Description&lt;/span&gt;:  Defines the prefixes that will be created and installed to the local BGP table.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;: exist-map-name &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Description: &lt;/span&gt;Specifies the prefix that the BGP speaker will track.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax&lt;/span&gt;: copy-attributes &lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Description: &lt;/span&gt;(Optional) Configures the injected route to inherit the attributes of the aggregate route.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Defaults: &lt;/span&gt;The BGP Conditional Route Injection feature is not enabled by default.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Command Modes: &lt;/span&gt;Address family configuration, Router configuration&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Usage Guidelines: &lt;/span&gt;&lt;br /&gt;If the copy-attributes keyword is not specified when the bgp inject-map command is used, thecomponents will use the default attributes for locally originated routes. If the copy-attribute keyword is used, the components will inherit the same attributes as the aggregate route.&lt;br /&gt;&lt;br /&gt;To enable conditional route injection, the exist-map must contain both the match ip address prefix-list and match ip route-source prefix-list match clauses in the route map paragraph.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Examples:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following example configures the router for conditional route injection:&lt;br /&gt;&lt;br /&gt;(config-router)# bgp inject-map map1 exist-map map2 copy-attributes&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Related Commands:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;ip prefix-list &lt;/span&gt;-&gt; Displays information about a prefix list or prefix list entries.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;neighbor remote-as  &lt;/span&gt;-&gt; Adds an entry to the BGP or multiprotocol BGP neighbor table.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;route-map (IP)&lt;/span&gt; -&gt; Defines the conditions for redistributing routes from one routing protocol into another, or enables policy routing.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;show ip bgp &lt;/span&gt;-&gt; Displays entries in the BGP routing table.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;show ip bgp injected-paths &lt;/span&gt;-&gt; Displays injected paths in the BGP routing table.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1971514906952033508?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1971514906952033508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1971514906952033508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1971514906952033508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1971514906952033508'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-inject-map-exist-map.html' title='bgp inject-map exist-map'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3338286370202547458</id><published>2008-11-11T07:26:00.000-08:00</published><updated>2008-11-11T07:27:41.675-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Configuration Examples'/><title type='text'>BGP Configuration Examples</title><content type='html'>&lt;div style="text-align: justify;"&gt;This following configuration example configures conditional route injection for the inject-map named ORIGINATE and the exist-map named LEARNED_PATH:&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;router bgp 109&lt;br /&gt;bgp inject-map ORIGINATE exist-map LEARNED_PATH&lt;br /&gt;!&lt;br /&gt;route-map LEARNED_PATH permit 10&lt;br /&gt;match ip address prefix-list ROUTE&lt;br /&gt;match ip route-source prefix-list ROUTE_SOURCE&lt;br /&gt;!&lt;br /&gt;route-map ORIGINATE permit 10&lt;br /&gt;set ip address prefix-list ORIGINATED_ROUTES&lt;br /&gt;set community 14616:555 additive&lt;br /&gt;!&lt;br /&gt;ip prefix-list ROUTE permit 10.1.1.0/24&lt;br /&gt;!&lt;br /&gt;ip prefix-list ORIGINATED_ROUTES permit 10.1.1.0/25&lt;br /&gt;ip prefix-list ORIGINATED_ROUTES permit 10.1.1.128/25&lt;br /&gt;!&lt;br /&gt;ip prefix-list ROUTE_SOURCE permit 10.2.1.1/32&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3338286370202547458?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3338286370202547458/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3338286370202547458' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3338286370202547458'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3338286370202547458'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-configuration-examples.html' title='BGP Configuration Examples'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4418014388806927906</id><published>2008-11-11T07:25:00.000-08:00</published><updated>2008-11-11T07:26:38.121-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Troubleshooting'/><title type='text'>BGP Troubleshooting</title><content type='html'>&lt;div style="text-align: justify;"&gt;The BGP Conditional Route Injection feature is based on the injection of a more specific prefix into theBGP routing table when a less specific prefix is present. If conditional route injection is not workingproperly, check the following:&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;If conditional route injection is configured but does not occur, check for the existence of the aggregate prefix in the BGP routing table. The existence (or not) of the tracked prefix in the BGP&lt;br /&gt;&lt;/div&gt;routing table can be verified with the show ip bgp command.&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;If the aggregate prefix exists but conditional route injection does not occur, verify that the aggregate prefix is being received from the correct neighbor and the prefix list identifying that neighbor is a /32 match.&lt;br /&gt;&lt;br /&gt;Verify the injection (or not) of the more specific prefix using the show ip bgp injected-paths command.&lt;br /&gt;&lt;br /&gt;Verify that the prefix that is being injected is not outside of the scope of the aggregate prefix.&lt;br /&gt;&lt;br /&gt;Ensure that the inject route map is configured with the set ip address command and not the match &lt;span style="font-weight: bold;"&gt;ip address&lt;/span&gt; command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold; color: rgb(0, 0, 153);"&gt;Monitoring and Maintaining BGP Conditional Route Injection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To display BGP conditional advertisement information, use the following commands in EXEC mode, as needed:&lt;br /&gt;&lt;br /&gt;Command:  Router# show ip bgp&lt;br /&gt;Purpose: Displays entries in the BGP routing table.&lt;br /&gt;&lt;br /&gt;Command: Router# show ip bgp injected-paths&lt;br /&gt;Purpose: Displays paths in the BGP routing table that were conditionally injected.&lt;br /&gt;&lt;br /&gt;Command: Router# show ip bgp neighbors&lt;br /&gt;Purpose: Displays information about the TCP and BGP connections to neighbors.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4418014388806927906?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4418014388806927906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4418014388806927906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4418014388806927906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4418014388806927906'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-troubleshooting.html' title='BGP Troubleshooting'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-169906586151386681</id><published>2008-11-11T07:24:00.000-08:00</published><updated>2008-11-11T07:25:07.596-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Verifying BGP Conditional Route Injection'/><title type='text'>Verifying BGP Conditional Route Injection</title><content type='html'>&lt;p&gt;To verify that the BGP Conditional Route Injection feature is configured correctly, use the show ip bgp or show ip bgp injected-paths command.&lt;br /&gt;&lt;br /&gt;The following sample output is similar to the output that will be displayed when the show ip bgp&lt;br /&gt;command is entered:&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;blockquote&gt;Router# show ip bgp 172.16.0.0&lt;br /&gt;BGP routing table entry for 172.16.0.0/8, version 13&lt;br /&gt;Paths:(2 available, best #1, table Default-IP-Routing-Table)&lt;br /&gt;Flag:0x200&lt;br /&gt;Not advertised to any peer&lt;br /&gt;Local, (injected path from 172.16.0.0/8)&lt;br /&gt;10.0.0.2 from 10.0.0.2 (2.2.2.2)&lt;br /&gt;Origin incomplete, localpref 100, valid, external, best&lt;br /&gt;Community:957874231&lt;br /&gt;200&lt;br /&gt;10.0.0.2 from 10.0.0.2 (2.2.2.2)&lt;br /&gt;Origin incomplete, metric 0, localpref 100, valid, external&lt;/blockquote&gt;&lt;br /&gt;The following sample output is similar to the output that will be displayed when the show ip bgp&lt;br /&gt;injected-routes command is entered:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Router# show ip bgp injected-paths&lt;br /&gt;BGP table version is 11, local router ID is 10.0.0.1&lt;br /&gt;Status codes:s suppressed, d damped, h history, * valid, &gt; best, i - internal&lt;br /&gt;Origin codes:i - IGP, e - EGP, ? - incomplete&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;table style="text-align: left; width: 100%;" border="1" cellpadding="2" cellspacing="2"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;Network&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;Next Hop&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;Metric&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;LocPrf&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;Weight&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;Path&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;*&gt;&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;172.16.0.0&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;10.0.0.2&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;?&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;*&gt;&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;172.17.0.0/16&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;10.0.0.2&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td align="undefined" valign="undefined"&gt;?&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-169906586151386681?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/169906586151386681/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=169906586151386681' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/169906586151386681'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/169906586151386681'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/verifying-bgp-conditional-route.html' title='Verifying BGP Conditional Route Injection'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1446402291188103030</id><published>2008-11-11T07:21:00.000-08:00</published><updated>2008-11-11T07:23:38.022-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Configuring BGP Conditional Route Injection'/><title type='text'>Configuring BGP Conditional Route Injection</title><content type='html'>&lt;div style="text-align: justify;"&gt;The BGP Conditional Route Injection feature is supported by all platforms in Cisco IOS Release 12.2(14)S that support BGP:&lt;br /&gt;&lt;br /&gt;• Cisco 7200 series&lt;br /&gt;• Cisco 7400 series&lt;br /&gt;• Cisco 7500 series&lt;br /&gt;&lt;br /&gt;Determining Platform Support Through Cisco Feature Navigator Cisco IOS software is packaged in feature sets that support specific platforms. To get updated information regarding platform support for this feature, access Cisco Feature Navigator. Cisco Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature. Cisco Feature Navigator is a web-based tool that enables you to determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image.&lt;br /&gt;&lt;br /&gt;You can search by feature or release. Under the release section, you can compare releases side by side to display both the features unique to each software release and the features in common.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;See the following section for configuration tasks for the BGP Conditional Route Injection feature. Each task in the list is identified as either required or optional.&lt;br /&gt;&lt;br /&gt;• Configuring BGP Conditional Route Injection (required)&lt;br /&gt;• Verifying BGP Conditional Route Injection (optional)&lt;br /&gt;&lt;br /&gt;To configure the BGP Conditional Route Injection feature, use the following commands beginning in global configuration mode:&lt;br /&gt;&lt;br /&gt;&lt;table style="width: 100%; text-align: left; margin-left: 0px; margin-right: auto;" border="1" cellpadding="2" cellspacing="2"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="font-weight: bold; width: 324px;" align="undefined" valign="undefined"&gt;Command&lt;/td&gt;&lt;td style="font-weight: bold; text-align: justify; width: 351px;" valign="undefined"&gt;Purpose&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 1&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config)# router bgp as-number&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Places the router in router configuration mode, and configures the router to run a BGP process.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 2&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-router)# bgp inject-map ORIGINATE&lt;br /&gt;exist-map LEARNED_PATH&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the inject-map named ORIGINATE and the exist-map named LEARNED_PATH for conditional route injection.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 3&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-router)# exit&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Exits router configuration mode, and enters global configuration mode.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 4&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config)# route-map LEARNED_PATH permit&lt;br /&gt;sequence-number&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the route map named&lt;br /&gt;LEARNED_PATH.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 5&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-route-map)# match ip address prefix-list&lt;br /&gt;ROUTE&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Specifies the aggregate route to which a more specific route will be injected.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 6&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-route-map# match ip route-source&lt;br /&gt;prefix-list ROUTE_SOURCE&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the prefix list named&lt;br /&gt;ROUTE_SOURCE to redistribute the source of the route.&lt;br /&gt;&lt;br /&gt;Note: The route source is the neighbor address that is configured with the neighbor remote-as command. The tracked prefix must come from this neighbor in order for conditional route injection to occur.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 7&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-route-map)# exit&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Exits route-map configuration mode, and enters global configuration mode.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 8&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config)# route-map ORIGINATE permit 10&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the route map named ORIGINATE.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 9&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-route-map)# set ip address prefix-list ORIGINATED_ROUTES&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Specifies the routes to be injected.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 10&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-route-map)# set community community-attribute additive&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the community attribute of the injected routes.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 11&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config-route-map)# exit&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Exits route-map configuration mode, and enters global configuration mode.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 12&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config)# ip prefix-list ROUTE permit&lt;br /&gt;10.1.1.0/24&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the prefix list named ROUTE to permit routes from network 10.1.1.0/24.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 13&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config)# ip prefix-list ORIGINATED_ROUTES&lt;br /&gt;permit 10.1.1.0/25&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the prefix list named&lt;br /&gt;ORIGINATED_ROUTES to permit routes from network 10.1.1.0/25.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 14&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config)# ip prefix-list ORIGINATED_ROUTES&lt;br /&gt;permit 10.1.1.128/25&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the prefix list named&lt;br /&gt;ORIGINATED_ROUTES to permit routes from network 10.1.1.0/25.&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style="width: 79px;" align="undefined" valign="undefined"&gt;Step 15&lt;/td&gt;&lt;td style="width: 324px;" align="undefined" valign="undefined"&gt;Router(config)# ip prefix-list ROUTE_SOURCE permit&lt;br /&gt;10.2.1.1/32&lt;/td&gt;&lt;td style="text-align: justify; width: 351px;" valign="undefined"&gt;Configures the prefix list named&lt;br /&gt;ROUTE_SOURCE to permit routes from network 10.2.1.1/32.&lt;br /&gt;&lt;br /&gt;Note: The route source prefix list must be configured with a /32 mask in order for conditional route injection to occur.&lt;/td&gt;&lt;/tr&gt;&lt;tr align="justify"&gt;&lt;td colspan="3" rowspan="1" style="width: 79px;" valign="undefined"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Note&lt;/span&gt;: To enable conditional route injection, the exist-map must contain both the match ip address prefix-list and match ip route-source prefix-list match clauses in the route map paragraph.&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1446402291188103030?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1446402291188103030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1446402291188103030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1446402291188103030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1446402291188103030'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/configuring-bgp-conditional-route.html' title='Configuring BGP Conditional Route Injection'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-792346679562680555</id><published>2008-11-11T07:20:00.000-08:00</published><updated>2008-11-11T07:21:18.893-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Route Flap Dampening'/><title type='text'>BGP Route Flap Dampening</title><content type='html'>&lt;div style="text-align: justify;"&gt;Route dampening (introduced in Cisco IOS version 11.0) is a mechanism to minimize the instability caused by route flapping and oscillation over the network. To accomplish this, criteria are defined to identify poorly behaved routes. A route which is flapping gets a penalty for each flap (1000). As soon as the cumulative penalty reaches a predefined "suppress−limit", the advertisement of the route will be suppressed. The penalty will be exponentially decayed based on a preconfigured "half−time". Once the penalty decreases below a predefined "reuse−limit", the route advertisement will be un−suppressed.&lt;br /&gt;&lt;br /&gt;Routes, external to an AS, learned via IBGP will not be dampened. This is to avoid the IBGP peers having higher penalty for routes external to the AS.&lt;br /&gt;&lt;br /&gt;The penalty will be decayed at a granularity of 5 seconds and the routes will be un−suppressed at a granularity of 10 seconds. The dampening information is kept until the penalty becomes less than half of "reuse−limit" , at that point the information is purged from the router.&lt;br /&gt;&lt;br /&gt;Initially, dampening will be off by default. This might change if there is a need to have this feature enabled by default. The following are the commands used to control route dampening:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;bgp dampening (will turn on dampening)&lt;/li&gt;&lt;li&gt;no bgp dampening (will turn off dampening)&lt;/li&gt;&lt;li&gt;bgp dampening &lt;half&amp;#8722;life&amp;#8722;time&gt; (will change the half−life−time)&lt;/half&amp;#8722;life&amp;#8722;time&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;A command that sets all parameters at the same time is:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;bgp dampening &lt;half&amp;#8722;life&amp;#8722;time&gt; &lt;reuse&gt; &lt;suppress&gt; &lt;maximum&amp;#8722;suppress&amp;#8722;time&gt;&lt;/maximum&amp;#8722;suppress&amp;#8722;time&gt;&lt;/suppress&gt;&lt;/reuse&gt;&lt;/half&amp;#8722;life&amp;#8722;time&gt;&lt;/li&gt;&lt;li&gt;&lt;half&amp;#8722;life&amp;#8722;time&gt; (range is 1−45 min, current default is 15 min)&lt;/half&amp;#8722;life&amp;#8722;time&gt;&lt;/li&gt;&lt;li&gt;&lt;reuse&amp;#8722;value&gt; (range is 1−20000, default is 750)&lt;/reuse&amp;#8722;value&gt;&lt;/li&gt;&lt;li&gt;&lt;suppress&amp;#8722;value&gt; (range is 1−20000, default is 2000)&lt;/suppress&amp;#8722;value&gt;&lt;/li&gt;&lt;li&gt;&lt;max&amp;#8722;suppress&amp;#8722;time&gt; (maximum duration a route can be suppressed, range is 1−255, default is 4 times half−life−time)&lt;br /&gt;&lt;/max&amp;#8722;suppress&amp;#8722;time&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;hostname RTB&lt;br /&gt;interface Serial0&lt;br /&gt;ip address 203.250.15.2 255.255.255.252&lt;br /&gt;interface Serial1&lt;br /&gt;ip address 192.208.10.6 255.255.255.252&lt;br /&gt;router bgp 100&lt;br /&gt;bgp dampening&lt;br /&gt;network 203.250.15.0&lt;br /&gt;neighbor 192.208.10.5 remote−as 300&lt;br /&gt;&lt;br /&gt;RTD#&lt;br /&gt;hostname RTD&lt;br /&gt;interface Loopback0&lt;br /&gt;ip address 192.208.10.174 255.255.255.192&lt;br /&gt;interface Serial0/0&lt;br /&gt;ip address 192.208.10.5 255.255.255.252&lt;br /&gt;router bgp 300&lt;br /&gt;network 192.208.10.0&lt;br /&gt;neighbor 192.208.10.6 remote−as 100&lt;/blockquote&gt;RTB is configured for route dampening with default parameters. Assuming the EBGP link to RTD is stable, RTB's BGP table would look like this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#show ip bgp&lt;br /&gt;BGP table version is 24, local router ID is 203.250.15.2 Status codes: s&lt;br /&gt;suppressed, d damped, h history, * valid, &gt; best, i − internal Origin&lt;br /&gt;codes: i − IGP, e − EGP, ? − incomplete&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;table style="text-align: left; width: 661px; margin-left: 0px; margin-right: 0px;" border="1" cellpadding="2" cellspacing="2"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;Network&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;Next Hop&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;Metric&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;LocPrf&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;Weight&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;Path&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;*&gt;&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;192.208.10.0&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;192.208.10.5&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;300 i&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;*&gt;&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;203.250.15.0&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;0.0.0.0&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;32768&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;i&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;span style="font-family: courier new;"&gt;In order to simulate a route flap, use clear ip bgp 192.208.10.6 on RTD. RTB's BGP table will look like this:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;&lt;/span&gt;&lt;br /&gt;RTB#show ip bgp&lt;br /&gt;BGP table version is 24, local router ID is 203.250.15.2 Status codes: s&lt;br /&gt;suppressed, d damped, h history, * valid, &gt; best, i − internal Origin&lt;br /&gt;codes: i − IGP, e − EGP, ? − incomplete&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;table style="text-align: left; width: 661px; margin-left: 0px; margin-right: 0px;" border="1" cellpadding="2" cellspacing="2"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;Network&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;Next Hop&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;Metric&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;LocPrf&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;Weight&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;Path&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;h&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;192.208.10.0&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;192.208.10.5&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;300 i&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;*&gt;&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;203.250.15.0&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;0.0.0.0&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;32768&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;i&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;The BGP entry for 192.208.10.0 has been put in a "history" state. Which means that we do not have a best path to the route but information about the route flapping still exists.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#show ip bgp 192.208.10.0&lt;br /&gt;BGP routing table entry for 192.208.10.0 255.255.255.0, version 25&lt;br /&gt;Paths: (1 available, no best path)&lt;br /&gt;300 (history entry)&lt;br /&gt;192.208.10.5 from 192.208.10.5 (192.208.10.174)&lt;br /&gt;Origin IGP, metric 0, external&lt;br /&gt;Dampinfo: penalty 910, flapped 1 times in 0:02:03&lt;/blockquote&gt;The route has been given a penalty for flapping but the penalty is still below the "suppress limit" (default is 2000). The route is not yet suppressed. If the route flaps few more times we will see the following:&lt;br /&gt;&lt;br /&gt;RTB#show ip bgp&lt;br /&gt;BGP table version is 32, local router ID is 203.250.15.2 Status codes:&lt;br /&gt;s suppressed, d damped, h history, * valid, &gt; best, i − internal Origin codes:&lt;br /&gt;i − IGP, e − EGP, ? − incomplete&lt;br /&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;table style="text-align: left; width: 661px; margin-left: 0px; margin-right: 0px;" border="1" cellpadding="2" cellspacing="2"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;Network&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;Next Hop&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;Metric&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;LocPrf&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;Weight&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;Path&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;*d&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;192.208.10.0&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;192.208.10.5&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;300 i&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td align="undefined" valign="undefined"&gt;*&gt;&lt;/td&gt;&lt;td style="width: 120px;" align="undefined" valign="undefined"&gt;203.250.15.0&lt;/td&gt;&lt;td style="width: 121px;" align="undefined" valign="undefined"&gt;0.0.0.0&lt;/td&gt;&lt;td style="width: 94px;" align="undefined" valign="undefined"&gt;0&lt;/td&gt;&lt;td style="width: 70px;" align="undefined" valign="undefined"&gt;&lt;br /&gt;&lt;/td&gt;&lt;td style="width: 66px;" align="undefined" valign="undefined"&gt;32768&lt;/td&gt;&lt;td style="width: 92px;" align="undefined" valign="undefined"&gt;i&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family: Courier New,Courier,monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#show ip bgp 192.208.10.0&lt;br /&gt;BGP routing table entry for 192.208.10.0 255.255.255.0, version 32&lt;br /&gt;Paths: (1 available, no best path)&lt;br /&gt;300, (suppressed due to dampening)&lt;br /&gt;192.208.10.5 from 192.208.10.5 (192.208.10.174)&lt;br /&gt;Origin IGP, metric 0, valid, external&lt;br /&gt;Dampinfo: penalty 2615, flapped 3 times in 0:05:18 , reuse in 0:27:00&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The route has been dampened (suppressed). The route will be reused when the penalty reaches the "reuse value", in our case 750 (default).The dampening information will be purged when the penalty becomes less than half of the reuse−limit, in our case (750/2=375). The following are the commands used to show and clear flap statistics information:&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;show ip bgp flap−statistics (displays flap statistics for all the paths)&lt;/li&gt;&lt;li&gt;show ip bgp−flap−statistics regexp &lt;regexp&gt; (displays flap statistics for all paths that match the regexp)&lt;/regexp&gt;&lt;/li&gt;&lt;li&gt;show ip bgp flap−statistics filter−list &lt;list&gt; (displays flap statistics for all paths that pass the filter)&lt;/list&gt;&lt;/li&gt;&lt;li&gt;show ip bgp flap−statistics A.B.C.D m.m.m.m (displays flap statistics for a single entry)&lt;/li&gt;&lt;li&gt;show ip bgp flap−statistics A.B.C.D m.m.m.m longer−prefixes (displays flap statistics for more specific entries)&lt;/li&gt;&lt;li&gt;show ip bgp neighbor [dampened−routes] | [flap−statistics] (displays flap statistics for all paths from a neighbor)&lt;/li&gt;&lt;li&gt;clear ip bgp flap−statistics (clears flap statistics for all routes)&lt;/li&gt;&lt;li&gt;clear ip bgp flap−statistics regexp &lt;regexp&gt; (clears flap statistics for all the paths that match the regexp)&lt;/regexp&gt;&lt;/li&gt;&lt;li&gt;clear ip bgp flap−statistics filter−list &lt;list&gt; (clears flap statistics for all the paths that pass the filter)&lt;/list&gt;&lt;/li&gt;&lt;li&gt;clear ip bgp flap−statistics A.B.C.D m.m.m.m (clears flap statistics for a single entry)&lt;/li&gt;&lt;li&gt;clear ip bgp A.B.C.D flap−statistics (clears flap statistics for all paths from a neighbor)&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-792346679562680555?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/792346679562680555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=792346679562680555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/792346679562680555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/792346679562680555'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-route-flap-dampening.html' title='BGP Route Flap Dampening'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-2148865631620687785</id><published>2008-11-11T07:18:00.000-08:00</published><updated>2008-11-11T07:19:53.292-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - RR and Conventional BGP Speakers'/><title type='text'>BGP RR and Conventional BGP Speakers</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQ1LHHk7l3I/AAAAAAAAANs/CTHEBNOG7So/s1600-h/Image31.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 230px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQ1LHHk7l3I/AAAAAAAAANs/CTHEBNOG7So/s320/Image31.JPG" alt="" id="BLOGGER_PHOTO_ID_5263946125131093874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is normal in an AS to have BGP speakers that do not understand the concept of route reflectors. We will call these routers conventional BGP speakers. The route reflector scheme will allow such conventional BGP speakers to coexist. These routers could be either members of a client group or a non−client group. This would allow easy and gradual migration from the current IBGP model to the route reflector model. One could start creating clusters by configuring a single router as RR and making other RRs and their clients normal IBGP peers. Then more clusters could be created gradually.&lt;br /&gt;&lt;br /&gt;In the above diagram, RTD, RTE and RTF have the concept of route reflection. RTC, RTA and RTB are what we call conventional routers and cannot be configured as RRs. Normal IBGP mesh could be done between these routers and RTD. Later on, when we are ready to upgrade, RTC could be made a RR with clients RTA and RTB. Clients do not have to understand the route reflection scheme; it is only the RRs that would have to be upgraded.&lt;br /&gt;&lt;br /&gt;The following is the configuration of RTD and RTC:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTD#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 6.6.6.6 remote−as 100&lt;br /&gt;neighbor 6.6.6.6 route−reflector−client&lt;br /&gt;neighbor 5.5.5.5 remote−as 100&lt;br /&gt;neighbor 5.5.5.5 route−reflector−client&lt;br /&gt;neighbor 3.3.3.3 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 13.13.13.13 remote−as 300&lt;br /&gt;&lt;br /&gt;RTC#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 4.4.4.4 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 14.14.14.14 remote−as 400&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;When we are ready to upgrade RTC and make it a RR, we would remove the IBGP full mesh and have RTA and RTB become clients of RTC.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;Avoiding Looping of Routing Information&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;We have mentioned so far two attributes that are used to prevent potential information looping:&lt;br /&gt;&lt;br /&gt;originator−id and cluster−list. Another means of controlling loops is to put more restrictions on the set clause of out−bound route−maps.&lt;br /&gt;&lt;br /&gt;The set clause for out−bound route−maps does not affect routes reflected to IBGP peers.&lt;br /&gt;&lt;br /&gt;More restrictions are also put on nexthop−self, which is a per neighbor configuration option. When used on RRs the nexthop−self will only affect the nexthop of EBGP learned routes because the nexthop of reflected routes should not be changed.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-2148865631620687785?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/2148865631620687785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=2148865631620687785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2148865631620687785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2148865631620687785'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-rr-and-conventional-bgp-speakers.html' title='BGP RR and Conventional BGP Speakers'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQ1LHHk7l3I/AAAAAAAAANs/CTHEBNOG7So/s72-c/Image31.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6479468901782717491</id><published>2008-11-11T07:17:00.000-08:00</published><updated>2008-11-11T07:18:30.104-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Multiple RRs within a Cluster'/><title type='text'>BGP Multiple RRs within a Cluster</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1KfM3SGDI/AAAAAAAAANk/CC6p-m9U7Rs/s1600-h/Image30.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 296px;" src="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1KfM3SGDI/AAAAAAAAANk/CC6p-m9U7Rs/s320/Image30.JPG" alt="" id="BLOGGER_PHOTO_ID_5263945439355476018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Usually, a cluster of clients will have a single RR. In this case, the cluster will be identified by the router ID of the RR. In order to increase redundancy and avoid single points of failure, a cluster might have more than one RR. All RRs in the same cluster need to be configured with a 4 byte cluster−id so that a RR can recognize updates from RRs in the same cluster.&lt;br /&gt;&lt;br /&gt;A cluster−list is a sequence of cluster−ids that the route has passed. When a RR reflects a route from its clients to non−clients outside of the cluster, it will append the local cluster−id to the cluster−list. If this update has an empty cluster−list the RR will create one. Using this attribute, a RR can identify if the routing information is looped back to the same cluster due to poor configuration. If the local cluster−id is found in the cluster−list, the advertisement will be ignored.&lt;br /&gt;&lt;br /&gt;In the above diagram, RTD, RTE, RTF and RTH belong to one cluster with both RTD and RTH being RRs for the same cluster. Note the redundancy in that RTH has a fully meshed peering with all the RRs. In case RTD goes down, RTH will take its place. The following are the configuration of RTH, RTD, RTF and RTC:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTH#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 4.4.4.4 remote−as 100&lt;br /&gt;neighbor 5.5.5.5 remote−as 100&lt;br /&gt;neighbor 5.5.5.5 route−reflector−client&lt;br /&gt;neighbor 6.6.6.6 remote−as 100&lt;br /&gt;neighbor 6.6.6.6 route−reflector−client&lt;br /&gt;neighbor 7.7.7.7 remote−as 100&lt;br /&gt;neighbor 3.3.3.3 remote−as 100&lt;br /&gt;neighbor 9.9.9.9 remote−as 300&lt;br /&gt;bgp route−reflector 10 (This is the cluster−id)&lt;br /&gt;&lt;br /&gt;RTD#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 10.10.10.10 remote−as 100&lt;br /&gt;neighbor 5.5.5.5 remote−as 100&lt;br /&gt;neighbor 5.5.5.5 route−reflector−client&lt;br /&gt;neighbor 6.6.6.6 remote−as 100&lt;br /&gt;neighbor 6.6.6.6 route−reflector−client&lt;br /&gt;neighbor 7.7.7.7 remote−as 100&lt;br /&gt;neighbor 3.3.3.3 remote−as 100&lt;br /&gt;neighbor 11.11.11.11 remote−as 400&lt;br /&gt;bgp route−reflector 10 (This is the cluster−id)&lt;br /&gt;&lt;br /&gt;RTF#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 10.10.10.10 remote−as 100&lt;br /&gt;neighbor 4.4.4.4 remote−as 100&lt;br /&gt;neighbor 13.13.13.13 remote−as 500&lt;br /&gt;&lt;br /&gt;RTC#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 1.1.1.1 route−reflector−client&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 route−reflector−client&lt;br /&gt;neighbor 4.4.4.4 remote−as 100&lt;br /&gt;neighbor 7.7.7.7 remote−as 100&lt;br /&gt;neighbor 10.10.10.10 remote−as 100&lt;br /&gt;neighbor 8.8.8.8 remote−as 200&lt;/blockquote&gt;Note that we did not need the cluster command for RTC because only one RR exists in that cluster. An important thing to note, is that peer−groups were not used in the above configuration. If the clients inside a cluster do not have direct IBGP peers among one another and they exchange updates through the RR, peer−goups should not be used. If peer groups were to be configured, then a potential withdrawal to the source of a route on the RR would be sent to all clients inside the cluster and could cause problems.&lt;br /&gt;&lt;br /&gt;The router sub−command bgp client−to−client reflection is enabled by default on the RR. If BGP client−to−client reflection were turned off on the RR and redundant BGP peering was made between the clients, then using peer groups would be alright.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6479468901782717491?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6479468901782717491/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6479468901782717491' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6479468901782717491'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6479468901782717491'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-multiple-rrs-within-cluster.html' title='BGP Multiple RRs within a Cluster'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1KfM3SGDI/AAAAAAAAANk/CC6p-m9U7Rs/s72-c/Image30.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6744677441808845499</id><published>2008-11-11T07:16:00.001-08:00</published><updated>2008-11-11T07:16:51.176-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Route Reflectors'/><title type='text'>BGP Route Reflectors</title><content type='html'>&lt;div style="text-align: justify;"&gt;Another solution for the explosion of IBGP peering within an autonomous system is Route Reflectors (RR).&lt;br /&gt;&lt;br /&gt;As demonstrated in the Internal BGP section, a BGP speaker will not advertise a route learned via another IBGP speaker to a third IBGP speaker. By relaxing this restriction a bit and by providing additional control, we can allow a router to advertise (reflect) IBGP learned routes to other IBGP speakers. This will reduce the number of IBGP peers within an AS.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1HnnsYkfI/AAAAAAAAANU/eEzTqiozM1k/s1600-h/Image28.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 186px;" src="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1HnnsYkfI/AAAAAAAAANU/eEzTqiozM1k/s320/Image28.JPG" alt="" id="BLOGGER_PHOTO_ID_5263942285461590514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In normal cases, a full IBGP mesh should be maintained between RTA, RTB and RTC within AS100. By utilizing the route reflector concept, RTC could be elected as a RR and have a partial IBGP peering with RTA and RTB. Peering between RTA and RTB is not needed because RTC will be a route reflector for the updates coming from RTA and RTB.&lt;br /&gt;&lt;blockquote&gt;neighbor route−reflector−client&lt;/blockquote&gt;The router with the above command would be the RR and the neighbors pointed at would be the clients of that RR. In our example, RTC would be configured with the neighbor route−reflector−client command pointing at RTA and RTB's IP addresses. The combination of the RR and its clients is called a cluster. RTA, RTB and RTC above would form a cluster with a single RR within AS100.&lt;br /&gt;&lt;br /&gt;Other IBGP peers of the RR that are not clients are called non−clients.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ1IuTswqvI/AAAAAAAAANc/GVe3U9VQZL0/s1600-h/Image29.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 305px;" src="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ1IuTswqvI/AAAAAAAAANc/GVe3U9VQZL0/s320/Image29.JPG" alt="" id="BLOGGER_PHOTO_ID_5263943499865172722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;An autonomous system can have more than one route reflector; a RR would treat other RRs just like any other IBGP speaker. Other RRs could belong to the same cluster (client group) or to other clusters. In a simple configuration, the AS could be divided into multiple clusters, each RR will be configured with other RRs as non−client peers in a fully meshed topology. Clients should not peer with IBGP speakers outside their cluster.&lt;br /&gt;&lt;br /&gt;Consider the above diagram. RTA, RTB and RTC form a single cluster with RTC being the RR. According to RTC, RTA and RTB are clients and anything else is a non−client. Remember that clients of an RR are pointed at using the neighbor route−reflector−client command. The same RTD is the RR for its clients RTE and RTF; RTG is a RR in a third cluster. Note that RTD, RTC and RTG are fully meshed but routers within a cluster are not. When a route is received by a RR, it will do the following depending on the peer type:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol style="text-align: justify;"&gt;&lt;li&gt;Route from a non−client peer: reflect to all the clients within the cluster.&lt;/li&gt;&lt;li&gt;Route from a client peer: reflect to all the non−client peers and also to the client peers.&lt;/li&gt;&lt;li&gt;Route from an EBGP peer: send the update to all client and non−client peers.&lt;/li&gt;&lt;/ol&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;The following is the relative BGP configuration of routers RTC, RTD and RTB:&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 route−reflector−client&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 1.1.1.1 route−reflector−client&lt;br /&gt;neighbor 7.7.7.7 remote−as 100&lt;br /&gt;neighbor 4.4.4.4 remote−as 100&lt;br /&gt;neighbor 8.8.8.8 remote−as 200&lt;br /&gt;&lt;br /&gt;RTB#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 3.3.3.3 remote−as 100&lt;br /&gt;neighbor 12.12.12.12 remote−as 300&lt;br /&gt;&lt;br /&gt;RTD#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 6.6.6.6 remote−as 100&lt;br /&gt;neighbor 6.6.6.6 route−reflector−client&lt;br /&gt;neighbor 5.5.5.5 remote−as 100&lt;br /&gt;neighbor 5.5.5.5 route−reflector−client&lt;br /&gt;neighbor 7.7.7.7 remote−as 100&lt;br /&gt;neighbor 3.3.3.3 remote−as 100&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;As the IBGP learned routes are reflected, it is possible to have the routing information loop. The Route Reflector scheme has a few methods to avoid this:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol style="text-align: justify;"&gt;&lt;li&gt;Originator−id: this is an optional, non transitive BGP attribute that is four bytes long and is created by a RR. This attribute will carry the router−id (RID) of the originator of the route in the local AS. Thus, due to poor configuration, if the routing information comes back to the originator, it will be ignored.&lt;/li&gt;&lt;li&gt;Cluster−list: this will be discussed in the next section.&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6744677441808845499?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6744677441808845499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6744677441808845499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6744677441808845499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6744677441808845499'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-route-reflectors.html' title='BGP Route Reflectors'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1HnnsYkfI/AAAAAAAAANU/eEzTqiozM1k/s72-c/Image28.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3889502728636202401</id><published>2008-11-11T07:13:00.000-08:00</published><updated>2008-11-11T07:15:42.279-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Confederation'/><title type='text'>BGP Confederation</title><content type='html'>&lt;div style="text-align: justify;"&gt;BGP confederation is implemented in order to reduce the IBGP mesh inside an AS. The trick is to divide an AS into multiple ASs and assign the whole group to a single confederation. Each AS by itself will have IBGP fully meshed and has connections to other AS's inside the confederation. Even though these ASs will have EBGP peers to ASs within the confederation, they exchange routing as if they were using IBGP; next hop, metric and local preference information are preserved. To the outside world, the confederation (the group of ASs) will look like a single AS.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;To configure a BGP confederation use the following:&lt;br /&gt;&lt;blockquote&gt;bgp confederation identifier autonomous−system&lt;/blockquote&gt;The confederation identifier will be the AS number of the confederation group. The group of ASs will look to the outside world as one AS with the AS number being the confederation identifier.&lt;br /&gt;&lt;br /&gt;Peering within the confederation between multiple ASs is done via the following command:&lt;br /&gt;&lt;blockquote&gt;bgp confederation peers autonomous−system [autonomous−system]&lt;/blockquote&gt;The following is an example of confederation:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1HGt98pAI/AAAAAAAAANM/vVVOUjf4OLc/s1600-h/Image27.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 266px;" src="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1HGt98pAI/AAAAAAAAANM/vVVOUjf4OLc/s320/Image27.JPG" alt="" id="BLOGGER_PHOTO_ID_5263941720210187266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Let us assume that you have an autonomous system 500 consisting of nine BGP speakers (other non BGP speakers exist also, but we are only interested in the BGP speakers that have EBGP connections to other ASs). If you want to make a full IBGP mesh inside AS500 then you would need nine peer connections for each router, 8 IBGP peers and one EBGP peer to external ASs.&lt;br /&gt;&lt;br /&gt;By using confederation we can divide AS500 into multiple ASs: AS50, AS60 and AS70. We give the AS a confederation identifier of 500. The outside world will see only one AS500. For each AS50, AS60 and AS70 we define a full mesh of IBGP peers and we define the list of confederation peers using the bgp confederation peers command.&lt;br /&gt;&lt;br /&gt;Let's look at a sample configuration of routers RTC, RTD and RTA. Note that RTA has no knowledge of ASs 50, 60 or 70. RTA has only knowledge of AS500.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 50&lt;br /&gt;bgp confederation identifier 500&lt;br /&gt;bgp confederation peers 60 70&lt;br /&gt;neighbor 128.213.10.1 remote−as 50 (IBGP connection within AS50)&lt;br /&gt;neighbor 128.213.20.1 remote−as 50 (IBGP connection within AS50)&lt;br /&gt;neighbor 129.210.11.1 remote−as 60 (BGP connection with confederation peer 60)&lt;br /&gt;neighbor 135.212.14.1 remote−as 70 (BGP connection with confederation peer 70)&lt;br /&gt;neighbor 5.5.5.5 remote−as 100 (EBGP connection to external AS100)&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;/blockquote&gt;&lt;/blockquote&gt;&lt;blockquote&gt;RTD#&lt;br /&gt;router bgp 60&lt;br /&gt;bgp confederation identifier 500&lt;br /&gt;bgp confederation peers 50 70&lt;br /&gt;neighbor 129.210.30.2 remote−as 60 (IBGP connection within AS60)&lt;br /&gt;neighbor 128.213.30.1 remote−as 50(BGP connection with confederation peer 50)&lt;br /&gt;neighbor 135.212.14.1 remote−as 70 (BGP connection with confederation peer 70)&lt;br /&gt;neighbor 6.6.6.6 remote−as 600 (EBGP connection to external AS600)&lt;br /&gt;&lt;br /&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 5.5.5.4 remote−as 500 (EBGP connection to confederation 500)&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3889502728636202401?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3889502728636202401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3889502728636202401' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3889502728636202401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3889502728636202401'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-confederation.html' title='BGP Confederation'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mM2wZY2xenc/SQ1HGt98pAI/AAAAAAAAANM/vVVOUjf4OLc/s72-c/Image27.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5537590346685860960</id><published>2008-11-11T07:12:00.001-08:00</published><updated>2008-11-11T07:13:47.423-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - CIDR'/><title type='text'>BGP CIDR</title><content type='html'>&lt;p&gt;CIDR and Aggregate Addresses&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQ08XTayLXI/AAAAAAAAANE/V8HoinkfwcI/s1600-h/Image26.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 230px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQ08XTayLXI/AAAAAAAAANE/V8HoinkfwcI/s320/Image26.JPG" alt="" id="BLOGGER_PHOTO_ID_5263929910513249650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;One of the main enhancements of BGP4 over BGP3 is Classless Interdomain Routing (CIDR). CIDR or supernetting is a new way of looking at IP addresses. There is no notion of classes anymore (class A, B or C).&lt;br /&gt;&lt;br /&gt;For example, network 192.213.0.0 which used to be an illegal class C network is now a legal supernet represented by 192.213.0.0/16 where the 16 is the number of bits in the subnet mask counting from the far left of the IP address. This is similar to 192.213.0.0 255.255.0.0.&lt;br /&gt;&lt;br /&gt;Aggregates are used to minimize the size of routing tables. Aggregation is the process of combining the characteristics of several different routes in such a way that a single route can be advertised. In the example below, RTB is generating network 160.10.0.0. We will configure RTC to propagate a supernet of that route 160.0.0.0 to RTA.&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 3.3.3.1 remote−as 300&lt;br /&gt;network 160.10.0.0&lt;br /&gt;&lt;br /&gt;#RTC&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;network 170.10.0.0&lt;br /&gt;&lt;br /&gt;aggregate−address 160.0.0.0 255.0.0.0&lt;/blockquote&gt;RTC will propagate the aggregate address 160.0.0.0 to RTA.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Aggregate Commands&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;There is a wide range of aggregate commands. It is important to understand how each one works in order to have the desired aggregation behavior.&lt;br /&gt;&lt;br /&gt;The first command is the one used in the previous example:&lt;br /&gt;&lt;blockquote&gt;aggregate−address address mask&lt;/blockquote&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;This will advertise the prefix route, and all of the more specific routes. The command aggregate−address 160.0.0.0 will propagate an additional network 160.0.0.0 but will not prevent 160.10.0.0 from being also propagated to RTA. The outcome of this is that both networks 160.0.0.0 and 160.10.0.0 have been propagated to RTA. This is what we mean by advertising the prefix and the more specific route.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Please note that you can not aggregate an address if you do not have a more specific route of that address in the BGP routing table.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;For example, RTB can not generate an aggregate for 160.0.0.0 if it does not have a more specific entry of 160.0.0.0 in its BGP table. The more specific route could have been injected into the BGP table via incoming updates from other ASs, from redistributing an IGP or static into BGP or via the network command (network 160.10.0.0).&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;In case we would like RTC to propagate network 160.0.0.0 only and NOT the more specific route then we would have to use the following:&lt;br /&gt;&lt;blockquote&gt;aggregate−address address mask summary−only&lt;br /&gt;&lt;/blockquote&gt;This will a advertise the prefix only; all the more specific routes are suppressed.&lt;br /&gt;&lt;br /&gt;The command aggregate 160.0.0.0 255.0.0.0 summary−only will propagate network 160.0.0.0 and will suppress the more specific route 160.10.0.0.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Please note that if we are aggregating a network that is injected into our BGP via the network statement (ex: network 160.10.0.0 on RTB) then the network entry is always injected into BGP updates even though we are using "the aggregate summary−only" command. The upcoming CIDR example discusses this situation.&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;aggregate−address address mask as−set&lt;br /&gt;&lt;/blockquote&gt;This advertises the prefix and the more specific routes but it includes as−set information in the path information of the routing updates.&lt;br /&gt;&lt;blockquote&gt;aggregate 129.0.0.0 255.0.0.0 as−set&lt;br /&gt;&lt;/blockquote&gt;This command will be discussed in an example by itself in the following sections.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In case we would like to suppress more specific routes when doing the aggregation we can define a route map and apply it to the aggregates. This will allow us to be selective about which more specific routes to suppress.&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;aggregate−address address−mask suppress−map map−name&lt;br /&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;This advertises the prefix and the more specific routes but it suppresses advertisement according to a route−map. In the previous diagram, if we would like to aggregate 160.0.0.0 and suppress the more specific route 160.20.0.0 and allow 160.10.0.0 to be propagated, we can use the following route map:&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;route−map CHECK permit 10&lt;br /&gt;match ip address 1&lt;br /&gt;access−list 1 permit 160.20.0.0 0.0.255.255&lt;br /&gt;access−list 1 deny 0.0.0.0 255.255.255.255&lt;br /&gt;&lt;/blockquote&gt;By definition of the suppress−map, any packets permitted by the access list would be suppressed from the updates.&lt;br /&gt;&lt;br /&gt;Then we apply the route−map to the aggregate statement.&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;network 170.10.0.0&lt;br /&gt;aggregate−address 160.0.0.0 255.0.0.0 suppress−map CHECK&lt;br /&gt;&lt;/blockquote&gt;Another variation is the:&lt;br /&gt;&lt;blockquote&gt;aggregate−address address mask attribute−map map−name&lt;br /&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;This allows us to set the attributes (such as metric) when aggregates are sent out. The following route map when applied to the aggregate attribute−map command will set the origin of the aggregates to IGP.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;route−map SETMETRIC&lt;br /&gt;set origin igp&lt;br /&gt;aggregate−address 160.0.0.0 255.0.0.0 attribute−map SETORIGIN&lt;br /&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;CIDR Example 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Request: Allow RTB to advertise the prefix 160.0.0.0 and suppress all the more specific routes.&lt;br /&gt;&lt;br /&gt;The problem here is that network 160.10.0.0 is local to AS200, meaning AS200 is the originator of 160.10.0.0. You cannot have RTB generate a prefix for 160.0.0.0 without generating an entry for 160.10.0.0 even if you use the aggregate summary−only command because RTB is the originator of 160.10.0.0. There are two solutions to this problem.&lt;br /&gt;&lt;br /&gt;The first solution is to use a static route and redistribute it into BGP. The outcome is that RTB will advertise the aggregate with an origin of incomplete (?).&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 3.3.3.1 remote−as 300&lt;br /&gt;redistribute static (This will generate an update for 160.0.0.0 with the origin path as *incomplete*)&lt;br /&gt;ip route 160.0.0.0 255.0.0.0 null0&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;In the second solution, in addition to the static route we add an entry for the network command. This has the same effect except that the origin of the update will be set to IGP.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;network 160.0.0.0 mask 255.0.0.0 (this will mark the update with origin IGP)&lt;br /&gt;neighbor 3.3.3.1 remote−as 300&lt;br /&gt;redistribute static&lt;br /&gt;&lt;br /&gt;ip route 160.0.0.0 255.0.0.0 null0&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;CIDR Example 2 (as−set)&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;AS−SETS are used in aggregation to reduce the size of the path information by listing the AS number only once, regardless of how many times it may have appeared in multiple paths that were aggregated. The as−set aggregate command is used in situations were aggregation of information causes loss of information regarding the path attribute. In the following example RTC is getting updates about 160.20.0.0 from RTA and updates about 160.10.0.0 from RTB. Suppose RTC wants to aggregate network 160.0.0.0/8 and send it to RTD. RTD would not know what the origin of that route is. By adding the aggregate as−set statement we force RTC to generate path information in the form of a set {}. All the path information is included in that set irrespective of which path came first.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;network 160.10.0.0&lt;br /&gt;neighbor 3.3.3.1 remote−as 300&lt;br /&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;network 160.20.0.0&lt;br /&gt;neighbor 2.2.2.1 remote−as 300&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Case 1:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;RTC does not have an as−set statement. RTC will send an update 160.0.0.0/8 to RTD with path information (300) as if the route has originated from AS300.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 4.4.4.4 remote−as 400&lt;br /&gt;aggregate 160.0.0.0 255.0.0.0 summary−only&lt;br /&gt;!−− this causes RTC to send RTD updates about 160.0.0.0/8 with no indication&lt;br /&gt;!−− that 160.0.0.0 is actually coming from two different autonomous&lt;br /&gt;!−− systems, this may create loops if RT4 has an entry back into AS100.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Case 2:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 4.4.4.4 remote−as 400&lt;br /&gt;aggregate 160.0.0.0 255.0.0.0 summary−only&lt;br /&gt;aggregate 160.0.0.0 255.0.0.0 as−set&lt;br /&gt;!−− causes RTC to send RTD updates about 160.0.0.0/8 with an&lt;br /&gt;!−− indication that 160.0.0.0 belongs to a set {100 200}.&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5537590346685860960?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5537590346685860960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5537590346685860960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5537590346685860960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5537590346685860960'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-cidr.html' title='BGP CIDR'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQ08XTayLXI/AAAAAAAAANE/V8HoinkfwcI/s72-c/Image26.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-9038444855638563948</id><published>2008-11-11T07:10:00.000-08:00</published><updated>2008-11-11T07:12:00.473-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Peer Groups'/><title type='text'>BGP Peer Groups</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQ05qytYScI/AAAAAAAAAM8/AIPIgq3e6wI/s1600-h/Image25.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 254px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQ05qytYScI/AAAAAAAAAM8/AIPIgq3e6wI/s320/Image25.JPG" alt="" id="BLOGGER_PHOTO_ID_5263926946795375042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A BGP peer group, is a group of BGP neighbors with the same update policies. Update policies are usually set by route maps, distribute−lists and filter−lists, etc. Instead of defining the same policies for each separate neighbor, we define a peer group name and we assign these policies to the peer group.&lt;br /&gt;&lt;br /&gt;Members of the peer group inherit all of the configuration options of the peer group. Members can also be configured to override these options if these options do not affect outbound updates; you can only override options set on the inbound.&lt;br /&gt;&lt;br /&gt;To define a peer group use the following:&lt;br /&gt;&lt;blockquote&gt;neighbor peer−group−name peer−group&lt;/blockquote&gt;In the following example we will see how peer groups are applied to internal and external BGP neighbors.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor internalmap peer−group&lt;br /&gt;neighbor internalmap remote−as 300&lt;br /&gt;neighbor internalmap route−map SETMETRIC out&lt;br /&gt;neighbor internalmap filter−list 1 out&lt;br /&gt;neighbor internalmap filter−list 2 in&lt;br /&gt;neighbor 5.5.5.2 peer−group internalmap&lt;br /&gt;neighbor 6.6.6.2 peer−group internalmap&lt;br /&gt;neighbor 3.3.3.2 peer−group internalmap&lt;br /&gt;neighbor 3.3.3.2 filter−list 3 in&lt;br /&gt;&lt;/blockquote&gt;In the above configuration, we have defined a peer group named internalmap and we have defined some policies for that group, such as a route map SETMETRIC to set the metric to 5 and two different filter lists 1 and 2. We have applied the peer group to all internal neighbors RTE, RTF and RTG. We have defined a separate filter−list 3 for neighbor RTE, and this will override filter−list 2 inside the peer group. Note that we could only override options that affect inbound updates.&lt;br /&gt;&lt;br /&gt;Now, let us look at how we can use peer groups with external neighbors. In the same diagram we will configure RTC with a peer−group externalmap and we will apply it to external neighbors.&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor externalmap peer−group&lt;br /&gt;neighbor externalmap route−map SETMETRIC&lt;br /&gt;neighbor externalmap filter−list 1 out&lt;br /&gt;neighbor externalmap filter−list 2 in&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 peer−group externalmap&lt;br /&gt;neighbor 4.4.4.2 remote−as 600&lt;br /&gt;neighbor 4.4.4.2 peer−group externalmap&lt;br /&gt;neighbor 1.1.1.2 remote−as 200&lt;br /&gt;neighbor 1.1.1.2 peer−group externalmap&lt;br /&gt;neighbor 1.1.1.2 filter−list 3 in&lt;/blockquote&gt;Note that in the above configs we have defined the remote−as statements outside of the peer group because we have to define different external ASs. Also we did an override for the inbound updates of neighbor 1.1.1.2 by assigning filter−list 3.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-9038444855638563948?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/9038444855638563948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=9038444855638563948' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/9038444855638563948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/9038444855638563948'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-peer-groups.html' title='BGP Peer Groups'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQ05qytYScI/AAAAAAAAAM8/AIPIgq3e6wI/s72-c/Image25.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3722489559277281576</id><published>2008-11-11T07:09:00.000-08:00</published><updated>2008-11-11T07:10:30.463-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Neighbors'/><title type='text'>BGP Neighbors</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;BGP Neighbors and Route Maps&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ0428tnGWI/AAAAAAAAAM0/48ZxB2lHYS0/s1600-h/Image24.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 264px;" src="http://2.bp.blogspot.com/_mM2wZY2xenc/SQ0428tnGWI/AAAAAAAAAM0/48ZxB2lHYS0/s320/Image24.JPG" alt="" id="BLOGGER_PHOTO_ID_5263926056127502690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The neighbor command can be used in conjunction with route maps to perform either filtering or parameter setting on incoming and outgoing updates.&lt;br /&gt;&lt;br /&gt;Route maps associated with the neighbor statement have no affect on incoming updates when matching based on the IP address:&lt;br /&gt;&lt;br /&gt;neighbor ip−address route−map route−map−name&lt;br /&gt;&lt;br /&gt;Assume in the above diagram we want RTC to learn from AS200 about networks that are local to AS200 and nothing else. Also, we want to set the weight on the accepted routes to 20. We can achieve this with a combination of neighbor and as−path access lists.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;network 170.10.0.0&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 3.3.3.3 route−map stamp in&lt;br /&gt;route−map stamp&lt;br /&gt;match as−path 1&lt;br /&gt;set weight 20&lt;br /&gt;ip as−path access−list 1 permit ^200$&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Any updates that originate from AS200 have a path information that starts with 200 and ends with 200 and will be permitted. Any other updates will be dropped.&lt;br /&gt;&lt;br /&gt;Assume that we want the following:&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Updates originating from AS200 to be accepted with weight 20.&lt;/li&gt;&lt;li&gt;Updates originating from AS400 to be dropped.&lt;/li&gt;&lt;li&gt;Other updates to have a weight of 10.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;network 170.10.0.0&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 3.3.3.3 route−map stamp in&lt;br /&gt;route−map stamp permit 10&lt;br /&gt;match as−path 1&lt;br /&gt;set weight 20&lt;br /&gt;route−map stamp permit 20&lt;br /&gt;match as−path 2&lt;br /&gt;set weight 10&lt;br /&gt;ip as−path access−list 1 permit ^200$&lt;br /&gt;ip as−path access−list 2 permit ^200 600 .*&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The above statement will set a weight of 20 for updates that are local to AS200, and will set a weight of 10 for updates that are behind AS400 and will drop updates coming from AS400.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Use of set as−path prepend Command&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In some situations we are forced to manipulate the path information in order to manipulate the BGP decision process. The command that is used with a route map is:&lt;br /&gt;&lt;blockquote&gt;set as−path prepend&lt;as&amp;#8722;path#&gt;&lt;as&amp;#8722;path#&gt; ...&lt;/as&amp;#8722;path#&gt;&lt;/as&amp;#8722;path#&gt;&lt;/blockquote&gt;Suppose in the above diagram that RTC is advertising its own network 170.10.0.0 to two different ASs:&lt;br /&gt;&lt;br /&gt;AS100 and AS200. When the information is propagated to AS600, the routers in AS600 will have network reachability information about 150.10.0.0 via two different routes, the first route is via AS100 with PATH (100, 300) and the second one is via AS400 with PATH (400, 200,300). Assuming that all other attributes are the same AS600 will pick the shortest path and will choose the route via AS100.&lt;br /&gt;&lt;br /&gt;AS300 will be getting all its traffic via AS100. If we want to influence this decision from the AS300 end we can make the PATH through AS100 look like it is longer than the PATH going through AS400. We can do this by prepending autonomous system numbers to the existing path info advertised to AS100. A common practice is to repeat our own AS number using the following:&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;network 170.10.0.0&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 route−map SETPATH out&lt;br /&gt;route−map SETPATH&lt;br /&gt;set as−path prepend 300 300&lt;/blockquote&gt;Because of the above configuration, AS600 will receive updates about 170.10.0.0 via AS100 with a PATH information of: (100, 300, 300, 300) which is longer than (400, 200, 300) received from AS100.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3722489559277281576?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3722489559277281576/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3722489559277281576' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3722489559277281576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3722489559277281576'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-neighbors.html' title='BGP Neighbors'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mM2wZY2xenc/SQ0428tnGWI/AAAAAAAAAM0/48ZxB2lHYS0/s72-c/Image24.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4797374745976522312</id><published>2008-11-11T07:07:00.000-08:00</published><updated>2008-11-11T07:08:44.963-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - AS−Regular Expression'/><title type='text'>BGP AS−Regular Expression</title><content type='html'>&lt;div style="text-align: justify;"&gt;A regular expression is a pattern to match against an input string. By building a regular expression we specify a string that input must match. In case of BGP we are specifying a string consisting of path information that an input should match.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;In the previous example we specified the string ^200$ and wanted path information coming inside updates to match it in order to perform a decision.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The regular expression is composed of the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Range&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A range is a sequence of characters contained within left and right square brackets. ex: [abcd]&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Atom&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;An atom is a single character, such as the following:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;. (Matches any single character)&lt;br /&gt;^ (Matches the beginning of the input string)&lt;br /&gt;$ (Matches the end of the input string)&lt;br /&gt;\ (Matches the character)&lt;br /&gt;− (Matches a comma (,), left brace ({), right brace (}), the beginning of the input string, the end of the input string, or a space.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Piece&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;A piece is an atom followed by one of the following symbols:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;* (Matches 0 or more sequences of the atom)&lt;br /&gt;+ (Matches 1 or more sequences of the atom)&lt;br /&gt;? (Matches the atom or the null string)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Branch&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A branch is a 0 or more concatenated pieces.&lt;br /&gt;&lt;br /&gt;Examples of regular expressions follow:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;a* (Any occurrence of the letter "a", including none)&lt;br /&gt;a+ ( At least one occurrence of the letter "a" should be present)&lt;br /&gt;ab?a (This matches "aa" or "aba")&lt;br /&gt;_100_ (Via AS100)&lt;br /&gt;^100$ (Origin AS100)&lt;br /&gt;^100 .* (Coming from AS100)&lt;br /&gt;^$ (Originated from this AS)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-weight: bold;"&gt;BGP Community Filtering&lt;/span&gt;&lt;span style="font-size: 100%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-size: 100%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: 130%;"&gt;&lt;span style="font-size: 100%;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ012yeepfI/AAAAAAAAAMs/HXUnLhmM_gE/s1600-h/Image23.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 232px;" src="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ012yeepfI/AAAAAAAAAMs/HXUnLhmM_gE/s320/Image23.JPG" alt="" id="BLOGGER_PHOTO_ID_5263922754844796402" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;We would like RTB above to set the community attribute to the BGP routes it is advertising such that RTC would not propagate these routes to its external peers. The no−export community attribute is used:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;network 160.10.0.0&lt;br /&gt;neighbor 3.3.3.1 remote−as 300&lt;br /&gt;neighbor 3.3.3.1 send−community&lt;br /&gt;neighbor 3.3.3.1 route−map setcommunity out&lt;br /&gt;route−map setcommunity&lt;br /&gt;match ip address 1&lt;br /&gt;set community no−export&lt;br /&gt;access−list 1 permit 0.0.0.0 255.255.255.255&lt;/blockquote&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Note that we have used the route−map setcommunity command in order to set the community to no−export. Note also that we had to use the neighbor send−community command in order to send this attribute to RTC.&lt;br /&gt;&lt;br /&gt;When RTC gets the updates with the attribute no−export, it will not propagate them to its external peer RTA.&lt;br /&gt;&lt;br /&gt;In the example below, RTB has set the community attribute to 100 200 additive. The value 100 200 will be added to any existing community value before being sent to RTC.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;network 160.10.0.0&lt;br /&gt;neighbor 3.3.3.1 remote−as 300&lt;br /&gt;neighbor 3.3.3.1 send−community&lt;br /&gt;neighbor 3.3.3.1 route−map setcommunity out&lt;br /&gt;&lt;br /&gt;route−map setcommunity&lt;br /&gt;match ip address 2&lt;br /&gt;set community 100 200 additive&lt;br /&gt;access−list 2 permit 0.0.0.0 255.255.255.255&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;A community list is a group of communities that we use in a match clause of a route map which allows us to do filtering or setting attributes based on different lists of community numbers.&lt;br /&gt;&lt;/div&gt;&lt;blockquote&gt;ip community−list community−list−number {permit|deny} community−number&lt;/blockquote&gt;For example we can define the following route map, match−on−community:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;route−map match−on−community&lt;br /&gt;match community 10 (10 is the community−list number)&lt;br /&gt;set weight 20&lt;br /&gt;ip community−list 10 permit 200 300&lt;br /&gt;!−− 200 300 is the community number&lt;br /&gt;&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;We can use the above in order to filter or set certain parameters like weight and metric based on the community value in certain updates. In example two above, RTB was sending updates to RTC with a community of 100 200. If RTC wants to set the weight based on those values we could do the following:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 3.3.3.3 route−map check−community in&lt;br /&gt;route−map check−community permit 10&lt;br /&gt;match community 1&lt;br /&gt;set weight 20&lt;br /&gt;route−map check−community permit 20&lt;br /&gt;match community 2 exact&lt;br /&gt;set weight 10&lt;br /&gt;route−map check−community permit 30&lt;br /&gt;match community 3&lt;br /&gt;ip community−list 1 permit 100&lt;br /&gt;ip community−list 2 permit 200&lt;br /&gt;ip community−list 3 permit internet&lt;/blockquote&gt;&lt;div style="text-align: justify;"&gt;In the above example, any route that has 100 in its community attribute will match list 1 and will have the weight set to 20. Any route that has only 200 as community will match list 2 and will have weight 20. The keyword exact states that community should consist of 200 only and nothing else. The last community list is here to make sure that other updates are not dropped. Remember that anything that does not match, will be dropped by default. The keyword internet means all routes because all routes are members of the internet community.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4797374745976522312?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4797374745976522312/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4797374745976522312' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4797374745976522312'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4797374745976522312'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-asregular-expression.html' title='BGP AS−Regular Expression'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mM2wZY2xenc/SQ012yeepfI/AAAAAAAAAMs/HXUnLhmM_gE/s72-c/Image23.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3016003098749866620</id><published>2008-11-11T07:05:00.000-08:00</published><updated>2008-11-11T07:07:16.392-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Filtering'/><title type='text'>BGP Filtering</title><content type='html'>&lt;div style="text-align: justify;"&gt;Sending and receiving BGP updates can be controlled by using a number of different filtering methods. BGP updates can be filtered based on route information, on path information or on communities. All methods will achieve the same results, choosing one over the other depends on the specific network configuration.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Route Filtering&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ0zgSeIzmI/AAAAAAAAAMc/aytt8H__bcg/s1600-h/Image21.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 249px;" src="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ0zgSeIzmI/AAAAAAAAAMc/aytt8H__bcg/s320/Image21.JPG" alt="" id="BLOGGER_PHOTO_ID_5263920169273052770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In order to restrict the routing information that the router learns or advertises, you can filter BGP based on routing updates to or from a particular neighbor. In order to achieve this, an access−list is defined and applied to the updates to or from a neighbor. Use the following command in the router configuration mode:&lt;br /&gt;&lt;blockquote&gt;neighbor {ip−address|peer−group−name} distribute−list access−list−number {in | out}&lt;/blockquote&gt;&lt;br /&gt;In the following example, RTB is originating network 160.10.0.0 and sending it to RTC. If RTC wanted to stop those updates from propagating to AS100, we would have to apply an access−list to filter those updates and apply it when talking to RTA:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;network 170.10.0.0&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 distribute−list 1 out&lt;br /&gt;access−list 1 deny 160.10.0.0 0.0.255.255&lt;br /&gt;access−list 1 permit 0.0.0.0 255.255.255.255&lt;br /&gt;!−− filter out all routing updates about 160.10.x.x&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Using access−lists is a bit tricky when you are dealing with supernets that might cause some conflicts.&lt;br /&gt;&lt;br /&gt;Assume in the above example that RTB has different subnets of 160.10.X.X and our goal is to filter updates and advertise only 160.0.0.0/8 (this notation means that we are using 8 bits of subnet mask starting from the far left of the IP address; this is equivalent to 160.0.0.0 255.0.0.0).&lt;br /&gt;&lt;br /&gt;The command access−list 1 permit 160.0.0.0 0.255.255.255 permits 160.0.0.0/8,160.0.0.0/9 and so on. In order to restrict the update to only 160.0.0.0/8 we have to use an extended access list of the following format:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;access−list 101 160.0.0.0 0.255.255.255 255.0.0.0 0.0.0.0. This list permits 160.0.0.0/8 only.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Another type of filtering is path filtering, which is described in the next section.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Path Filtering&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ0z-_UukLI/AAAAAAAAAMk/RugsgBjWs-g/s1600-h/Image22.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 250px;" src="http://1.bp.blogspot.com/_mM2wZY2xenc/SQ0z-_UukLI/AAAAAAAAAMk/RugsgBjWs-g/s320/Image22.JPG" alt="" id="BLOGGER_PHOTO_ID_5263920696709255346" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;You can specify an access list on both incoming and outgoing updates based on the BGP autonomous system paths information. In the above figure we can block updates about 160.10.0.0 from going to AS100 by defining an access list on RTC that prevents any updates that have originated from AS200 from being sent to AS100. To do this use the following statements.&lt;br /&gt;&lt;br /&gt;ip as−path access−list access−list−number {permit|deny} as−regular−expression&lt;br /&gt;neighbor {ip−address|peer−group−name} filter−list access−list−number {in|out}&lt;br /&gt;&lt;br /&gt;The following example stops RTC from sending RTA updates about 160.10.0.0&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 filter−list 1 out&lt;br /&gt;!−− the 1 is the access list number below&lt;br /&gt;ip as−path access−list 1 deny ^200$&lt;br /&gt;ip as−path access−list 1 permit .*&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;In the above example, access−list 1 states: deny any updates with path information that start with 200 (^) and end with 200 ($). The ^200$ is called a regular expression, with ^ meaning "starts with" and $ meaning "ends with". Since RTB sends updates about 160.10.0.0 with path information starting with 200 and ending with 200, this update matches the access list and will be denied.&lt;br /&gt;&lt;br /&gt;The .* is another regular expression with the period meaning "any character" and the * meaning "the repetition of that character". So .* is actually any path information, which is needed to permit all other updates to be sent.&lt;br /&gt;&lt;br /&gt;What would happen if instead of using ^200$ we have used ^200? If you have an AS400 (see figure above), updates originated by AS400 will have path information of the form (200, 400) with 200 being first and 400 being last. Those updates will match the access list ^200 because they start with 200 and will be prevented from being sent to RTA which is not the required behavior.&lt;br /&gt;&lt;br /&gt;A good way to check whether we have implemented the correct regular expression is to use the show ip bgp regexp regular expression&gt; command. This shows all the paths that have matched the configured regular expression.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3016003098749866620?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3016003098749866620/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3016003098749866620' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3016003098749866620'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3016003098749866620'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-filtering.html' title='BGP Filtering'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mM2wZY2xenc/SQ0zgSeIzmI/AAAAAAAAAMc/aytt8H__bcg/s72-c/Image21.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-9170218795313841974</id><published>2008-11-11T07:03:00.001-08:00</published><updated>2008-11-11T07:04:55.930-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Synchronization'/><title type='text'>BGP Synchronization</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mM2wZY2xenc/SQyba2n82MI/AAAAAAAAAL0/RzW2pzqBY-c/s1600-h/Image16.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 233px;" src="http://2.bp.blogspot.com/_mM2wZY2xenc/SQyba2n82MI/AAAAAAAAAL0/RzW2pzqBY-c/s320/Image16.JPG" alt="" id="BLOGGER_PHOTO_ID_5263752950131251394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Before we discuss synchronization let us look at the following scenario. RTC in AS300 is sending updates about 170.10.0.0. RTA and RTB are running IBGP, so RTB will get the update and will be able to reach 170.10.0.0 via next hop 2.2.2.1 (remember that the next hop is carried via IBGP). In order to reach the next hop, RTB will have to send the traffic to RTE.&lt;br /&gt;&lt;br /&gt;Assume that RTA has not redistributed network 170.10.0.0 into IGP, so at this point RTE has no idea that 170.10.0.0 even exists.&lt;br /&gt;&lt;br /&gt;If RTB starts advertising to AS400 that he can reach 170.10.0.0 then traffic coming from RTD to RTB with destination 170.10.0.0 will flow in and get dropped at RTE.&lt;br /&gt;&lt;br /&gt;Synchronization states: If your autonomous system is passing traffic from another AS to a third AS, BGP should not advertise a route before all routers in your AS have learned about the route via IGP.&lt;br /&gt;&lt;br /&gt;BGP will wait until IGP has propagated the route within the AS and then will advertise it to external peers. This is called synchronization.&lt;br /&gt;&lt;br /&gt;In the above example, RTB will wait to hear about 170.10.0.0 via IGP before it starts sending the update to RTD. We can fool RTB into thinking that IGP has propagated the information by adding a static route in RTB pointing to 170.10.0.0. Care should be taken to make sure that other routers can reach 170.10.0.0 otherwise we will have a problem reaching that network.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Disabling Synchronization&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In some cases you do not need synchronization. If you will not be passing traffic from a different autonomous system through your AS, or if all routers in your AS will be running BGP, you can disable synchronization. Disabling this feature can allow you to carry fewer routes in your IGP and allow BGP to converge more quickly.&lt;br /&gt;&lt;br /&gt;Disabling synchronization is not automatic, if you have all your routers in the AS running BGP and you are not running any IGP, the router has no way of knowing that, and your router will be waiting forever for an IGP update about a certain route before sending it to external peers. You have to disable synchronization manually in this case for routing to work correctly:&lt;br /&gt;&lt;br /&gt;router bgp 100&lt;br /&gt;no synchronization&lt;br /&gt;&lt;br /&gt;(Make sure you do a &lt;span style="font-weight: bold;"&gt;clear ip bgp&lt;/span&gt; address to reset the session.)&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mM2wZY2xenc/SQyba2mPjtI/AAAAAAAAAL8/G4GAAt2bP4Y/s1600-h/Image17.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 230px;" src="http://1.bp.blogspot.com/_mM2wZY2xenc/SQyba2mPjtI/AAAAAAAAAL8/G4GAAt2bP4Y/s320/Image17.JPG" alt="" id="BLOGGER_PHOTO_ID_5263752950124089042" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;router bgp 100&lt;br /&gt;network 150.10.0.0&lt;br /&gt;neighbor 1.1.1.2 remote−as 400&lt;br /&gt;neighbor 3.3.3.3 remote−as 100&lt;br /&gt;no synchronization&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;!−− RTB puts 170.10.0.0 in its IP routing table and advertises it to&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255); font-style: italic;"&gt;!−− RTD even if it does not have an IGP path to 170.10.0.0)&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;blockquote&gt;RTD#&lt;br /&gt;router bgp 400&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;network 175.10.0.0&lt;br /&gt;&lt;br /&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;network 150.10.0.0&lt;br /&gt;neighbor 3.3.3.4 remote−as 100&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-9170218795313841974?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/9170218795313841974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=9170218795313841974' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/9170218795313841974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/9170218795313841974'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-synchronization.html' title='BGP Synchronization'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mM2wZY2xenc/SQyba2n82MI/AAAAAAAAAL0/RzW2pzqBY-c/s72-c/Image16.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6338784944637331570</id><published>2008-11-11T07:00:00.000-08:00</published><updated>2008-11-11T07:02:53.272-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Backdoor Attribute'/><title type='text'>BGP Backdoor Attribute</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mM2wZY2xenc/SQya5Ob5GXI/AAAAAAAAALs/6PaxwayisAY/s1600-h/Image15.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 240px;" src="http://4.bp.blogspot.com/_mM2wZY2xenc/SQya5Ob5GXI/AAAAAAAAALs/6PaxwayisAY/s320/Image15.JPG" alt="" id="BLOGGER_PHOTO_ID_5263752372407572850" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Consider the above diagram, RTA and RTC are running EBGP, and RTB and RTC are running EBGP. RTA and RTB are running some kind of IGP (RIP, IGRP, etc.). By definition, EBGP updates have a distance of 20 which is lower than the IGP distances. Default distance is 120 for RIP, 100 for IGRP, 90 for EIGRP and 110 for OSPF.&lt;br /&gt;&lt;br /&gt;RTA will receive updates about 160.10.0.0 via two routing protocols:&lt;br /&gt;&lt;br /&gt;EBGP with a distance of 20 and IGP with a distance higher than 20.&lt;br /&gt;&lt;br /&gt;By default, BGP has the following distances, but that could be changed by the distance command:&lt;br /&gt;&lt;blockquote&gt;&lt;span style="font-weight: bold;"&gt;distance bgp external−distance internal−distance local−distance&lt;/span&gt;&lt;br /&gt;&lt;/blockquote&gt;external−distance:20&lt;br /&gt;internal−distance:200&lt;br /&gt;local−distance:200&lt;br /&gt;&lt;br /&gt;RTA will pick EBGP via RTC because of the lower distance.&lt;br /&gt;&lt;br /&gt;If we want RTA to learn about 160.10.0.0 via RTB (IGP), then we have two options:&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Change EBGP's external distance or IGP's distance, which is not recommended.&lt;/li&gt;&lt;li&gt;Use BGP backdoor.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;BGP backdoor makes the IGP route the preferred route.&lt;br /&gt;&lt;br /&gt;Use the following &lt;span style="font-weight: bold;"&gt;network &lt;/span&gt;&lt;span style="font-style: italic;"&gt;address &lt;/span&gt;&lt;span style="font-weight: bold;"&gt;backdoor &lt;/span&gt;command.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;The configured network is the network that we would like to reach via IGP. For BGP this network will be treated as a locally assigned network except it will not be advertised in BGP updates.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router eigrp 10&lt;br /&gt;network 160.10.0.0&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 2.2.2.1 remote−as 300&lt;br /&gt;network 160.10.0.0 backdoor&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Network 160.10.0.0 is treated as a local entry, but is not advertised as a normal network entry.&lt;br /&gt;&lt;br /&gt;RTA learns 160.10.0.0 from RTB via EIGRP with distance 90, and also learns it from RTC via EBGP with distance 20. Normally EBGP is preferred, but because of the backdoor command EIGRP is preferred.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6338784944637331570?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6338784944637331570/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6338784944637331570' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6338784944637331570'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6338784944637331570'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-backdoor-attribute.html' title='BGP Backdoor Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mM2wZY2xenc/SQya5Ob5GXI/AAAAAAAAALs/6PaxwayisAY/s72-c/Image15.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6575268135828822574</id><published>2008-11-11T06:59:00.000-08:00</published><updated>2008-11-11T07:00:46.272-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Weight Attribute'/><title type='text'>BGP Weight Attribute</title><content type='html'>&lt;p&gt;BGP Weight Attribute&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQye3dGPC-I/AAAAAAAAAMM/zTYWWkXwPas/s1600-h/Image18.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 208px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQye3dGPC-I/AAAAAAAAAMM/zTYWWkXwPas/s320/Image18.JPG" alt="" id="BLOGGER_PHOTO_ID_5263756740030041058" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The weight attribute is a Cisco defined attribute. The weight is used for a best path selection process. The weight is assigned locally to the router. It is a value that only makes sense to the specific router and which is not propagated or carried through any of the route updates. A weight can be a number from 0 to 65535. Paths that the router originates have a weight of 32768 by default and other paths have a weight of zero.&lt;br /&gt;&lt;br /&gt;Routes with a higher weight are preferred when multiple routes exist to the same destination. Let us study the above example. RTA has learned about network 175.10.0.0 from AS4 and will propagate the update to RTC. RTB has also learned about network 175.10.0.0 from AS4 and will propagate it to RTC. RTC has now two ways for reaching 175.10.0.0 and has to decide which way to go. If on RTC we can set the weight of the updates coming from RTA to be higher than the weight of updates coming from RTB, then we will force RTC to use RTA as a next hop to reach 175.10.0.0. This is achieved by using multiple methods:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;Using the neighbor command: neighbor {ip−address|peer−group} weight weight.&lt;/li&gt;&lt;li&gt;Using AS path access−lists: ip as−path access−list access−list−number {permit|deny} as−regular−expression neighbor ip−address filter−list access−list−number weight weight.&lt;/li&gt;&lt;li&gt;Using route−maps.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 1.1.1.1 weight 200&lt;br /&gt;&lt;span style="font-style: italic;"&gt;!−− route to 175.10.0.0 from RTA has 200 weight&lt;/span&gt;&lt;br /&gt;neighbor 2.2.2.2 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 weight 100&lt;br /&gt;&lt;span style="font-style: italic;"&gt;!−− route to 175.10.0.0 from RTB will have 100 weight&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Routes with higher weight are preferred when multiple routes exist to the same destination. RTA is preferred as the next hop.&lt;br /&gt;&lt;br /&gt;The same outcome can be achieved using IP as−path and filter lists.&lt;br /&gt;&lt;br /&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 1.1.1.1 filter−list 5 weight 200&lt;br /&gt;neighbor 2.2.2.2 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 filter−list 6 weight 100&lt;br /&gt;...&lt;br /&gt;ip as−path access−list 5 permit ^100$&lt;br /&gt;&lt;span style="font-style: italic;"&gt;!−− this only permits path 100&lt;/span&gt;&lt;br /&gt;ip as−path access−list 6 permit ^200$&lt;br /&gt;...&lt;br /&gt;The same outcome as above can be achieved by using routemaps.&lt;br /&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 1.1.1.1 route−map setweightin in&lt;br /&gt;neighbor 2.2.2.2 remote−as 200&lt;br /&gt;neighbor 2.2.2.2 route−map setweightin in&lt;br /&gt;...&lt;br /&gt;ip as−path access−list 5 permit ^100$&lt;br /&gt;...&lt;br /&gt;route−map setweightin permit 10&lt;br /&gt;match as−path 5&lt;br /&gt;set weight 200&lt;br /&gt;&lt;span style="font-style: italic;"&gt;!−− anything that applies to access−list 5, such as packets from AS100, have weight 200&lt;/span&gt;&lt;br /&gt;route−map setweightin permit 20&lt;br /&gt;set weight 100&lt;br /&gt;&lt;span style="font-style: italic;"&gt;!−− anything else would have weight 100&lt;/span&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6575268135828822574?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6575268135828822574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6575268135828822574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6575268135828822574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6575268135828822574'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-weight-attribute.html' title='BGP Weight Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQye3dGPC-I/AAAAAAAAAMM/zTYWWkXwPas/s72-c/Image18.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6511199646505318715</id><published>2008-11-11T06:58:00.000-08:00</published><updated>2008-11-11T06:59:34.835-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Community Attribute'/><title type='text'>BGP Community Attribute</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Community Attribute&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The community attribute is a transitive, optional attribute in the range 0 to 4,294,967,200. The community attribute is a way to group destinations in a certain community and apply routing decisions (accept, prefer, redistribute, etc.) according to those communities.&lt;br /&gt;&lt;br /&gt;We can use route maps to set the community attributes. The route map set command has the following syntax:&lt;br /&gt;&lt;br /&gt;set community community−number [additive]&lt;br /&gt;&lt;br /&gt;A few predefined well known communities (community−number) are:&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt;no−export (Do not advertise to EBGP peers)&lt;/li&gt;&lt;li&gt;no−advertise (Do not advertise this route to any peer)&lt;/li&gt;&lt;li&gt;internet (Advertise this route to the internet community, any router belongs to it)&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;An example of route maps where community is set is:&lt;br /&gt;&lt;blockquote&gt;route−map communitymap&lt;br /&gt;match ip address 1&lt;br /&gt;set community no−advertise&lt;br /&gt;&lt;/blockquote&gt;or&lt;br /&gt;&lt;blockquote&gt;route−map setcommunity&lt;br /&gt;match as−path 1&lt;br /&gt;set community 200 additive&lt;br /&gt;&lt;/blockquote&gt;If the additive keyword is not set, 200 replaces any old community that already exits; if we use the keyword additive then the 200 is added to the community. Even if we set the community attribute, this attribute is not sent to neighbors by default. In order to send the attribute to our neighbor we have to use the following:&lt;br /&gt;&lt;blockquote&gt;neighbor {ip−address|peer−group−name} send−community&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;Here's an example:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 3.3.3.3 remote−as 300&lt;br /&gt;neighbor 3.3.3.3 send−community&lt;br /&gt;neighbor 3.3.3.3 route−map setcommunity out&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6511199646505318715?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6511199646505318715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6511199646505318715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6511199646505318715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6511199646505318715'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-community-attribute.html' title='BGP Community Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1351209721675566094</id><published>2008-11-11T06:56:00.000-08:00</published><updated>2008-11-11T06:58:14.799-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Metric Attribute'/><title type='text'>BGP Metric Attribute</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQygIkmy2XI/AAAAAAAAAMU/qwq_ZWAg2EY/s1600-h/Image20.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 250px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQygIkmy2XI/AAAAAAAAAMU/qwq_ZWAg2EY/s320/Image20.JPG" alt="" id="BLOGGER_PHOTO_ID_5263758133615057266" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The metric attribute which is also called Multi_exit_discriminator, MED (BGP4) or Inter−As (BGP3) is a hint to external neighbors about the preferred path into an AS. This is a dynamic way to influence another AS on which way to choose in order to reach a certain route given that we have multiple entry points into that AS. A lower value of a metric is more preferred.&lt;br /&gt;&lt;br /&gt;Unlike local preference, metric is exchanged between ASs. A metric is carried into an AS but does not leave the AS. When an update enters the AS with a certain metric, that metric is used for decision making inside the AS. When the same update is passed on to a third AS, that metric will be set back to 0 as shown in the above diagram. The Metric default value is 0.&lt;br /&gt;&lt;br /&gt;Unless otherwise specified, a router will compare metrics for paths from neighbors in the same AS. In order for the router to compare metrics from neighbors coming from different ASs the special configuration command "bgp always−compare−med" should be configured on the router.&lt;br /&gt;&lt;br /&gt;In the above diagram, AS100 is getting information about network 180.10.0.0 via three different routers: RTC, RTD and RTB. RTC and RTD are in AS300 and RTB is in AS400.&lt;br /&gt;&lt;br /&gt;Assume that we have set the metric coming from RTC to 120, the metric coming from RTD to 200 and the metric coming from RTB to 50. Given that by default a router compares metrics coming from neighbors in the same AS, RTA can only compare the metric coming from RTC to the metric coming from RTD and will pick RTC as the best next hop because 120 is less than 200. When RTA gets an update from RTB with metric 50, he can not compare it to 120 because RTC and RTB are in different ASs (RTA has to choose based on some other attributes).&lt;br /&gt;&lt;br /&gt;In order to force RTA to compare the metrics we have to add bgp always−compare−med to RTA. This is illustrated in the configs below:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 2.2.2.1 remote−as 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 300&lt;br /&gt;neighbor 4.4.4.3 remote−as 400&lt;br /&gt;....&lt;br /&gt;&lt;br /&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 route−map setmetricout out&lt;br /&gt;neighbor 1.1.1.2 remote−as 300&lt;br /&gt;route−map setmetricout permit 10&lt;br /&gt;set metric 120&lt;br /&gt;&lt;br /&gt;RTD#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 3.3.3.2 remote−as 100&lt;br /&gt;neighbor 3.3.3.2 route−map setmetricout out&lt;br /&gt;neighbor 1.1.1.1 remote−as 300&lt;br /&gt;route−map setmetricout permit 10&lt;br /&gt;set metric 200&lt;br /&gt;&lt;br /&gt;RTB#&lt;br /&gt;router bgp 400&lt;br /&gt;neighbor 4.4.4.4 remote−as 100&lt;br /&gt;neighbor 4.4.4.4 route−map setmetricout out&lt;br /&gt;route−map setmetricout permit 10&lt;br /&gt;set metric 50&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;With the above configs, RTA will pick RTC as next hop, considering all other attributes are the same. In order to have RTB included in the metric comparison, we have to configure RTA as follows:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 2.2.21 remote−as 300&lt;br /&gt;neighbor 3.3.3.3 remote−as 300&lt;br /&gt;neighbor 4.4.4.3 remote−as 400&lt;br /&gt;bgp always−compare−med&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;In this case RTA will pick RTB as the best next hop in order to reach network 180.10.0.0.&lt;br /&gt;Metric can also be set while redistributing routes into BGP using the default−metric number command.&lt;br /&gt;&lt;br /&gt;Assume in the above example that RTB is injecting a network via static into AS100 then the following configs:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTB#&lt;br /&gt;router bgp 400&lt;br /&gt;redistribute static&lt;br /&gt;default−metric 50&lt;br /&gt;ip route 180.10.0.0 255.255.0.0 null 0&lt;br /&gt;!−− Causes RTB to send out 180.10.0.0 with a metric of 50&lt;/blockquote&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1351209721675566094?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1351209721675566094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1351209721675566094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1351209721675566094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1351209721675566094'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-metric-attribute.html' title='BGP Metric Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQygIkmy2XI/AAAAAAAAAMU/qwq_ZWAg2EY/s72-c/Image20.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3696371243448633815</id><published>2008-11-11T06:55:00.000-08:00</published><updated>2008-11-11T06:56:51.325-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Local Preference Attribute'/><title type='text'>BGP Local Preference Attribute</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Local Preference Attribute&lt;/span&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQydyMPkmMI/AAAAAAAAAME/qBbpBj3sL74/s1600-h/Image19.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 237px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQydyMPkmMI/AAAAAAAAAME/qBbpBj3sL74/s320/Image19.JPG" alt="" id="BLOGGER_PHOTO_ID_5263755550094825666" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Local preference is an indication to the AS about which path is preferred to exit the AS in order to reach a certain network. A path with a higher local preference is more preferred. The default value for local preference is 100.&lt;br /&gt;&lt;br /&gt;Unlike the weight attribute which is only relevant to the local router, local preference is an attribute that is exchanged among routers in the same AS.&lt;br /&gt;&lt;br /&gt;Local preference is set via the bgp default local−preference value&gt; command or with route−maps as will be demonstrated in the following example:&lt;br /&gt;&lt;br /&gt;The bgp default local−preference command will set the local preference on the updates out of the router going to peers in the same AS. In the above diagram, AS256 is receiving updates about 170.10.0.0 from two different sides of the organization. Local preference will help us determine which way to exit AS256 in order to reach that network. Let us assume that RTD is the preferred exit point. The following configuration will set the local preference for updates coming from AS300 to 200 and those coming from AS100 to 150.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 256&lt;br /&gt;neighbor 1.1.1.1 remote−as 100&lt;br /&gt;neighbor 128.213.11.2 remote−as 256&lt;br /&gt;bgp default local−preference 150&lt;br /&gt;&lt;br /&gt;RTD#&lt;br /&gt;router bgp 256&lt;br /&gt;neighbor 3.3.3.4 remote−as 300&lt;br /&gt;neighbor 128.213.11.1 remote−as 256&lt;br /&gt;bgp default local−preference 200&lt;/blockquote&gt;&lt;br /&gt;In the above configuration RTC will set the local preference of all updates to 150. The same RTD&lt;br /&gt;will set the local preference of all updates to 200. Since local preference is exchanged within AS256, both RTC and RTD will realize that network 170.10.0.0 has a higher local preference when coming from AS300 rather than when coming from AS100. All traffic in AS256 addressed to that network will be sent to RTD as an exit point.&lt;br /&gt;&lt;br /&gt;More flexibility is provided by using route maps. In the above example, all updates received by RTD will be tagged with local preference 200 when they reach RTD. This means that updates coming from AS34 will also be tagged with the local preference of 200. This might not be needed. This is why we can use route maps to specify what specific updates need to be tagged with a specific local preference as shown below:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTD#&lt;br /&gt;router bgp 256&lt;br /&gt;neighbor 3.3.3.4 remote−as 300&lt;br /&gt;neighbor 3.3.3.4 route−map setlocalin in&lt;br /&gt;neighbor 128.213.11.1 remote−as 256&lt;br /&gt;....&lt;br /&gt;ip as−path access−list 7 permit ^300$&lt;br /&gt;...&lt;br /&gt;route−map setlocalin permit 10&lt;br /&gt;match as−path 7&lt;br /&gt;set local−preference 400&lt;br /&gt;route−map setlocalin permit 20&lt;br /&gt;set local−preference 150&lt;/blockquote&gt;&lt;br /&gt;With this configuration, any update coming from AS300 will be set with a local preference of 200. Any other updates such as those coming from AS34 will be set with a value of 150.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3696371243448633815?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3696371243448633815/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3696371243448633815' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3696371243448633815'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3696371243448633815'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-local-preference-attribute.html' title='BGP Local Preference Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQydyMPkmMI/AAAAAAAAAME/qBbpBj3sL74/s72-c/Image19.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6694330468888044985</id><published>2008-11-11T06:54:00.000-08:00</published><updated>2008-11-11T06:55:28.501-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Nexthop Attribute'/><title type='text'>BGP Nexthop Attribute</title><content type='html'>&lt;p style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyXipk6lSI/AAAAAAAAALU/ftait4BIjQ8/s1600-h/Image12.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 210px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyXipk6lSI/AAAAAAAAALU/ftait4BIjQ8/s320/Image12.JPG" alt="" id="BLOGGER_PHOTO_ID_5263748686021301538" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;The BGP nexthop attribute is the next hop IP address that is going to be used to reach a certain destination.&lt;br /&gt;&lt;br /&gt;For EBGP, the next hop is always the IP address of the neighbor specified in the neighbor command. In the above example, RTC will advertise 170.10.0.0 to RTA with a next hop of 170.10.20.2 and RTA will advertise 150.10.0.0 to RTC with a next hop of 170.10.20.1. For IBGP, the protocol states that the next hop advertised by EBGP should be carried into IBGP. Because of that rule, RTA will advertise 170.10.0.0 to its IBGP peer RTB with a next hop of 170.10.20.2. So according to RTB, the next hop to reach 170.10.0.0 is 170.10.20.2 and not 150.10.30.1.&lt;br /&gt;&lt;br /&gt;You should make sure that RTB can reach 170.10.20.2 via IGP, otherwise RTB will drop packets destined to 170.10.0.0 because the next hop address would be inaccessible. For example, if RTB is running IGRP you could also run igrp on RTA network 170.10.0.0. You would want to make IGRP passive on the link to RTC so BGP is only exchanged.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 170.10.20.2 remote−as 300&lt;br /&gt;neighbor 150.10.50.1 remote−as 100&lt;br /&gt;network 150.10.0.0&lt;br /&gt;&lt;br /&gt;RTB#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 150.10.30.1 remote−as 100&lt;br /&gt;&lt;br /&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 170.10.20.1 remote−as 100&lt;br /&gt;network 170.10.0.0&lt;br /&gt;&lt;br /&gt;*RTC will advertise 170.10.0.0 to RTA with a NextHop 170.10.20.2&lt;br /&gt;*RTA will advertise 170.10.0.0 to RTB with a NextHop= 170.10.20.2&lt;br /&gt;(The external NextHop via EBGP is sent via IBGP)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;BGP Nexthop (Multiaccess Networks)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyXjckHBWI/AAAAAAAAALc/_V08sHPqJ9U/s1600-h/Image13.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 217px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyXjckHBWI/AAAAAAAAALc/_V08sHPqJ9U/s320/Image13.JPG" alt="" id="BLOGGER_PHOTO_ID_5263748699708130658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;The following example shows how the nexthop will behave on a multiaccess network such as ethernet.&lt;br /&gt;&lt;br /&gt;Assume that RTC and RTD in AS300 are running OSPF. RTC is running BGP with RTA. RTC can reach network 180.20.0.0 via 170.10.20.3. When RTC sends a BGP update to RTA regarding 180.20.0.0 it will use as next hop 170.10.20.3 and not its own IP address (170.10.20.2). This is because the network between RTA, RTC and RTD is a multiaccess network and it makes more sense for RTA to use RTD as a next hop to reach 180.20.0.0 rather than making an extra hop via RTC.&lt;br /&gt;&lt;br /&gt;*RTC will advertise 180.20.0.0 to RTA with a NextHop 170.10.20.3.&lt;br /&gt;&lt;br /&gt;If the common media to RTA, RTC and RTD was not multiaccess, but NBMA (Non Broadcast Media Access) then further complications will occur.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;BGP Nexthop (NBMA)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyYUDa4sVI/AAAAAAAAALk/aje3UMqIeP0/s1600-h/Image14.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 201px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyYUDa4sVI/AAAAAAAAALk/aje3UMqIeP0/s320/Image14.JPG" alt="" id="BLOGGER_PHOTO_ID_5263749534772146514" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;If the common media as you see in the shaded area above is a frame relay or any NBMA cloud then the exact behavior will occur as if we were connected via ethernet. RTC will advertise 180.20.0.0 to RTA with a next hop of 170.10.20.3.&lt;br /&gt;&lt;br /&gt;The problem is that RTA does not have a direct PVC to RTD, and cannot reach the next hop. In this case routing will fail.&lt;br /&gt;&lt;br /&gt;In order to remedy this situation a command called NextHopself is created.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Nexthopself&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Because of certain situations with the nexthop as we saw in the previous example, a command called &lt;span style="font-weight: bold;"&gt;next−hop−self&lt;/span&gt; is created. The syntax is:&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;blockquote&gt;neighbor {ip−address|peer−group−name} next−hop−self&lt;/blockquote&gt;&lt;/span&gt;The next−hop−self command allows us to force BGP to use a specified IP address as the next hop rather than letting the protocol choose the next hop.&lt;br /&gt;&lt;br /&gt;In the previous example, the following configuration solves our problem:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 170.10.20.1 remote−as 100&lt;br /&gt;neighbor 170.10.20.1 next−hop−self&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;RTC advertises 180.20.0.0 with a NextHop = 170.10.20.2&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6694330468888044985?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6694330468888044985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6694330468888044985' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6694330468888044985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6694330468888044985'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-nexthop-attribute.html' title='BGP Nexthop Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQyXipk6lSI/AAAAAAAAALU/ftait4BIjQ8/s72-c/Image12.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-6922624332902602413</id><published>2008-11-11T06:53:00.000-08:00</published><updated>2008-11-11T06:54:11.656-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Origin Attribute'/><title type='text'>BGP Origin Attribute</title><content type='html'>&lt;div style="text-align: justify;"&gt;Origin Attribute&lt;br /&gt;&lt;br /&gt;The origin is a mandatory attribute that defines the origin of the path information. The origin attribute can assume three values:&lt;br /&gt;&lt;br /&gt;IGP: Network Layer Reachability Information (NLRI) is interior to the originating AS. This normally happens when we use the bgp network command or when IGP is redistributed into BGP, then the origin of the path info will be IGP. This is indicated with an "i" in the BGP table.&lt;br /&gt;&lt;br /&gt;EGP: NLRI is learned via EGP (Exterior Gateway Protocol). This is indicated with an "e" in the BGP table.&lt;br /&gt;&lt;br /&gt;INCOMPLETE: NLRI is unknown or learned via some other means. This usually occurs when we redistribute a static route into BGP and the origin of the route will be incomplete. This is indicated with an "?" in the BGP table.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyWwK_AxOI/AAAAAAAAALM/DHjGenmv-jg/s1600-h/Image11.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 248px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyWwK_AxOI/AAAAAAAAALM/DHjGenmv-jg/s320/Image11.JPG" alt="" id="BLOGGER_PHOTO_ID_5263747818815800546" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 190.10.50.1 remote−as 100&lt;br /&gt;neighbor 170.10.20.2 remote−as 300&lt;br /&gt;network 150.10.0.0&lt;br /&gt;redistribute static&lt;br /&gt;ip route 190.10.0.0 255.255.0.0 null0&lt;br /&gt;&lt;br /&gt;RTB#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 150.10.30.1 remote−as 100&lt;br /&gt;network 190.10.50.0&lt;br /&gt;&lt;br /&gt;RTE#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 170.10.20.1 remote−as 100&lt;br /&gt;network 170.10.0.0&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;RTA will reach 170.10.0.0 via: 300 i (which means the next AS path is 300 and the origin of the route is IGP).&lt;br /&gt;&lt;br /&gt;RTA will also reach 190.10.50.0 via: i (which means, the entry is in the same AS and the origin is IGP).&lt;br /&gt;&lt;br /&gt;RTE will reach 150.10.0.0 via: 100 i (the next AS is 100 and the origin is IGP).&lt;br /&gt;RTE will also reach 190.10.0.0 via: 100 ? (the next AS is 100 and the origin is incomplete "?", coming from a static route).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-6922624332902602413?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/6922624332902602413/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=6922624332902602413' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6922624332902602413'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/6922624332902602413'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-origin-attribute.html' title='BGP Origin Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQyWwK_AxOI/AAAAAAAAALM/DHjGenmv-jg/s72-c/Image11.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-2390989319951877512</id><published>2008-11-11T06:51:00.000-08:00</published><updated>2008-11-11T06:52:52.272-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - As_path Attribute'/><title type='text'>BGP As_path Attribute</title><content type='html'>&lt;p style="text-align: justify;"&gt;As_path Attribute&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mM2wZY2xenc/SQyVj_hEU7I/AAAAAAAAALE/08CnXBsvdhc/s1600-h/Image10.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 294px;" src="http://2.bp.blogspot.com/_mM2wZY2xenc/SQyVj_hEU7I/AAAAAAAAALE/08CnXBsvdhc/s320/Image10.JPG" alt="" id="BLOGGER_PHOTO_ID_5263746510067356594" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Whenever a route update passes through an AS, the AS number is prepended to that update. The AS_path attribute is actually the list of AS numbers that a route has traversed in order to reach a destination.&lt;br /&gt;&lt;br /&gt;An AS−SET is an ordered mathematical set {} of all the ASs that have been traversed. An example of AS−SET is given later.&lt;br /&gt;&lt;br /&gt;In the above example, network 190.10.0.0 is advertised by RTB in AS200, when that route traverses AS300 and RTC will append its own AS number to it. So when 190.10.0.0 reaches RTA it will have two AS numbers attached to it: first 200 then 300. So as far as RTA is concerned the path to reach 190.10.0.0 is (300,200).&lt;br /&gt;&lt;br /&gt;The same applies for 170.10.0.0 and 180.10.0.0. RTB will have to take path (300,100) i.e. traverse AS300 and then AS100 in order to reach 170.10.0.0. RTC will have to traverse path (200) in order to reach 190.10.0.0 and path (100) in order to reach 170.10.0.0.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-2390989319951877512?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/2390989319951877512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=2390989319951877512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2390989319951877512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2390989319951877512'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-aspath-attribute.html' title='BGP As_path Attribute'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mM2wZY2xenc/SQyVj_hEU7I/AAAAAAAAALE/08CnXBsvdhc/s72-c/Image10.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4459278198262080847</id><published>2008-11-11T06:50:00.000-08:00</published><updated>2008-11-11T06:51:27.916-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - iBGP'/><title type='text'>iBGP</title><content type='html'>iBGP is used if an AS wants to act as a transit system to other ASs. You might ask, why can't we do the same thing by learning via eBGP redistributing into IGP and then redistributing again into another AS? We can, but iBGP offers more flexibility and more efficient ways to exchange information within an AS; for example iBGP provides us with ways to control what is the best exit point out of the AS by using local preference.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mM2wZY2xenc/SQySLIDf3TI/AAAAAAAAAK8/GqV0BiNGAFw/s1600-h/Image9.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 241px;" src="http://2.bp.blogspot.com/_mM2wZY2xenc/SQySLIDf3TI/AAAAAAAAAK8/GqV0BiNGAFw/s320/Image9.JPG" alt="" id="BLOGGER_PHOTO_ID_5263742784327638322" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 190.10.50.1 remote−as 100&lt;br /&gt;neighbor 170.10.20.2 remote−as 300&lt;br /&gt;network 150.10.0.0&lt;br /&gt;RTB#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 150.10.30.1 remote−as 100&lt;br /&gt;neighbor 175.10.40.1 remote−as 400&lt;br /&gt;network 190.10.50.0&lt;br /&gt;RTC#&lt;br /&gt;router bgp 400&lt;br /&gt;neighbor 175.10.40.2 remote−as 100&lt;br /&gt;network 175.10.0.0&lt;/blockquote&gt;&lt;br /&gt;Note: An important point to remember, is that when a BGP speaker receives an update from other BGP speakers in its own AS (IBGP), the receiving BGP speaker will not redistribute that information to other BGP speakers in its own AS. The receiving BGP speaker will redistribute that information to other BGP speakers outside of its AS. That is why it is important to sustain a full mesh between the IBGP speakers within an AS.&lt;br /&gt;&lt;br /&gt;In the above diagram, RTA and RTB are running iBGP and RTA and RTD are running iBGP also. The BGP updates coming from RTB to RTA will be sent to RTE (outside of the AS) but not to RTD (inside of the AS).&lt;br /&gt;&lt;br /&gt;This is why an iBGP peering should be made between RTB and RTD in order not to break the flow of the updates.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4459278198262080847?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4459278198262080847/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4459278198262080847' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4459278198262080847'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4459278198262080847'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/ibgp.html' title='iBGP'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mM2wZY2xenc/SQySLIDf3TI/AAAAAAAAAK8/GqV0BiNGAFw/s72-c/Image9.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-241873015687203366</id><published>2008-11-11T06:48:00.000-08:00</published><updated>2008-11-11T06:50:13.345-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Static Routes'/><title type='text'>BGP Static Routes</title><content type='html'>&lt;p style="text-align: justify;"&gt;Static Routes and Redistribution&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;You could always use static routes to originate a network or a subnet. The only difference is that BGP will consider these routes as having an origin of incomplete (unknown). In the above example the same could have been accomplished by doing:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router eigrp 10&lt;br /&gt;network 175.220.0.0&lt;br /&gt;redistribute bgp 200&lt;br /&gt;default−metric 1000 100 250 100 1500&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 1.1.1.1 remote−as 300&lt;br /&gt;redistribute static&lt;br /&gt;...&lt;br /&gt;ip route 175.220.0.0 255.255.255.0 null0&lt;br /&gt;....&lt;br /&gt;&lt;/blockquote&gt;The null 0 interface means disregard the packet. So if I get the packet and there is a more specific match than 175.220.0.0 (which exists of course) the router will send it to the specific match otherwise it will disregard it.&lt;br /&gt;&lt;br /&gt;This is a nice way to advertise a supernet.&lt;br /&gt;&lt;br /&gt;We have discussed how we can use different methods to originate routes out of our autonomous system.&lt;br /&gt;&lt;br /&gt;Please remember that these routes are generated in addition to other BGP routes that BGP has learned via neighbors (internal or external). BGP passes on information that it learns from one peer to other peers. The difference is that routes generated by the network command, or redistribution or static, will indicate your AS as the origin for these networks.&lt;br /&gt;&lt;br /&gt;Injecting BGP into IGP is always done by redistribution.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyQ1Ku4GfI/AAAAAAAAAK0/-6SRETLhMhg/s1600-h/Image8.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 202px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyQ1Ku4GfI/AAAAAAAAAK0/-6SRETLhMhg/s320/Image8.JPG" alt="" id="BLOGGER_PHOTO_ID_5263741307577702898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 150.10.20.2 remote−as 300&lt;br /&gt;network 150.10.0.0&lt;br /&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 160.10.20.2 remote−as 300&lt;br /&gt;network 160.10.0.0&lt;br /&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 150.10.20.1 remote−as 100&lt;br /&gt;neighbor 160.10.20.1 remote−as 200&lt;br /&gt;network 170.10.00&lt;br /&gt;&lt;/blockquote&gt;Note that you do not need network 150.10.0.0 or network 160.10.0.0 in RTC unless you want RTC to also generate these networks on top of passing them on as they come in from AS100 and AS200. Again the difference is that the network command will add an extra advertisement for these same networks indicating that AS300 is also an origin for these routes.&lt;br /&gt;&lt;br /&gt;An important point to remember is that BGP will not accept updates that have originated from its own AS. This is to insure a loop free interdomain topology.&lt;br /&gt;&lt;br /&gt;For example, assume AS200 above had a direct BGP connection into AS100. RTA will generate a route 150.10.0.0 and will send it to AS300 then RTC will pass this route to AS200 with the origin kept as AS100, RTB will pass 150.10.0.0 to AS100 with origin still AS100. RTA will notice that the update has originated from its own AS and will ignore it.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-241873015687203366?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/241873015687203366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=241873015687203366' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/241873015687203366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/241873015687203366'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-static-routes.html' title='BGP Static Routes'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQyQ1Ku4GfI/AAAAAAAAAK0/-6SRETLhMhg/s72-c/Image8.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-2912242069680849910</id><published>2008-11-11T05:02:00.000-08:00</published><updated>2008-11-11T05:06:06.030-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Network Command'/><title type='text'>BGP Network Command</title><content type='html'>&lt;p style="text-align: justify;"&gt;Network Command&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;The format of the network command follows:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;network network−number [mask network−mask]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;The network command controls what networks are originated by this box. This is a different concept from what you are used to configuring with IGRP and RIP. With this command we are not trying to run BGP on a certain interface, rather we are trying to indicate to BGP what networks it should originate from this box. The mask portion is used because BGP4 can handle subnetting and supernetting. A maximum of 200 entries of the network command are accepted. The network command will work if the network you are trying to advertise is known to the router, whether connected, static or learned dynamically.&lt;br /&gt;&lt;br /&gt;An example of the network command follows:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 1&lt;br /&gt;network 192.213.0.0 mask 255.255.0.0&lt;br /&gt;ip route 192.213.0.0 255.255.0.0 null 0&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The above example indicates that router A, will generate a network entry for 192.213.0.0/16. The /16 indicates that we are using a supernet of the class C address and we are advertizing the first two octets (the first 16 bits).&lt;br /&gt;&lt;br /&gt;Note that we need the static route to get the router to generate 192.213.0.0 because the static route will put a matching entry in the routing table.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Redistribution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The network command is one way to advertise your networks via BGP. Another way is to redistribute your IGP (IGRP, OSPF, RIP, EIGRP, etc.) into BGP. This sounds scary because now you are dumping all of your internal routes into BGP, some of these routes might have been learned via BGP and you do not need to send them out again. Careful filtering should be applied to make sure you are sending to the internet only routes that you want to advertise and not everything you have. Let us look at the example below.&lt;br /&gt;&lt;br /&gt;RTA is announcing 129.213.1.0 and RTC is announcing 175.220.0.0. Look at RTC's configuration:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mM2wZY2xenc/SQyP5ANlhUI/AAAAAAAAAKs/tGpUJJWupsE/s1600-h/Image7.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 186px;" src="http://4.bp.blogspot.com/_mM2wZY2xenc/SQyP5ANlhUI/AAAAAAAAAKs/tGpUJJWupsE/s320/Image7.JPG" alt="" id="BLOGGER_PHOTO_ID_5263740273961567554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;If you use a network command you will have:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router eigrp 10&lt;br /&gt;network 175.220.0.0&lt;br /&gt;redistribute bgp 200&lt;br /&gt;default−metric 1000 100 250 100 1500&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 1.1.1.1 remote−as 300&lt;br /&gt;network 175.220.0.0 mask 255.255.0.0 (this will limit the networks originated by your AS to 175.220.0.0)&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;If you use redistribution instead you will have:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router eigrp 10&lt;br /&gt;network 175.220.0.0&lt;br /&gt;network 175.220.0.0&lt;br /&gt;redistribute bgp 200&lt;br /&gt;default−metric 1000 100 250 100 1500&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 1.1.1.1 remote−as 300&lt;br /&gt;redistribute eigrp 10 (eigrp will inject 129.213.1.0 again into BGP)&lt;br /&gt;&lt;/blockquote&gt;This will cause 129.213.1.0 to be originated by your AS. This is misleading because you are not the source of 129.213.1.0 but AS100 is. So you would have to use filters to prevent that network from being sourced out by your AS. The correct configuration would be:&lt;br /&gt;&lt;blockquote&gt;RTC#&lt;br /&gt;router eigrp 10&lt;br /&gt;network 175.220.0.0&lt;br /&gt;redistribute bgp 200&lt;br /&gt;default−metric 1000 100 250 100 1500&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 1.1.1.1 remote−as 300&lt;br /&gt;neighbor 1.1.1.1 distribute−list 1 out&lt;br /&gt;redistribute eigrp 10&lt;br /&gt;access−list 1 permit 175.220.0.0 0.0.255.255&lt;/blockquote&gt;The access−list is used to control what networks are to be originated from AS200.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-2912242069680849910?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/2912242069680849910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=2912242069680849910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2912242069680849910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2912242069680849910'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-network-command.html' title='BGP Network Command'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mM2wZY2xenc/SQyP5ANlhUI/AAAAAAAAAKs/tGpUJJWupsE/s72-c/Image7.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-29034329757622037</id><published>2008-11-11T04:59:00.000-08:00</published><updated>2008-11-11T05:00:27.191-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Route Maps'/><title type='text'>BGP Route Maps</title><content type='html'>&lt;p style="text-align: justify;"&gt;Route Maps&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;At this point I would like to introduce route maps because they will be used heavily with BGP. In the BGP context, route map is a method used to control and modify routing information. This is done by defining conditions for redistributing routes from one routing protocol to another or controlling routing information when injected in and out of BGP. The format of the route map follows:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;route−map map−tag [[permit | deny] | [sequence−number]]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The map−tag is just a name you give to the route−map. Multiple instances of the same route map (same name−tag) can be defined. The sequence number is just an indication of the position a new route map is to have in the list of route maps already configured with the same name.&lt;br /&gt;&lt;br /&gt;For example, if I define two instances of the route map, let us call it MYMAP, the first instance will have a sequence−number of 10, and the second will have a sequence number of 20.&lt;br /&gt;&lt;br /&gt;route−map MYMAP permit 10&lt;br /&gt;(first set of conditions goes here.)&lt;br /&gt;&lt;br /&gt;route−map MYMAP permit 20&lt;br /&gt;(second set of conditions goes here.)&lt;br /&gt;&lt;br /&gt;When applying route map MYMAP to incoming or outgoing routes, the first set of conditions will be applied via instance 10. If the first set of conditions is not met then we proceed to a higher instance of the route map. &lt;span style="font-weight: bold;"&gt;match&lt;/span&gt; and &lt;span style="font-weight: bold;"&gt;set&lt;/span&gt; configuration commands. Each route map will consist of a list of match and set configuration.&lt;br /&gt;&lt;br /&gt;The match will specify a match criteria and set specifies a set action if the criteria enforced by the match command are met.&lt;br /&gt;&lt;br /&gt;For example, I could define a route map that checks outgoing updates and if there is a match for IP address 1.1.1.1 then the metric for that update will be set to 5. The above can be illustrated by the following commands:&lt;br /&gt;&lt;br /&gt;match ip address 1.1.1.1&lt;br /&gt;set metric 5&lt;br /&gt;&lt;br /&gt;Now, if the match criteria are met and we have a permit then the routes will be redistributed or controlled as specified by the set action and we break out of the list.&lt;br /&gt;&lt;br /&gt;If the match criteria are met and we have a deny then the route will not be redistributed or controlled and we break out of the list.&lt;br /&gt;&lt;br /&gt;If the match criteria are not met and we have a permit or deny then the next instance of the route map (instance 20 for example) will be checked, and so on until we either break out or finish all the instances of the route map. If we finish the list without a match then the route we are looking at will not be accepted nor forwarded.&lt;br /&gt;&lt;br /&gt;One restriction on route maps is that when used for filtering BGP updates (as we will see later) rather than when redistributing between protocols, you can NOT filter on the inbound when using a "match" on the ip address. Filtering on t he outbound is OK.&lt;br /&gt;&lt;br /&gt;The related commands for match are:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;match as−path&lt;br /&gt;match community&lt;br /&gt;match clns&lt;br /&gt;match interface&lt;br /&gt;match ip address&lt;br /&gt;match ip next−hop&lt;br /&gt;match ip route−source&lt;br /&gt;match metric&lt;br /&gt;match route−type&lt;br /&gt;match tag&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;The related commands for set are:&lt;br /&gt;&lt;blockquote&gt;set as−path&lt;br /&gt;set clns&lt;br /&gt;set automatic−tag&lt;br /&gt;set community&lt;br /&gt;set interface&lt;br /&gt;set default interface&lt;br /&gt;set ip default next−hop&lt;br /&gt;set level&lt;br /&gt;set local−preference&lt;br /&gt;set metric&lt;br /&gt;set metric−type&lt;br /&gt;set next−hop&lt;br /&gt;set origin&lt;br /&gt;set tag&lt;br /&gt;set weight&lt;/blockquote&gt;Let's look at some route−map examples:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mM2wZY2xenc/SQyNBdiRWWI/AAAAAAAAAKk/YAP9PJExaaM/s1600-h/Image6.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 226px;" src="http://1.bp.blogspot.com/_mM2wZY2xenc/SQyNBdiRWWI/AAAAAAAAAKk/YAP9PJExaaM/s320/Image6.JPG" alt="" id="BLOGGER_PHOTO_ID_5263737120737024354" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example 1:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Assume RTA and RTB are running rip; RTA and RTC are running BGP. RTA is getting updates via BGP and redistributing them to rip. If RTA wants to redistribute to RTB routes about 170.10.0.0 with a metric of 2 and all other routes with a metric of 5 then we might use the following configuration:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router rip&lt;br /&gt;network 3.0.0.0&lt;br /&gt;network 2.0.0.0&lt;br /&gt;network 150.10.0.0&lt;br /&gt;passive−interface Serial0&lt;br /&gt;redistribute bgp 100 route−map SETMETRIC&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 2.2.2.3 remote−as 300&lt;br /&gt;network 150.10.0.0&lt;br /&gt;route−map SETMETRIC permit 10&lt;br /&gt;match ip−address 1&lt;br /&gt;set metric 2&lt;br /&gt;route−map SETMETRIC permit 20&lt;br /&gt;set metric 5&lt;br /&gt;access−list 1 permit 170.10.0.0 0.0.255.255&lt;br /&gt;&lt;/blockquote&gt;In the above example if a route matches the IP address 170.10.0.0 it will have a metric of 2 and then we break out of the route map list. If there is no match then we go down the route map list which says, set everything else to metric 5. It is always very important to ask the question, what will happen to routes that do not match any of the match statements because they will be dropped by default.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Example 2:&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;Suppose in the above example we did not want AS100 to accept updates about 170.10.0.0. Since route maps cannot be applied on the inbound when matching based on an ip address, we have to use an outbound route map on RTC:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;RTC#&lt;br /&gt;router bgp 300&lt;br /&gt;network 170.10.0.0&lt;br /&gt;neighbor 2.2.2.2 remote−as 100&lt;br /&gt;neighbor 2.2.2.2 route−map STOPUPDATES out&lt;br /&gt;route−map STOPUPDATES permit 10&lt;br /&gt;match ip address 1&lt;br /&gt;access−list 1 deny 170.10.0.0 0.0.255.255&lt;br /&gt;access−list 1 permit 0.0.0.0 255.255.255.255&lt;/blockquote&gt;Now that you feel more comfortable with how to start BGP and how to define a neighbor, let's look at how to start exchanging network information.&lt;br /&gt;&lt;br /&gt;There are multiple ways to send network information using BGP. I will go through these methods one by one.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-29034329757622037?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/29034329757622037/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=29034329757622037' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/29034329757622037'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/29034329757622037'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-route-maps.html' title='BGP Route Maps'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mM2wZY2xenc/SQyNBdiRWWI/AAAAAAAAAKk/YAP9PJExaaM/s72-c/Image6.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1136103636394556285</id><published>2008-11-11T04:57:00.000-08:00</published><updated>2008-11-11T04:58:47.430-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - eBGP Multihop'/><title type='text'>eBGP Multihop</title><content type='html'>&lt;div style="text-align: justify;"&gt;In some cases, a Cisco router can run eBGP with a third party router that doesn't allow the two external peers to be directly connected. To achieve this, you can use eBGP multihop, which allows the neighbor connection to be established between two non−directly−connected external peers. The multihop is used only for eBGP and not for iBGP. The following example illustrates of eBGP multihop.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mM2wZY2xenc/SQyLaguzJ5I/AAAAAAAAAKU/-tUrRzrcP94/s1600-h/Image4.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 68px;" src="http://4.bp.blogspot.com/_mM2wZY2xenc/SQyLaguzJ5I/AAAAAAAAAKU/-tUrRzrcP94/s320/Image4.JPG" alt="" id="BLOGGER_PHOTO_ID_5263735352068351890" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 180.225.11.1 remote−as 300&lt;br /&gt;neighbor 180.225.11.1 ebgp−multihop&lt;br /&gt;RTB#&lt;br /&gt;router bgp 300&lt;br /&gt;neighbor 129.213.1.2 remote−as 100&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;RTA is indicating an external neighbor that isn't directly connected. RTA needs to indicate that it's using ebgp−multihop. On the other hand, RTB is indicating a neighbor that is directly connected (129.213.1.2), which is why it doesn't need the ebgp−multihop command. You should also configure an IGP or static routing to allow the non−connected neighbors to reach each other.&lt;br /&gt;The following example shows how to achieve load balancing with BGP in a particular case where we have eBGP over parallel lines.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;eBGP Multihop (Load Balancing)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mM2wZY2xenc/SQyLbFKKE5I/AAAAAAAAAKc/vyftJtRUCJc/s1600-h/Image5.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 116px;" src="http://1.bp.blogspot.com/_mM2wZY2xenc/SQyLbFKKE5I/AAAAAAAAAKc/vyftJtRUCJc/s320/Image5.JPG" alt="" id="BLOGGER_PHOTO_ID_5263735361846776722" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;int loopback 0&lt;br /&gt;ip address 150.10.1.1 255.255.255.0&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 160.10.1.1 remote−as 200&lt;br /&gt;neighbor 160.10.1.1 ebgp−multihop&lt;br /&gt;neighbor 160.10.1.1 update−source loopback 0&lt;br /&gt;network 150.10.0.0&lt;br /&gt;ip route 160.10.0.0 255.255.0.0 1.1.1.2&lt;br /&gt;ip route 160.10.0.0 255.255.0.0 2.2.2.2&lt;br /&gt;RTB#&lt;br /&gt;int loopback 0&lt;br /&gt;ip address 160.10.1.1 255.255.255.0&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 150.10.1.1 remote−as 100&lt;br /&gt;neighbor 150.10.1.1 update−source loopback 0&lt;br /&gt;neighbor 150.10.1.1 ebgp−multihop&lt;br /&gt;network 160.10.0.0&lt;br /&gt;ip route 150.10.0.0 255.255.0.0 1.1.1.1&lt;br /&gt;ip route 150.10.0.0 255.255.0.0 2.2.2.1&lt;/blockquote&gt;The above example illustrates the use of loopback interfaces, update−source and ebgp−multihop. This is a workaround in order to achieve load balancing between two eBGP speakers over parallel serial lines. In normal situations, BGP picks one of the lines to send packets on, and load balancing wouldn't happen. By introducing loopback interfaces, the next hop for eBGP is the loopback interface. We use static routes (we could also use an IGP) to introduce two equal cost paths to reach the destination. RTA has two choices to reach next hop 160.10.1.1: one via 1.1.1.2 and the other one via 2.2.2.2, and the same for RTB.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1136103636394556285?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1136103636394556285/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1136103636394556285' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1136103636394556285'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1136103636394556285'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/ebgp-multihop.html' title='eBGP Multihop'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mM2wZY2xenc/SQyLaguzJ5I/AAAAAAAAAKU/-tUrRzrcP94/s72-c/Image4.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5965865638435316457</id><published>2008-11-11T04:56:00.000-08:00</published><updated>2008-11-11T04:57:16.338-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - BGP and Loopback Interfaces'/><title type='text'>BGP and Loopback Interfaces</title><content type='html'>&lt;div style="text-align: justify;"&gt;Using a loopback interface to define neighbors is common with iBGP, but not with eBGP. Normally the loopback interface is used to make sure the IP address of the neighbor stays up and is independent of hardware functioning properly. In the case of eBGP, peer routers are frequently directly connected and loopback doesn't apply.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;If you use the IP address of a loopback interface in the neighbor command, you need some extra&lt;br /&gt;&lt;div style="text-align: justify;"&gt;configuration on the neighbor router. The neighbor router needs to tell BGP it's using a loopback interface rather than a physical interface to initiate the BGP neighbor TCP connection. The command used to indicate a loopback interface is:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;neighbor ip−address update−source interface&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following example illustrates the use of this command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyKlSrfaeI/AAAAAAAAAKM/fLDW6rcF7Uw/s1600-h/Image3.JPG"&gt;&lt;img style="cursor: pointer; width: 416px; height: 132px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyKlSrfaeI/AAAAAAAAAKM/fLDW6rcF7Uw/s320/Image3.JPG" alt="" id="BLOGGER_PHOTO_ID_5263734437763312098" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;RTA#&lt;br /&gt;&lt;blockquote&gt;router bgp 100&lt;br /&gt;neighbor 190.225.11.1 remote−as 100&lt;br /&gt;neighbor 190.225.11.1 update−source loopback 1&lt;br /&gt;&lt;/blockquote&gt;RTB#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 150.212.1.1 remote−as 100&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5965865638435316457?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5965865638435316457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5965865638435316457' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5965865638435316457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5965865638435316457'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/bgp-and-loopback-interfaces.html' title='BGP and Loopback Interfaces'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQyKlSrfaeI/AAAAAAAAAKM/fLDW6rcF7Uw/s72-c/Image3.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-7119410269896006087</id><published>2008-11-11T04:54:00.000-08:00</published><updated>2008-11-11T04:56:08.463-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Forming BGP Neighbors'/><title type='text'>Forming BGP Neighbors</title><content type='html'>&lt;div style="text-align: justify;"&gt;Two BGP routers become neighbors once they establish a TCP connection between each other. The TCP connection is essential in order for the two peer routers to start exchanging routing updates.&lt;br /&gt;&lt;/div&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Once the TCP connection is up, the routers send open messages in order to exchange values such as the AS number, the BGP version they're running, the BGP router ID and the keepalive hold time. After these values are confirmed and accepted the neighbor connection is established. Any state other than "established" is an indication that the two routers didn't become neighbors, and BGP updates won't be exchanged.&lt;br /&gt;&lt;br /&gt;Use this neighbor command to establish a TCP connection:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;neighbor ip−address remote−as number&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The remote−as number is the AS number of the router we're trying to connect to using BGP.&lt;br /&gt;&lt;br /&gt;The ip−address is the next hop directly−connected address for eBGP and any IP address on the other router for iBGP.&lt;br /&gt;&lt;br /&gt;It's essential that the two IP addresses used in the neighbor command of the peer routers be able to reach one another. One sure way to verify reachability is an extended ping between the two IP addresses. The extended ping forces the pinging router to use as source the IP address specified in the neighbor command rather than the IP address of the interface the packet is going out from.&lt;br /&gt;&lt;br /&gt;It is important to reset the neighbor connection in case any BGP configuration changes are made in order for the new parameters to take effect.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;clear ip bgp address &lt;/span&gt;(where address is the neighbor address)&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;clear ip bgp *&lt;/span&gt; (clear all neighbor connections)&lt;br /&gt;&lt;br /&gt;By default, BGP sessions begin using BGP version 4 and negotiating downward to earlier versions if necessary. To prevent negotiations and force the BGP version used to communicate with a neighbor, perform the following task in router configuration mode:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;neighbor {ip address|peer−group−name}&lt;/span&gt; version value&lt;br /&gt;&lt;br /&gt;An example of the &lt;span style="font-weight: bold;"&gt;neighbor&lt;/span&gt; command configuration follows:&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyJXeLHulI/AAAAAAAAAKE/PQXIBRj8EFc/s1600-h/Image2.JPG"&gt;&lt;img style="cursor: pointer; width: 320px; height: 177px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyJXeLHulI/AAAAAAAAAKE/PQXIBRj8EFc/s320/Image2.JPG" alt="" id="BLOGGER_PHOTO_ID_5263733100818971218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;neighbor 129.213.1.1 remote−as 200&lt;br /&gt;RTB#&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 129.213.1.2 remote−as 100&lt;br /&gt;neighbor 175.220.1.2 remote−as 200&lt;br /&gt;RTC#&lt;br /&gt;router bgp 200&lt;br /&gt;neighbor 175.220.212.1 remote−as 200&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;In the above example RTA and RTB are running eBGP. RTB and RTC are running iBGP. The difference between eBGP and iBGP is manifested by having the remote−as number pointing to either an external or an internal AS.&lt;br /&gt;&lt;br /&gt;Also, the eBGP peers are directly connected while the iBGP peers are not. iBGP routers don't have to be directly connected, as long as there is some IGP running that allows the two neighbors to reach one another.&lt;br /&gt;&lt;br /&gt;The following is an example of the information that the show ip bgp neighbors command displays. Pay special attention to the BGP state, since anything other than state "established" indicates the peers aren't up. You should also note the BGP version is 4, the remote router ID (highest IP address on the router or the highest loopback interface in case it exists) and the table version (this is the state of the table, any time new information comes in, the table increases the version and a version that keeps incrementing indicates that some route is flapping causing routes to continuously be updated).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#show ip bgp neighbors&lt;/span&gt;&lt;br /&gt;BGP neighbor is 129.213.1.1, remote AS 200, external link&lt;br /&gt;BGP version 4, remote router ID 175.220.12.1&lt;br /&gt;BGP state = Established, table version = 3, up for 0:10:59&lt;br /&gt;Last read 0:00:29, hold time is 180, keepalive interval is 60 seconds&lt;br /&gt;Minimum time between advertisement runs is 30 seconds&lt;br /&gt;Received 2828 messages, 0 notifications, 0 in queue&lt;br /&gt;Sent 2826 messages, 0 notifications, 0 in queue&lt;br /&gt;Connections established 11; dropped 10&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-7119410269896006087?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/7119410269896006087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=7119410269896006087' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7119410269896006087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7119410269896006087'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/forming-bgp-neighbors.html' title='Forming BGP Neighbors'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQyJXeLHulI/AAAAAAAAAKE/PQXIBRj8EFc/s72-c/Image2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4562344273672933429</id><published>2008-11-11T04:53:00.000-08:00</published><updated>2008-11-11T04:54:32.312-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - Enabling BGP Routing'/><title type='text'>Enabling BGP Routing</title><content type='html'>&lt;div style="text-align: justify;"&gt;Use these steps to enable and configure BGP.&lt;br /&gt;&lt;br /&gt;Let's assume you want to have two routers, RTA and RTB, talk BGP. In the first example RTA and RTB are in different ASs and in the second example both routers belong to the same AS.&lt;br /&gt;&lt;br /&gt;We start by defining the router process and the AS number to which the routers belong. Use this command to enable BGP on a router:&lt;br /&gt;&lt;br /&gt;router bgp autonomous−system&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RTA#&lt;br /&gt;router bgp 100&lt;br /&gt;&lt;br /&gt;RTB#&lt;br /&gt;router bgp 200&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;The above statements indicate that RTA is running BGP and it belongs to AS100 and RTB is running BGP and it belongs to AS200.&lt;br /&gt;&lt;br /&gt;The next step in the configuration process is to define BGP neighbors, which indicates the routers that are trying to talk BGP.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4562344273672933429?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4562344273672933429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4562344273672933429' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4562344273672933429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4562344273672933429'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/enabling-bgp-routing.html' title='Enabling BGP Routing'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-802178621290094227</id><published>2008-11-11T04:50:00.000-08:00</published><updated>2008-11-11T04:53:26.396-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP - eBGP and iBGP'/><title type='text'>eBGP and iBGP</title><content type='html'>&lt;div style="text-align: justify;"&gt;If an AS has multiple BGP speakers, it could be used as a transit service for other ASs. As you see below, AS200 is a transit AS for AS100 and AS300.&lt;br /&gt;&lt;br /&gt;It is necessary to ensure reachability for networks within an AS before sending the information to external ASs. This is done by a combination of internal BGP (iBGP) peering between routers inside an AS and by redistributing BGP information to Internal Gateway Protocols (IGPs) running in the AS.&lt;br /&gt;&lt;br /&gt;As far as this paper is concerned, when BGP is running between routers belonging to two different ASs, we call this exterior BGP (eBGP). When BGP is running between routers in the same AS, we call this iBGP.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyGUMX8zGI/AAAAAAAAAJ8/53AqdcO9O5A/s1600-h/image1.JPG"&gt;&lt;img style="cursor: pointer; width: 425px; height: 148px;" src="http://3.bp.blogspot.com/_mM2wZY2xenc/SQyGUMX8zGI/AAAAAAAAAJ8/53AqdcO9O5A/s320/image1.JPG" alt="" id="BLOGGER_PHOTO_ID_5263729745966451810" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-802178621290094227?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/802178621290094227/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=802178621290094227' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/802178621290094227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/802178621290094227'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/ebgp-and-ibgp.html' title='eBGP and iBGP'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mM2wZY2xenc/SQyGUMX8zGI/AAAAAAAAAJ8/53AqdcO9O5A/s72-c/image1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5675736871461523939</id><published>2008-11-11T04:49:00.000-08:00</published><updated>2008-11-11T04:50:40.981-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='BGP How Does BGP Work'/><title type='text'>How Does BGP Work</title><content type='html'>&lt;div style="text-align: justify;"&gt;How Does BGP Work ?&lt;br /&gt;&lt;br /&gt;BGP uses TCP as its transport protocol (port 179). Two BGP routers form a TCP connection between one another (peer routers) and exchange messages to open and confirm the connection parameters.&lt;br /&gt;&lt;br /&gt;BGP routers exchange network reachability information. This information is mainly an indication of the full paths (BGP AS numbers) that a route should take in order to reach the destination network. This information helps in constructing a graph of ASs that are loop−free and where routing policies can be applied in order to enforce some restrictions on the routing behavior.&lt;br /&gt;&lt;br /&gt;Any two routers that have formed a TCP connection in order to exchange BGP routing information are called peers, or neighbors. BGP peers initially exchange their full BGP routing tables. After this exchange, incremental updates are sent as the routing table changes. BGP keeps a version number of the BGP table, which should be the same for all of its BGP peers. The version number changes whenever BGP updates the table due to routing information changes. Keepalive packets are sent to ensure that the connection is alive between the BGP peers and notification packets are sent in response to errors or special conditions.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5675736871461523939?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5675736871461523939/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5675736871461523939' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5675736871461523939'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5675736871461523939'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/11/how-does-bgp-work.html' title='How Does BGP Work'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1768368693121357684</id><published>2008-10-08T03:48:00.000-07:00</published><updated>2008-10-08T03:51:06.336-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>Dial-on-Demand Routing</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Dial-on-demand routing (DDR)&lt;/span&gt; is used to allow two or more Cisco routers to dial an ISDN dial-up connection on an as-needed basis. DDR is only used for low-volume, periodic network connections using either a Public Switched Telephone Network (PSTN) or ISDN. This was designed to reduce WAN costs if you have to pay on a per-minute or per-packet basis.&lt;br /&gt;&lt;br /&gt;DDR works when a packet received on an interface meets the requirements of an access list defined by an administrator, which defines interesting traffic. The following five steps give a basic description of how DDR works when an interesting packet is received in a router interface:&lt;br /&gt;&lt;br /&gt;1. Route to the destination network is determined.&lt;br /&gt;2. Interesting packets dictate a DDR call.&lt;br /&gt;3. Dialer information is looked up.&lt;br /&gt;4. Traffic is transmitted.&lt;br /&gt;5. Call is terminated when no more traffic is being transmitted over a link and the idle-timeout period ends.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuring DDR&lt;/span&gt;&lt;br /&gt;To configure legacy DDR, you need to perform three tasks:&lt;br /&gt;1. Define static routes, which define how to get to the remote networks and what interface to use to get there.&lt;br /&gt;2. Specify the traffic that is considered interesting to the router.&lt;br /&gt;3. Configure the dialer information that will be used to dial the interface to get to the remote network.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuring Static Routes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To forward traffic across the ISDN link, you configure static routes in each of the routers. You certainly can configure dynamic routing protocols to run on your ISDN link, but then the link will never drop. The suggested routing method is static routes. Keep the following in mind when creating static routes:&lt;br /&gt;&lt;br /&gt;* All participating routers must have static routes defining all routes of known networks.&lt;br /&gt;* Default routing can be used if the network is a stub network. An example of static routing with ISDN is shown below: RouterA(config)#ip route 172.16.50.0 255.255.255.0 172.16.60.2&lt;br /&gt;&lt;br /&gt;RouterA(config)#ip route 172.16.60.2 255.255.255.255 bri0 What this does is tell the router how to get to network 172.16.50.0, which is through 172.16.60.2. The second line tells the router how to get to 172.16.60.2.&lt;br /&gt;&lt;br /&gt;Specifying Interesting Traffic&lt;br /&gt;After setting the route tables in each router, you need to configure the router to determine what brings up the ISDN line. An administrator using the dialer-list global configuration command defines interesting packets.&lt;br /&gt;&lt;br /&gt;The command to turn on all IP traffic is shown as follows:&lt;br /&gt;&lt;br /&gt;804A(config)#dialer-list 1 protocol ip permit&lt;br /&gt;804A(config)#int bri0&lt;br /&gt;804A(config-if)#dialer-group 1&lt;br /&gt;&lt;br /&gt;The dialer-group command sets the access list on the BRI interface. Extended access lists can be used with the dialer-list command to define interesting traffic to just certain applications. We’ll cover that in a minute.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Configuring the Dialer Information&lt;br /&gt;There are five steps in the configuration of the dialer information.&lt;br /&gt;1. Choose the interface.&lt;br /&gt;2. Set the IP address.&lt;br /&gt;3. Configure the encapsulation type.&lt;br /&gt;4. Link interesting traffic to the interface.&lt;br /&gt;5. Configure the number or numbers to dial.&lt;br /&gt;&lt;br /&gt;Here is an example of how to configure the five steps:&lt;br /&gt;&lt;br /&gt;804A#config t&lt;br /&gt;804A(config)#int bri0&lt;br /&gt;804A(config-if)#ip address 172.16.60.1 255.255.255.0&lt;br /&gt;804A(config-if)#no shut&lt;br /&gt;804A(config-if)#encapsulation ppp&lt;br /&gt;804A(config-if)#dialer-group 1&lt;br /&gt;804A(config-if)#dialer-string 8350661&lt;br /&gt;Instead of the dialer-string command, you can use a dialer map,&lt;br /&gt;which provides more security.&lt;br /&gt;804A(config-if)#dialer map ip 172.16.60.2 name 804B 8350661&lt;br /&gt;&lt;br /&gt;The dialer map command can be used with the dialer-group command and its associated access list to initiate dialing. The dialer map command uses the IP address of the next hop router, the hostname of the remote router for authentication, and then the number to dial to get there.&lt;br /&gt;&lt;br /&gt;Take a look at the following configuration of an 804 router:&lt;br /&gt;804B#sh run&lt;br /&gt;Building configuration...&lt;br /&gt;Current configuration:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;!&lt;br /&gt;version 12.0&lt;br /&gt;no service pad&lt;br /&gt;service timestamps debug uptime&lt;br /&gt;service timestamps log uptime&lt;br /&gt;no service password-encryption&lt;br /&gt;!&lt;br /&gt;hostname 804B&lt;br /&gt;!&lt;br /&gt;ip subnet-zero&lt;br /&gt;!&lt;br /&gt;isdn switch-type basic-ni&lt;br /&gt;!&lt;br /&gt;interface Ethernet0&lt;br /&gt;ip address 172.16.50.10 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;!&lt;br /&gt;interface BRI0&lt;br /&gt;ip address 172.16.60.2 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;encapsulation ppp&lt;br /&gt;dialer idle-timeout 300&lt;br /&gt;dialer string 8358661&lt;br /&gt;dialer load-threshold 2 either&lt;br /&gt;dialer-group 1&lt;br /&gt;isdn switch-type basic-ni&lt;br /&gt;isdn spid1 0835866201 8358662&lt;br /&gt;isdn spid2 0835866401 8358664&lt;br /&gt;hold-queue 75 in&lt;br /&gt;!&lt;br /&gt;ip classless&lt;br /&gt;ip route 172.16.30.0 255.255.255.0 172.16.60.1&lt;br /&gt;ip route 172.16.60.1 255.255.255.255 BRI0&lt;br /&gt;!&lt;br /&gt;dialer-list 1 protocol ip permit&lt;br /&gt;!&lt;br /&gt;&lt;/blockquote&gt;The BRI interface is running the PPP encapsulation and has a timeout value of 300 seconds. The load-threshold command makes both BRI interfaces come up immediately (Okay, I feel that if I am paying for both I want them both up all the time). The one thing you really want to notice is the dialer-group 1 command. That number must match the dialer-list number. The hold-queue 75 in command tells the router that when it receives an interesting packet, it should queue up to 75 packets while it is waiting for the BRI to come up. If there are more than 75 packets queued before the link comes up, the packets will be dropped.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Optional Commands: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There are two other commands that you should configure on your BRI interface:  the dialer load-threshold command and the dialer idletimeout command.&lt;br /&gt;&lt;br /&gt;The dialer load-threshold command tells the BRI interface when to bring up the second B channel. The option is from 1–255, where 255 tells the BRI to bring up the second B channel only when the first channel is 100 percent loaded. The second option for that command is in, out, or either. This calculates the actual load on the interface either on outbound traffic, inbound traffic, or combined. The default is outbound. The dialer idle-timeout command specifies the number of seconds before a call is disconnected after the last interesting traffic is sent. The default is 120 seconds.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA(config-if)#dialer load-threshold 125 either&lt;br /&gt;RouterA(config-if)#dialer idle-timeout 180&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The dialer load-threshold 125 tells the BRI interface to bring up the second B channel if either the inbound or outbound traffic load is 50 percent. The dialer idle-timeout 180 changes the default disconnect time from 120 to 180 seconds.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;DDR with Access Lists: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You can use access lists to be more specific about what is interesting traffic. In the preceding example we just set the dialer list to allow any IP traffic to bring up the line. That is great if you are testing, but it can defeat the purpose of why you use a DDR line in the first place. You can use extended access lists to set the restriction, for example, to only e-mail or Telnet.&lt;br /&gt;&lt;br /&gt;Here is an example of how you define the dialer list to use an access list:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;804A(config)#dialer-list 1 list 110&lt;br /&gt;804A(config)#access-list 110 permit tcp any any eq smtp&lt;br /&gt;804A(config)#access-list 110 permit tcp any any eq telnet&lt;br /&gt;804A(config)#int bri0&lt;br /&gt;804A(config-if)#dialer-group 1&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;In the preceding example, you configure the dialer-list command to look at an access list. This doesn’t have to be IP; it can be used with any protocol. Create your list, then apply it to the BRI interface with the dialergroup command.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Verifying the ISDN Operation: &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The following commands can be used to verify legacy DDR and ISDN: Ping and Telnet Are great IP tools for any network. However, your interesting traffic must dictate that Ping and Telnet are acceptable as interesting traffic to bring up a link. Once a link is up, you can ping or telnet to your remote router regardless of your interesting traffic lists. Show dialer Gives good information about your dialer diagnostic information and shows the number of times the dialer string has been reached, the idle-timeout values of each B channel, the length of cal, and the name of the router to which the interface is connected.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Show isdn active&lt;/span&gt; Shows the number called and whether a call is in progress.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Show isdn status&lt;/span&gt; Is a good command to use before trying to dial.&lt;br /&gt;Shows if your SPIDs are valid and if you are connected and communicating with layers 1 through 3 information to the provider’s switch.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Sho ip route&lt;/span&gt; Shows all routes the router knows about.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Debug isdn q921&lt;/span&gt; Is used to see layer-2 information only.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Debug isdn q931&lt;/span&gt; Is used to see layer-3 information, including call setup and teardown.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Debug dialer&lt;/span&gt; Gives you call-setup and teardown activity.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Isdn disconnect int bri0&lt;/span&gt; Clears the interface and drops the connection. Performing a shutdown on the interface can give you the same results.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1768368693121357684?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1768368693121357684/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1768368693121357684' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1768368693121357684'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1768368693121357684'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/dial-on-demand-routing.html' title='Dial-on-Demand Routing'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4928367959957552349</id><published>2008-10-08T03:28:00.000-07:00</published><updated>2008-10-08T03:43:31.750-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>Integrated Services Digital Network</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Integrated Services Digital Network (ISDN)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Integrated Services Digital Network (ISDN) is a digital service designed to run over existing telephone networks. ISDN can support both data and voice—a telecommuter’s dream. But ISDN applications require bandwidth. Typical ISDN applications and implementations include high-speed image applications (such as Group IV facsimile), high-speed file transfer, videoconferencing, and multiple links into homes of telecommuters. ISDN is actually a set of communication protocols proposed by telephone companies that allows them to carry a group of digital services that simultaneously convey data, text, voice, music, graphics, and video to end users, and it was designed to achieve this over the telephone systems already in place. ISDN is referenced by a suite of ITU-T standards that encompass the OSI model’s Physical, Data Link, and Network layers. The ISDN standards define the hardware and call-setup schemes for end-to-end digital connectivity.&lt;br /&gt;&lt;br /&gt;PPP is typically used with ISDN to provide data encapsulation, link integrity, and authentication. These are the benefits of ISDN:&lt;br /&gt;&lt;br /&gt;* Can carry voice, video, and data simultaneously&lt;br /&gt;* Has faster call setup than a modem&lt;br /&gt;* Has faster data rates than a modem connection&lt;br /&gt;&lt;br /&gt;ISDN Components:&lt;br /&gt;The components used with ISDN include functions and reference points. Figure 6 shows how the different types of terminal and reference points can be used in an ISDN network.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rcbpfThKZBA/SOyNp36XOlI/AAAAAAAAAII/UWuCgZ2mWwQ/s1600-h/Figure6.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_rcbpfThKZBA/SOyNp36XOlI/AAAAAAAAAII/UWuCgZ2mWwQ/s320/Figure6.JPG" alt="" id="BLOGGER_PHOTO_ID_5254730615757421138" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;In North America, ISDN uses a two-wire connection into a home or office. That is called a “U” reference point. The NT1 device is used to convert the two-wire connection to a four-wire connection that is used by ISDN phones and terminal adapters (TAs). Most routers can now be purchased with a built-in NT1 (U) interface.&lt;br /&gt;&lt;br /&gt;Figure 7 shows the different reference points and terminal equipment that can be used with Cisco ISDN BRI interfaces.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rcbpfThKZBA/SOyN2gdAJqI/AAAAAAAAAIQ/1Jl7KOghqaQ/s1600-h/Figure7.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_rcbpfThKZBA/SOyN2gdAJqI/AAAAAAAAAIQ/1Jl7KOghqaQ/s320/Figure7.JPG" alt="" id="BLOGGER_PHOTO_ID_5254730832798557858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;ISDN Terminals: Devices connecting to the ISDN network are known as terminal equipment (TE) and network termination (NT) equipment. There are two types of each: TE1 Terminal equipment type 1 refers to those terminals that understand ISDN standards and can plug right into an ISDN network.&lt;br /&gt;&lt;br /&gt;TE2 Terminal equipment type 2 refers to those that predate ISDN standards. To use a TE2, you have to use a terminal adapter (TA) to be able to plug into an ISDN network.&lt;br /&gt;&lt;br /&gt;NT1 Network termination 1 implements the ISDN Physical layer specifications and connects the user devices to the ISDN network.&lt;br /&gt;&lt;br /&gt;NT2 Network termination 2 is typically a provider’s equipment, such as a switch or PBX. It also provides Data Link and Network layer implementation.&lt;br /&gt;&lt;br /&gt;It’s very rare at a customer premises.&lt;br /&gt;TA Terminal adapter converts TE2 wiring to TE1 wiring that then connects  into an NT1 device for conversion into a two-wire ISDN network.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ISDN Reference Points&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Reference points are a series of specifications that define the connection between the various equipment used in an ISDN network. ISDN has four reference points that define logical interfaces:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;R reference&lt;/span&gt; point Defines the reference point between non-ISDN equipment (TE2) and a TA.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;S reference&lt;/span&gt; point Defines the reference point between the customer router and an NT2. Enables calls between the different customer equipment.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;T reference&lt;/span&gt; point Defines the reference point between NT1 and NT2 devices. S and T reference points are electrically the same and can perform the same function. Therefore, they are sometimes referred to as an S/T reference point.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;U reference&lt;/span&gt; point Defines the reference point between NT1 devices and line-termination equipment in a carrier network. (This is only in North America where the NT1 function isn’t provided by the carrier network.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ISDN Protocols&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;ISDN protocols are defined by the ITU, and there are several series of protocols dealing with diverse issues:&lt;br /&gt;&lt;br /&gt;* Protocols beginning with the letter E deal with using ISDN on the existing telephone network.&lt;br /&gt;* Protocols beginning with the letter I deal with concepts, aspects, and services.&lt;br /&gt;* Protocols beginning with the letter Q cover switching and signaling.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ISDN Switch Types&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;We can credit AT&amp;amp;T and Nortel for the majority of the ISDN switches in place today, but additional companies also make them. In Table 10.1 under “Keyword,” you’ll find the right keyword to use along with the isdn switch-type command to configure a router for the variety of switches it’s going to connect to. If you don’t know which switch your provider is using at their central office, simply call them to find out.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family: courier new;"&gt;Switch Type                                   Keyword&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;----------------------------------------------------------&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;AT&amp;amp;T basic rate switch                      - Basic-5ess&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Nortel DMS-100 basic rate switch            - Basic-dms100&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;National ISDN-1 switch                      - Basic-ni1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;AT&amp;amp;T 4ESS (ISDN PRI only)                   - Primary-4ess&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;AT&amp;amp;T 5ESS (ISDN PRI only)                   - Primary-5ess&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;Nortel DMS-100 (ISDN PRI only)              - Primary-dms100&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Basic Rate Interface (BRI)&lt;/span&gt;: ISDN Basic Rate Interface (BRI, also known as 2B+1D) service provides two B channels and one D channel. The BRI B-channel service operates at 64Kbps and carries data, while the BRI D-channel service operates at 16Kbps and usually carries control and signaling information.&lt;br /&gt;&lt;br /&gt;The D-channel signaling protocol spans the OSI reference model’s Physical, Data Link, and Network layers. The D channel carries signaling information to set up and control calls. The D channel can also be used for other functions like an alarm system for a building, or anything that doesn’t need much bandwidth, since it is only a whopping 16k. D channels work with LAPD at the Data Link layer.&lt;br /&gt;&lt;br /&gt;When configuring ISDN BRI, you will need to obtain SPIDs (Service Profile Identifiers), and you should have one SPID for each B channel. SPIDs can be thought of as the telephone number of each B channel. The ISDN device gives the SPID to the ISDN switch, which then allows the device to access the network for BRI or PRI service. Without a SPID, many ISDN switches don’t allow an ISDN device to place a call on the network.&lt;br /&gt;&lt;br /&gt;To set up a BRI call, four events must take place:&lt;br /&gt;&lt;br /&gt;1. The D channel between the router and the local ISDN switch comes up.&lt;br /&gt;2. The ISDN switch uses the SS7 signaling technique to set up a path to a remote switch.&lt;br /&gt;3. The remote switch sets up the D-channel link to the remote router.&lt;br /&gt;4. The B channels are then connected end-to-end.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Primary Rate Interface (PRI):&lt;/span&gt;&lt;br /&gt;In North America and Japan, the ISDN Primary Rate Interface (PRI, also known as 23B+D1) service delivers 23 64Kbps B channels and one 64Kbps D channel for a total bit rate of up to 1.544Mbps. In Europe, Australia, and other parts of the world, ISDN provides 30 64Kbps B channels and one 64Kbps D channel for a total bit rate of up to 2.048Mbps.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ISDN with Cisco Routers:&lt;/span&gt;&lt;br /&gt;Accessing ISDN with a Cisco router means that you will need to purchase either a router with a built-in NT1 (U reference point) or an ISDN modem (called a TA). If your router has a BRI interface, you’re ready to rock. Otherwise, you can use one of your router’s serial interfaces if you can get ahold of a TA. A router with a BRI interface is called a TE1 (terminal endpoint 1), and one that requires a TA is called a TE2 (terminal endpoint 2). ISDN supports virtually every upper-layer network protocol (IP, IPX, AppleTalk, you name it), and you can choose PPP, HDLC, or LAPD as your encapsulation protocol.&lt;br /&gt;&lt;br /&gt;For each ISDN BRI interface, you need to specify the SPIDs that are using the isdn spid1 and isdn spid2 interface subcommands. These are provided by the ISDN provider and identify you on the switch, sort of like a telephone number. However, some providers no longer require SPIDs to be configured on the router. Check with your provider to be sure.&lt;br /&gt;&lt;br /&gt;The second part of the SPID configuration is the local dial number for that SPID. It is optional, but some switches need to have those set on the router in order to use both B channels simultaneously.&lt;br /&gt;&lt;br /&gt;An example is shown below:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA#config t&lt;br /&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;br /&gt;RouterA(config)#isdn switch-type basic-ne1&lt;br /&gt;RouterA(config)#int bri0&lt;br /&gt;RouterA(config-if)#encap ppp (optional)&lt;br /&gt;RouterA(config-if)#isdn spid1 086506610100 8650661&lt;br /&gt;RouterA(config-if)#isdn spid2 086506620100 8650662&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4928367959957552349?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4928367959957552349/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4928367959957552349' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4928367959957552349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4928367959957552349'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/integrated-services-digital-network.html' title='Integrated Services Digital Network'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rcbpfThKZBA/SOyNp36XOlI/AAAAAAAAAII/UWuCgZ2mWwQ/s72-c/Figure6.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5783829881781540283</id><published>2008-10-08T03:16:00.000-07:00</published><updated>2008-10-08T03:27:35.468-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>Data Link Connection Identifiers</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Data Link Connection Identifiers (DLCIs):&lt;/span&gt; Frame Relay virtual circuits (PVCs) are identified by DLCIs. A Frame Relay service provider, such as the telephone company, typically assigns DLCI values, which are used by Frame Relay to distinguish between different virtual circuits on the network. Because many virtual circuits can be terminated on one multipoint Frame Relay interface, many DLCIs are often affiliated with it. For the IP devices at each end of a virtual circuit to communicate, their IP addresses need to be mapped to DLCIs. This mapping can function as a multipoint device—one that can identify to the Frame Relay network the appropriate destination virtual circuit for each packet that is sent over the single physical interface. The mappings can be done dynamically through IARP or manually through the Frame Relay map command.&lt;br /&gt;&lt;br /&gt;Frame Relay uses DLCIs the same way that X.25 uses X.121 addresses, and every DLCI number can be given either global or local meaning everywhere within the Frame Relay network. Sometimes a provider can give a site a DLCI that is advertised to all remote sites as the same PVC. This PVC is said to have a global significance. For example, a corporate office might have a DLCI of 20. All remote sites would know that the corporate office is DLCI 20 and use this PVC to communicate to the corporate office. However, the customary implementation is to give each DLCI local meaning. What does this mean? It means that DLCI numbers do not necessarily need to be unique. Two DLCI numbers can be the same on different sides of a link because Frame Relay maps a local DLCI number to a virtual circuit on each interface of the switch. Each remote office can have its own DLCI number and communicate with the corporate office using unique DLCI numbers. DLCI numbers, used to identify a PVC, are typically assigned by the provider and start at 16. Configuring a DLCI number to be applied to an interface is shown below:&lt;br /&gt;&lt;blockquote&gt;RouterA(config-if)#frame-relay interface-dlci ?&lt;br /&gt;&lt;16-1007&gt; Define a DLCI as part of the current&lt;br /&gt;subinterface&lt;br /&gt;RouterA(config-if)#frame-relay interface-dlci 16&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Local Management Interface (LMI)&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;The Local Management Interface (LMI) was developed in 1990 by Cisco Systems, StrataCom, Northern Telecom, and Digital Equipment Corporation and became known as the Gang-of-Four LMI or Cisco LMI. This gang took the basic Frame Relay protocol from the CCIT and added  extensions onto the protocol features that allow internetworking devices to communicate easily with a Frame Relay network.&lt;br /&gt;&lt;br /&gt;The LMI is a signaling standard between a CPE device (router) and a frame switch. The LMI is responsible for managing and maintaining status between these devices. LMI messages provide information about the following:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Keepalives Verify data is flowing&lt;br /&gt;Multicasting Provides a local DLCI PVC&lt;br /&gt;Multicast addressing Provides global significance&lt;br /&gt;Status of virtual circuits Provides DLCI status&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;If you’re not going to use the auto-sense feature, you’ll need to check with your Frame Relay provider to find out which type to use instead. The default type is Cisco, but you may need to  hange to ANSI or Q.933A. The three different LMI types are depicted in the router output below.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA(config-if)#frame-relay lmi-type ?&lt;br /&gt;cisco&lt;br /&gt;ansi q933a&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;As seen in the output, all three standard LMI signaling formats are supported:&lt;br /&gt;&lt;br /&gt;Cisco LMI defined by the Gang of Four (default)&lt;br /&gt;ANSI Annex D defined by ANSI standard T1.617&lt;br /&gt;ITU-T (q933a) Annex A defined by Q.933&lt;br /&gt;&lt;br /&gt;Routers receive LMI information on a frame-encapsulated interface and update the virtual circuit status to one of three different states: Active state Everything is up and routers can exchange information.&lt;br /&gt;&lt;br /&gt;Inactive state The router’s interface is up and working with a connection to the switching office, but the remote router is not working.&lt;br /&gt;&lt;br /&gt;Deleted state This means that no LMI information is being received on the interface from the switch. It could be a mapping problem or a line failure.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Partial Meshed Networks&lt;/span&gt;&lt;br /&gt;You can use subinterfaces to mitigate partial meshed Frame Relay networks and split horizon protocols. For example, say you were running the IP protocol on a LAN network. If, on the same physical network, Router A can talk to Router B, and Router B to Router C, you can usually assume that Router A can talk to Router C. Though this is true with a LAN, it’s not true with a&lt;br /&gt;&lt;br /&gt;Frame Relay network, unless Router A has a PVC to Router C. In Figure 5, Network 1 is configured with five locations. To be able to make this network function, you would have to create a meshed network as shown in Network 2. However, even though Network 2’s example works, it’s an expensive solution—configuring subinterfaces as shown in the Network 3 solution is much more cost-effective.&lt;br /&gt;&lt;br /&gt;In Network 3, configuring subinterfaces actually works to subdivide the Frame Relay network into smaller subnetworks—each with its own network number. So locations A, B, and C connect to a fully meshed network, while locations C and D, and D and E, are connected via point-to-point connections.&lt;br /&gt;&lt;br /&gt;Locations C and D connect to two subinterfaces and forward packets. Subinterfaces also solve the problem with routing protocols that use split horizon. As you may recall, split horizon protocols do not advertise routes out the same interface they received the route update on. This can cause a problem on a meshed Frame Relay network. However, by using subinterfaces, routing protocols that receive route updates on one subinterface can send out the same route update on another subinterface.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_rcbpfThKZBA/SOyKlvqGpWI/AAAAAAAAAIA/2qSTAzuYLUU/s1600-h/Figure5.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_rcbpfThKZBA/SOyKlvqGpWI/AAAAAAAAAIA/2qSTAzuYLUU/s320/Figure5.JPG" alt="" id="BLOGGER_PHOTO_ID_5254727246287381858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Creating Subinterfaces&lt;/span&gt;&lt;br /&gt;You define subinterfaces with the int s0.subinterface number command as shown below. You first set the encapsulation on the serial interface, then you can define the subinterfaces.&lt;br /&gt;&lt;br /&gt;RouterA(config)#int s0&lt;br /&gt;RouterA(config)#encapsulation frame-relay&lt;br /&gt;RouterA(config)#int s0.?&lt;br /&gt;&lt;0-4294967295&gt; Serial interface number&lt;br /&gt;RouterA(config)#int s0.16 ?&lt;br /&gt;multipoint Treat as a multipoint link&lt;br /&gt;point-to-point Treat as a point-to-point link&lt;br /&gt;&lt;br /&gt;You can define an almost limitless number of subinterfaces on a given physical interface (keeping router memory in mind). In the above example, we chose to use subinterface 16 because that represents the DLCI number assigned to that interface. However, you can choose any number between 0 and 4,292,967,295.&lt;br /&gt;&lt;br /&gt;There are two types of subinterfaces: Point-to-point Used when a single virtual circuit connects one router to another. Each point-to-point subinterface requires its own subnet.&lt;br /&gt;&lt;br /&gt;Multipoint Used when the router is the center of a star of virtual circuits. Uses a single subnet for all routers’ serial interfaces connected to the frame switch.&lt;br /&gt;&lt;br /&gt;An example of a production router running multiple subinterfaces is shown below. Notice that the subinterface number matches the DLCI number. This is not a requirement but helps in the administration of the interfaces.&lt;br /&gt;&lt;br /&gt;Also notice that there is no LMI type defined, which means they are running either the default of Cisco or using autodetect if running Cisco IOS version 11.2 or newer. This configuration was taken from one of my customers’ production routers (used by permission). Notice that each interface is defined as a separate subnet, separate IPX network, and separate Apple-Talk cable range (AppleTalk is beyond the scope of this course):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;interface Serial0&lt;br /&gt;no ip address&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;encapsulation frame-relay&lt;br /&gt;!&lt;br /&gt;interface Serial0.102 point-to-point&lt;br /&gt;ip address 10.1.12.1 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;appletalk cable-range 12-12 12.65&lt;br /&gt;appletalk zone wan2&lt;br /&gt;appletalk protocol eigrp&lt;br /&gt;no appletalk protocol rtmp&lt;br /&gt;ipx network 12&lt;br /&gt;frame-relay interface-dlci 102&lt;br /&gt;!&lt;br /&gt;interface Serial0.103 point-to-point&lt;br /&gt;ip address 10.1.13.1 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;appletalk cable-range 13-13 13.174&lt;br /&gt;appletalk zone wan3&lt;br /&gt;appletalk protocol eigrp&lt;br /&gt;no appletalk protocol rtmp&lt;br /&gt;ipx network 13&lt;br /&gt;frame-relay interface-dlci 103&lt;br /&gt;!&lt;br /&gt;interface Serial0.104 point-to-point&lt;br /&gt;ip address 10.1.14.1 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;appletalk cable-range 14-14 14.131&lt;br /&gt;appletalk zone wan4&lt;br /&gt;appletalk protocol eigrp&lt;br /&gt;no appletalk protocol rtmp&lt;br /&gt;ipx network 14&lt;br /&gt;frame-relay interface-dlci 104&lt;br /&gt;!&lt;br /&gt;interface Serial0.105 point-to-point&lt;br /&gt;ip address 10.1.15.1 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;appletalk cable-range 15-15 15.184&lt;br /&gt;appletalk zone wan5&lt;br /&gt;appletalk protocol eigrp&lt;br /&gt;no appletalk protocol rtmp&lt;br /&gt;ipx network 15&lt;br /&gt;frame-relay interface-dlci 105&lt;br /&gt;!&lt;br /&gt;interface Serial0.106 point-to-point&lt;br /&gt;ip address 10.1.16.1 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;appletalk cable-range 16-16 16.28&lt;br /&gt;appletalk zone wan6&lt;br /&gt;appletalk protocol eigrp&lt;br /&gt;no appletalk protocol rtmp&lt;br /&gt;ipx network 16&lt;br /&gt;frame-relay interface-dlci 106&lt;br /&gt;!&lt;br /&gt;interface Serial0.107 point-to-point&lt;br /&gt;ip address 10.1.17.1 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;appletalk cable-range 17-17 17.223&lt;br /&gt;appletalk zone wan7&lt;br /&gt;appletalk protocol eigrp&lt;br /&gt;no appletalk protocol rtmp&lt;br /&gt;ipx network 17&lt;br /&gt;frame-relay interface-dlci 107&lt;br /&gt;!&lt;br /&gt;interface Serial0.108 point-to-point&lt;br /&gt;ip address 10.1.18.1 255.255.255.0&lt;br /&gt;no ip directed-broadcast&lt;br /&gt;appletalk cable-range 18-18 18.43&lt;br /&gt;appletalk zone wan8&lt;br /&gt;appletalk protocol eigrp&lt;br /&gt;no appletalk protocol rtmp&lt;br /&gt;ipx network 18&lt;br /&gt;frame-relay interface-dlci 108&lt;br /&gt;&lt;/blockquote&gt;&lt;span style="font-weight: bold;"&gt;Mapping Frame Relay&lt;/span&gt;&lt;br /&gt;As we explained earlier, in order for IP devices at the ends of virtual circuits&lt;br /&gt;to communicate, their addresses must be mapped to the DLCIs. There are&lt;br /&gt;two ways to make this mapping happen:&lt;br /&gt;* Use the Frame Relay map command.&lt;br /&gt;* Use the inverse-arp function.&lt;br /&gt;&lt;br /&gt;Here’s an example using the Frame Relay map command:&lt;br /&gt;&lt;blockquote&gt;RouterA(config)#int s0&lt;br /&gt;RouterA(config-if)#encap frame&lt;br /&gt;RouterA(config-if)#int s0.16 point-to-point&lt;br /&gt;RouterA(config-if)#no inverse-arp&lt;br /&gt;RouterA(config-if)#ip address 172.16.30.1 255.255.255.0&lt;br /&gt;RouterA(config-if)#frame-relay map ip 172.16.30.17 16 ietf&lt;br /&gt;broadcast&lt;br /&gt;RouterA(config-if)#frame-relay map ip 172.16.30.18 17&lt;br /&gt;broadcast&lt;br /&gt;RouterA(config-if)#frame-relay map ip 172.16.30.19 18&lt;br /&gt;&lt;/blockquote&gt;Here’s what we did: First, we chose configured interface serial 0 to use the encapsulation type of Cisco (default), then we created our subinterface. We then turned off inverse arp and mapped three virtual circuits and their corresponding DLCI numbers.&lt;br /&gt;&lt;br /&gt;Notice that we changed the encapsulation type for the first mapping. The frame map command is the only way to configure multiple frame encapsulation types on an interface. The broadcast keyword at the end of the map command tells the router to forward broadcasts for this interface to this specific virtual circuit.&lt;br /&gt;&lt;br /&gt;Remember that Frame Relay is a nonbroadcast multiaccess (NBMA) encapsulation method, which will not broadcast routing protocols. You can either use the map command with the broadcast keyword or the neighbor command within the routing process. Instead of putting in map commands for each virtual circuit, you can use the inverse-arp function to perform dynamic mapping of the IP address to the DLCI number. This makes our configuration look like this:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA(config)#int s0.16 point-to-point&lt;br /&gt;RouterA(config-if)#encap frame-relay ietf&lt;br /&gt;RouterA(config-if)#ip address 172.16.30.1 255.255.255.0&lt;br /&gt;&lt;/blockquote&gt;Yes, this configuration is a whole lot easier to do, but it’s not as stable as using the map command. Why? Sometimes, when using the inverse-arp function, configuration errors occur because virtual circuits can be insidiously and dynamically mapped to unknown devices.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Frame Relay Congestion Control&lt;/span&gt;&lt;br /&gt;In this section we will define how the Frame Relay switch handles &lt;span style="font-weight: bold;"&gt;Congestion&lt;/span&gt; problems.&lt;br /&gt;&lt;br /&gt;DE (Discard Eligibility) When a Frame Relay router detects congestion on the Frame Relay network, it will turn the DE bit on in a Frame Relay packet header. If the switch is congested, the Frame Relay switch will discard the packets with the DE bit set first. If your bandwidth is configured with a CIR of zero, the DE will always be on.&lt;br /&gt;&lt;br /&gt;FECN (Forward-Explicit Congestion Notification) When the Frame Relay network recognizes congestion in the cloud, the switch will set the FECN bit to 1 in a Frame Relay packet header. This will indicate to the destination DCE that the path just traversed is congested. BECN (Backward-Explicit Congestion Notification) When the switch detects congestion in the Frame Relay network, it will set the BECN bit in a Frame Relay packet and send it to the source router, telling it to slow down the rate at which it is transmitting packets. Committed Information Rate (CIR)&lt;br /&gt;&lt;br /&gt;Frame Relay provides a packet-switched network to many different customers at the same time. This is a great idea because it spreads the cost of the switches among many customers. However, Frame Relay is based on the assumption that not all customers need to transmit constant data all at the same time. Frame Relay works best with bursty traffic. Think of Frame Relay as a party line. Remember party lines? That is when many people on your block had to share the same phone number. Okay, I am showing my age here, but understand that party lines were created on the assumption that few people needed to use the phone each day. If you needed to talk excessively, you had to pay for the more expensive dedicated circuit. Frame Relay works somewhat on the same principle, except many devices can transmit at the same time. However, if you need a constant data-stream connection, then Frame Relay is not for you. Buy a dedicated, point-to-point T-1 instead.&lt;br /&gt;&lt;br /&gt;Frame Relay works by providing a dedicated bandwidth to each user, who is committed to that bandwidth at any given time. Frame Relay providers allow customers to buy a lower amount of bandwidth than what they really might need. This is called the Committed Information Rate (CIR). What this means is that the customer can buy bandwidth of, for example, 256k, but it is possible to burst up to T-1 speeds. The CIR specifies that as long as the data input by a device to the Frame Relay network is below or equal to the CIR, then the network will continue to forward data for the PVC. However, if data rates exceed the CIR, it is not guaranteed.&lt;br /&gt;&lt;br /&gt;It is sometimes possible to also purchase a Bc (Committed Burst), which allows customers to exceed their CIR for a specified amount of time. In this situation, the DE bit will always be set. Choose a CIR based on realistic, anticipated traffic rates. Some Frame Relay providers allow you to purchase a CIR of zero. You can use a zero CIR to save money if retransmission of packets is acceptable. However, understand that the DE bit will always be turned on in every frame.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Monitoring Frame Relay&lt;/span&gt;&lt;br /&gt;There are several ways to check the status of your interfaces and PVCs once you have Frame Relay encapsulation set up and running:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA&gt;sho frame ?&lt;br /&gt;ip show frame relay IP statistics&lt;br /&gt;lmi show frame relay lmi statistics map Frame-Relay map table&lt;br /&gt;pvc show frame relay pvc statistics&lt;br /&gt;route show frame relay route&lt;br /&gt;traffic Frame-Relay protocol statistics&lt;br /&gt;Show Frame-Relay Lmi&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;The show frame-relay lmi command will give you the LMI traffic statistics exchanged between the local router and the Frame Relay switch.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Router#sh frame lmi&lt;br /&gt;LMI Statistics for interface Serial0 (Frame Relay DTE) LMI TYPE&lt;br /&gt;= CISCO&lt;br /&gt;Invalid Unnumbered info 0 Invalid Prot Disc 0&lt;br /&gt;Invalid dummy Call Ref 0 Invalid Msg Type 0&lt;br /&gt;Invalid Status Message 0 Invalid Lock Shift 0&lt;br /&gt;Invalid Information ID 0 Invalid Report IE Len 0&lt;br /&gt;Invalid Report Request 0 Invalid Keep IE Len 0&lt;br /&gt;Num Status Enq. Sent 0 Num Status msgs Rcvd 0&lt;br /&gt;Num Update Status Rcvd 0 Num Status Timeouts 0&lt;br /&gt;Router#&lt;/blockquote&gt;&lt;br /&gt;The router output from the show frame-relay lmi command shows you LMI errors as well as the LMI type.&lt;br /&gt;&lt;br /&gt;Show Frame-Relay Pvc&lt;br /&gt;The show frame pvc command will list all configured PVCs and DLCI numbers.&lt;br /&gt;It provides the status of each PVC connection and traffic statistics. It&lt;br /&gt;will also give you the number of BECN and FECN packets received on the&lt;br /&gt;router.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA#sho frame pvc&lt;br /&gt;PVC Statistics for interface Serial0 (Frame Relay DTE)&lt;br /&gt;DLCI = 16,DLCI USAGE = LOCAL,PVC STATUS =ACTIVE,INTERFACE&lt;br /&gt;= Serial0.1&lt;br /&gt;input pkts 50977876 output pkts 41822892 in bytes&lt;br /&gt;3137403144&lt;br /&gt;out bytes 3408047602 dropped pkts 5 in FECN pkts 0&lt;br /&gt;in BECN pkts 0 out FECN pkts 0 out BECN pkts 0&lt;br /&gt;in DE pkts 9393 out DE pkts 0&lt;br /&gt;pvc create time 7w3d, last time pvc status changed 7w3d&lt;br /&gt;DLCI = 18,DLCI USAGE =LOCAL,PVC STATUS =ACTIVE,INTERFACE =&lt;br /&gt;Serial0.3&lt;br /&gt;input pkts 30572401 output pkts 31139837 in bytes&lt;br /&gt;1797291100&lt;br /&gt;out bytes 3227181474 dropped pkts 5 in FECN pkts 0&lt;br /&gt;in BECN pkts 0 out FECN pkts 0 out BECN pkts 0&lt;br /&gt;in DE pkts 28 out DE pkts 0&lt;br /&gt;pvc create time 7w3d, last time pvc status changed 7w3d&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;To see information about only PVC 16, you can type the command show frame-relay pvc 16.&lt;br /&gt;&lt;br /&gt;Show Interface : We can also use the show interface command to check for LMI traffic.&lt;br /&gt;The show interface command displays information about the encapsulation as well as layer-2 and layer-3 information.&lt;br /&gt;&lt;br /&gt;The LMI DLCI, as bolded in the command, is used to define the type of&lt;br /&gt;LMI being used. If it is 1023, it is the default LMI type of Cisco. If the LMI&lt;br /&gt;DLCI is zero, then it is the ANSI LMI type.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA#sho int s0&lt;br /&gt;Serial0 is up, line protocol is up&lt;br /&gt;Hardware is HD64570&lt;br /&gt;MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/&lt;br /&gt;255, load 2/255&lt;br /&gt;Encapsulation FRAME-RELAY, loopback not set, keepalive&lt;br /&gt;set (10 sec)&lt;br /&gt;LMI enq sent 451751,LMI stat recvd 451750,LMI upd recvd&lt;br /&gt;164,DTE LMI up&lt;br /&gt;LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0&lt;br /&gt;LMI DLCI 1023 LMI type is CISCO frame relay DTE&lt;br /&gt;Broadcast queue 0/64, broadcasts sent/dropped 0/0,&lt;br /&gt;interface broadcasts 839294&lt;br /&gt;&lt;/blockquote&gt;The show interface command displays line, protocol, DLCI, and LMI information.&lt;br /&gt;&lt;br /&gt;Show Frame Map: The show frame map command will show you the Network layer–to–DLCI&lt;br /&gt;mappings.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterB#show frame map&lt;br /&gt;Serial0 (up): ipx 20.0007.7842.3575 dlci 16(0x10,0x400),&lt;br /&gt;dynamic, broadcast,, status defined, active&lt;br /&gt;Serial0 (up): ip 172.16.20.1 dlci 16(0x10,0x400),&lt;br /&gt;dynamic,&lt;br /&gt;broadcast,, status defined, active&lt;br /&gt;Serial1 (up): ipx 40.0007.7842.153a dlci 17(0x11,0x410),&lt;br /&gt;dynamic, broadcast,, status defined, active&lt;br /&gt;Serial1 (up): ip 172.16.40.2 dlci 17(0x11,0x410),&lt;br /&gt;dynamic,&lt;br /&gt;broadcast,, status defined, active&lt;br /&gt;&lt;/blockquote&gt;Notice that the search interface has two mappings, one for IP and one for IPX. Also, notice that the Network layer addresses were resolved with the dynamic protocol Inverse ARP (IARP). If an administrator mapped the addresses, the output would say “static.”&lt;br /&gt;&lt;br /&gt;After the DLCI number is listed, you can see some numbers in parentheses. Notice the first number is 0x10, which is the hex equivalent for the DLCI number 16 used on serial 0, and the 0x11 is the hex for DLCI 17 used on serial 1. The second numbers, 0x400 and 0x410, are the DLCI numbers configured in the Frame Relay frame. They are different because of the way the&lt;br /&gt;bits are spread out in the frame.&lt;br /&gt;&lt;br /&gt;Debug Frame Lmi: The debug frame lmi command will show output on the router consoles by default. The information from this command will allow you to verify and troubleshoot the Frame Relay connection by helping you to determine whether the router and switch are exchanging the correct LMI information.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Router#debug frame-relay lmi&lt;br /&gt;Serial3/1(in): Status, myseq 214&lt;br /&gt;RT IE 1, length 1, type 0&lt;br /&gt;KA IE 3, length 2, yourseq 214, myseq 214&lt;br /&gt;PVC IE 0x7 , length 0x6 , dlci 130, status 0x2 , bw 0&lt;br /&gt;Serial3/1(out): StEnq, myseq 215, yourseen 214, DTE up&lt;br /&gt;datagramstart = 0x1959DF4, datagramsize = 13&lt;br /&gt;FR encap = 0xFCF10309&lt;br /&gt;00 75 01 01 01 03 02 D7 D6&lt;br /&gt;&lt;br /&gt;Serial3/1(in): Status, myseq 215&lt;br /&gt;RT IE 1, length 1, type 1&lt;br /&gt;KA IE 3, length 2, yourseq 215, myseq 215&lt;br /&gt;Serial3/1(out): StEnq, myseq 216, yourseen 215, DTE up&lt;br /&gt;datagramstart = 0x1959DF4, datagramsize = 13&lt;br /&gt;FR encap = 0xFCF10309&lt;br /&gt;00 75 01 01 01 03 02 D8 D7&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5783829881781540283?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5783829881781540283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5783829881781540283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5783829881781540283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5783829881781540283'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/data-link-connection-identifiers.html' title='Data Link Connection Identifiers'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_rcbpfThKZBA/SOyKlvqGpWI/AAAAAAAAAIA/2qSTAzuYLUU/s72-c/Figure5.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3979829686421482891</id><published>2008-10-08T03:08:00.000-07:00</published><updated>2008-10-08T03:11:13.858-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>WAN Frame Relay</title><content type='html'>&lt;div style="text-align: justify;"&gt;Recently, the high-performance WAN encapsulation method known as Frame Relay has become one of the most popular technologies in use. It operates at the Physical and Data Link layers of the OSI reference model and was originally designed for use across Integrated Services Digital Network (ISDN) interfaces. But today, Frame Relay is used over a variety of other network interfaces. Cisco Frame Relay supports the following protocols:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ul style="text-align: justify;"&gt;&lt;li&gt; IP&lt;/li&gt;&lt;li&gt; DECnet&lt;/li&gt;&lt;li&gt; AppleTalk&lt;/li&gt;&lt;li&gt; Xerox Network Service (XNS)&lt;/li&gt;&lt;li&gt; Novell IPX&lt;/li&gt;&lt;li&gt; Connectionless Network Service (CLNS)&lt;/li&gt;&lt;li&gt; International Organization for Standards (ISO)&lt;/li&gt;&lt;li&gt; Banyan Vines&lt;/li&gt;&lt;li&gt; Transparent bridging&lt;/li&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Frame Relay provides a communications interface between DTE (Data Terminal Equipment) and DCE (Data Circuit-Terminating Equipment, such as packet switches) devices. DTE consists of terminals, PCs, routers, and bridges—customer-owned end-node and internetworking devices. DCE consists of carrier-owned internetworking devices. Popular opinion maintains that Frame Relay is more efficient and faster than X.25 because it assumes error checking will be done through higherlayer protocols and application services.&lt;br /&gt;&lt;br /&gt;Frame Relay provides connection-oriented, Data Link layer communication via virtual circuits just as X.25 does. These virtual circuits are logical connections created between two DTEs across a packet-switched network, which is identified by a DLCI, or Data Link Connection Identifier. (We’ll get to DLCIs in a bit.) Also, like X.25, Frame Relay uses both PVCs (Permanent Virtual Circuits) and SVCs (Switched Virtual Circuits), although most Frame Relay networks use only PVCs. This virtual circuit provides the complete path to the destination network prior to the sending of the first frame.&lt;br /&gt;&lt;br /&gt;Frame Relay Terminology:&lt;br /&gt;&lt;br /&gt;To understand the terminology used in Frame Relay networks, first you need to know how the technology works. Figure 10.4 is labeled with the various terms used to describe different parts of a Frame Relay network.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_rcbpfThKZBA/SOyG497oWiI/AAAAAAAAAH4/PK4TBmDI14k/s1600-h/Figure4.JPG"&gt;&lt;img style="cursor: pointer;" src="http://2.bp.blogspot.com/_rcbpfThKZBA/SOyG497oWiI/AAAAAAAAAH4/PK4TBmDI14k/s320/Figure4.JPG" alt="" id="BLOGGER_PHOTO_ID_5254723178489993762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;The basic idea behind Frame Relay networks is to allow users to communicate between two DTE devices through DCE devices. The users should not see the difference between connecting to and gathering resources from a local server and a server at a remote site connected with Frame Relay. Chances are this connection will be slower than a 10Mbps Ethernet LAN, but the physical difference in the connection should be transparent to the user.&lt;br /&gt;&lt;br /&gt;Figure 4 illustrates everything that must happen in order for two DTE devices to communicate. Here is how the process works:&lt;br /&gt;&lt;br /&gt;1. The user’s network device sends a frame out on the local network. The hardware address of the router (default gateway) will be in the header of the frame.&lt;br /&gt;&lt;br /&gt;2. The router picks up the frame, extracts the packet, and discards the frame. It then looks at the destination IP address within the packet and checks to see whether it knows how to get to the destination network by looking in the routing table.&lt;br /&gt;&lt;br /&gt;3. The router then forwards the data out the interface that it thinks can find the remote network. (If it can’t find the network in its routing table, it will discard the packet.) Because this will be a serial interface encapsulated with Frame Relay, the router puts the packet onto the Frame Relay network encapsulated within a Frame Relay frame. It will add the DLCI number associated with the serial interface. DLCIs identify the virtual circuit (PVC or SVC) to the routers and provider’s switches participating in the Frame Relay network.&lt;br /&gt;&lt;br /&gt;4. The channel service unit/data service unit (CSU/DSU) receives the digital signal and encodes it into the type of digital signaling that the switch at the Packet Switch Exchange (PSE) can understand. The PSE receives the digital signal and extracts the 1s and 0s from the line.&lt;br /&gt;&lt;br /&gt;5. The CSU/DSU is connected to a demarcation (demarc) installed by the service provider, and its location is the service provider’s first point of responsibility (last point on the receiving end). The demarc is typically just an RJ-45 jack installed close to the router and CSU/DSU.&lt;br /&gt;&lt;br /&gt;6. The demarc is typically a twisted-pair cable that connects to the local loop. The local loop connects to the closest central office (CO), sometimes called a point of presence (POP). The local loop can connect using various physical mediums, but twisted-pair or fiber is very common.&lt;br /&gt;&lt;br /&gt;7. The CO receives the frame and sends it through the Frame Relay “cloud” to its destination. This cloud can be dozens of switching offices—or more! It looks for the destination IP address and DLCI number. It typically can find the DLCI number of the remote device or router by looking up an IP-to-DLCI mapping. Frame Relay mappings are usually created statically by the service provider, but they can be created dynamically using the Inverse ARP (IARP) protocol. Remember that before data is sent through the cloud, the virtual circuit is created from end to end.&lt;br /&gt;&lt;br /&gt;8. Once the frame reaches the switching office closest to the destination office, it is sent through the local loop. The frame is received at the demarc and then is sent to the CSU/DSU. Finally, the router extracts the packet, or datagram, from the frame and puts the packet in a new LAN frame to be delivered to the destination host. The frame on the LAN will have the final destination hardware address in the header. This was found in the router’s ARP cache, or an ARP broadcast was performed.&lt;br /&gt;&lt;br /&gt;The user and server do not need to know, nor should they know, everything that happens as the frame makes its way across the Frame Relay network. The remote server should be as easy to use as a locally connected resource.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Frame Relay Encapsulation:&lt;/span&gt; When configuring Frame Relay on Cisco routers, you need to specify it as an encapsulation on serial interfaces.&lt;br /&gt;&lt;br /&gt;There are only two encapsulation types: Cisco and IETF (Internet Engineering Task Force). The following router output shows the two different encapsulation methods when choosing Frame Relay on your Cisco router:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA(config)#int s0&lt;br /&gt;RouterA(config-if)#encapsulation frame-relay ?&lt;br /&gt;ietf Use RFC1490 encapsulation&lt;/blockquote&gt;&lt;cr&gt;&lt;br /&gt;The default encapsulation is Cisco unless you manually type in IETF, and Cisco is the type used when connecting two Cisco devices. You’d opt for the IETF-type encapsulation if you needed to connect a Cisco device to a non-Cisco device with Frame Relay. So before choosing an encapsulation type, check with your ISP and find out which one they use. (If they don’t know, hook up with a different ISP!)&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3979829686421482891?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3979829686421482891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3979829686421482891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3979829686421482891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3979829686421482891'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/wan-frame-relay.html' title='WAN Frame Relay'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_rcbpfThKZBA/SOyG497oWiI/AAAAAAAAAH4/PK4TBmDI14k/s72-c/Figure4.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3606849556230172694</id><published>2008-10-08T02:56:00.001-07:00</published><updated>2008-10-08T03:00:14.993-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>Point-to-Point Protocol</title><content type='html'>&lt;div style="text-align: justify;"&gt;PPP (Point-to-Point Protocol) is a data-link protocol that can be used over either asynchronous serial (dial-up) or synchronous serial (ISDN) media and that uses the LCP (Link Control Protocol) to build and maintain data-link connections. The basic purpose of PPP is to transport layer-3 packets across a Data Link layer point-to-point link. Figure 10.3 shows the protocol stack compared to the OSI reference model.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PPP contains four main components:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;EIA/TIA-232-C&lt;/span&gt;: A Physical-layer international standard for serial communication.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HDLC: &lt;/span&gt;A method for encapsulating datagrams over serial links.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LCP:&lt;/span&gt; A method of establishing, configuring, maintaining, and terminating the point-to-point connection.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;NCP:&lt;/span&gt; A method of establishing and configuring different Network layer protocols. PPP is designed to allow the simultaneous use of multiple Network layer protocols. Some examples of protocols here are IPCP (Internet Protocol Control Protocol) and IPXCP (Internetwork Packet Exchange Control Protocol).&lt;br /&gt;&lt;br /&gt;It is important to understand that the PPP protocol stack is specified at the Physical and Data Link layers only. NCP is used to allow communication of multiple Network layer protocols by encapsulating the protocols across a PPP data link.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Link Control Protocol (LCP) Configuration Options:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Link Control Protocol offers PPP encapsulation different options, including the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Authentication:&lt;/span&gt; This option tells the calling side of the link to send information that can identify the user. The two methods discussed in this course are PAP and CHAP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Compression:&lt;/span&gt; This is used to increase the throughput of PPP connections. PPP decompresses the data frame on the receiving end. Cisco uses the Stacker and Predictor compression methods, discussed in the Advanced Cisco Router Configuration course.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Error detection:&lt;/span&gt; PPP uses Quality and Magic Number options to ensure a reliable, loop-free data link.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Multilink: &lt;/span&gt;Starting in IOS version 11.1, multilink is supported on PPP links with Cisco routers. This splits the load for PPP over two or more parallel circuits and is called a bundle.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PPP Session Establishment: &lt;/span&gt;&lt;br /&gt;PPP can be used with authentication. This means that communicating routers must provide information to identify the link as a valid communication link. When PPP connections are started, the links go through three phases of session establishment:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Link-establishment phase:&lt;/span&gt; LCP packets are sent by each PPP device to configure and test the link. The LCP packets contain a field called the Configuration Option that allows each device to see the size of the data, compression, and authentication. If no Configuration Option field is present, then the default configurations are used.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Authentication phase:&lt;/span&gt; If configured, either CHAP or PAP can be used to authenticate a link. Authentication takes place before Network-layer protocol information is read.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Network-layer protocol phase:&lt;/span&gt; PPP uses the Network Control Protocol to allow multiple Network-layer protocols to be encapsulated and sent over a PPP data link.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PPP Authentication Methods:&lt;/span&gt; There are two methods of authentication that can be used with PPP links, either Password Authentication Protocol (PAP) or Challenge Authentication Protocol (CHAP).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Password Authentication Protocol (PAP):&lt;/span&gt; The Password Authentication Protocol (PAP) is the less secure of the two methods. Passwords are sent in clear text, and PAP is only performed upon the initial link establishment. When the PPP link is first established, the remote node sends back to the sending router the username and password until authentication is acknowledged. That’s it.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Challenge Authentication Protocol (CHAP):&lt;/span&gt; The Challenge Authentication Protocol (CHAP) is used at the initial startup of a link and at periodic checkups on the link to make sure the router is still communicating with the same host.&lt;br /&gt;&lt;br /&gt;After PPP finishes its initial phase, the local router sends a challenge request to the remote device. The remote device sends a value calculated using a one-way hash function called MD5. The local router checks this hash value to make sure it matches. If the values don’t match, the link is immediately terminated.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuring PPP on Cisco Routers: &lt;/span&gt;Configuring PPP encapsulation on an interface is a fairly straightforward process. To configure it, follow these router commands:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Router#config t&lt;br /&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;br /&gt;Router(config)#int s0&lt;br /&gt;&lt;br /&gt;Router(config-if)#encapsulation ppp&lt;br /&gt;Router(config-if)#^Z&lt;br /&gt;Router#&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuring PPP Authentication:&lt;/span&gt;&lt;br /&gt;After you configure your serial interface to support PPP encapsulation, you can then configure authentication using PPP between routers. First set the hostname of the router if it is not already set. Then set the username and password for the remote router connecting to your router.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Router#config t&lt;br /&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;br /&gt;Router(config)# hostname RouterA&lt;br /&gt;RouterA(config)#username todd password cisco&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;When using the hostname command, remember that the username is the hostname of the remote router connecting to your router. It is case-sensitive. Also, the password on both routers must be the same. It is a plain-text password and can be seen with a show run command. You can configure the password to be encrypted by using the command service passwordconfig before you set the username and password. You must have a username and password configured for each remote system you are going to connect to. The remote routers must also be configured with usernames and passwords.&lt;br /&gt;&lt;br /&gt;After you set the hostname, usernames, and passwords, choose the authentication type, either CHAP or PAP.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA#config t&lt;br /&gt;Enter configuration commands, one per line. End with CNTL/Z.&lt;br /&gt;RouterA(config)#int s0&lt;br /&gt;RouterA(config-if)#ppp authentication chap&lt;br /&gt;RouterA(config-if)#ppp autherntication pap&lt;br /&gt;RouterA(config-if)#^Z&lt;br /&gt;RouterA#&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Verifying PPP Encapsulation:&lt;/span&gt;&lt;br /&gt;Now that we have PPP encapsulation enabled, let’s take a look to verify that it’s up and running. You can verify the configuration with the show interface command:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;RouterA#show int s0&lt;br /&gt;Serial0 is up, line protocol is up&lt;br /&gt;Hardware is HD64570&lt;br /&gt;Internet address is 172.16.20.1/24&lt;br /&gt;MTU 1500 bytes, BW 1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255&lt;br /&gt;Encapsulation PPP, loopback not set, keepalive set (10 sec)&lt;br /&gt;LCP Open&lt;br /&gt;Listen: IPXCP&lt;br /&gt;Open: IPCP, CDPCP, ATCP&lt;br /&gt;Last input 00:00:05, output 00:00:05, output hang never&lt;br /&gt;Last clearing of "show interface" counters never&lt;br /&gt;Input queue: 0/75/0 (size/max/drops); Total output drops:0&lt;br /&gt;Queueing strategy: weighted fair&lt;br /&gt;Output queue: 0/1000/64/0 (size/max total/threshold/drops)&lt;br /&gt;Conversations 0/2/256 (active/max active/max total)&lt;br /&gt;Reserved Conversations 0/0 (allocated/max allocated)&lt;br /&gt;5 minute input rate 0 bits/sec, 0 packets/sec&lt;br /&gt;5 minute output rate 0 bits/sec, 0 packets/sec&lt;br /&gt;670 packets input, 31845 bytes, 0 no buffer&lt;br /&gt;Received 596 broadcasts, 0 runts, 0 giants, 0 throttles&lt;br /&gt;0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort&lt;br /&gt;707 packets output, 31553 bytes, 0 underruns&lt;br /&gt;0 output errors, 0 collisions, 18 interface resets&lt;br /&gt;0 output buffer failures, 0 output buffers swapped out 21 carrier transitions&lt;br /&gt;DCD=up DSR=up DTR=up RTS=up CTS=up&lt;br /&gt;RouterA#&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3606849556230172694?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3606849556230172694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3606849556230172694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3606849556230172694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3606849556230172694'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/point-to-point-protocol.html' title='Point-to-Point Protocol'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-618694313245176441</id><published>2008-10-08T02:54:00.000-07:00</published><updated>2008-10-08T02:56:35.771-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>High-Level Data-Link Control Protocol</title><content type='html'>&lt;div style="text-align: justify;"&gt;The High-Level Data-Link Control protocol (HDLC) is a popular ISOstandard, bit-oriented Data Link layer protocol. It specifies an encapsulation method for data on synchronous serial data links using frame characters and checksums. HDLC is a point-to-point protocol used on leased lines. No authentication can be used with HDLC.&lt;br /&gt;&lt;br /&gt;In byte-oriented protocols, control information is encoded using entire bytes. Bit-oriented protocols, on the other hand, may use single bits to represent control information. Bit-oriented protocols include SDLC, LLC, HDLC, TCP, IP, etc. HDLC is the default encapsulation used by Cisco routers over synchronous serial links. Cisco’s HDLC is proprietary—it won’t communicate with any other vendor’s HDLC implementation—but don’t give Cisco grief for it; everyone’s HDLC implementation is proprietary. Figure 10.2 shows the Cisco HDLC format.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SOyDpoD3VcI/AAAAAAAAAHw/AcnCwb9dIO4/s1600-h/Figure2.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SOyDpoD3VcI/AAAAAAAAAHw/AcnCwb9dIO4/s320/Figure2.JPG" alt="" id="BLOGGER_PHOTO_ID_5254719616386028994" border="0"&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;As shown in the figure, the reason that every vendor has a proprietary HDLC encapsulation method is that each vendor has a different way for the HDLC protocol to communicate with the Network layer protocols. If the vendors didn’t have a way for HDLC to communicate with the different layer-3 protocols, then HDLC would only be able to carry one protocol. This propriety header is placed in the data field of the HDLC encapsulation. If you had only one Cisco router and you needed to connect to, say, a Bay router because you had your other Cisco router on order, then you couldn’t use the default HDLC serial encapsulation. You would use something like PPP, which is an ISO standard way of identifying the upper-layer protocols.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-618694313245176441?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/618694313245176441/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=618694313245176441' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/618694313245176441'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/618694313245176441'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/high-level-data-link-control-protocol.html' title='High-Level Data-Link Control Protocol'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_rcbpfThKZBA/SOyDpoD3VcI/AAAAAAAAAHw/AcnCwb9dIO4/s72-c/Figure2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-9028249034180221686</id><published>2008-10-08T02:52:00.000-07:00</published><updated>2008-10-08T02:54:48.405-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>WAN Connection Types</title><content type='html'>&lt;div style="text-align: justify;"&gt;Below Figure shows the different WAN connection types that can be used to connect your LANs together over a DCE network.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_rcbpfThKZBA/SOyDHHCIKSI/AAAAAAAAAHo/eAgdj5txuqI/s1600-h/Figure1.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_rcbpfThKZBA/SOyDHHCIKSI/AAAAAAAAAHo/eAgdj5txuqI/s320/Figure1.JPG" alt="" id="BLOGGER_PHOTO_ID_5254719023404820770" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The following list explains the WAN connection types:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Leased lines&lt;/span&gt;&lt;br /&gt;Typically referred to as a point-to-point or dedicated connection. It is a pre-established WAN communications path from the CPE, through the DCE switch, to the CPE of the remote site, allowing DTE networks to communicate at any time with no setup procedures before transmitting data. It uses synchronous serial lines up to 45Mbps.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Circuit switching&lt;/span&gt;&lt;br /&gt;Sets up line like a phone call. No data can transfer before the end-to-end connection is established. Uses dial-up modems and ISDN. It is used for low-bandwidth data transfers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Packet switching&lt;/span&gt;&lt;br /&gt;WAN switching method that allows you to share bandwidth with other companies to save money. Think of packet switching networks as a party line. As long as you are not constantly transmitting data and are instead using bursty data transfers, packet switching can save you a lot of money. However, if you have constant data transfers, then you will need to get a leased line. Frame Relay and X.25 are packetswitching technologies. Speeds can range from 56Kbps to 2.048Mbps.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;WAN Support&lt;/span&gt;&lt;br /&gt;In this section, we will define the most prominent WAN protocols used today. These are Frame Relay, ISDN, LAPB, HDLC, and PPP. The rest of the chapter will be dedicated to explaining in depth how WAN protocols work and how to configure them with Cisco routers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Frame Relay&lt;/span&gt;&lt;br /&gt;A packet-switched technology that emerged in the early 1990s. Frame Relay is a Data Link and Physical layer specification that provides high performance. Frame Relay assumes that the facilities used are less error prone than when X.25 was used and that they transmit data with less overhead. Frame Relay is more cost-effective than point-to-point links and can typically run at speeds of 64Kbps to 1.544Mbps. Frame Relay provides features for dynamic-bandwidth allocation and congestion control.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;ISDN&lt;/span&gt;&lt;br /&gt;Integrated Services Digital Network is a set of digital services that transmit voice and data over existing phone lines. ISDN can offer a costeffective solution for remote users who need a higher-speed connection than analog dial-up links offer. ISDN is also a good choice as a backup link for other types of links such as Frame Relay or a T-1 connection.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LAPB&lt;/span&gt;&lt;br /&gt;Link Access Procedure, Balanced was created to be used as a connection-oriented protocol at the Data Link layer for use with X.25. It can also be used as a simple Data Link transport. LAPB has a tremendous amount of overhead because of its strict timeout and windowing techniques. You can use LAPB instead of the lower-overhead HDLC if your link is very error prone. However, that typically is not a problem any longer.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;HDLC&lt;/span&gt;&lt;br /&gt;High-Level Data Link Control was derived from Synchronous Data Link Control (SDLC), which was created by IBM as a Data Link connection protocol. HDLC is a connection-oriented protocol at the Data Link layer, but it has very little overhead compared to LAPB. HDLC was not intended to encapsulate multiple Network layer protocols across the same link. The HDLC header carries no identification of the type of protocol being carried inside the HDLC encapsulation. Because of this, each vendor that uses HDLC has their own way of identifying the Network layer protocol, which means that each vendor’s HDLC is proprietary for their equipment.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;PPP&lt;/span&gt;&lt;br /&gt;Point-to-Point Protocol is an industry-standard protocol. Because many versions of HDLC are proprietary, PPP can be used to create pointto-point links between different vendors’ equipment. It uses a Network Control Protocol field in the Data Link header to identify the Network layer protocol. It allows authentication and multilink connections and can be run over asynchronous and synchronous links.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-9028249034180221686?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/9028249034180221686/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=9028249034180221686' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/9028249034180221686'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/9028249034180221686'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/wan-connection-types.html' title='WAN Connection Types'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_rcbpfThKZBA/SOyDHHCIKSI/AAAAAAAAAHo/eAgdj5txuqI/s72-c/Figure1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1119796572882251360</id><published>2008-10-05T01:50:00.000-07:00</published><updated>2008-10-05T01:55:37.399-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAN'/><title type='text'>WAN - Defining WAN Terms</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Wide Area Networks&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;To understand WAN technologies, you need to understand the different WAN terms and connection types that can be used to connect your networks together. This section will discuss the different WAN terms and connection types typically used by service providers.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Defining WAN Terms&lt;/span&gt;&lt;br /&gt;Before you order a WAN service type, it is important to understand the terms that the service providers use. Customer premises equipment (CPE) Equipment that is owned and located at the subscriber’s premises.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Demarcation (demarc) :&lt;/span&gt; The last responsibility of the service provider, usually an RJ-45 jack located close to the CPE. The CPE at this point would be a CSU/DSU or ISDN interface that plugs into the demarc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Local loop :&lt;/span&gt; Connects the demarc to the closest switching office, called a central office.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Central office (CO) :&lt;/span&gt; Connects the customers to the provider’s switching network. A CO is sometimes referred to as a point of presence (POP).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Toll network :&lt;/span&gt; Trunk lines inside a WAN provider’s network. It is a collection of switches and facilities. It is important to familiarize yourself with these terms, as they are crucial to understanding WAN technologies.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1119796572882251360?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1119796572882251360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1119796572882251360' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1119796572882251360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1119796572882251360'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/wan-defining-wan-terms.html' title='WAN - Defining WAN Terms'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-8763071876132047338</id><published>2008-10-01T10:48:00.000-07:00</published><updated>2008-10-01T10:50:43.946-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Traffic with Access Lists'/><title type='text'>IPX SAP Filters</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;IPX SAP filters are implemented using the same tools we’ve been discussing all along in this chapter. They have an important place in controlling IPX SAP traffic. Why is this important? Because if you can control the SAPs, you can control the access to IPX devices. IPX SAP filters use access lists in the 1000–1099 range.&lt;br /&gt;&lt;br /&gt;IPX SAP filters should be placed as close as possible to the source of the SAP broadcasts; this is to stop unwanted SAP traffic from crossing a network because it will only be discarded.&lt;br /&gt;&lt;br /&gt;Two types of access list filters control SAP traffic: IPX input SAP filter This is used to stop certain SAP entries from entering a router and updating the SAP table.&lt;br /&gt;&lt;br /&gt;IPX output SAP filter This stops certain SAP updates from being sent in the regular 60-second SAP updates.&lt;br /&gt;&lt;br /&gt;Here’s the template for each line of an IPX SAP filter:&lt;br /&gt;&lt;br /&gt;access-list {number} {permit/deny} {source} {service type} Here is an example of an IPX SAP filter that allows service type 4 (file services)&lt;br /&gt;&lt;br /&gt;from a NetWare service named Sales.&lt;br /&gt;&lt;br /&gt;Router(config)#access-list 1010 permit ?&lt;br /&gt;-1 Any IPX net&lt;br /&gt;&lt;0-ffffffff&gt; Source net&lt;br /&gt;N.H.H.H Source net.host address&lt;br /&gt;Router(config)#access-list 1010 permit -1 ?&lt;br /&gt;&lt;0-ffff&gt; Service type-code (0 matches all services)&lt;br /&gt;N.H.H.H Source net.host mask&lt;br /&gt;&lt;cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;Router(config)#access-list 1010 permit -1 4 ?&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;WORD A SAP server name&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Router(config)#access-list 1010 permit -1 4 Sales&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;The –1 in the access list is a wildcard that says any node, any network.&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;After the list is created, apply it to an interface with either of the two following &lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;commands:&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;RouterA(config-if)#ipx input-sap-filter&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;RouterA(config-if)#ipx output-sap-filter&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;The input-sap-filter is used to stop SAP entries from being added to &lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;the SAP table on the router, and the output-sap-filter is used to stop SAP &lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;entries from being propagated out of the router.&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr style="font-weight: bold;"&gt;&lt;cr&gt;Verifying IPX Access Lists&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;To verify the IPX access lists and their placement on a router, use the commands&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;show ipx interface and show ipx access-list.&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;br /&gt;Notice in the output of the show ipx interface command that the IPX &lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;address is shown, the outgoing access list is set with list 810, and the SAP &lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;input filter is 1010.&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;Router#sh ipx int&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Ethernet0 is up, line protocol is up&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;IPX address is 10.0060.7015.63d6, NOVELL-ETHER [up]&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Delay of this IPX network, in ticks is 1 throughput 0 &lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;link delay 0&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;IPXWAN processing not enabled on this interface.&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;IPX SAP update interval is 1 minute(s)&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;IPX type 20 propagation packet forwarding is disabled&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Incoming access list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Outgoing access list is 810&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;IPX helper access list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;SAP GNS processing enabled, delay 0 ms, output filter &lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;SAP Input filter list is 1010&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;SAP Output filter list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;SAP Router filter list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Input filter list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Output filter list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Router filter list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Netbios Input host access list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Netbios Input bytes access list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Netbios Output host access list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Netbios Output bytes access list is not set&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Updates each 60 seconds, aging multiples RIP: 3 SAP: 3&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;SAP interpacket delay is 55 ms, maximum size is 480 bytes&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;RIP interpacket delay is 55 ms, maximum size is 432 bytes&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;The show ipx access-list shows the two IPX lists set on the router.&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Router#sh ipx access-list&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;IPX access list 810&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;permit FFFFFFFF 30&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;IPX SAP access list 1010&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;permit FFFFFFFF 4 Sales&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;Router#&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;The Fs are hexadecimal and are the same as all 1s or permit any. Since you used the –1 in the IPX commands, the running-config shows them as all Fs.&lt;br /&gt;&lt;br /&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-8763071876132047338?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/8763071876132047338/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=8763071876132047338' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/8763071876132047338'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/8763071876132047338'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/ipx-sap-filters.html' title='IPX SAP Filters'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4467388650765090034</id><published>2008-10-01T10:42:00.001-07:00</published><updated>2008-10-01T10:48:21.910-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Traffic with Access Lists'/><title type='text'>IPX Access Lists</title><content type='html'>&lt;div style="text-align: justify;"&gt;IPX access lists are configured the same way as any other list. You use the access-list command to create your access list of packet tests and then apply the list to an interface with the access-group command.&lt;br /&gt;&lt;br /&gt;I will discuss the following IPX access lists: IPX standard These access lists filter on IPX source and destination host or network number. They use the access-list numbers 800–899. IPX standard access lists are similar to IP standard access lists, except that IP standards only filter on source IP addresses, whereas IPX standards filter on source and destination IPX addresses.&lt;br /&gt;&lt;br /&gt;IPX extended These access lists filter on IPX source and destination host or network number, IPX protocol field in the Network layer header, and socket number in the Transport layer header. They use the access list numbers 900–999.&lt;br /&gt;&lt;br /&gt;IPX SAP filter These filters are used to control SAP traffic on LANs and WANs. IPX SAP filters use the access list numbers 1000–1099. Network administrators can set up IPX access lists to control the amount of IPX traffic, including IPX SAPs across low WAN links.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Standard IPX Access Lists&lt;br /&gt;&lt;/span&gt;Standard IPX access lists use the source or destination IPX host or network address to filter the network. This is configured much the same way IP standard access lists are. The parameter to configure IPX standard access lists is access-list 800-899 deny or permit source_Address destination_address Wildcards can be used for the source and destination IPX addresses; however, the wildcard is –1, which means it is equal to any host and network.&lt;br /&gt;&lt;br /&gt;The below Figure shows an example of an IPX network and how IPX standard access lists can be configured.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_rcbpfThKZBA/SOO3E6ON5PI/AAAAAAAAAF0/aPTfqdYioJE/s1600-h/Figure2.JPG"&gt;&lt;img style="cursor: pointer; width: 302px; height: 167px;" src="http://2.bp.blogspot.com/_rcbpfThKZBA/SOO3E6ON5PI/AAAAAAAAAF0/aPTfqdYioJE/s320/Figure2.JPG" alt="" id="BLOGGER_PHOTO_ID_5252242885420377330" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The following configuration is used with Figure 9.2. Interface Ethernet 0 is on Network 40; interface Ethernet 1 is on Network 10; interface Ethernet 2 is on Network 20; interface Ethernet 3 is on Network 30.&lt;br /&gt;&lt;br /&gt;The access list is configured and applied as shown. This IPX access list permits packets generated from IPX Network 20 out interface Ethernet 0 to Network 40.&lt;br /&gt;&lt;br /&gt;Router(config)#access-list 810 permit 20 40&lt;br /&gt;Router(config)#int e0&lt;br /&gt;Router(config-if)#ipx access-group 810 out&lt;br /&gt;&lt;br /&gt;Think about what this configuration accomplishes. First and most obvious, any IPX devices on IPX Network 20 off interface Ethernet 2 can communicate to the server on Network 40, which is connected to interface Ethernet 0. However, notice what else this configuration accomplishes with only one line (remember that there is an implicit deny all at the end of the list):&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Hosts on Network 10 cannot communicate to the server on Network 40.&lt;br /&gt;Hosts on Network 40 can get to Network 10, but the packets cannot get back.&lt;br /&gt;Hosts on Network 30 can communicate to Network 10, and Network 10 can communicate to Network 30.&lt;br /&gt;Hosts on Network 30 cannot communicate to the server on Network 40.&lt;br /&gt;Hosts on Network 40 can get to hosts on Network 30, but the packets can’t come back from Network 30 in response.&lt;br /&gt;Hosts on Network 20 can communicate to all devices in the internetwork.&lt;br /&gt;Extended IPX Access Lists&lt;br /&gt;Extended IPX access lists can filter based on any of the following:&lt;br /&gt;Source network/node&lt;br /&gt;Destination network/node&lt;br /&gt;IPX protocol (SAP, SPX, etc.)&lt;br /&gt;IPX socket&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;These are access lists in the range of 900–999 and are configured just like standard access lists, with the addition of protocol and socket information.&lt;br /&gt;&lt;br /&gt;Let’s take a look at a template for building lines in an IPX extended access list.&lt;br /&gt;access-list {number} {permit/deny} {protocol} {source}{socket} {destination} {socket}&lt;br /&gt;&lt;br /&gt;Again, when you move from standard to extended access lists, you’re simply adding the ability to filter based on protocol and socket (port for IP).&lt;br /&gt;&lt;br /&gt;&lt;cr&gt;&lt;cr&gt;&lt;/cr&gt;&lt;/cr&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4467388650765090034?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4467388650765090034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4467388650765090034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4467388650765090034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4467388650765090034'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/ipx-access-lists.html' title='IPX Access Lists'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_rcbpfThKZBA/SOO3E6ON5PI/AAAAAAAAAF0/aPTfqdYioJE/s72-c/Figure2.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4242483719930100878</id><published>2008-10-01T10:37:00.001-07:00</published><updated>2008-10-01T10:42:32.006-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Traffic with Access Lists'/><title type='text'>Extended IP Access Lists</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;In the standard IP access list example, notice how you had to block the whole subnet from getting to the finance department. What if you wanted them to gain access to only a certain server on the Finance LAN, but not to other network services, for obvious security reasons? With a standard IP access list, you can’t allow users to get to one network service and not another. However, extended IP access lists allow you to do this. Extended IP access lists allow you to choose your IP source and destination address as well as the protocol and port number, which identify the upper-layer protocol or application.&lt;br /&gt;&lt;br /&gt;By using extended IP access lists, you can effectively allow users access to a physical LAN and stop them from using certain services. Here is an example of an extended IP access list. The first command shows the access list numbers available. You’ll use the extended access list range from 100 to 199.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list ?&lt;br /&gt;&lt;1-99&gt; IP standard access list&lt;br /&gt;&lt;100-199&gt; IP extended access list&lt;br /&gt;&lt;1000-1099&gt; IPX SAP access list&lt;br /&gt;&lt;1100-1199&gt; Extended 48-bit MAC address access list&lt;br /&gt;&lt;1200-1299&gt; IPX summary address access list&lt;br /&gt;&lt;200-299&gt; Protocol type-code access list&lt;br /&gt;&lt;300-399&gt; DECnet access list&lt;br /&gt;&lt;400-499&gt; XNS standard access list&lt;br /&gt;&lt;500-599&gt; XNS extended access list&lt;br /&gt;&lt;600-699&gt; Appletalk access list&lt;br /&gt;&lt;700-799&gt; 48-bit MAC address access list&lt;br /&gt;&lt;800-899&gt; IPX standard access list&lt;br /&gt;&lt;900-999&gt; IPX extended access list&lt;br /&gt;&lt;br /&gt;At this point, you need to decide what type of list entry you are making. For this example, you’ll choose a deny list entry.&lt;br /&gt;&lt;br /&gt;RouterA(config)#access-list 110 ?&lt;br /&gt;deny Specify packet&lt;br /&gt;dynamic Specify a DYNAMIC list of PERMITs or DENYs&lt;br /&gt;permit Specify packets to forward&lt;br /&gt;&lt;br /&gt;Once you choose the access list type, you must choose a Network layer protocol field entry. It is important to understand that if you want to filter the network by Application layer, you must choose an entry here that allows you to go up through the OSI model. For example, to filter by Telnet or FTP, you must choose TCP here. If you were to choose IP, you would never leave the Network layer, and you would not be allowed to filter by upper-layer applications.&lt;br /&gt;&lt;br /&gt;RouterA(config)#access-list 110 deny ?&lt;br /&gt;&lt;0-255&gt; An IP protocol number&lt;br /&gt;eigrp Cisco's EIGRP routing protocol&lt;br /&gt;gre Cisco's GRE tunneling&lt;br /&gt;icmp Internet Control Message Protocol&lt;br /&gt;igmp Internet Gateway Message Protocol&lt;br /&gt;igrp Cisco's IGRP routing protocol&lt;br /&gt;ip Any Internet Protocol&lt;br /&gt;ipinip IP in IP tunneling&lt;br /&gt;nos KA9Q NOS compatible IP over IP tunneling&lt;br /&gt;ospf OSPF routing protocol&lt;br /&gt;tcp Transmission Control Protocol&lt;br /&gt;udp User Datagram Protocol&lt;br /&gt;Once you choose to go up to the Application layer through TCP, you will&lt;br /&gt;be prompted for the source IP address of the host or network. You can&lt;br /&gt;choose the any command to allow any source address.&lt;br /&gt;RouterA(config)#access-list 110 deny tcp ?&lt;br /&gt;A.B.C.D Source address&lt;br /&gt;any Any source host&lt;br /&gt;host A single source host&lt;br /&gt;After the source address is selected, the destination address is chosen.&lt;br /&gt;RouterA(config)#access-list 110 deny tcp any ?&lt;br /&gt;A.B.C.D Destination address&lt;br /&gt;any Any destination host&lt;br /&gt;eq Match only packets on a given port number&lt;br /&gt;gt Match only packets with a greater port number&lt;br /&gt;host A single destination host&lt;br /&gt;&lt;br /&gt;lt Match only packets with a lower port number neq Match only packets not on a given port number range Match only packets in the range of port numbers In the example below, any source IP address that has a destination IP address of 172.16.30.2 has been denied.&lt;br /&gt;&lt;br /&gt;RouterA(config)#access-list 110 deny tcp any host 172.16.30.2 ?&lt;br /&gt;eq Match only packets on a given port number&lt;br /&gt;established Match established connections&lt;br /&gt;fragments Check fragments&lt;br /&gt;gt Match only packets with a greater port&lt;br /&gt;number&lt;br /&gt;log Log matches against this entry&lt;br /&gt;log-input Log matches against this entry,including inputinterface&lt;br /&gt;lt Match only packets with a lower port number&lt;br /&gt;neq Match only packets not on a given port number&lt;br /&gt;precedence Match packets with given precedence value&lt;br /&gt;range Match only packets in the range of port numbers&lt;br /&gt;tos Match packets with given TOS value &lt;cr&gt;&lt;br /&gt;&lt;br /&gt;Now, you can press Enter here and leave the access list as is. However, you can be even more specific: once you have the host addresses in place, you can specify the type of service you are denying. The following help screen gives you the options. You can choose a port number or use the application or even the program name.&lt;br /&gt;&lt;br /&gt;RouterA(config)#access-list 110 deny tcp any host 172.16.30.2 eq ?&lt;br /&gt;&lt;0-65535&gt; Port number&lt;br /&gt;bgp Border Gateway Protocol (179)&lt;br /&gt;chargen Character generator (19)&lt;br /&gt;cmd Remote commands (rcmd, 514)&lt;br /&gt;daytime Daytime (13)&lt;br /&gt;discard Discard (9)&lt;br /&gt;domain Domain Name Service (53)&lt;br /&gt;echo Echo (7)&lt;br /&gt;exec Exec (rsh, 512)&lt;br /&gt;finger Finger (79)&lt;br /&gt;ftp File Transfer Protocol (21)&lt;br /&gt;ftp File Transfer Protocol (21)&lt;br /&gt;gopher Gopher (70)&lt;br /&gt;hostname NIC hostname server (101)&lt;br /&gt;ident Ident Protocol (113)&lt;br /&gt;irc Internet Relay Chat (194)&lt;br /&gt;klogin Kerberos login (543)&lt;br /&gt;kshell Kerberos shell (544)&lt;br /&gt;login Login (rlogin, 513)&lt;br /&gt;lpd Printer service (515)&lt;br /&gt;nntp Network News Transport Protocol (119)&lt;br /&gt;pop2 Post Office Protocol v2 (109)&lt;br /&gt;pop3 Post Office Protocol v3 (110)&lt;br /&gt;smtp Simple Mail Transport Protocol (25)&lt;br /&gt;sunrpc Sun Remote Procedure Call (111)&lt;br /&gt;syslog Syslog (514)&lt;br /&gt;tacacs TAC Access Control System (49)&lt;br /&gt;talk Talk (517)&lt;br /&gt;telnet Telnet (23)&lt;br /&gt;time Time (37)&lt;br /&gt;uucp Unix-to-Unix Copy Program (540)&lt;br /&gt;whois Nicname (43)&lt;br /&gt;www World Wide Web (HTTP, 80)&lt;br /&gt;&lt;br /&gt;At this point, let’s block Telnet (port 23) to host 172.16.30.2 only. If the users want to FTP, that is allowed. The log command is used to send messages to the console every time the access list is hit. This would not be a good thing to do in a busy environment, but it is great when used in a  class or in a home network.&lt;br /&gt;&lt;br /&gt;RouterA(config)#access-list 110 deny tcp any host 172.16.30.2 eq 23 log&lt;br /&gt;&lt;br /&gt;You need to keep in mind that the next line is an implicit deny any by default. If you apply this access list to an interface, you might as well just shut the interface down, since by default there is an implicit deny all at the end of every access list. You must follow up the access list with the following command:&lt;br /&gt;&lt;br /&gt;RouterA(config)#access-list 110 permit ip any 0.0.0.0 255.255.255.255&lt;br /&gt;&lt;br /&gt;Remember, the 0.0.0.0 255.255.255.255 is the same command as any.&lt;br /&gt;&lt;br /&gt;Once the access list is created, you need to apply it to an interface. It is the same command as the IP standard list:&lt;br /&gt;&lt;br /&gt;RouterA(config-if)#ip access-group 110 in or RouterA(config-if)#ip access-group 110 out&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Extended IP Access List Example&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Using Figure 9.1 from the IP standard access list example again, let’s use the same network and deny access to a server on the finance-department LAN for both Telnet and FTP services on server 172.16.10.5. All other services on the LAN are acceptable for the sales and marketing departments to access.&lt;br /&gt;&lt;br /&gt;The following access list should be created:&lt;br /&gt;&lt;br /&gt;Acme#config t&lt;br /&gt;Acme(config)#access-list 110 deny tcp any host 172.16.10.5 eq 21&lt;br /&gt;Acme(config)#access-list 110 deny tcp any host 172.16.10.5 eq 23&lt;br /&gt;Acme(config)#access-list 110 permit ip any any&lt;br /&gt;&lt;br /&gt;It is important to understand why the denies were placed first in the list. This is because if you had configured the permits first and the denies second, the Finance LAN would have not been able to go to any other LAN or to the Internet because of the implicit deny at the end of the list. It would be difficult to configure the list any other way than the preceding example. After the lists are created, they need to be applied to the Ethernet 0 port. This is because the other three interfaces on the router need access to the LAN.&lt;br /&gt;&lt;br /&gt;However, if this list were created to only block Sales, then we would have wanted to put this list closest to the source, or on Ethernet interface 2.&lt;br /&gt;&lt;br /&gt;Acme(config-if)#ip access-group 110 out&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Monitoring IP Access Lists&lt;/span&gt;&lt;br /&gt;It is important to be able to verify the configuration on a router. The following commands can be used to verify the configuration:&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;show access-list Displays all access lists and their parameters configured on the router. This command does not show you which interface the list is set on.&lt;br /&gt;&lt;br /&gt;show access-list 110 Shows only the parameters for the access list 110. This command does not show you the interface the list is set on.&lt;br /&gt;&lt;br /&gt;show ip access-list Shows only the IP access lists configured on the router.&lt;br /&gt;&lt;br /&gt;show ip interface Shows which interfaces have access lists set.&lt;br /&gt;&lt;br /&gt;show running-config Shows the access lists and which interfaces have access lists set.&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4242483719930100878?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4242483719930100878/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4242483719930100878' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4242483719930100878'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4242483719930100878'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/extended-ip-access-lists.html' title='Extended IP Access Lists'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-8288779714139348459</id><published>2008-10-01T10:31:00.002-07:00</published><updated>2008-10-01T10:37:03.483-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Traffic with Access Lists'/><title type='text'>Standard IP Access Lists</title><content type='html'>&lt;div style="text-align: justify;"&gt;Standard IP access lists filter the network by using the source IP address in an IP packet. You create a standard IP access list by using the access list numbers 1–99.&lt;br /&gt;&lt;br /&gt;Here is an example of the access list numbers that you can use to filter your network. The different protocols that you can use with access lists depend on your IOS version.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list ?&lt;br /&gt;&lt;1-99&gt; IP standard access list&lt;br /&gt;&lt;100-199&gt; IP extended access list&lt;br /&gt;&lt;1000-1099&gt; IPX SAP access list&lt;br /&gt;&lt;1100-1199&gt; Extended 48-bit MAC address access list&lt;br /&gt;&lt;1200-1299&gt; IPX summary address access list&lt;br /&gt;&lt;200-299&gt; Protocol type-code access list&lt;br /&gt;&lt;300-399&gt; DECnet access list&lt;br /&gt;&lt;400-499&gt; XNS standard access list&lt;br /&gt;&lt;500-599&gt; XNS extended access list&lt;br /&gt;&lt;600-699&gt; Appletalk access list&lt;br /&gt;&lt;700-799&gt; 48-bit MAC address access list&lt;br /&gt;&lt;800-899&gt; IPX standard access list&lt;br /&gt;&lt;900-999&gt; IPX extended access list&lt;br /&gt;&lt;br /&gt;By using the access list numbers between 1–99, you tell the router that you want to create a standard IP access list.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 ?&lt;br /&gt;&lt;br /&gt;deny Specify packets to reject&lt;br /&gt;permit Specify packets to forward&lt;br /&gt;&lt;br /&gt;After you choose the access list number, you need to decide if you are creating a permit or deny list. For this example, you will create a deny statement:&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny ?&lt;br /&gt;&lt;br /&gt;Hostname or A.B.C.D  ----                            Address to match&lt;br /&gt;any     --------------------                            Any source&lt;br /&gt;host    --------------------                            host A single host address&lt;br /&gt;&lt;br /&gt;The next step requires a more detailed explanation. There are three options available. You can use the any command to permit or deny any host or network, you can use an IP address to specify or match a specific network or IP host, or you can use the host command to specify a specific host only.&lt;br /&gt;&lt;br /&gt;Here is an example of using the host command:&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny host 172.16.30.2&lt;br /&gt;&lt;br /&gt;This tells the list to deny any packets from host 172.16.30.2. The default command is host.  In other words, if you type access-list 10 deny 172.16.30.2, the router assumes you mean host 172.16.30.2.&lt;br /&gt;&lt;br /&gt;However, there is another way to specify a specific host: you can use wildcards. In fact, to specify a network or a subnet, you have no option but to use wildcards in the access list.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Wildcards&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Wildcards are used with access lists to specify a host, network, or part of a network. To understand wildcards, you need to understand block sizes.&lt;br /&gt;&lt;br /&gt;Block sizes are used to specify a range of addresses. The following list shows some of the different block sizes available. When you need to specify a range of addresses, you choose the closest block size for your needs. For example, if you need to specify 34 networks, you need a block size of 64. If you want to specify 18 hosts, you need a block size of 32. If you only specify two networks, then a block size of 4 would work. Wildcards are used with the host or network address to tell the router a range of available addresses to filter. To specify a host, the address would look like this: 172.16.30.5 0.0.0.0&lt;br /&gt;&lt;br /&gt;The four zeros represent each octet of the address. Whenever a zero is present, it means that octet in the address must match exactly. To specify that an octet can be any value, the value of 255 is used. As an example, here is how a full subnet is specified with a wildcard:&lt;br /&gt;172.16.30.0 0.0.0.255&lt;br /&gt;&lt;br /&gt;This tells the router to match up the first three octets exactly, but the fourth octet can be any value.&lt;br /&gt;&lt;br /&gt;Block Sizes&lt;br /&gt;64&lt;br /&gt;32&lt;br /&gt;16&lt;br /&gt;8&lt;br /&gt;4&lt;br /&gt;&lt;br /&gt;Now, that was the easy part. What if you want to specify only a small range of subnets? This is where the block sizes come in. You have to specify the range of values in a block size. In other words, you can’t choose to specify 20 networks. You can only specify the exact amount as the block size value. For example, the range would either have to be 16 or 32, but not 20.  Let’s say that you want to block access to part of network that is in the range from 172.16.8.0 through 172.16.15.0. That is a block size of 8. Your network number would be 172.16.8.0, and the wildcard would be 0.0.7.255. Whoa! What is that? The 7.255 is what the router uses to determine the block size. The network and wildcard tell the router to start at 172.16.8.0 and go up a block size of eight addresses to network 172.16.15.0.&lt;br /&gt;&lt;br /&gt;It is actually easier than it looks. I could certainly go through the binary math for you, but actually all you have to do is remember that the wildcard is always one number less than the block size. So, in our example, the wildcard would be 7 since our block size is 8. If you used a block size of 16, the wildcard would be 15.&lt;br /&gt;&lt;br /&gt;We’ll go through some examples to help you really understand it. The following example tells the router to match the first three octets exactly but that the fourth octet can be anything.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny 172.16.10.0 0.0.0.255&lt;br /&gt;&lt;br /&gt;The next example tells the router to match the first two octets and that the last two octets can be any value.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny 172.16.0.0 0.0.255.255&lt;br /&gt;&lt;br /&gt;Try to figure out this next line:&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny 172.16.16.0 0.0.3.255&lt;br /&gt;&lt;br /&gt;The above configuration tells the router to start at network 172.16.16.0 and use a block size of 4. The range would then be 172.16.16.0 through 172.16.19.0.&lt;br /&gt;&lt;br /&gt;The example below shows an access list starting at 172.16.16.0 and going up a block size of 8 to 172.16.23.0.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny 172.16.16.0 0.0.7.255&lt;br /&gt;&lt;br /&gt;The next example starts at network 172.16.32.0 and goes up a block size of 32 to 172.16.63.0.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny 172.16.32.0 0.0.31.255&lt;br /&gt;&lt;br /&gt;The last example starts at network 172.16.64.0 and goes up a block size of 64 to 172.16.127.0.&lt;br /&gt;&lt;br /&gt;RouterA(config)# access-list 10 deny 172.16.64.0 0.0.63.255&lt;br /&gt;&lt;br /&gt;Here are two more things to keep in mind when working with block sizes and wildcards:&lt;br /&gt;&lt;br /&gt;Each block size must start at 0. For example, you can’t say that you want a block size of 8 and start at 12. You must use 0–7, 8–15, 16–23,etc. For a block size of 32, the ranges are 0–31, 32–63, 64–95, etc.&lt;br /&gt;&lt;br /&gt;The command any is the same thing as writing out the wildcard 0.0.0.0 255.255.255.255.&lt;br /&gt;&lt;br /&gt;Standard IP Access List Example: In this section, you’ll learn how to use a standard IP access list to stop certain users from gaining access to the finance-department LAN. In Figure 9.1, a router has three LAN connections and one WAN connection to the Internet. Users on the Sales LAN should not have access to the Finance LAN, but they should be able to access the Internet and the marketing department. The Marketing LAN needs to access the Finance LAN for application services.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;On the Acme router, the following standard IP access list is applied:&lt;br /&gt;&lt;br /&gt;Acme# config t&lt;br /&gt;Acme(config)#access-list 10 deny 172.16.40.0 0.0.0.255&lt;br /&gt;Acme(config)#access-list 10 permit any&lt;br /&gt;&lt;br /&gt;It is very important to understand that the any command is the same thing as saying this:&lt;br /&gt;&lt;br /&gt;Acme(config)#access-list 10 permit 0.0.0.0 255.255.255.255&lt;br /&gt;&lt;br /&gt;At this point, the access list is denying the Sales LAN and allowing everyone else. But where should this access list be placed? If you place it as an incoming access list on E2, you might as well shut down the Ethernet interface because all of the Sales LAN devices are denied access to all networks attached to the router. The best place to put this router is the E0 interface as an outbound list.&lt;br /&gt;&lt;br /&gt;Acme(config)#int e0&lt;br /&gt;Acme(config-if)#ip access-group 10 out&lt;br /&gt;&lt;br /&gt;This completely stops network 172.16.40.0 from getting out Ethernet 0, but it can still access the Marketing LAN and the Internet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Controlling VTY (Telnet) Access&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will have a difficult time trying to stop users from telnetting into a router because any active port on a router is fair game for VTY access. However, you can use a standard IP access list to control access by placing the access list on the VTY lines themselves.&lt;br /&gt;&lt;br /&gt;To perform this function:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;Create a standard IP access list that permits only the host or hosts you want to be able to telnet into the routers.&lt;br /&gt;&lt;br /&gt;Apply the access list to the VTY line with the access-class command.&lt;br /&gt;&lt;br /&gt;&lt;/blockquote&gt;Here is an example of allowing only host 172.16.10.3 to telnet into a router:&lt;br /&gt;&lt;br /&gt;RouterA(config)#access-list 50 permit 172.16.10.3&lt;br /&gt;RouterA(config)#line vty 0 4&lt;br /&gt;RouterA(config-line)#access-class 50 in&lt;br /&gt;&lt;br /&gt;Because of the implied deny any at the end of the list, the access list stops any host from telnetting into the router except the host 172.16.10.3.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-8288779714139348459?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/8288779714139348459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=8288779714139348459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/8288779714139348459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/8288779714139348459'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/standard-ip-access-lists.html' title='Standard IP Access Lists'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-7804091086984544951</id><published>2008-10-01T10:24:00.001-07:00</published><updated>2008-10-01T10:31:37.044-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Access Lists'/><title type='text'>Access Lists Basics</title><content type='html'>&lt;div style="text-align: justify;"&gt;Access lists are essentially lists of conditions that control access. They’re powerful tools that control access both to and from network segments. They can filter unwanted packets and be used to implement security policies. With the right combination of access lists, network managers will be armed with the power to enforce nearly any access policy they can invent. The IP and IPX access lists work similarly—they’re both packet filters that packets are compared with, categorized by, and acted upon. Once the lists are built, they can be applied to either inbound or outbound traffic on any interface. Applying an access list will then cause the router to analyze every packet crossing that interface in the specified direction and take action accordingly.&lt;br /&gt;&lt;br /&gt;There are a few important rules a packet follows when it’s being compared with an access list:&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;It’s always compared with each line of the access list in sequential order, i.e., it’ll always start with line 1, then go to line 2, then line 3, and so on.&lt;br /&gt;&lt;br /&gt;It’s compared with lines of the access list only until a match is made. Once the packet matches a line of the access list, it’s acted upon, and no further comparisons take place.&lt;br /&gt;&lt;br /&gt;There is an implicit “deny” at the end of each access list—this means that if a packet doesn’t match up to any lines in the access list, it’ll be discarded.&lt;/blockquote&gt;&lt;br /&gt;Each of these rules has some powerful implications when filtering IP and IPX packets with access lists.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;There are two types of access lists used with IP and IPX:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Standard access lists&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These use only the source IP address in an IP packet to filter the network. This basically permits or denies an entire suite of protocols. IPX standards can filter on both source and destination IPX address.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Extended access lists&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;These check for both source and destination IP address, protocol field in the Network layer header, and port number at the Transport layer header. IPX extended access lists use source and destination IPX addresses, Network layer protocol fields, and socket numbers in the Transport layer header.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Once you create an access list, you apply it to an interface with either an inbound or outbound list:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Inbound access lists: &lt;/span&gt;Packets are processed through the access list before being routed to the outbound interface.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Outbound access lists: &lt;/span&gt;Packets are routed to the outbound interface and then processed through the access list.&lt;br /&gt;&lt;br /&gt;There are also some access list guidelines that should be followed when creating and implementing access lists on a router:&lt;br /&gt;&lt;blockquote&gt;You can only assign one access list per interface, per protocol, or per direction. This means that if you are creating IP access lists, you can only have one inbound access list and one outbound access list per interface.&lt;br /&gt;&lt;br /&gt;Organize your access lists so that the more specific tests are at the top of the access list.&lt;br /&gt;&lt;br /&gt;Anytime a new list is added to the access list, it will be placed at the bottom of the list.&lt;br /&gt;&lt;br /&gt;You cannot remove one line from an access list. If you try to do this, you will remove the entire list. It is best to copy the access list to a text editor before trying to edit the list. The only exception is when using named access lists.&lt;br /&gt;&lt;br /&gt;Unless your access list ends with a permit any command, all packets will be discarded if they do not meet any of the lists’ tests. Every list should have at least one permit statement, or you might as well shut the interface down.&lt;br /&gt;&lt;br /&gt;Create access lists and then apply them to an interface. Any access list applied to an interface without an access list present will not filter traffic.&lt;br /&gt;&lt;br /&gt;Access lists are designed to filter traffic going through the router. They will not filter traffic originated from the router.&lt;br /&gt;&lt;br /&gt;Place IP standard access lists as close to the destination as possible.&lt;br /&gt;&lt;br /&gt;Place IP extended access lists as close to the source as possible.&lt;/blockquote&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-7804091086984544951?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/7804091086984544951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=7804091086984544951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7804091086984544951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7804091086984544951'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/access-lists-basics.html' title='Access Lists Basics'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4369381423402456998</id><published>2008-10-01T02:53:00.001-07:00</published><updated>2008-10-01T02:58:55.478-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VLAN'/><title type='text'>VTP Modes of Operation</title><content type='html'>&lt;div style="text-align: justify;"&gt;There are thee different modes of operation within a VTP domain. Figure 4 shows all three.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rcbpfThKZBA/SONJj7pgTSI/AAAAAAAAAFk/v732pBKtO7w/s1600-h/Picture4.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_rcbpfThKZBA/SONJj7pgTSI/AAAAAAAAAFk/v732pBKtO7w/s320/Picture4.JPG" alt="" id="BLOGGER_PHOTO_ID_5252122472100154658" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Server : &lt;/span&gt;Is the default for all Catalyst switches. You need at least one server in your VTP domain to propagate VLAN information throughout the domain. The switch must be in server mode to be able to create, add, or delete VLANs in a VTP domain. Changing VTP information must also be done in server mode. Any change made to a switch in server mode is advertised to the entire VTP domain.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Client : &lt;/span&gt;Receives information from VTP servers and send and receives updates, but cannot make any changes. No ports on a client switch can be added to a new VLAN before the VTP server notifies the client switch of the new VLAN. If you want a switch to become a server, first make it a client so it receives all the correct VLAN information, then change it to a server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Transparent : &lt;/span&gt;Does not participate in the VTP domain but will still forward VTP advertisements through the configured trunk links. VTP transparent switches can add and delete VLANs as the switch keeps its own database and does not share it with other switches. Transparent is considered only locally significant.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Configuration Revision Number: &lt;/span&gt;The revision number is the most important piece in the VTP advertisement. Figure  shows an example of how a revision number is used in an advertisement.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SONJkAQqyAI/AAAAAAAAAFs/3WhqRUExJGc/s1600-h/Picture5.JPG"&gt;&lt;img style="cursor: pointer; width: 374px; height: 168px;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SONJkAQqyAI/AAAAAAAAAFs/3WhqRUExJGc/s320/Picture5.JPG" alt="" id="BLOGGER_PHOTO_ID_5252122473338161154" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;This figure shows a configuration revision number as “N.” As a database is modified, the VTP server increments the revision number by 1. The VTP server then advertises the database with the new configuration revision number. When a switch receives an advertisement that has a higher revision number, it overwrites the database in NVRAM with the new database being advertised.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;VTP Pruning: &lt;/span&gt;You can preserve bandwidth by configuring the VTP to reduce the amount of broadcasts, multicasts, and other unicast packets, which helps preserve bandwidth. This is called pruning. VTP pruning only sends broadcasts to trunk links that must have the information; any trunk link that does not need the broadcasts will not receive them. For example, if a switch does not have any ports configured for VLAN 5, and a broadcast is sent throughout VLAN 5, the broadcast would not traverse the trunk link to this switch. VTP pruning is disabled by default on all switches.&lt;br /&gt;&lt;br /&gt;When you enable pruning on a VTP server, you enable it for the entire domain. By default, VLANs 2–1005 are pruning-eligible. VLAN 1 can never prune because it is an administrative VLAN.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4369381423402456998?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4369381423402456998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4369381423402456998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4369381423402456998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4369381423402456998'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/vtp-modes-of-operation.html' title='VTP Modes of Operation'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rcbpfThKZBA/SONJj7pgTSI/AAAAAAAAAFk/v732pBKtO7w/s72-c/Picture4.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-4800810307972290410</id><published>2008-10-01T02:49:00.001-07:00</published><updated>2008-10-01T03:23:20.241-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VLAN'/><title type='text'>Routing between VLANs</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;Hosts in a VLAN are within their own broadcast domain and communicate freely. VLANs create network partitioning and traffic separation at layer 2 of the OSI specifications. To have hosts or any device communicate between VLANs, a layer-3 device is absolutely necessary.&lt;br /&gt;&lt;br /&gt;You can use a router that has an interface for each VLAN, or a router that supports ISL routing. The least expensive router that supports ISL routing is the 2600 series router. The 1600, 1700, and 2500 series do not support ISL routing.&lt;br /&gt;&lt;br /&gt;If you only had a few VLANs (two or three), you could get a router with two or three 10BaseT or FastEthernet connections. 10BaseT is OK, but FastEthernet will work really well. However, if you have more VLANs available than router interfaces, you can either run ISL routing on one FastEthernet interface or buy a route switch module (RSM) for a 5000 series switch. The RSM can support up to 1005 VLANs and run on the backplane of the switch. If you use one Fast-Ethernet interface and run ISL routing, Cisco calls this a router-on-a-stick.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;VLAN Trunk Protocol (VTP)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Cisco created VLAN Trunk Protocol (VTP) to manage all the configured VLANs across a switched internetwork and to maintain consistency throughout the network. VTP allows an administrator to add, delete, and rename VLANs, which are then propagated to all switches.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;VTP provides the following benefits to a switched network:&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Consistent VLAN configuration across all switches in the network&lt;/li&gt;&lt;li&gt;Allowing VLANs to be trunked over mixed networks, like Ethernet to &lt;/li&gt;&lt;li&gt;ATM LANE or FDDI&lt;/li&gt;&lt;li&gt;Accurate tracking and monitoring of VLANs&lt;/li&gt;&lt;li&gt;Dynamic reporting of added VLANs to all switches&lt;/li&gt;&lt;li&gt;Plug-and-Play VLAN adding&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;To allow VTP to manage your VLANs across the network, you must first create a VTP server. All servers that need to share VLAN information must use the same domain name, and a switch can only be in one domain at a time. This means that a switch can only share VTP domain information with switches configured in the same VTP domain.&lt;br /&gt;&lt;br /&gt;A VTP domain can be used if you have more than one switch connected in a network. If all switches in your network are in only one VLAN, then you don’t need to use VTP. VTP information is sent between switches via a trunk port.&lt;br /&gt;&lt;br /&gt;Switches advertise VTP-management domain information, as well as a configuration revision number and all known VLANs with any specific parameters. You can configure switches to forward VTP information through trunk ports but not accept information updates, nor update their VTP database. This is called VTP transparent mode.&lt;br /&gt;&lt;br /&gt;If you are having problems with users adding switches to your VTP domain, you can add passwords, but remember that every switch must be set up with the same password, which may be difficult.&lt;br /&gt;&lt;br /&gt;Switches detect the additional VLANs within a VTP advertisement and then prepare to receive information on their trunk ports with the newly defined VLAN in tow. The information would be VLAN ID, 802.10 SAID fields, or LANE information. Updates are sent out as revision numbers that are the notification plus 1. Anytime a switch sees a higher revision number, it knows the information it is receiving is more current and will overwrite the current database with the new one.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-4800810307972290410?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/4800810307972290410/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=4800810307972290410' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4800810307972290410'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/4800810307972290410'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/routing-between-vlans.html' title='Routing between VLANs'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3315509044140518021</id><published>2008-10-01T02:41:00.000-07:00</published><updated>2008-10-01T02:45:38.381-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VLAN'/><title type='text'>VLAN Identification Methods</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;To keep track of frames traversing a switch fabric, VLAN identification is used to identify which frames belong to which VLANs. There are multiple trunking methods:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Inter-Switch Link (ISL)&lt;/span&gt;&lt;br /&gt;Proprietary to Cisco switches, it is used for FastEthernet and Gigabit Ethernet links only. Can be used on a switch port, router interfaces, and server interface cards to trunk a server. This server trunking is good if you are creating functional VLANs and don’t want to break the 80/20 rule. The server that is trunked is part of all VLANs (broadcast domains) simultaneously. The users do not have to cross a layer-3 device to access a company-shared server.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IEEE 802.1q&lt;/span&gt;&lt;br /&gt;Created by the IEEE as a standard method of frame tagging. It actually inserts a field into the frame to identify the VLAN. If you are trunking between a Cisco switched link and a different brand of switch, you have to use 802.1q for the trunk to work.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;LAN emulation (LANE) &lt;/span&gt;&lt;br /&gt;Used to communicate multiple VLANs over ATM.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;802.10 (FDDI)&lt;/span&gt;&lt;br /&gt;Used to send VLAN information over FDDI. Uses a SAID field in the frame header to identify the VLAN. This is proprietary to Cisco devices.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Inter-Switch Link (ISL) Protocol&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Inter-Switch Link (ISL) is a way of explicitly tagging VLAN information onto an Ethernet frame. This tagging information allows VLANs to be multiplexed over a trunk link through an external encapsulation method. By running ISL, you can interconnect multiple switches and still maintain VLAN information as traffic travels between switches on trunk links. ISL provides a low-latency, full wire-speed performance over FastEthernet using either half- or full-duplex mode.&lt;br /&gt;&lt;br /&gt;Cisco created the ISL protocol, and therefore ISL is proprietary in nature to Cisco devices only. If you need a non-proprietary VLAN protocol, use the 802.1q, which is covered in the CCNP: Switching Study Guide.&lt;br /&gt;&lt;br /&gt;ISL is an external tagging process, which means the original frame is not altered but instead encapsulated with a new 26-byte ISL header. It also adds a second 4-byte frame check sequence (FCS) field at the end of the frame. Because the frame is encapsulated with information, only ISL-aware devices can read it. Also, the frame can be up to 1522 bytes long. Devices that receive an ISL frame may record this as a giant frame because it is over the maximum of 1518 bytes allowed on an Ethernet segment.&lt;br /&gt;&lt;br /&gt;On multi-VLAN (trunk) ports, each frame is tagged as it enters the switch. ISL network interface cards (NICs) allow servers to send and receive frames tagged with multiple VLANs so the frames can traverse multiple VLANs without going through a router, which reduces latency. This technology can also be used with probes and certain network analyzers. It makes it easy for users to attach to servers quickly and efficiently, without going through a router every time they need to communicate with a resource. Administrators can use the ISL technology to include file servers in multiple VLANs simultaneously, for example. It is important to understand that ISL VLAN information is added to a frame only if the frame is forwarded out a port configured as a trunk link. The ISL encapsulation is removed from the frame if the frame is forwarded out an access link.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trunking&lt;/span&gt;&lt;br /&gt;Trunk links are 100- or 1000Mbps point-to-point links between two switches, between a switch and router, or between a switch and server. Trunked links carry the traffic of multiple VLANs, from 1 to 1005 at a time. You cannot run trunked links on 10Mbps links. Trunking allows you to make a single port part of multiple VLANs at the same time. The benefit of trunking is that a server, for example, can be in two broadcast domains at the same time. This will stop users from having to cross a layer-3 device (router) to log in and use the server. Also, when connecting switches together, trunk links can carry some or all VLAN information across the link. If you do not trunk these links between switches, then the switches will only send VLAN 1 information by default across the link. All VLANs are configured on a trunked link unless cleared by an administrator by hand. Cisco switches use the Dynamic Trunking Protocol (DTP) to manage trunk negation in the Catalyst-switch engine software release 4.2 or later, using either ISL or 802.1q. DTP is a point-to-point protocol that was created to send trunk information across 802.1q trunks.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3315509044140518021?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3315509044140518021/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3315509044140518021' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3315509044140518021'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3315509044140518021'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/vlan-identification-methods.html' title='VLAN Identification Methods'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-770772229584291812</id><published>2008-10-01T02:30:00.000-07:00</published><updated>2008-10-01T02:38:13.679-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VLAN'/><title type='text'>Identifying VLANs</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 51, 255);"&gt;Identifying VLANs&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;VLANs can span multiple connected switches. Switches in this switchfabric must keep track of frames and which VLAN frames belong to. Frametagging performs this function. Switches can then direct frames to the appropriate port.&lt;br /&gt;&lt;br /&gt;There are two different types of links in a switched environment: Access links Links that are only part of one VLAN and are referred to asthe native VLAN of the port. Any device attached to an access link isunaware of a VLAN membership. This device just assumes it is part of a broadcast domain, with no understanding of the physical network.Switches remove any VLAN information from the frame before it is set to an access link device. Access link devices cannot communicate with devices outside their VLAN unless the packet is routed through a router.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Trunk links&lt;/span&gt;&lt;br /&gt;Trunks can carry multiple VLANs. Originally named aftertrunks of the telephone system, which carries multiple telephone conversations,trunk links are used to connect switches to other switches, to routers, or even to servers. Trunked links are supported on Fast or Gigabit Ethernet only. To identify the VLAN that a frame belongs to with Ethernet technology, Cisco switches support two different identification techniques: ISL and 802.1q. Trunk links are used to transport VLANs between devices and can be configured to transport all VLANs or just a few. Trunk links still have a native, or default, VLAN that is used if the trunk link fails.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Frame Tagging&lt;/span&gt;&lt;br /&gt;The switch in an internetwork needs a way of keeping track of users and frames as they travel the switch fabric and VLANs. A switch fabric is a group of switches sharing the same VLAN information. Frame identification ( frame tagging) uniquely assigns a user-defined ID to each frame. This is sometimes referred to as a VLAN ID or color. Cisco created frame tagging to be used when an Ethernet frame traverses a trunked link. The VLAN tag is removed before exiting trunked links. Each switch that the frame reaches must identify the VLAN ID, then determine&lt;br /&gt;what to do with the frame based on the filter table. If the frame reaches a switch that has another trunked link, the frame will be forwarded out the trunk link port. Once the frame reaches an exit to an access link, the switch removes the VLAN identifier. The end device will receive the frames without having to understand the VLAN identification.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-770772229584291812?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/770772229584291812/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=770772229584291812' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/770772229584291812'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/770772229584291812'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/identifying-vlans.html' title='Identifying VLANs'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-7788775206600416555</id><published>2008-10-01T02:20:00.000-07:00</published><updated>2008-10-01T03:20:16.776-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VLAN'/><title type='text'>VLAN Memberships</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;br /&gt;VLANs are typically created by an administrator, who then assigns switch ports to the VLAN. These are called static VLANs. If the administrator wants to do a little more work up front and assign all the host devices’ hardware addresses into a database, the switches can be configured to assign VLANs dynamically.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Static VLANs&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Static VLANs are the typical way of creating VLANs and the most secure. The switch port that you assign a VLAN association always maintains that association until an administrator changes the port assignment. This type of VLAN configuration is easy to set up and monitor, working well in a network where the movement of users within the network is controlled. Using network management software to configure the ports can be helpful but is not mandatory.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Dynamic VLANs&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Dynamic VLANs determine a node’s VLAN assignment automatically. Using intelligent management software, you can enable hardware (MAC) addresses, protocols, or even applications to create dynamic VLANs. For example, suppose MAC addresses have been entered into a centralized VLAN management application. If a node is then attached to an unassigned switch port, the VLAN management database can look up the hardware address and assign and configure the switch port to the correct VLAN. This can make management and configuration easier for the administrator. If a user moves, the switch will automatically assign them to the correct VLAN. However, more administration is needed initially to set up the database.&lt;br /&gt;&lt;br /&gt;Cisco administrators can use the VLAN Management Policy Server (VMPS) service to set up a database of MAC addresses that can be used for dynamic addressing of VLANs. VMPS is a MAC address–to–VLAN mapping database.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-7788775206600416555?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/7788775206600416555/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=7788775206600416555' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7788775206600416555'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/7788775206600416555'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/vlan-memberships.html' title='VLAN Memberships'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-2646875267547388976</id><published>2008-10-01T01:59:00.000-07:00</published><updated>2008-10-01T02:19:55.275-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VLAN'/><title type='text'>Virtual LANs</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Virtual LANs (VLANs)&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;A Virtual Local Area Network (VLAN) is a logical grouping of network users and resources connected to administratively defined ports on a switch. By creating VLANs, you are able to create smaller broadcast domains within a switch by assigning different ports in the switch to different subnetworks. A VLAN is treated like its own subnet or broadcast domain. This means that frames broadcasted onto a network are only switched between ports in the same VLAN. Using virtual LANs, you’re no longer confined to creating workgroups by physical locations. VLANs can be organized by location, function, department, or even the application or protocol used, regardless of where the resources or users are located. In this chapter, you will learn what a VLAN is and how VLAN memberships are used in a switched internetwork. Also, I’ll discuss how Virtual Trunk Protocol (VTP) is used to update switch databases with VLAN information. Trunking FastEthernet links will also be discussed. Trunking allows you to send information about all VLANs across one link.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Virtual LANs&lt;/span&gt;&lt;br /&gt;In a layer-2 switched network, the network is flat, as shown in Figure 1. Every broadcast packet transmitted is seen by every device on the network, regardless of whether the device needs to receive the data.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SONATzUPJbI/AAAAAAAAAFM/u14vp_TZUL4/s1600-h/Picture1.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SONATzUPJbI/AAAAAAAAAFM/u14vp_TZUL4/s320/Picture1.JPG" alt="" id="BLOGGER_PHOTO_ID_5252112299380909490" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Because layer-2 switching creates individual collision domain segments for each device plugged into the switch, the Ethernet distance constraints are lifted, which means larger networks can be built. The larger the number of users and devices, the more broadcasts and packets each device must handle. Another problem with a flat layer-2 network is security, as all users can see all devices. You cannot stop devices from broadcasting and users trying to respond to broadcasts. Your security is passwords on the servers and other devices.&lt;br /&gt;&lt;br /&gt;By creating VLANs, you can solve many of the problems associated with layer-2 switching, as shown in the upcoming sections.&lt;br /&gt;&lt;br /&gt;Security&lt;br /&gt;One problem with the flat internetwork is that security was implemented by connecting hubs and switches together with routers. Security was maintained at the router, but anyone connecting to the physical network could access the network resources on that physical LAN. Also, a user could plug a network analyzer into the hub and see all the traffic in that network. Another problem was that users could join a workgroup by just plugging their workstations into the existing hub.&lt;br /&gt;&lt;br /&gt;By using VLANs and creating multiple broadcast groups, administrators now have control over each port and user. Users can no longer just plug their workstations into any switch port and have access to network resources. The administrator controls each port and whatever resources it is allowed to use. Because groups can be created according to the network resources a user requires, switches can be configured to inform a network management station of any unauthorized access to network resources. If inter-VLAN communication needs to take place, restrictions on a router can also be implemented. Restrictions can also be placed on hardware addresses, protocols, and applications.&lt;br /&gt;&lt;br /&gt;Flexibility and Scalability&lt;br /&gt;Layer-2 switches only read frames for filtering; they do not look at the Network layer protocol. This can cause a switch to forward all broadcasts. However, by creating VLANs, you are essentially creating broadcast domains. Broadcasts sent out from a node in one VLAN will not be forwarded to ports configured in a different VLAN. By assigning switch ports or users to VLAN groups on a switch or group of connected switches (called a switch fabric), you have the flexibility to add only the users you want in the broadcast domain regardless of their physical location. This can stop broadcast storms caused by a faulty network interface card (NIC) or an application from propagating throughout the entire internetwork.&lt;br /&gt;&lt;br /&gt;When a VLAN gets too big, you can create more VLANs to keep the broadcasts from consuming too much bandwidth. The fewer users in a VLAN, the fewer users affected by broadcasts. To understand how a VLAN looks to a switch, it’s helpful to begin by first looking at a traditional collapsed backbone. Figure 2 shows a collapsed backbone created by connecting physical LANs to a router.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rcbpfThKZBA/SONAT9PMWzI/AAAAAAAAAFU/kX9jpCcJHi0/s1600-h/Picture2.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_rcbpfThKZBA/SONAT9PMWzI/AAAAAAAAAFU/kX9jpCcJHi0/s320/Picture2.JPG" alt="" id="BLOGGER_PHOTO_ID_5252112302044109618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Each network is attached to the router and has its own logical network number. Each node attached to a particular physical network must match that network number to be able to communicate on the internetwork. Now let’s look at what a switch accomplishes. Figure 3 shows how switches remove the physical boundary.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SONATwBnbeI/AAAAAAAAAFc/AULUyHB_Y2o/s1600-h/Picture3.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SONATwBnbeI/AAAAAAAAAFc/AULUyHB_Y2o/s320/Picture3.JPG" alt="" id="BLOGGER_PHOTO_ID_5252112298497502690" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Switches create greater flexibility and scalability than routers can by themselves. You can group users into communities of interest, which are known as VLAN organizations. Because of switches, we don’t need routers anymore, right? Wrong. In Figure 3, notice that there are four VLANs or broadcast domains. The nodes within each VLAN can communicate with each other, but not with any other VLAN or node in another VLAN. When configured in a VLAN, the nodes think they are actually in a collapsed backbone as in Figure 2. What do the hosts in Figure 6.2 need to do to communicate to a node or host on a different network? They need to go through the router, or other layer- 3 device, just like when they are configured for VLAN communication, as shown in Figure 6.3. Communication between VLANs, just as in physical networks, must go through a layer-3 device.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-2646875267547388976?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/2646875267547388976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=2646875267547388976' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2646875267547388976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2646875267547388976'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/10/virtual-lans.html' title='Virtual LANs'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_rcbpfThKZBA/SONATzUPJbI/AAAAAAAAAFM/u14vp_TZUL4/s72-c/Picture1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-8272196615319942165</id><published>2008-09-29T12:05:00.000-07:00</published><updated>2008-09-29T12:22:57.091-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Layers of the OSI Model'/><title type='text'>Layers of the OSI Model</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;The 7 Layers of the OSI Model&lt;/span&gt;&lt;/div&gt;  &lt;p class="MsoNormal"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;The OSI, or Open System Interconnection, model defines a networking framework for implementing protocols in seven layers. Control is passed from one layer to the next, starting at the application layer in one station, proceeding to the bottom layer, over the channel to the next station and back up the hierarchy. &lt;/div&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;  &lt;table style="" border="1" cellpadding="0"&gt;  &lt;tbody&gt;&lt;tr&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Application&lt;br /&gt;(Layer 7)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;This layer supports &lt;a href="http://www.webopedia.com/quick_ref/application.html"&gt;application&lt;/a&gt;   and end-user   processes. Communication partners are identified, quality of service is   identified, user &lt;a href="http://www.webopedia.com/quick_ref/authentication.html"&gt;authentication&lt;/a&gt;   and privacy are considered, and any constraints on data &lt;a href="http://www.webopedia.com/quick_ref/syntax.html"&gt;syntax&lt;/a&gt; are   identified. Everything at this layer is application-specific. This layer   provides application services for file transfers, &lt;a href="http://www.webopedia.com/quick_ref/e_mail.html"&gt;e-mail&lt;/a&gt;, and other &lt;a href="http://www.webopedia.com/quick_ref/network.html"&gt;network&lt;/a&gt; &lt;a href="http://www.webopedia.com/quick_ref/software.html"&gt;software&lt;/a&gt;   services. &lt;a href="http://www.webopedia.com/quick_ref/Telnet.html"&gt;Telnet&lt;/a&gt;   and &lt;a href="http://www.webopedia.com/quick_ref/FTP.html"&gt;FTP&lt;/a&gt; are   applications that exist entirely in the application level. &lt;a href="http://www.webopedia.com/quick_ref/app.arch.html"&gt;Tiered application   architectures&lt;/a&gt; are part of this layer.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Presentation&lt;br /&gt;(Layer 6)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;This layer provides independence from differences in data   representation (e.g., &lt;a href="http://www.webopedia.com/quick_ref/encryption.html"&gt;encryption&lt;/a&gt;) by   translating from application to network format, and vice versa. The presentation   layer works to transform data into the form that the application layer can   accept. This layer formats and encrypts data to be sent across a network,   providing freedom from compatibility problems. It is sometimes called the &lt;i&gt;syntax   layer&lt;/i&gt;.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Session&lt;br /&gt;(Layer 5)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;This layer establishes, manages and terminates connections   between applications. The session layer sets up, coordinates, and terminates   conversations, exchanges, and dialogues between the applications at each end.   It deals with session and connection coordination.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Transport&lt;br /&gt;(Layer 4)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;This layer provides &lt;a href="http://www.webopedia.com/quick_ref/transparent.html"&gt;transparent&lt;/a&gt;   transfer of data between end systems, or hosts, and is responsible for   end-to-end error recovery and &lt;a href="http://www.webopedia.com/quick_ref/flow_control.html"&gt;flow control&lt;/a&gt;.   It ensures complete data transfer.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Network&lt;br /&gt;(Layer 3)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;This layer provides &lt;a href="http://www.webopedia.com/quick_ref/switch.html"&gt;switching&lt;/a&gt; and &lt;a href="http://www.webopedia.com/quick_ref/routing.html"&gt;routing&lt;/a&gt;   technologies, creating logical paths, known as &lt;a href="http://www.webopedia.com/quick_ref/virtual_circuit.html"&gt;virtual   circuits&lt;/a&gt;, for transmitting data from &lt;a href="http://www.webopedia.com/quick_ref/node.html"&gt;node&lt;/a&gt; to node. Routing   and forwarding are functions of this layer, as well as addressing, &lt;a href="http://www.webopedia.com/quick_ref/internetworking.html"&gt;internetworking&lt;/a&gt;,   error handling, congestion control and &lt;a href="http://www.webopedia.com/quick_ref/packet.html"&gt;packet&lt;/a&gt; sequencing.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Data Link&lt;br /&gt;(Layer 2)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;At this layer, data packets are encoded and decoded into &lt;a href="http://www.webopedia.com/quick_ref/bit.html"&gt;bits&lt;/a&gt;. It furnishes   transmission protocol knowledge and management and handles errors in the   physical layer, flow control and frame synchronization. The data link layer   is divided into two sublayers: The &lt;a href="http://www.webopedia.com/quick_ref/MAC_layer.html"&gt;Media Access Control&lt;/a&gt;   (MAC) layer and the Logical Link Control (LLC) layer. The MAC sublayer   controls how a computer on the network gains access to the data and   permission to transmit it. The LLC layer controls frame synchronization, flow   control and error checking.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;&lt;span style="font-size:100%;"&gt;&lt;b&gt;Physical&lt;br /&gt;(Layer 1)&lt;/b&gt;&lt;/span&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style="padding: 3pt;"&gt;   &lt;p class="MsoNormal"&gt;This layer conveys the &lt;a href="http://www.webopedia.com/quick_ref/bit.html"&gt;bit&lt;/a&gt; stream -   electrical impulse, light or radio signal -- through the network at the   electrical and mechanical level. It provides the &lt;a href="http://www.webopedia.com/quick_ref/hardware.html"&gt;hardware&lt;/a&gt; means of   sending and receiving data on a carrier, including defining cables, &lt;a href="http://www.webopedia.com/quick_ref/card.html"&gt;cards&lt;/a&gt; and physical   aspects. &lt;a href="http://www.webopedia.com/quick_ref/Fast_Ethernet.html"&gt;Fast   Ethernet&lt;/a&gt;, &lt;a href="http://www.webopedia.com/quick_ref/RS_232C.html"&gt;RS232&lt;/a&gt;,   and &lt;a href="http://www.webopedia.com/quick_ref/ATM.html"&gt;ATM&lt;/a&gt; are   protocols with physical layer components.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style="'width:427.5pt;"&gt;  &lt;v:imagedata src="./The%207%20Layers%20of%20the%20OSI%20Model_files/image001.jpg" href="http://www.webopedia.com/img/OSI_Model.jpg"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rcbpfThKZBA/SOEohXCcpVI/AAAAAAAAAE8/D0Ecw1oFb2E/s1600-h/image001.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_rcbpfThKZBA/SOEohXCcpVI/AAAAAAAAAE8/D0Ecw1oFb2E/s320/image001.jpg" alt="" id="BLOGGER_PHOTO_ID_5251523194075784530" border="0" /&gt;&lt;/a&gt;&lt;!--[endif]--&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="text-align: center;" align="center"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class="MsoNormal"&gt;&lt;!--[if !supportEmptyParas]--&gt; &lt;!--[endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;span style=""&gt;  &lt;/span&gt;  &lt;p class="MsoNormal"&gt;Seven layers are defined: &lt;/p&gt;  &lt;p&gt;7) &lt;b&gt;&lt;a href="http://www.raduniversity.com/networks/1994/osi/applic.htm"&gt;Application&lt;/a&gt;&lt;/b&gt; : Provides different services to the applications &lt;/p&gt;  &lt;p&gt;6) &lt;b&gt;&lt;a href="http://www.raduniversity.com/networks/1994/osi/present.htm"&gt;Presentation&lt;/a&gt;&lt;/b&gt; : Converts the information &lt;/p&gt;  &lt;p&gt;5) &lt;b&gt;&lt;a href="http://www.raduniversity.com/networks/1994/osi/session.htm"&gt;Session&lt;/a&gt;&lt;/b&gt; : Handles problems which are not communication issues &lt;/p&gt;  &lt;p&gt;4) &lt;b&gt;&lt;a href="http://www.raduniversity.com/networks/1994/osi/transp.htm"&gt;Transport&lt;/a&gt;&lt;/b&gt; : Provides end to end communication control &lt;/p&gt;  &lt;p&gt;3) &lt;b&gt;&lt;a href="http://www.raduniversity.com/networks/1994/osi/network.htm"&gt;Network&lt;/a&gt;&lt;/b&gt; : Routes the information in the network &lt;/p&gt;  &lt;p&gt;2) &lt;b&gt;&lt;a href="http://www.raduniversity.com/networks/1994/osi/datalink.htm"&gt;Data Link&lt;/a&gt;&lt;/b&gt; : Provides error control between adjacent nodes &lt;/p&gt;  &lt;p&gt;1) &lt;b&gt;&lt;a href="http://www.raduniversity.com/networks/1994/osi/physic.htm"&gt;Physical&lt;/a&gt;&lt;/b&gt; : Connects the entity to the transmission media&lt;/p&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SOEohVHPrDI/AAAAAAAAAFE/2OB4lFJAsWQ/s1600-h/image002.gif"&gt;&lt;img style="cursor: pointer; width: 320px; height: 221px;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SOEohVHPrDI/AAAAAAAAAFE/2OB4lFJAsWQ/s320/image002.gif" alt="" id="BLOGGER_PHOTO_ID_5251523193559034930" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-8272196615319942165?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/8272196615319942165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=8272196615319942165' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/8272196615319942165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/8272196615319942165'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/layers-of-osi-model.html' title='Layers of the OSI Model'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rcbpfThKZBA/SOEohXCcpVI/AAAAAAAAAE8/D0Ecw1oFb2E/s72-c/image001.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1996969668995835843</id><published>2008-09-29T07:54:00.000-07:00</published><updated>2008-09-29T07:58:11.959-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='OSI Model Networking Materials'/><title type='text'>OSI Model Networking Materials</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;br /&gt;The 7 Layers of the OSI Model Networking Materials&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; color: rgb(0, 0, 0); font-family: arial; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"&gt;&lt;div class="TVBY0b" style="margin: 5px 0px 0px 5px;"&gt;&lt;b&gt;3 attachments&lt;/b&gt; — &lt;a href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;view=att&amp;amp;th=11ca92f8f1103548&amp;amp;disp=zip" style="color: rgb(0, 0, 204);"&gt;Download all attachments&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;table class="Dva3x" style="margin: 8px 0px 0px 5px; border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="kVqJFe" style="margin: 0px; padding: 0px 7px 0px 0px; font-family: arial,sans-serif; vertical-align: middle;"&gt;&lt;span id=":6d"&gt;&lt;a target="_blank" href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.1&amp;amp;disp=attd&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="margin: 0px; padding: 0px; font-family: arial,sans-serif;"&gt;&lt;b&gt;The 7 Layers of the OSI Model.doc&lt;/b&gt;&lt;br /&gt;198K  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span id=":6q"&gt;&lt;a target="_blank" href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.1&amp;amp;disp=vah&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;View as HTML&lt;/a&gt;  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a target="_blank" href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.1&amp;amp;disp=attd&amp;amp;view=wtatt&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;Open as a Google document&lt;/a&gt;  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.1&amp;amp;disp=attd&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;Download&lt;/a&gt;  &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table class="Dva3x" style="margin: 8px 0px 0px 5px; border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="kVqJFe" style="margin: 0px; padding: 0px 7px 0px 0px; font-family: arial,sans-serif; vertical-align: middle;"&gt;&lt;span id=":6t"&gt;&lt;a target="_blank" href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.2&amp;amp;disp=attd&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="margin: 0px; padding: 0px; font-family: arial,sans-serif;"&gt;&lt;b&gt;osi.pdf&lt;/b&gt;&lt;br /&gt;221K  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span id=":6s"&gt;&lt;a target="_blank" href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.2&amp;amp;disp=vah&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;View as HTML&lt;/a&gt;  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.2&amp;amp;disp=attd&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;Download&lt;/a&gt;  &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;table class="Dva3x" style="margin: 8px 0px 0px 5px; border-collapse: collapse;"&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td class="kVqJFe" style="margin: 0px; padding: 0px 7px 0px 0px; font-family: arial,sans-serif; vertical-align: middle;"&gt;&lt;span id=":6a"&gt;&lt;a target="_blank" href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.3&amp;amp;disp=attd&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/td&gt;&lt;td style="margin: 0px; padding: 0px; font-family: arial,sans-serif;"&gt;&lt;b&gt;subnetting.pdf&lt;/b&gt;&lt;br /&gt;90K  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;span id=":6u"&gt;&lt;a target="_blank" href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.3&amp;amp;disp=vah&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;View as HTML&lt;/a&gt;  &lt;span class="Apple-converted-space"&gt; &lt;/span&gt;&lt;a href="?ui=2&amp;amp;ik=75ec6c54d0&amp;amp;attid=0.3&amp;amp;disp=attd&amp;amp;view=att&amp;amp;th=11ca92f8f1103548" style="color: rgb(0, 0, 204);"&gt;Download&lt;/a&gt;  &lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1996969668995835843?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1996969668995835843/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1996969668995835843' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1996969668995835843'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1996969668995835843'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/osi-model-networking-materials.html' title='OSI Model Networking Materials'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3677225317113192537</id><published>2008-09-29T07:24:00.000-07:00</published><updated>2008-09-29T07:39:41.130-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VoIP'/><title type='text'>FXS and FXO</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;What do the terms FXS and FXO mean?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;FXS and FXO are the name of ports used by Analog phone lines (also known as POTS - Plain Old Telephone Service).&lt;br /&gt;&lt;br /&gt;FXS - Foreign eXchange Subscriber interface is the port that actually delivers the analog line to the subscriber. In other words it is the ‘plug on the wall’ that delivers a dial tone, battery current and ring voltage.&lt;br /&gt;&lt;br /&gt;FXO - Foreign eXchange Office interface is the port that receives the analog line. It is the plug on the phone or fax machine, or the plug(s) on your analog phone system. It delivers an on-hook/off-hook indication (loop closure). Since the FXO port is attached to a device, such as a fax or phone, the device is often called the ‘FXO device’.&lt;br /&gt;&lt;br /&gt;FXO and FXS are always paired, i.e similar to a male / female plug.&lt;br /&gt;&lt;br /&gt;Without a PBX, a phone is connected directly to the FXS port provided by a telephone company.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rcbpfThKZBA/SODmbBAKQCI/AAAAAAAAAEU/eIUB2-PnhjM/s1600-h/voip1.JPG"&gt;&lt;img style="cursor: pointer; width: 319px; height: 101px;" src="http://1.bp.blogspot.com/_rcbpfThKZBA/SODmbBAKQCI/AAAAAAAAAEU/eIUB2-PnhjM/s320/voip1.JPG" alt="" id="BLOGGER_PHOTO_ID_5251450517313962018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;If you have a PBX, then you connect the lines provided by the telephone company to the PBX and then the phones to the PBX. Therefore, the PBX must have both FXO ports (to connect to the FXS ports provided by the telephone company) and FXS ports (to connect the phone or fax devices to).&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SODmbCRxUTI/AAAAAAAAAEc/EFUe91WQ-V4/s1600-h/voip2.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SODmbCRxUTI/AAAAAAAAAEc/EFUe91WQ-V4/s320/voip2.JPG" alt="" id="BLOGGER_PHOTO_ID_5251450517656260914" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;FXS &amp;amp; FXO &amp;amp; VOIP&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;You will come across the terms FXS and FXO when deciding to buy equipment that allows you to connect analog phones to a VOIP Phone System or traditional PBXs to a VOIP service provider or to each other via the Internet.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;An FXO gateway&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To connect analog phone lines to an IP phone system you need an FXO gateway. This allows you to connect the FXS port to the FXO port of the gateway, which then translates the analog phone line to a VOIP call.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_rcbpfThKZBA/SODmbuSWs5I/AAAAAAAAAEk/YCX05OMfuvM/s1600-h/voip3.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_rcbpfThKZBA/SODmbuSWs5I/AAAAAAAAAEk/YCX05OMfuvM/s320/voip3.JPG" alt="" id="BLOGGER_PHOTO_ID_5251450529469870994" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;An FXS gateway&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;An FXS gateway is used to connect one or more lines of a traditional PBX to a VOIP phone system or provider. You need an FXS gateway because you want to connect the FXO ports (which normally are connected to the telephone company) to the Internet or a VOIP system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_rcbpfThKZBA/SODmb7Q55oI/AAAAAAAAAEs/jlXoHIt3w1I/s1600-h/voip4.JPG"&gt;&lt;img style="cursor: pointer;" src="http://3.bp.blogspot.com/_rcbpfThKZBA/SODmb7Q55oI/AAAAAAAAAEs/jlXoHIt3w1I/s320/voip4.JPG" alt="" id="BLOGGER_PHOTO_ID_5251450532953450114" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;An FXS adapter a.k.a. ATA adapter&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;An FXS adapter is used to connect an analog phone or fax machine to a VOIP phone system or to a VOIP provider. You need this because you need to connect the FXO port of the phone/fax machine to the adapter.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_rcbpfThKZBA/SODmb61DoRI/AAAAAAAAAE0/5d4gLN8_ZTg/s1600-h/voip5.JPG"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/_rcbpfThKZBA/SODmb61DoRI/AAAAAAAAAE0/5d4gLN8_ZTg/s320/voip5.JPG" alt="" id="BLOGGER_PHOTO_ID_5251450532836647186" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Connecting&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;FXS/ FXO procedures – how it technically works&lt;br /&gt;&lt;br /&gt;If you are interested to know in more technical detail how an FXS/ FXO port interoperate, here is the exact sequence:&lt;br /&gt;&lt;br /&gt;When you wish to place a call:&lt;br /&gt;&lt;br /&gt;You pick up the phone (the FXO device). The FXS port detects that you have gone off hook.&lt;br /&gt;&lt;br /&gt;You dial the phone number, which is passed as Dual-Tone Multi-Frequency (DTMF) digits to the FXS port.&lt;br /&gt;&lt;br /&gt;Inbound call:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;The FXS port receives a call, and then sends a ring voltage to the attached FXO device.&lt;/li&gt;&lt;li&gt;The phone rings&lt;/li&gt;&lt;li&gt;As soon as you pick up the phone you can answer the call.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;Ending the call – normally the FXS port relies on either of the connected FXO devices to end the call.&lt;br /&gt;&lt;br /&gt;Note: The analog phone line passes approximately 50 volts DC power to the FXS port. That’s why you get a faint ‘shock’ when you touch a connected phone line. This allows a call to be made in the event of a power cut.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3677225317113192537?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3677225317113192537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3677225317113192537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3677225317113192537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3677225317113192537'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/fxs-and-fxo.html' title='FXS and FXO'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_rcbpfThKZBA/SODmbBAKQCI/AAAAAAAAAEU/eIUB2-PnhjM/s72-c/voip1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3448229568146811524</id><published>2008-09-29T06:24:00.000-07:00</published><updated>2008-09-29T07:45:43.443-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='WAFS'/><title type='text'>Wide Area File Sharing</title><content type='html'>&lt;div style="text-align: justify;"&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Some information on WAFS. This concept is catching up&lt;/span&gt;&lt;br /&gt;Wide-area file services (WAFS) is a storage technology that makes it possible to access a remote data center as though it were local. Among other benefits, WAFS enables businesses, academic institutions, and government agencies having numerous branch offices to centrally manage data backups in real time.&lt;br /&gt;&lt;br /&gt;Other benefits of WAFS include immediate, round-the-clock read-write access to backed-up data for all end users in the network, low latency and rapid data transfer speed comparable to local area network (LAN) technologies, continuous real-time updating of backup content, enhanced data security, and simple, rapid system recovery in the event the network is compromised or damaged. Additional security of data may be possible by backing up the data on multiple servers at different physical locations.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Enabling File Sharing over the WAN&lt;/span&gt;&lt;br /&gt;File distribution between remote locations is a hot topic in the enterprise world. But, to make it a reality, designers need to deliver systems that effectively handle file transfers across the WANs. Fortunately, WAFS boxes provide a strong alternative. Here's why.&lt;br /&gt;&lt;br /&gt;Today's companies face the challenge of managing distributed development efforts across multiple remote locations. Not only are there substantial communication and process issues involved, but simply enabling all team members to collaborate on the same data set at the same time can be difficult, and data storage requirements for design files are growing every year.&lt;br /&gt;&lt;br /&gt;While gigabytes of project data can easily be shared on a local-area network (LAN) using standard file server technology, these benefits do not extend to remote offices connected over wide-area networks (WANs). When it comes to file sharing over WANs, standard file server protocols provide unacceptably slow response times while opening and writing files. This forces IT to make an unappealing choice: either live with reduced productivity due to poor network performance at remote offices or use replication schemes that waste storage and inhibit global collaboration.&lt;br /&gt;&lt;br /&gt;However, a new class of product known as wide-area file services (WAFS) holds the promise of solving the shared data problem for distributed engineering organizations without sacrificing performance. Let's take a look at WAFS systems and the technology capabilities they need to deliver.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;File Sharing Dilemmas&lt;/span&gt;&lt;br /&gt;All major file sharing protocols, including NFS (Network File System—for Unix/Linux environments), CIFS (Common Internet File System—for Windows environments), and IPX/SPX (Internetwork Packet Exchange/Sequenced Packet Exchange—for Novell environments) were designed for LAN environments where clients and servers were located in the same building or campus.&lt;br /&gt;&lt;br /&gt;The assumption that the client and the server would be in close proximity led to a number of design decisions that do not scale across WANs. For example, these file sharing protocols tend to be rather "chatty", which means that they send many remote procedure calls (RPCs) across the network to perform operations.&lt;br /&gt;&lt;br /&gt;For certain operations on a file system using the NFS protocol (such as an rsync of a source code tree), almost 80% of the RPCs sent across the network can be access() RPCs, while the actual read() and write() RPCs typically comprise only 8-10% of the RPCs. Thus 80% of the work done by the protocol is simply spent trying to determine if the NFS client has the proper permissions to access a particular file on the NFS server, rather than actually moving data.&lt;br /&gt;&lt;br /&gt;In a LAN environment, these RPCs do not impact performance significantly, but when combined with the high latency typical of WANs, these RPCs can be deadly to performance. Worse, remote clients often end up timing out and retransmitting the RPCs, compounding the inefficiency. Furthermore, because data movement RPCs make up such a small percentage of the communication, increasing network bandwidth will make no difference to the aggravated end user.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Solution Attempts&lt;/span&gt;&lt;br /&gt;Various solutions have been proposed to the WAN file sharing problem, including replicating file copies and implementing distributed file systems, but neither approach has provided a complete solution. Enterprise content delivery networks (eCDNs) tried to mitigate this problem by caching copies of files at each remote office. But eCDNs, like web caching infrastructure, only provide a read-only copy of data at the remote office. If remote office users wanted to modify the file, they either had to go across the WAN to access the original copy and incur a major performance penalty, or update the local copy and create multiple, out-of-sync versions of the same file.&lt;br /&gt;&lt;br /&gt;File systems developed over the last 15 to 20 years such as AFS attempted to solve the WAN file sharing problem using a distributed file system architecture, which unites disparate file servers at remote offices into a single logical file system. However, these technologies required substantial changes in IT architecture to work properly.&lt;br /&gt;&lt;br /&gt;In particular, file system-based technologies require remote-office applications to use entirely new protocols because they do not export data using industry standard protocols such as NFS or CIFS. With over 1 billion computers deployed in the world that access data using either CIFS or NFS, clearly such a solution is untenable. Further, these technologies depend on "owning" the data store at the data center, which is clearly untenable given the billions of dollars invested in current file server and NAS infrastructure.&lt;br /&gt;&lt;br /&gt;The bottom line is that for any solution to the wide area file sharing problem to gain traction, it must be able to integrate itself with existing infrastructure rather than requiring new infrastructure to be built.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;New Option&lt;/span&gt;&lt;br /&gt;In spite of the failures of both caching technologies like eCDNs and distributed file systems to address the central issues in WAN file sharing, these technologies do provide important components for solving the WAN file sharing problem. New wide area file services (WAFS) products combine distributed file systems with caching technology to allow real-time, read-write access to shared file storage from any location, while also providing interoperability with standard file sharing protocols such as NFS and CIFS.&lt;br /&gt;&lt;br /&gt;WAFS products enable transparent worldwide design collaboration on the same data set, without complicated replication schemes or slow network performance. WAFS products will cache files in a read-write mode at remote locations, thus speeding up data access for remote users tremendously. WAFS enables LAN semantics for file access to be extended to the entire enterprise.&lt;br /&gt;&lt;br /&gt;WAFS systems (Figure 1) usually consist of edge file gateway (EFG) appliances, which are placed at remote offices, and one or more central server (CS) appliances that allow storage resources to be accessed by the EFGs.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SODeolSXzaI/AAAAAAAAAEE/h3RGvD_VKpc/s1600-h/Figure1.JPG"&gt;&lt;img style="cursor: pointer;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SODeolSXzaI/AAAAAAAAAEE/h3RGvD_VKpc/s320/Figure1.JPG" alt="" id="BLOGGER_PHOTO_ID_5251441954299301282" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;Each EFG appears as a local fileserver to remote office users. Together, the EFGs and CS implement a distributed file system and communicate using a WAN-optimized protocol. This protocol is translated back and forth to NFS and CIFS at either end, to communicate with centralized storage and remote user applications.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Key Design Issues&lt;/span&gt;&lt;br /&gt;When building a WAFS system, three key design questions that must be addressed include:&lt;br /&gt;&lt;br /&gt;What are the features of the optimized protocol run between the EFGs and CSes across the WAN?&lt;br /&gt;What specific optimizations have to occur in the system design for reading files?&lt;br /&gt;What is the specific architecture for writing files and moving updates back to central storage resources?&lt;br /&gt;&lt;br /&gt;The protocol used between the remote offices and the datacenter should incorporate file-aware differencing technology, data compression, streaming, and other technologies to improve performance and efficiency in moving data across the WAN. File-aware differencing is especially important because it can detect which parts of a file have changed, and only move those parts across the WAN. Furthermore, if pieces of a file have been rearranged, only offset information will be sent, rather than the data itself. These techniques result in tremendous, order-of-magnitude bandwidth reduction across the WAN and time savings in accessing files by remote users.&lt;br /&gt;&lt;br /&gt;Read performance is governed by the ability of the EFG to cache files at the remote office, and the ability to serve cached data to users while minimizing the overhead of expensive kernel user communication and context switches, in effect enabling the cache to act just like a high-performance file server. If the WAFS system is architected correctly the remote cache should mirror the data center exactly and only a few WAN round trips are required to check credentials and availability of file updates, but read requests will be satisfied from the local cache. Thus, regardless of how many NFS/CIFS read RPCs come into the EFG, it should hardly translate into any WAN traffic.&lt;br /&gt;&lt;br /&gt;Unlike read performance, write performance is governed by the write caching mechanism that is used in the WAFS system. The two main types of mechanisms are known as write-back and write-through.&lt;br /&gt;&lt;br /&gt;In a write-through approach, data written to a file is sent immediately over the WAN to the datacenter, while in write-back the data is written to the EFG and then sent over the WAN. Either approach, in isolation, has certain associated tradeoffs. Write-through is very safe, because all file updates are stored in the datacenter, but it suffers from poor performance and does not survive WAN disruptions. Write-back is very fast, but is riskier if the EFG fails before updates are sent to the datacenter.&lt;br /&gt;&lt;br /&gt;The optimal combination involves using a write-back approach for maximum performance, coupled with synchronous logging of file updates to persistent storage, ensuring no data loss in case of file system crashes or WAN outages. Write-back caching is typically very difficult to implement correctly with logging, but has superior performance and reliability characteristics.&lt;br /&gt;&lt;br /&gt;Figure 2 depicts representative performance for both read and write operations over a WAFS system and over a standard wide area network. Opening a 5-Mbyte file over the WAN takes about 122 seconds, while a high-performing WAFS system will fetch the file in 11 seconds the first time it is accessed, and at essentially LAN speed on subsequent (warm) accesses because the file is cached locally. Writing a 2 MB file over the WAN takes 81 seconds. A write-back WAFS system achieves the same result in about 4 seconds.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_rcbpfThKZBA/SODfFFs5wmI/AAAAAAAAAEM/SCk2-uRLArU/s1600-h/Figure2.JPG"&gt;&lt;img style="cursor: pointer; width: 340px; height: 180px;" src="http://4.bp.blogspot.com/_rcbpfThKZBA/SODfFFs5wmI/AAAAAAAAAEM/SCk2-uRLArU/s320/Figure2.JPG" alt="" id="BLOGGER_PHOTO_ID_5251442444036850274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;In all the tests shown in Figure 2, the WAN latency was 60 ms (representative of actual conditions between San Francisco and Houston) and the bandwidth allotted was 1.544 Mbit/s (T1 Line). Clearly, WAFS products can enable near-LAN speed read-write access to data in a WAN environment.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Data Coherency and Consistency&lt;/span&gt;&lt;br /&gt;Data coherency and data consistency are important properties of WAFS implementations, because they ensure that file updates are safe (cannot be written over) and available throughout the network of edge devices—crucial features for supporting engineering collaboration.&lt;br /&gt;&lt;br /&gt;Data coherency means that file updates (writes) from any one remote office are guaranteed never to conflict with updates from another remote office. Properly designed WAFS implementations guarantee this by maintaining a system of file leases. Leases are defined as a particular access privilege to a file from a remote office.&lt;br /&gt;&lt;br /&gt;If a user at a remote office wants to write to a cached file, the EFG at that office must obtain a "write lease", i.e. a right to modify the document before it can do so. WAFS solutions guarantee that at any time there will be only one remote office that has the write lease on a particular file thus guaranteeing coherence. Also, when a user at another office tries to open the file, the EFG that has the write lease flushes its data first and optionally can give up the write lease if there are no active writers to the file. This mechanism ensures that writers at different offices do not collide with each other and that file updates are safe.&lt;br /&gt;&lt;br /&gt;Data consistency implies that file updates made at one office are always available enterprise-wide, and well-architected WAFS system do this immediately after the update is made. Again, for collaboration, this is supremely important because remote designers want to be sure they are working on the most current version of any file, no matter where it was worked on last.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Scalability&lt;/span&gt;&lt;br /&gt;Any WAFS implementation should be capable of handling large files and large numbers of files (particularly important for CAD), as well as large numbers of concurrent users. A WAFS product that cannot scale beyond a few hundred MB of files or 10 users is not of much use.&lt;br /&gt;&lt;br /&gt;The issue of write-through and write-back architectures mentioned earlier figures into how well a WAFS implementation scales. A write-through WAFS implementation that cannot scale to enterprise levels as synchronous data transfers across the WAN quickly becomes a bottleneck as the number of files and users increase. Systems that are based on write-back architectures, that incorporate differencing and compression technologies, scale much better.&lt;br /&gt;&lt;br /&gt;Additionally, scalable systems recognize temporary files that applications (e.g. Microsoft Word) may create during the normal course of operation and do not send these files over the WAN, instead only sending over the final revision, which accelerates performance.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Revision Control Systems&lt;/span&gt;&lt;br /&gt;One big question that gets asked about WAFS systems is whether these systems are somehow competitive to revision control systems. In fact, revision control systems are one of the key areas to benefit from WAFS, and the two solutions are complimentary.&lt;br /&gt;&lt;br /&gt;Any revision control system that stores its data in flat files, even if it stores metadata in a separate database, will see a tremendous improvement in performance using WAFS. To properly support revision control systems it is highly imperative for a WAFS implementation to provide both data coherency and data consistency.&lt;br /&gt;&lt;br /&gt;WAFS products are capable of exporting entire revision control repositories to remote sites, allowing the revision control system manager to run locally at the remote site—dramatically speeding up check-in, check-out, and build processes. As locks are released, the changed files are propagated to the server, immediately ensuring that changes are reflected back to the datacenter in a consistent and coherent manner.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Wrap Up&lt;/span&gt;&lt;br /&gt;For companies sporting distributed teams, sharing data between a number of remote offices in real-time has been a challenge due to the poor performance and reliability of file sharing protocols such as NFS and CIFS when used over wide are networks. Workarounds to the problem have had undesirable consequences. Emerging WAFS technologies, on the other hand, offer a solution to the problem that enables enterprises around the world to share data with the same performance, reliability, interface, and semantics that they would have if they were sharing data on a local area network&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3448229568146811524?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3448229568146811524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3448229568146811524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3448229568146811524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3448229568146811524'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/wide-area-file-sharing.html' title='Wide Area File Sharing'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_rcbpfThKZBA/SODeolSXzaI/AAAAAAAAAEE/h3RGvD_VKpc/s72-c/Figure1.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-1120041758196139674</id><published>2008-09-29T01:39:00.000-07:00</published><updated>2008-09-29T02:11:04.147-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Advanced routing protocols'/><title type='text'>Advanced Router Features</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;B/W Aggregation &amp;amp; Load Balancing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;&lt;ul&gt;&lt;li&gt;Load balancing of outbound traffic using multi-path support with gateway weight allocation.&lt;/li&gt;&lt;li&gt;Dynamic management of gateways via health checks and traffic controlled weight assignments.&lt;/li&gt;&lt;li&gt;Weighted Round Robin (WRR) session-based load balancing for outbound connections with advanced gateway status detection.&lt;/li&gt;&lt;li&gt;Full gateway/route fail over capability.&lt;/li&gt;&lt;li&gt;Inbound load balancing and fail over based on proprietary Advanced DNS functionality.&lt;/li&gt;&lt;li&gt;Service/Port/Protocol based routing to allow alternative routing for different services.&lt;/li&gt;&lt;li&gt;Full featured QoS capabilities (as an add-on module)&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;span style="font-weight: bold;"&gt;NAT (SNAT) Support&lt;/span&gt;&lt;br /&gt;Using NAT configuration, SysMaster can provide secure Internet connectivity to all computers in the Local Area Network requiring just one public IP address, sparing investments on a block of IP addresses and increasing overall network security.&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Load balancing of Gateways&lt;/span&gt;&lt;br /&gt;Problems associated with Enterprise WAN connectivity&lt;/p&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: center;"&gt;&lt;span style="font-size:10;"&gt;&lt;img style="width: 303pt; height: 210pt;" alt="" src="http://mail.google.com/mail/?ui=1&amp;amp;attid=0.4&amp;amp;disp=emb&amp;amp;view=att&amp;amp;th=11ca723a8fefb2a5" type="#_x0000_t75" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;The utilization of multiple ISP up link gateways requires advanced route load balancing and fail over to ensure uninterrupted connectivity of corporate offices and service centers. Current routing protocols are limited in terms of bandwidth aggregation and do not support dynamic weight allocation to gateways. In most cases unavailable routes are not recognized by the access router and thus proper gateway fail over procedure is out of the question.&lt;/p&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;The SysMaster solution&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: center;"&gt;&lt;span style="font-size:10;"&gt;&lt;img style="width: 303pt; height: 210pt;" alt="" src="http://mail.google.com/mail/?ui=1&amp;amp;attid=0.5&amp;amp;disp=emb&amp;amp;view=att&amp;amp;th=11ca723a8fefb2a5" type="#_x0000_t75" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;SysMaster allows complete bandwidth aggregation, gateway load balancing (multi-path WRR), and gateway fail over. If any active gateway changes its state to disabled, it is isolated and removed from rotation. In all cases, only available gateways are used to route traffic. Furthermore, SysMaster allows dynamic gateway weight assignment to dynamically manage gateway utilization and traffic flow without the need to reconfigure routes. SysMaster is the only router that allows dynamic management of up link gateways in corporate and ISP environment.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Bandwidth Aggregation - supports unlimited number of up link gateways to multiply the overall system throughput;     &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Gateway fail over - allows isolation of 'dead gateways' and traffic routing through alternative gateways;     &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Global DNS Load Balancing - features stand-alone DNS server that provides scalability and load balancing of inbound (ingress) routes for all web, mail, and other Internet servers;     &lt;br /&gt;&lt;/li&gt;&lt;li&gt;Ingress/Egress Load Balancing - provides two-way load balancing services for multiple uplinks such as xDSL, T1, T3, OC-3/12/48 and Ethernet.&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size: 10pt; font-weight: bold;"&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Unique Functionality&lt;/span&gt;&lt;span style="font-size:10;"&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: center;"&gt;&lt;span style="font-size:10;"&gt;&lt;img style="width: 277.5pt; height: 234pt;" alt="" src="http://mail.google.com/mail/?ui=1&amp;amp;attid=0.6&amp;amp;disp=emb&amp;amp;view=att&amp;amp;th=11ca723a8fefb2a5" type="#_x0000_t75" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;div style="text-align: justify;"&gt;SysMaster is the only router that allows dynamic route and gateway management to provide complete gateway fail over and static/dynamic load balancing. The device can control the weight assignments for each individual gateway dynamically without manual intervention. The weight for each gateway to be used for the route is initially assigned by the network admin, and then (if selected) dynamically controlled using a third party agent, utilization monitoring, advanced rules.&lt;br /&gt;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Third-party agent. The information is read by SysMaster from a third-party agent to dynamically allocate new weight to each individual gateway.&lt;/li&gt;&lt;li&gt;Internal network device utilization monitoring. The device traffic is evaluated against the physical device parameters to provide dynamic aggregated bandwidth management.&lt;/li&gt;&lt;li&gt;Set of Advanced Rules. SysMaster completely supports advanced object management rules based on traffic volume, time-of-day, device-status checks. &lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Traffic load balancing and fail over&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: center;"&gt;&lt;span style="font-size:10;"&gt;&lt;img style="width: 259.5pt; height: 261.75pt;" alt="" src="http://mail.google.com/mail/?ui=1&amp;amp;attid=0.7&amp;amp;disp=emb&amp;amp;view=att&amp;amp;th=11ca723a8fefb2a5" type="#_x0000_t75" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;Large enterprises can have multiple xDSL, T1, T3, OC-3/12/48, and Ethernet gateways to access the Internet or implement corporate VPN networks and extranets. In this environment, SysMaster can be used to dynamically aggregate bandwidth and distribute the load of a network (to which it serves as a gateway) among the higher level corporate gateways thus delivering high level of efficiency. In order to effectively match the available resources allocated for each managed gateway, SysMaster assigns a performance weight to each managed gateway which reciprocally reflects the volume of traffic being forwarded through the respective gateway. The SysMaster also actively monitors all available gateways to allow for 'dead gateway discovery', and redirect traffic through alternative gateways.&lt;/p&gt;&lt;p style="margin: auto 0cm; text-align: justify;"&gt;&lt;span style="font-size:10;"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;&lt;br /&gt;&lt;script&gt;&lt;!-- D(["mb","\u003c/font\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cp style\u003d\"margin:auto 0cm;text-align:center\" align\u003d\"center\"\u003e\u003cspan style\u003d\"font-size:10pt\"\u003e\u003cimg style\u003d\"width:360.75pt;height:210pt\" alt\u003d\"\" src\u003d\"?ui\u003d1\u0026amp;attid\u003d0.8\u0026amp;disp\u003demb\u0026amp;view\u003datt\u0026amp;th\u003d11ca723a8fefb2a5\" type\u003d\"#_x0000_t75\"\u003e\u003cfont color\u003d\"#000000\"\u003e\u003c/font\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cp style\u003d\"margin:auto 0cm\"\u003e\u003cfont color\u003d\"#000000\"\u003e\u003cb\u003e\u003ci\u003e\u003cspan style\u003d\"font-size:10pt\"\u003eOutbound Traffic load balancing and fail over\u003c/span\u003e\u003c/i\u003e\u003c/b\u003e\u003cspan style\u003d\"font-size:10pt\"\u003e\u003c/span\u003e\u003c/font\u003e\u003c/p\u003e\n\u003cp style\u003d\"margin:auto 0cm\"\u003e\u003cspan style\u003d\"font-size:10pt\"\u003e\u003cfont color\u003d\"#000000\"\u003eSysMaster allows dynamic control of all outbound gateways to isolate disabled routes from traffic routing. Utilizing proprietary mechanism of WAN device controls and L3/L7 gateway health checks, the device quickly responds to changed traffic conditions and dynamically changes weight assignments to its managed up link gateways. SysMaster fully supports static and dynamic Weighted Round Robing (WRR) load balancing for outbound traffic on a per session basis.\u003c/font\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cp style\u003d\"margin:auto 0cm\"\u003e\u003cfont color\u003d\"#000000\"\u003e\u003cb\u003e\u003ci\u003e\u003cspan style\u003d\"font-size:10pt\"\u003eInbound Traffic load balancing and fail over\u003c/span\u003e\u003c/i\u003e\u003c/b\u003e\u003cspan style\u003d\"font-size:10pt\"\u003e\u003c/span\u003e\u003c/font\u003e\u003c/p\u003e\n\u003cp style\u003d\"margin:auto 0cm\"\u003e\u003cspan style\u003d\"font-size:10pt\"\u003e\u003cfont color\u003d\"#000000\"\u003eSysMaster utilizes a proprietary Advanced DNS algorithm to loadbalance and fail over inbound traffic via DNS responses. The device provides intelligent DNS responses that are based on server utilization and performance, physical client proximity (via BGP client), and geographical client location (via proprietary geographical IP segment database). Utilizing Advanced DNS services, the appliance allows dynamic global load balancing for servers and routes.\u003c/font\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cp style\u003d\"margin:auto 0cm\"\u003e\u003cspan style\u003d\"font-size:10pt\"\u003e\u003cfont color\u003d\"#000000\"\u003eTransparent Network Integration\u003c/font\u003e\u003c/span\u003e\u003c/p\u003e\n\u003cp style\u003d\"margin:auto 0cm\"\u003e\u003cspan style\u003d\"font-size:10pt\"\u003e\u003cimg style\u003d\"width:366.75pt;height:159pt\" alt\u003d\"\" src\u003d\"?ui\u003d1\u0026amp;attid\u003d0.9\u0026amp;disp\u003demb\u0026amp;view\u003datt\u0026amp;th\u003d11ca723a8fefb2a5\" type\u003d\"#_x0000_t75\"\u003e",1] );  //--&gt;&lt;/script&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="margin: auto 0cm; text-align: center;"&gt;&lt;span style="font-size:10;"&gt;&lt;img style="width: 360.75pt; height: 210pt;" alt="" src="http://mail.google.com/mail/?ui=1&amp;amp;attid=0.8&amp;amp;disp=emb&amp;amp;view=att&amp;amp;th=11ca723a8fefb2a5" type="#_x0000_t75" /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;span style="font-weight: bold;"&gt;Outbound Traffic load balancing and fail over&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;SysMaster allows dynamic control of all outbound gateways to isolate disabled routes from traffic routing. Utilizing proprietary mechanism of WAN device controls and L3/L7 gateway health checks, the device quickly responds to changed traffic conditions and dynamically changes weight assignments to its managed up link gateways. SysMaster fully supports static and dynamic Weighted Round Robing (WRR) load balancing for outbound traffic on a per session basis.&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;Inbound Traffic load balancing and fail over&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;SysMaster utilizes a proprietary Advanced DNS algorithm to loadbalance and fail over inbound traffic via DNS responses. The device provides intelligent DNS responses that are based on server utilization and performance, physical client proximity (via BGP client), and geographical client location (via proprietary geographical IP segment database). Utilizing Advanced DNS services, the appliance allows dynamic global load balancing for servers and routes.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Transparent Network Integration&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;SysMaster supports Route Bridge functionality to allow transparent integration into existing networks. SysMaster installation does not require changes in routing tables and gateways of existing network devices. In many cases, SysMaster will replace an existing Ethernet cable and act as a transparent router to allow simplified environment integration.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SysMaster as an Access Router&lt;/span&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Delivering extensive set of supported routing protocols such as RIP, BGP and others, together with the high-performance packet forwarding, allows system administrators to build solid network solutions upon the SysMaster Routing/Gateway Module. The QoS module can be used to add functionality that can be positioned as a highly flexible edge router supporting DiffServ IP QoS.&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt; &lt;span style="font-size:10;"&gt;&lt;img style="width: 299.25pt; height: 156pt;" alt="" src="http://mail.google.com/mail/?ui=1&amp;amp;attid=0.10&amp;amp;disp=emb&amp;amp;view=att&amp;amp;th=11ca723a8fefb2a5" type="#_x0000_t75" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-1120041758196139674?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/1120041758196139674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=1120041758196139674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1120041758196139674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/1120041758196139674'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/advanced-router-features.html' title='Advanced Router Features'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-5871686772502308497</id><published>2008-09-27T03:43:00.001-07:00</published><updated>2008-10-01T03:14:25.821-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Advanced routing protocols'/><title type='text'>Cisco HSRP FAQ</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;Q. Will the standby router take over if the active router LAN interface state is "interface up line protocol down"?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. Yes, the standby router takes over once the holdtime expires. By default, this is equivalent to three hello packets from the active router having been missed. The actual convergence time depends on the HSRP timers configured for the group and possibly on routing protocol convergence. The HSRP hellotime timer defaults to three and the holdtime timer defaults to ten.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Can I configure more than one standby group with the same group number?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. Yes. However, Cisco does not recommend it on lower-end platforms such as the 4x00 series and earlier. If the same group number is assigned to multiple standby groups, it creates a non-unique MAC address. This is seen as the MAC address of the router, and it is filtered out if more than one router in a LAN becomes active. This behavior can change in future releases of Cisco IOS®.&lt;br /&gt;&lt;br /&gt;Note: 4x00 series and earlier do not have the hardware required to support more than one MAC address at a time on Ethernet interfaces. However, the Cisco 2600 and Cisco 3600 do support multiple MAC addresses on all Ethernet and Fast Ethernet interfaces.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. When an active router tracks serial 0 and the serial line goes down, how does the standby router know to become active?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. When the state of a tracked interface changes to down, the active router decrements its priority. The standby router reads this value from the hello packet priority field, and becomes active if this value is lower than its own priority and the standby preempt is configured. You can configure by how much the router must decrement the priority. By default, it decrements its priority by ten.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. If there is no priority configured for a standby group, what determines which router is active?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. The priority field is used to elect the active router and the standby router for the specific group. In the case of an equal priority, the router with the highest IP address for the respective group is elected as active. Furthermore, if there are more than two routers in the group, the second highest IP address determines the standby router and the other router/routers are in the listen state.&lt;br /&gt;&lt;br /&gt;Note: If no priority is configured, it uses the default of 100.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. What are the limiting factors that determine how many standby groups can be assigned to a router?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. Ethernet: 256 per router. FDDI: 256 per router. Token Ring: 3 per router (uses reserved functional address).&lt;br /&gt;&lt;br /&gt;Note: 4x00 series and earlier do not have the hardware required to support more than one MAC address at a time on Ethernet interfaces. However, the Cisco 2600 and Cisco 3600 do support multiple MAC addresses on all Ethernet and Fast Ethernet interfaces.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Which HSRP router requires that I configure preempt?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. An HSRP-enabled router with preempt configured attempts to assume control as the active router when its Hot Standby priority is higher than the current active router. The standby preempt command is needed in situations when you want an occurring state change of a tracked interface to cause a standby router to take over from the active router. For example, an active router tracks another interface and decrements its priority when that interface goes down. The standby router priority is now higher and it sees the state change in the hello packet priority field. If preempt is not configured, it cannot take over and failover does not occur.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Based on the documentation, it looks like I can use HSRP to achieve load-balancing across two serial links. Is this true?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. Yes, refer to Load Sharing with HSRP for more information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Does HSRP support DDR, and if so, how will it know to dial?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. No, HSRP does not support Dial-on-Demand Routing (DDR) directly. However, you can configure it to track a serial interface and swap from the active to the standby router in case of a WAN link failure. The command used to track the state of an interface is standby track .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. I use HSRP and all hosts use the active router to forward traffic to the rest of my network. I have noticed that the return traffic comes back through the standby router. Will this cause problems with HSRP or my applications?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. No, normally this is transparent to all hosts and/or servers on the LAN and can be desirable if a router experiences high traffic. In order to change this, configure a more desirable cost for the link you want the distant router/routers to use.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. How does DECnet traffic fit into the HSRP scenario?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. DECnet and XNS are compatible with HSRP and multiple HSRP (MHSRP) over Ethernet, FDDI, and Token Ring on the Cisco 7000 and Cisco 7500 routers only. Refer to Using HSRP for Fault-Tolerant IP Routing for more information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Can a Cisco 2500 and Cisco 7500 router on the same LAN segment use HSRP, or do I have to replace one of the routers so the platforms are identical?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. You can mix the platforms with HSRP, but you are not able to support multiple HSRP (MHSRP) due to the hardware limitations of the lower-end platform.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. If I use a switch, what do I see on the CAM tables for the HSRP?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. The content-addressable memory (CAM) tables provide a map for the HSRP MAC address to the port on which the active router is located. In this way, you can determine what the switch perceives the HSRP status to be.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. What is the standby use-bia command and how does it work?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. By default, HSRP uses the preassigned HSRP virtual MAC address on Ethernet and FDDI, or the functional address on Token Ring. In order to configure HSRP to use the burnt-in address of the interface as its virtual MAC address, instead of the default, use the standby use-bia command.&lt;br /&gt;&lt;br /&gt;For example, on Token Ring, if Source Route Bridging is in use, a Routing Information Field (RIF) is stored with the virtual MAC address in the RIF cache of the host. The RIF indicates the path and final ring used to reach the MAC address. As routers transition to the active state, they send gratuitous Address Resolution Protocols (ARPs) in order to update the ARP table of the host. However, this does not affect the RIF cache of the hosts that are on the bridged ring. This situation can lead to packets being bridged to the ring for the previous active router. In order to avoid this situation, use the standby use-bia command. The router now uses its burnt-in MAC address as the virtual MAC address.&lt;br /&gt;&lt;br /&gt;Note: Using the standby use-bia command has these disadvantages:&lt;br /&gt;&lt;br /&gt;* When a router becomes active the virtual IP address is moved to a different MAC address. The newly active router sends a gratuitous ARP response, but not all host implementations handle the gratuitous ARP correctly.&lt;br /&gt;&lt;br /&gt;* Proxy ARP breaks when use-bia is configured. A standby router cannot cover for the lost proxy ARP database of the failed router.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Can I run NAT and HSRP together?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. You can configure network address translation (NAT) and HSRP on the same router. However, a router that runs NAT holds state information for traffic that is translated through it. If this is the active HSRP router and the HSRP standby takes over, the state information is lost.&lt;br /&gt;&lt;br /&gt;Note: Stateful NAT (SNAT) can make use of HSRP to fail over. Refer to NAT Stateful Failover of Network Address Translation for more information. Static NAT Mapping Support with HSRP for High Availability is another feature which makes NAT and HSRP interact. If static NAT is configured with the same IP on each router, the routers advertise each other with the MAC addresses, and the routers display the %IP-4-DUPADDR: Duplicate address [ip address] on [interface], sourced by [mac-address] error message. Refer to NAT—Static Mapping Support with HSRP for High Availability for more information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. What are the IP source address and destination address of HSRP hello packets?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. The destination address of HSRP hello packets is the all routers multicast address (224.0.0.2). The source address is the primary IP address of the router assigned to the interface.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Are HSRP messages TCP or UDP?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. UDP, since HSRP runs on UDP port 1985.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. HSRP does not work when an Access Control List (ACL) is applied. How can I permit HSRP through an ACL?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. HSRP hello packets are sent to multicast address 224.0.0.2 with UDP port 1985. Whenever an ACL is applied to an HSRP interface, ensure that packets destined to 224.0.0.2 on UDP port 1985 are permitted.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. How does TACACS/RADIUS accounting work with HA routers with HSRP?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. If routers are configured in HA mode (that run HSRP in-between them), then the active and standby routers act as one logical unit and share the same IP and MAC address. Only the active router generates the accounting record with a particular virtual IP address and updates the TACACS/RADIUS server. If the standby generates the accounting record with the same address, there is duplicate data in the backend RADIUS/TACACS server. Therefore, in order to avoid duplication of data, the standby router does not generate accounting records.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Are HSRP and VLAN translation supported together in a Cisco Catalyst 6500 series switch?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. VLAN translation and HSRP can be configured together in a Cisco Catalyst 6500 series switch, subject to the restrictions put in place by VLAN translation. Refer to VLAN Translation Guidelines and Restrictions for more information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Is it possible to use HSRP to track the tunnel interface?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. It is not possible to use the HSRP configuration to track the GRE tunnel interface. However, the tunnel interface never goes down and the track never triggers failover.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. How do I perform a forced failover of an HSRP active router without a shutdown on an interface?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. The only way to make a failover without an interface shut down is to manually change the priority in the HSRP configuration.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Is it possible to run HSRP on an interface configured for 802.1q trunking?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. Yes it is possible to run HSRP on the interfaces configured for 802.1q. Make sure to verify that both sides of the trunk are configured to use the same native VLAN and verify that VLANs are not pruned and in the STP state for router-connected ports.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Is it possible to run HSRP between two routers on two different interfaces?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. Yes, it is possible to run HSRP on two interfaces on two different routers. In order to have HSRP on two interfaces on two different routers, two HSRP groups are needed .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Is it possible to run HSRP and OSPF together on the backbone router?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. HSRP and OSPF are two different protocols. The OSPF that runs on the router advertises the two physical interfaces and not the virtual IP address. When this router becomes active, it broadcasts a gratuitous ARP packet with the HSRP virtual MAC address to the affected LAN segment. If the segment uses an Ethernet switch, this allows the switch to change the location of the virtual MAC address so that packets go to the new router instead of the one that is no longer active. End devices do not actually need this gratuitous ARP if the routers use the default HSRP MAC address.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. Which IP address must be seen when a reply is received for traceroute?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. When a reply for traceroute is received from a hop that runs HSRP, the reply must contain the active physical IP adddress and not the virtual ip address. If there is an asymmetric routing in the network due to which standby router IP address is seen in the reply for the traceroute.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Q. What is the difference between GLBP and HSRP?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A. GLBP provides load balancing over multiple routers (gateways) using a single virtual IP address and multiple virtual MAC addresses. Members of the GLBP group select one of them to become the active virtual gateway for the group.&lt;br /&gt;&lt;br /&gt;With HSRP in a single router (gateway), one interface is used as the active interface and the other interface is in standby. The active interface is used for all the traffic and the standby interface just waits for the active interface to fail without any traffic.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-5871686772502308497?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/5871686772502308497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=5871686772502308497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5871686772502308497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/5871686772502308497'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/cisco-hsrp-faq.html' title='Cisco HSRP FAQ'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-3879792044843981699</id><published>2008-09-27T03:39:00.000-07:00</published><updated>2008-09-27T03:42:27.687-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cisco HSRP'/><title type='text'>Cisco Hot Standby Router Protocol</title><content type='html'>&lt;h3 style="text-align: center;" class="r"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;span class="l"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;h3 style="text-align: center;" class="r"&gt;&lt;span style="font-size:100%;"&gt;&lt;span class="l"&gt;Step-by-Step With Cisco's Hot Standby Router Protocol&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;The Hot Swappable Router Protocol (HSRP) is a way to build redundancy into your network by allowing two or more routers to continuously test each other for connectivity, and take over if a router fails. For purposes of discussing a basic HSRP configuration, let's assume we want to make the 10.10.10./24 network dynamically redundant and have two building routers at our disposal.   &lt;/span&gt;&lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Using HSRP terminology, both building routers together are referred to as a standby group and appear to the subnet as a single default gateway. Through an election process, one router is designated as active and the other router is designated as standby. Both the active and standby router listen to routing updates from the core router, but only the active router processes IP packets as the default gateway for the subnet. The active and standby routers are constantly sending "hello" packets back and forth. If the active router fails, as soon as a predetermined number of "hello" packets from the standby router to the active router go unanswered, the standby router becomes the active router and starts processing IP packets for the subnet.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Both routers are configured with standard IP addresses on their interface into the subnet. Each router also has a special virtual IP address which is the same on both routers, configured via standby commands under the specific interfaces.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;&lt;b&gt;Configuring The Routers&lt;/b&gt;&lt;br /&gt;  Given a standard 24-bit subnet, we can build the following:   &lt;/span&gt;&lt;/p&gt;&lt;ul style="text-align: justify;"&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;&lt;li&gt;Network: 10.10.10.0 &lt;/li&gt;&lt;li&gt;Subnet Mask: 255.255.255.0 &lt;/li&gt;&lt;li&gt;Default Gateway: 10.10.10.251 &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;   &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Physical IP Address  &lt;/span&gt;&lt;/p&gt;&lt;ul style="text-align: justify;"&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;&lt;li&gt;Building Router A:      10.10.10.252 &lt;/li&gt;&lt;li&gt;Building Router B:      10.10.10.253 &lt;/li&gt;&lt;/span&gt;&lt;/ul&gt;&lt;div style="text-align: justify;"&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;The configuration commands are as follows:   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;building router a#&lt;br /&gt;interface fa0/2&lt;br /&gt;ip address 10.10.10.252 255.255.255.0&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt;  &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;This sets the IP address for the interface   &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;standby 100 timers 3 10&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;100 denotes the HSRP process number as "hot standby group 100". You can have multiple HSRP standby groups on the same interface. The timers command sets the interval to 3 seconds between HELLO messages, and waits 10 seconds before the other router is declared down. &lt;/span&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;standby 100 priority 200 preempt&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Defines the priority of this router. The highest priority number will win the election. "Preempt" allows the router to take over control even if there is not an election in process if it comes on line with the highest priority.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-size:100%;"&gt;standby 100 authentication fnord&lt;/span&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Optional - Authentication [word] creates an unencrypted authentication process for each HSRP packet.  &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;standby 100 ip 10.10.10.251&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Establishes 10.10.10.251 as the virtual interface. This IP address should be the same on both HSRP routers.  &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;standby 100 track fa0/0&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;The track command monitors a specific link on this router, and decrements its own priority if this interface goes down by 10, allowing another HSRP router to take over if the other router has "preempt" enabled. &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;building router b#&lt;br /&gt;interface fa0/3&lt;br /&gt;ip address 10.10.10.253:255.255.255.0&lt;br /&gt;standby 100 timers 3 10&lt;br /&gt;standby 100 priority 195 preempt&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;A priority number of 195 means this router will come up as secondary. If the active router loses its uplink (via the primary router's track command) then the primary router decrements to 190, causing this router to take over as active because of the preempt command. &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;standby 100 authentication fnord&lt;br /&gt;standby 100 ip 10.10.10.251&lt;br /&gt;standby 100 track fa0/1&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;&lt;b&gt;Monitoring Techniques and Commands&lt;/b&gt;&lt;br /&gt; With this configuration, you can program each client on that subnet to use 10.10.10.251 as the default gateway, and if one router fails the other router will answer and packets needing to be passed on. You can identify which router is currently active remotely by telnetting to the default gateway (10.10.10.251) - you will end up being logged into the active router. You can also telnet to the secondary router by using the interface IP address directly.   From the router, there are a series of commands which can give you information about the status of your HSRP pair.   &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Building_router_A# show standby&lt;br /&gt;Int fa0/2 - Group 100&lt;br /&gt;Local state is Active, priority 200, may preempt&lt;br /&gt;Hellotime 3 holdtime 10 configured hellotime 3 sec holdtime 10 sec&lt;br /&gt;Next hello sent in 00:00:01.782&lt;br /&gt;Hot standby IP address is 10.10.10.251 configured&lt;br /&gt;Active router is local&lt;br /&gt;Standby router is 10.10.10.253 expires in 00:00:07&lt;br /&gt;Standby virtual mac address is 0000.0c07.acce&lt;br /&gt;1 state changes, last state change 5w1d&lt;br /&gt;Tracking interface states for 1 interfaces, 1 up:&lt;br /&gt;Up   fa0/0 Priority decrement: 10&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;We see from the "show standby" command that this router is the active router, that the secondary router is 10.10.10.253 - and that we are tracking fa0/0 successfully.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;If you would like a more streamlined description:   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Building_router_A#sho standby brief  &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;pre&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;                     P indicates configured to preempt.&lt;br /&gt;                    |&lt;br /&gt;Interface   Grp Prio P State    Active addr     Standby addr    Group addr&lt;br /&gt;&lt;br /&gt;Fa0/2       100 200  P Active   local           10.10.10.253  10.10.10.251&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;  &lt;/div&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;For the adventuresome network administrator, you can fire up a LAN Analyzer and decode the HSRP HELLO packets as they transverse your network.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;&lt;b&gt;Troubleshooting Tips&lt;/b&gt; &lt;br /&gt;The number one problem with HSRP configuration is router communication. The two routers must be able to communicate to each other on the same subnet via their HSRP enabled interfaces. If your routers cannot ping each other successfully before you apply HSRP, then there will be no syncing between them. Make sure your VLANS are configured correctly on the switch level - and if you are using Cisco Catalyst 6500s with MSFCs for your routers, make sure you have the VLAN configurations set correctly on the switch-component as well.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;Make sure you use tracking commands for your uplinks to the next level of routers. If you do not and loose an uplink on the primary router, HSRP will not convert to the standby router.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;If you can ping the interface IP addresses but still are not getting HSRP communication, confirm whether or not you are using the "authentication" command and if so, that your authentication words match.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;You can run HSRP on any Cisco IOS Release 10.0 or later, but release 11.0(3)(1) provides improved support.   &lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt; &lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;&lt;b&gt;Wrapup&lt;/b&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="text-align: justify;"&gt;&lt;span style="font-family:Verdana, Arial, Helvetica;font-size:100%;"&gt;  HSRP is a great way to take two or more routers and add a dynamic fault tolerant  element to your network, removing a single point of failure for your subnets. You can also accomplish load balancing by having a router active for one subnet, and secondary for another subnet - the routers will handle default gateway requests for only the subnets they are active for, and will still handle fault tolerance for all subnets if one router fails.   &lt;/span&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-3879792044843981699?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/3879792044843981699/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=3879792044843981699' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3879792044843981699'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/3879792044843981699'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/cisco-hot-standby-router-protocol.html' title='Cisco Hot Standby Router Protocol'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-2569187933998254343</id><published>2008-09-27T03:15:00.000-07:00</published><updated>2008-09-27T03:16:34.431-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Virus Ports'/><title type='text'>Virus Ports</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;List of Virus Ports&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;IP access-list extended UDP-DENY-NEW&lt;/span&gt;&lt;br /&gt;&lt;br /&gt; Deny   TCP any any eq 1068&lt;br /&gt; Deny   TCP any any eq 5554&lt;br /&gt; Deny   TCP any any eq 9996&lt;br /&gt; Deny   TCP any any eq 445&lt;br /&gt; Deny   TCP any any eq 1024&lt;br /&gt; Deny   udp any any eq 1024&lt;br /&gt; Deny   TCP any any eq 1025&lt;br /&gt; Deny   udp any any eq 1025&lt;br /&gt; Deny   udp any any eq 135&lt;br /&gt; Deny   TCP any any eq 135&lt;br /&gt; Deny   udp any any eq netbios-ns&lt;br /&gt; Deny   TCP any any eq 137&lt;br /&gt; Deny   udp any any eq 445&lt;br /&gt; Deny   TCP any any eq 4444&lt;br /&gt; Deny   udp any any eq 1434&lt;br /&gt; Deny   TCP any any eq 139&lt;br /&gt; Deny   udp any any eq netbios-ss&lt;br /&gt; Deny   udp any any eq 995&lt;br /&gt; Deny   udp any any eq 996&lt;br /&gt; Deny   udp any any eq 997&lt;br /&gt; Deny   udp any any eq 998&lt;br /&gt; Deny   udp any any eq 999&lt;br /&gt; Deny   udp any any eq 8998&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3296988580828016965-2569187933998254343?l=networknowledge.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://networknowledge.blogspot.com/feeds/2569187933998254343/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3296988580828016965&amp;postID=2569187933998254343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2569187933998254343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3296988580828016965/posts/default/2569187933998254343'/><link rel='alternate' type='text/html' href='http://networknowledge.blogspot.com/2008/09/virus-ports.html' title='Virus Ports'/><author><name>V.S.S.N.SARMA</name><uri>http://www.blogger.com/profile/09065450344417052374</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3296988580828016965.post-2845230718812931008</id><published>2008-09-27T03:08:00.001-07:00</published><updated>2008-09-27T03:11:05.429-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Cisco Commands'/><title type='text'>Cisco Commands</title><content type='html'>&lt;div style="text-align: center;"&gt;&lt;big&gt;&lt;span style="font-weight: bold;"&gt;Cisco IOS Configuration Fundamentals Command Reference&lt;br /&gt;Basic System Management Commands&lt;/span&gt;&lt;/big&gt;&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;Basic system management tasks include naming the router, enabling basic services, and configuring the Network Time Protocol (NTP).&lt;br /&gt;&lt;br /&gt;&lt;big&gt;&lt;big style="color: rgb(204, 0, 0);"&gt;&lt;big&gt;absolute&lt;/big&gt;&lt;/big&gt;&lt;/big&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left: 40px;"&gt;To specify an absolute time when a time range is in effect, use the absolute time-range configuration command. To remove the time limitation, use the no form of this command.&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;absolute [start time date] [end time date]&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic; font-weight: bold;"&gt;no absolute&lt;/span&gt;&lt;br /&gt; &lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax Description&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt; &lt;div style="margin-left: 40px;"&gt;&lt;span style="font-style: italic;"&gt;start time date&lt;/span&gt;: (Optional) Absolute time and date that the associated permit or deny statement starts going into effect. The time is expressed in a 24-hour clock, in the form of hours:minutes. For example, 8:00 is 8:00 am and 20:00 is 8:00 pm. The date is expressed in the format day month year. The minimum start is 00:00 1 January 1993. If no start time and date are specified, the permit or deny statement is in effect immediately&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;end time date:&lt;/span&gt; (Optional) Absolute time and date that the associated permit or deny statement is no longer in effect. Same time and date format as described for the start. The end time and date must be after the start time and date. The maximum end time is 23:59 31 December 2035. If no end time and date are specified, the permit or deny statement is in effect indefinitely.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Defaults&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left: 40px;"&gt;There is no absolute time when the time range is in effect.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Command Modes&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left: 40px;"&gt;Time-range configuration&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Examples&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left: 40px;"&gt;The following example configures an access list named northeast, which references a time range named xyz. The access list and time range together permit traffic on Ethernet interface 0 starting at noon on January 1, 2001 and going forever.&lt;br /&gt;&lt;br /&gt;time-range xyz&lt;br /&gt;absolute start 12:00 1 January 2001&lt;br /&gt;!&lt;br /&gt;ip access-list extended northeast&lt;br /&gt;permit ip any any time-range xyz&lt;br /&gt;!&lt;br /&gt;interface ethernet 0&lt;br /&gt;ip access-group northeast in&lt;br /&gt;The following example permits UDP traffic until noon on December 31, 2000. After that time, UDP&lt;br /&gt;traffic is no longer allowed out Ethernet interface 0.&lt;br /&gt;time-range abc&lt;br /&gt;absolute end 12:00 31 December 2000&lt;br /&gt;!&lt;br /&gt;ip access-list extended northeast&lt;br /&gt;permit udp any any time-range abc&lt;br /&gt;!&lt;br /&gt;interface ethernet 0&lt;br /&gt;ip access-group northeast out&lt;br /&gt;The following example permits UDP traffic out Ethernet interface 0 on weekends only, from 8:00 a.m.&lt;br /&gt;on January 1, 1999 to 6:00 p.m. on December 31, 2001:&lt;br /&gt;time-range test&lt;br /&gt;absolute start 8:00 1 January 1999 end 18:00 31 December 2001&lt;br /&gt;periodic weekends 00:00 to 23:59&lt;br /&gt;!&lt;br /&gt;ip access-list extended northeast&lt;br /&gt;permit udp any any time-range test&lt;br /&gt;!&lt;br /&gt;interface ethernet 0&lt;br /&gt;ip access-group northeast out&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Related Commands&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left: 40px;"&gt;&lt;span style="font-weight: bold;"&gt;deny&lt;/span&gt; : Sets conditions under which a packet does not pass a named access list.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;periodic: &lt;/span&gt; Specifies a recurring (weekly) start and end time for a time-range.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;permit&lt;/span&gt;: Sets conditions under which a packet passes a named access list.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;time-range&lt;/span&gt;: Enables time-range configuration mode and names a time-range definition.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;big&gt;&lt;big style="color: rgb(204, 0, 0);"&gt;&lt;big&gt;alias&lt;/big&gt;&lt;/big&gt;&lt;/big&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left: 40px;"&gt;To create a command alias, use the alias global configuration command. Use the no form of this command to delete all aliases in a command mode or to delete a specific alias, and to revert to the original command syntax.&lt;br /&gt;&lt;span style="font-style: italic; font-weight: bold;"&gt;alias mode alias-name alias-command-line&lt;/span&gt;&lt;br /&gt; &lt;span style="font-style: italic; font-weight: bold;"&gt;no alias mode [alias-name]&lt;/span&gt;&lt;br /&gt; &lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Syntax Description&lt;br /&gt;&lt;br /&gt;&lt;/span&gt; &lt;div style="margin-left: 40px;"&gt;&lt;span style="font-weight: bold;"&gt;mode&lt;/span&gt; Command mode of the original and alias commands.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;alias-name&lt;/span&gt; Command alias.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;alias-command-line&lt;/span&gt; Original command syntax.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Defaults&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="margin-left: 40px;"&gt;Default aliases are in EXEC mode as follows:&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt; &lt;table style="width: 275px; text-align: left; margin-left: 0px; margin-right: 0px;" border="1" cellpadding="2" cellspacing="2"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;Command Alias&lt;/td&gt; &lt;td style="width: 126px;"&gt;Original Command&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;h&lt;/td&gt; &lt;td style="width: 126px;"&gt;help&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;lo&lt;/td&gt; &lt;td style="width: 126px;"&gt;ping&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;r&lt;/td&gt; &lt;td style="width: 126px;"&gt;resume&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;s&lt;/td&gt; &lt;td style="width: 126px;"&gt;show&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;w&lt;/td&gt; &lt;td style="width: 126px;"&gt;where&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;div style="text-align: justify;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt; &lt;table style="width: 381px; text-align: left; margin-left: 0px; margin-right: 0px;" border="1" cellpadding="2" cellspacing="2"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;Argument options&lt;/td&gt; &lt;td style="width: 234px;"&gt;mode&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;configuration&lt;/td&gt; &lt;td style="width: 234px;"&gt;Global configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;controller&lt;/td&gt; &lt;td style="width: 234px;"&gt;Controller configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;exec&lt;/td&gt; &lt;td style="width: 234px;"&gt;EXEC&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;hub&lt;/td&gt; &lt;td style="width: 234px;"&gt;Hub configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;interface&lt;/td&gt; &lt;td style="width: 234px;"&gt;Interface configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;ipx-router&lt;/td&gt; &lt;td style="width: 234px;"&gt;IPX router configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;line&lt;/td&gt; &lt;td style="width: 234px;"&gt;Line configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;map-class&lt;/td&gt; &lt;td style="width: 234px;"&gt;Map class configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td style="width: 129px;"&gt;map-list&lt;/td&gt; &lt;td style="width: 234px;"&gt;Map list configuration&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &l
