Глава №2. Резюме — различия между версиями
Перейти к навигации
Перейти к поиску
imported>Artem |
imported>Artem |
||
| Строка 36: | Строка 36: | ||
*EIGRP поверх Frame Relay: | *EIGRP поверх Frame Relay: | ||
**Обзор Frame Relay, в котором каналы PVC конфигурируются провайдером (SP) и идентифицируются виртуальные каналы используя DLCI, являющиеся локально значимыми (local significant) между локальным маршрутизатором и коммутатором FR. | **Обзор Frame Relay, в котором каналы PVC конфигурируются провайдером (SP) и идентифицируются виртуальные каналы используя DLCI, являющиеся локально значимыми (local significant) между локальным маршрутизатором и коммутатором FR. | ||
| − | + | **В схеме "EIGRP поверх физического интерфейса" по умолчанию используется Inverse ARP dynamic mapping | |
| − | **EIGRP | + | **В схеме "EIGRP over the physical interface" для настройки статического маппинга используйте команду интерфейса '''frame-relay map''' <''protocol''> <''protocol-address''> <''dlci''> [broadcast] [ietf | cisco] [payload-compress {packet-by-packet | frf9 stac}] |
| − | **EIGRP over the physical interface | + | **Подынтерфейсы настраиваются командой '''interface''' ''serial number.subinterface-number'' {''point-to-point | multipoint''} |
| − | ** | + | ** |
**Frame Relay multipoint subinterfaces, on which the IP address-to-DLCI mapping is done by either specifying the local DLCI value (using the frame-relay interface-dlci dlci command) and relying on Inverse ARP, or using manual IP address-to-DLCI mapping. | **Frame Relay multipoint subinterfaces, on which the IP address-to-DLCI mapping is done by either specifying the local DLCI value (using the frame-relay interface-dlci dlci command) and relying on Inverse ARP, or using manual IP address-to-DLCI mapping. | ||
**Frame Relay point-to-point subinterfaces, on which the IP address-to-DLCI mapping is done by specifying the local DLCI value. | **Frame Relay point-to-point subinterfaces, on which the IP address-to-DLCI mapping is done by specifying the local DLCI value. | ||
| Строка 82: | Строка 82: | ||
**Using both EIGRP route summarization and EIGRP stub features is recommended, to provide the best scalability. | **Using both EIGRP route summarization and EIGRP stub features is recommended, to provide the best scalability. | ||
| − | *Graceful shutdown, когда процесс EIGRP завершается, маршрутизатор отправляет широковещательное goodbye сообщение (в hello-пакетах. В таком пакете все K-коэффициенты выставляются равными 255). Это позволяет соседям маршрутизатора сразу обнаружить то, что маршрутизатор и, соответственно, маршруты доступные через него, более недоступны. | + | *'''Graceful shutdown''', когда процесс EIGRP завершается, маршрутизатор отправляет широковещательное goodbye сообщение (в hello-пакетах. В таком пакете все K-коэффициенты выставляются равными 255). Это позволяет соседям маршрутизатора сразу обнаружить то, что маршрутизатор и, соответственно, маршруты доступные через него, более недоступны. |
Версия 09:48, 20 февраля 2012
Из этой главы вы узнаете об EIGRP - расширенном дистанционно векторном протоколе маршрутизации. Данная глава сфокусирована на следующих темах:
- Функции EIGRP, включая быструю сходимость, использование частичных обновлений, поддержка нескольких протоколов сетевого уровня, поддержка VLSM, бесшовное соединение для всех протоколов канального уровня и топологии (seamless connectivity across all data link layer protocols and topologies), сложная метрика.
- Лежащие в основе EIGRP процессы и технологии - механизм обнаружения и recoverу соседей, RTP, конечный автомат DUAL и протокол-зависимые модули (PDM).
- Таблицы EIGRP - таблица соседей (содержит все маршрутизаторы, с которыми есть отношения), топологическая таблица (содержит все маршруты ото всех соседей), и таблица маршрутизации (содержит лучшие маршруты к каждому destination и используется дл яперенаправления пакетов).
- Терминология EIGRP:
- Анонсируемое расстояние (метрика для соседнего маршрутизатора EIGRP к подесети, анонсируемая
- The advertised distance (стоимость расстояния между соседним маршрутизатором, который анонсирует маршрут и сетью назначения), feasible distance (стоимость расстояния от локального маршрутизатора до сети назначения = AD, которое анонсирует соседний маршрутизатор + стоимость расстояния между локальным маршрутизатором и соседним маршрутизатором), successor (соседний маршрутизатор с путем без петель и с наименьшей стоимостью пути к сети назначения, владеющий наименьшим FD), feasible successor (резервный маршрутизатор с путем без петель (AD feasible successor должно быть меньше чем FD текущего маршрута successor).
- Passive, когда маршрутизатор не выполняет пересчет маршрута, стабильное состояние, и в состоянии active — если выполняется пересчет маршрута.
- Пять типов пакетов EIGRP: hello, update, query, reply и acknowledgement. Update-, query-, и reply-пакеты рассылаются надёжным способом.
- Процесс поиска маршрутов начинается с отправки hello-пакетов. Соседние маршрутизаторы отвечают update-пакетами, которые содержат информацию для заполнения топологической таблицы маршрутизатора. Маршрутизатор выбирает successor маршруты и вносит их в таблицу маршрутизации (offers them to the routing table).
- Процесс DUAL также ищет FS (резервные) маршруты. Чтобы маршрут был выбран в качестве FS для выбранной подсети, next-hop маршрутизатор должен иметь AD < FD текущего successor маршрута для этой подсети, чтобы гарантировать, что петель нет.
- По умолчанию в расчётах метрики используется параметр bandwidth (наименьшая полоса пропускания между source и destination) и задержка (delay) (коммулятивная задержка на интерфейсах вдоль пути).
- При планировании внедрения EIGRP необходимо обределиться с ip адресацией, сетевой топологией и EIGRP traffic engineering (управлением трафика
- Команды для базовой настройки EIGRP
- router eigrp <autonomous-system-number>
- network <network-number> [wildcard-mask] interface configuration command
- bandwidth <килобиты> interface configuration command
- Команды для проверки работы протокола EIGRP
- show ip eigrp neighbors
- show ip route
- show ip route eigrp
- show ip protocols
- show ip eigrp interfaces
- show ip eigrp topology
- show ip eigrp traffic
- debug eigrp packets
- debug ip eigrp
- debug ip eigrp summary
- debug eigrp neighbors
- Команда passive-interface <type number [default]> используется для блокирования на определённом интерфейсе исходящих (и входящих) обновлений маршрутизации. При использовании команды, сообщения hello не рассылаются через указанный в параметрах команды интерфейс. Одноко, маршрутизатор будет продолжать анонсировать сеть (интерфейса, для которого указана команда passive-interface) своим соседям.
- Статический маршрут по умолчанию ip route 0.0.0.0 0.0.0.0 next-hop | interface. Кроме того, любая классовая сеть, запись о которой есть в локальной таблице маршрутизации, может стать маршрутом по умолчанию, если в качестве параметра указать в команде ip default-network <network-numberglobal>.
- Суммирование в EGRP: EIGRP автоматически по умолчанию суммирует маршруты на границе сети, использующей адреса классов (в некоторых версиях IOS). Для отключения автосуммирования, исп. команду конфигурации no auto-summary. Используйте команду на интерфейсе ip summary-address eigrp <as-number> <address> <mask> [admin-distance] для создания суммарного маршрута на произвольной битовой границе (at an arbitrary bit boundary), если в таблице маршрутизации существует более специфичный маршрут.
- EIGRP поверх Frame Relay:
- Обзор Frame Relay, в котором каналы PVC конфигурируются провайдером (SP) и идентифицируются виртуальные каналы используя DLCI, являющиеся локально значимыми (local significant) между локальным маршрутизатором и коммутатором FR.
- В схеме "EIGRP поверх физического интерфейса" по умолчанию используется Inverse ARP dynamic mapping
- В схеме "EIGRP over the physical interface" для настройки статического маппинга используйте команду интерфейса frame-relay map <protocol> <protocol-address> <dlci> [broadcast] [ietf | cisco] [payload-compress {packet-by-packet | frf9 stac}]
- Подынтерфейсы настраиваются командой interface serial number.subinterface-number {point-to-point | multipoint}
- Frame Relay multipoint subinterfaces, on which the IP address-to-DLCI mapping is done by either specifying the local DLCI value (using the frame-relay interface-dlci dlci command) and relying on Inverse ARP, or using manual IP address-to-DLCI mapping.
- Frame Relay point-to-point subinterfaces, on which the IP address-to-DLCI mapping is done by specifying the local DLCI value.
- Split horizon, which is disabled by default on most interfaces. Split horizon is enabled by default on Frame Relay multipoint interfaces. It can be disabled with the no ip split-horizon eigrp as-number command.
- The neighbor {ip-address | ipv6-address} interface-type interface-number router configuration command, used to define a neighboring EIGRP router. Instead of using multicast packets, EIGRP exchanges routing information with the specified neighbor using unicast packets.
- EIGRP over MPLS, including
- MPLS, which uses labels assigned to each packet at the edge of the network; MPLS nodes use the label to determine where to send the packet.
- A Layer 2 MPLS VPN, which provides a Layer 2 service across the backbone, where customer routers are connected together on the same IP subnet. A type of AToM, called EoMPLS may be used. Customer routers may also be connected to MPLS edge routers via VLAN subinterfaces; different subinterfaces in the PE routers are used to connect to different VLANs.
- A Layer 3 MPLS VPN, which provides a Layer 3 service across the backbone, where customer routers are connected to ISP edge routers, and on each side, a separate IP subnet is used. The CE routers see the PE routers as another customer router in the path. PE routers maintain separate routing tables for each customer.
- EIGRP load-balancing, including
- EIGRP equal-cost load balancing that distributes traffic over all interfaces with the same metric for the destination address.
- The maximum-paths maximum-path router configuration command, to specify up to 16 equally good routes be kept in the routing table. Set maximum-path to 1 to disable load
balancing.
- EIGRP unequal-cost load balancing, across routes with different metrics, using the variance multiplier router configuration command and the traffic-share [balanced | min across-interfaces] router configuration command.
- EIGRP operation in WAN environments
- By default, EIGRP uses up to 50 percent of the bandwidth declared on an interface or subinterface. EIGRP uses the bandwidth of the link set by the bandwidth command, or the link’s default bandwidth if none is configured, when calculating how much bandwidth to use. Theip bandwidth-percent eigrp as-number percent interface configuration command changes the percentage.
- Configuring multipoint interfaces: Configure the bandwidth to represent the minimum CIR times the number of circuits. For a small number of very low-speed circuits, define the interfaces as point-to-point so that their bandwidth can be set to match the provisioned CIR.
- Команды для настройки, проверки и решения возможных проблем MD5 аутентификации в EIGRP:
- ip authentication mode eigrp <autonomous-system> md5 interface configuration command
- key chain <name-of-chain> global configuration command
- key <key-id> key-chain configuration command
- key-string <key> key-chain-key configuration command
- accept-lifetime start-time {infinite | end-time | duration seconds} key-chain-key configuration command
- send-lifetime start-time {infinite | end-time | duration seconds} key-chain-key configuration command
- ip authentication key-chain eigrp <AS> <имя_цепочки> interface configuration command
- show ip eigrp neighbors
- show ip route
- show key chain
- debug eigrp packets
- EIGRP scalability factors, including the amount of information exchanged, the number of routers, the depth of the topology, and the number of alternative paths through the network.
- The SIA state: If an EIGRP router does not receive a reply to all the outstanding queries within 3 minutes (the default time) it goes into SIA state, and the router resets the neighbor relationships for the neighbors that failed to reply. Reasons for going into SIA include: router is too busy, the link between the routers is not good, or the link has a unidirectional failure.
- The Active Process Enhancement feature that adds SIA-Query and SIA-Reply to ensure that only appropriate neighbor relationships are reset.
- Limiting the query range to help reduce SIAs, which can be accomplished by
- Only announcing default routes to remote routers, which are configured to announce only their directly connected networks.
- Configuring route summarization using the ip summary-address eigrp command on the outbound interfaces of the appropriate routers
- Route and interface packet filtering.
- Configuring the remote routers as stub EIGRP routers so that they will not be queried, using the eigrp stub [receive-only | connected |static | summary | redistributed] router configuration command.
- Using both EIGRP route summarization and EIGRP stub features is recommended, to provide the best scalability.
- Graceful shutdown, когда процесс EIGRP завершается, маршрутизатор отправляет широковещательное goodbye сообщение (в hello-пакетах. В таком пакете все K-коэффициенты выставляются равными 255). Это позволяет соседям маршрутизатора сразу обнаружить то, что маршрутизатор и, соответственно, маршруты доступные через него, более недоступны.