Кіріспе
3-қабатты коммутациялау технологиясы
Cisco Express Forwarding (CEF) – негізінен ірі магистральдық желілерде немесе Интернетте жалпы желілік өнімділікті жақсарту үшін қолданылатын, 3-қабатты коммутациялау технологиясы. CEF – Cisco компаниясының эксклюзивті протоколы болғанымен, көп қабатты коммутаторлардың немесе жоғары сыйымды маршрутизаторлардың басқа өндірушілері де ұқсас мүмкіндіктерді ұсынады, онда 3-қабатты коммутациялау немесе маршрутизациялау бағдарламалық жасақтама мен (орталық) процессордың орнына аппараттық құралдарда (ASIC-те) жүзеге асырылады.
Cisco Express Forwarding (CEF) is an advanced layer 3 switching technology used mainly in large core networks or the Internet to enhance the overall network performance. Although CEF is a Cisco proprietary protocol other vendors of multi layer switches or high capacity routers offer a similar functionality where layer 3 switching or routing is done in hardware (in an ASIC) instead of by software and the (central) CPU.
Функция
CEF негізінен басқа маршруттау әдістерінің тудыратын қосымша шығындары мен кешігуді азайту арқылы пакеттік коммутация жылдамдығын арттыру үшін қолданылады. CEF екі негізгі компоненттен тұрады: Форвардтау ақпараттық базасы (FIB) және іргелес байланыстар. FIB бірнеше маршруттау протоколдарымен жасалған маршруттау кестесіне ұқсас, бірақ тек белгілі бір IP маршруты үшін келесі секіру мекенжайын сақтайды. Іргелес байланыстар кестесі 2-ші қабаттағы немесе коммутациялық ақпаратты FIB-тің нақты жазбасына байланысты сақтайды, бұл әрбір кестелік іздеу үшін Адрес шешу протоколына (ARP) сұрау салу қажеттілігін жояды. Іргелес байланыстардың бірнеше түрі бар. Олардың кейбіреулері төменде көрсетілген:
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
Кэштік іргелес байланыс: Бұл жазба түрінде дұрыс шығыс интерфейсі және FIB жазбасы үшін дұрыс MAC мекенжайы болады. Егер мақсаттағы желі маршрутизатормен тікелей байланысты болса, MAC мекенжайы IP мекенжайының MAC мекенжайы болады, ал егер мақсаттағы желі қазіргі пакетті өңдейтін маршрутизатормен тікелей байланысты болмаса, пакет жіберуге тиіс маршрутизатордың MAC мекенжайы болады.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
Қабылдау іргелес байланысы: Бұл түрінің жазбалары соңғы бағыты маршрутизатордың өзі болатын пакеттерді өңдейді. Бұған маршрутизатордың өзіне тағайындалған IP мекенжайлары бар пакеттер, маршрутизаторды мақсаттардың бірі ретінде орнатқан трансляциялық пакеттер және маршрутизаторды бір мақсат ретінде орнатқан көптеп тарату пакеттері кіреді.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
Null іргелес байланысы: NULL интерфейсіне бағытталған пакеттерді өңдейді. FIB жазбалары NULL іргелес байланысына сілтеме жасайтын пакеттер әдетте жойылады.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
Punt іргелес байланысы: CEF арқылы коммутацияланбайтын немесе арнайы өңдеуді қажет ететін пакеттермен айналысады. Мұндай пакеттер келесі коммутациялық қабатқа (әдетте жылдам коммутациялау) жіберіледі, онда олар өңделіп, дұрыс бағытталатыны үміті бар.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
Glean іргелес байланысы: Бұл іргелес байланыс маршрутизатор мақсаттағы IP-нің желісі тікелей маршрутизатордың өзіне қосылғанын білгенде және осы мақсатты құрылғының MAC мекенжайын білмесе немесе маршрутизатор мақсатқа пакетті жіберуге тиіс маршрутизатордың IP мекенжайын білгенде, бірақ осы маршрутизатордың MAC мекенжайын білмесе жасалады. Бұл жазбаны іске қосқан пакеттер ARP сұрауын тудырады.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
Жою іргелес байланысы: Осы типтегі іргелес байланысқа сілтеме жасайтын FIB жазбалары жойылады.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
Төмендету іргелес байланысы: Осы жазбаға сілтеме жасайтын пакеттер төмендетіледі, бірақ префикс тексеріледі.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.
CEF-тің барлық мүмкіндіктерін пайдалану үшін әрбір желілік картада FIB кестесі бар таратылған CEF-ті пайдалану ұсынылады. Бұл келесі секіру туралы ақпаратты алу үшін негізгі процессорға немесе маршруттау кестесіне сұрау салу қажеттілігін жояды. Оның орнына, жылдам коммутациялау желілік картаның өзінде орындалады. Қазіргі уақытта CEF Ethernet, Frame Relay, ATM, PPP, FDDI, туннельдер және Cisco HDLC-ні қолдайды.
Cache adjacency: This type of entry contains the correct outbound interface and the correct MAC address for its FIB entry. The MAC address is the IP address's MAC address if the destination's subnet is directly connected to the router, or is the MAC address of the router that the packet needs to be sent to if the destination's subnet is not directly connected to the router currently processing the packet. Receive adjacency: This type of entry handles packets whose final destinations include the router itself. This includes packets whose IP addresses are assigned to the router itself, broadcast packets, and multicasts that have set up the router itself as one of the destinations. Null adjacency: Handles packets destined to a NULL interface. Packets with FIB entries pointing to NULL adjacencies will normally be dropped. Punt adjacency: Deals with packets that require special handling or that cannot be switched by CEF. Such packets are forwarded to the next switching layer (generally fast switching) where they can be processed and hopefully forwarded correctly. Glean adjacency: This adjacency is created when the router knows that either the destination IP's subnet is directly connected to the router itself and it does not know that destination device's MAC address, or the router knows the IP address of the router to forward a packet to for a destination, but it does not know that router's MAC address. Packets that trigger this entry will generate an ARP request. Discard adjacency: FIB entries pointing to this type of adjacency will be discarded. Drop adjacency: Packets pointing to this entry are dropped, but the prefix will be checked. In order to take full advantage of CEF, it is recommended to use distributed CEF , where there is a FIB table on each of the line cards. This avoids the need for querying the main processor or routing table in order to get the next hop information. Instead, fast switching will be performed on the line card itself. CEF currently supports Ethernet, Frame Relay, ATM, PPP, FDDI, tunnels, and Cisco HDLC.