EIGRP命令汇总

How to Configure EIGRP

文章目录

Enabling EIGRP Autonomous System Configuration

Perform this task to enable EIGRP and create an EIGRP routing process. EIGRP sends updates to interfaces in specified networks. If you do not specify the network of an interface, the interface will not be advertised in any EIGRP update.

Configuring the router eigrp autonomous-system-number command creates an EIGRP autonomous system configuration that creates an EIGRP routing instance, which can be used for tagging routing information.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp autonomous-system-number

  4. 4. network network-number

  5. 5. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp autonomous-system-number Example:Device(config)# router eigrp 1Configures an EIGRP routing process and enters router configuration mode.A maximum of 30 EIGRP routing processes can be configured.
Step 4network network-number Example:Device(config-router)# network 172.16.0.0 Associates a network with an EIGRP routing process.
Step 5end Example:Device(config-router)# endExits router configuration mode and returns to privileged EXEC mode.

Enabling the EIGRP Named Configuration

Perform this task to enable EIGRP and to create an EIGRP routing process. EIGRP sends updates to interfaces in specified networks. If you do not specify the network of an interface, the interface will not be advertised in any EIGRP update.

Configuring the router eigrp virtual-instance-name command creates an EIGRP named configuration. The EIGRP named configuration does not create an EIGRP routing instance by itself. The EIGRP named configuration is the base configuration, which is required to define address family configurations used for routing.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp virtual-instance-name

  4. 4. Enter one of the following:

    • address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
    • address-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
  5. 5. network ip-address [wildcard-mask]

  6. 6. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp virtual-instance-name Example:Device(config)# router eigrp virtual-name1Configures the EIGRP routing process and enters router configuration mode.
Step 4Enter one of the following:address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-numberaddress-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number Example:Device(config-router)# address-family ipv4 autonomous-system 45000``Device(config-router)# address-family ipv6 autonomous-system 45000Enters address family configuration mode to configure an EIGRP IPv4 or IPv6 routing instance.
Step 5network ip-address [wildcard-mask] Example:Device(config-router-af)# network 172.16.0.0Specifies a network for the EIGRP routing process.
Step 6end Example:Device(config-router-af)# endExits address family configuration mode and returns to privileged EXEC mode.

Configuring Optional EIGRP Parameters in an Autonomous System Configuration

Perform this task to configure optional EIGRP parameters, which include applying offsets to routing metrics, adjusting EIGRP metrics, and disabling automatic summarization in an EIGRP autonomous system configuration.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp autonomous-system

  4. 4. network ip-address [wildcard-mask]

  5. 5. passive-interface [default] [interface-type interface-number]

  6. 6. offset-list [access-list-number | access-list-name] {in | out} offset [interface-type interface-number]

  7. 7. metric weights tos k1 k2 k3 k4 k5

  8. 8. no auto-summary

  9. 9. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp autonomous-system Example:Device(config)# router eigrp 1Enables an EIGRP routing process and enters router configuration mode.A maximum of 30 EIGRP routing processes can be configured.
Step 4network ip-address [wildcard-mask] Example:Device(config-router)# network 172.16.0.0 Associates networks with an EIGRP routing process.
Step 5passive-interface [default] [interface-type interface-number] Example:Device(config-router)# passive-interface(Optional) Suppresses EIGRP hello packets and routing updates on interfaces while still including the interface addresses in the topology database.
Step 6offset-list [access-list-number | access-list-name] {in | out} offset [interface-type interface-number] Example:Device(config-router)# offset-list 21 in 10 gigabitethernet 0/0/1 (Optional) Applies an offset to routing metrics.
Step 7metric weights tos k1 k2 k3 k4 k5 Example:Device(config-router)# metric weights 0 2 0 2 0 0(Optional) Adjusts the EIGRP metric or K value.EIGRP uses the following formula to determine the total metric to the network:EIGRP Metric = 256*((K1Bw) + (K2Bw)/(256-Load) + (K3Delay)(K5/(Reliability + K4)))Note If K5 is 0, then (K5/ (Reliability + K4)) is defined as 1.
Step 8no auto-summary Example:Device(config-router)# no auto-summary(Optional) Disables automatic summarization.Note Automatic summarization is enabled by default.
Step 9end Example:Device(config-router)# endExits router configuration mode and returns to privileged EXEC mode.

Configuring Optional EIGRP Parameters in a Named Configuration

Perform this task to configure optional EIGRP named configuration parameters, which includes applying offsets to routing metrics, adjusting EIGRP metrics, setting the RIB-scaling factor, and disabling automatic summarization.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp virtual-instance-name

  4. 4. Enter one of the following:

    • address-family ipv4 [unicast] [vrf vrf-name] [multicast] autonomous-system autonomous-system-number
    • address-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
  5. 5. network ip-address [wildcard-mask]

  6. 6. metric weights tos k1 k2 k3 k4 k5 k6

  7. 7. af-interface interface-type interface-number}

  8. 8. passive-interface

  9. 9. bandwidth-percent maximum-bandwidth-percentage

  10. 10. exit-af-interface

  11. 11. topology {base | topology-name tid number}

  12. 12. offset-list [access-list-number | access-list-name] {in | out} offset [interface-type interface-number]

  13. 13. no auto-summary

  14. 14. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp virtual-instance-name Example:Device(config)# router eigrp virtual-name1Enables an EIGRP routing process and enters router configuration mode.
Step 4Enter one of the following:address-family ipv4 [unicast] [vrf vrf-name] [multicast] autonomous-system autonomous-system-numberaddress-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number Example:Device(config-router)# address-family ipv4 autonomous-system 45000``Device(config-router)# address-family ipv6 autonomous-system 45000Enters address family configuration mode to configure an EIGRP IPv4 or IPv6 routing instance.
Step 5network ip-address [wildcard-mask] Example:Device(config-router-af)# network 172.16.0.0Specifies a network for the EIGRP routing process.
Step 6metric weights tos k1 k2 k3 k4 k5 k6 Example:Device(config-router-af)# metric weights 0 2 0 2 0 0 0(Optional) Adjusts the EIGRP metric or K value.EIGRP uses the following formula to determine the total 32-bit metric to the network: EIGRP Metric = 256*((K1Bw) + (K2Bw)/(256-Load) + (K3Delay)(K5/(Reliability + K4)))EIGRP uses the following formula to determine the total 64-bit metric to the network: EIGRP Metric = 256*((K1Throughput) + (K2Throughput)/(256-Load) + (K3Latency)+ (K6Extended Attributes))*(K5/(Reliability + K4)))Note If K5 is 0, then (K5/ (Reliability + K4)) is defined as 1.
Step 7af-interface interface-type interface-number} Example:Device(config-router-af)# af-interface gigabitethernet 0/0/1Enters address family interface configuration mode and configures interface-specific EIGRP commands.
Step 8passive-interface Example:Device(config-router-af-interface)# passive-interfaceSuppresses EIGRP hello packets and routing updates on interfaces while still including the interface addresses in the topology database.
Step 9bandwidth-percent maximum-bandwidth-percentage Example:Device(config-router-af-interface)# bandwidth-percent 75Configures the percentage of bandwidth that may be used by an EIGRP address family on an interface.
Step 10exit-af-interface Example:Device(config-router-af-interface)# exit-af-interfaceExits address family interface configuration mode.
Step 11topology {base | topology-name tid number} Example:Device(config-router-af)# topology baseConfigures an EIGRP process to route IP traffic under the specified topology instance and enters address family topology configuration mode.
Step 12offset-list [access-list-number | access-list-name] {in | out} offset [interface-type interface-number] Example:Device(config-router-af-topology)# offset-list 21 in 10 gigabitethernet 6/2(Optional) Applies an offset to routing metrics.
Step 13no auto-summary Example:Device(config-router-af-topology)# no auto-summary(Optional) Disables automatic summarization.Note Automatic summarization is enabled by default.
Step 14end Example:Device(config-router-af-topology)# endReturns to privileged EXEC mode.

Configuring the EIGRP Redistribution Autonomous System Configuration

Perform this task to configure redistribution of non-EIGRP protocol metrics into EIGRP metrics and to configure the EIGRP administrative distance in an EIGRP autonomous system configuration.

You must use a default metric to redistribute a protocol into EIGRP, unless you use the redistribute command.

imgNoteMetric defaults have been carefully set to work for a wide variety of networks. Take great care when changing these values.

Default metrics are supported only when you are redistributing from EIGRP or static routes.

An administrative distance is a rating of the trustworthiness of a routing information source, such as an individual router or a group of routers. Numerically, an administrative distance is an integer from 0 to 255. In general, the higher the value the lower the trust rating. An administrative distance of 255 means the routing information source cannot be trusted at all and should be ignored.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp autonomous-system

  4. 4. network ip-address [wildcard-mask]

  5. 5. redistribute protocol

  6. 6. distance eigrp internal-distance external-distance

  7. 7. default-metric bandwidth delay reliability loading mtu

  8. 8. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp autonomous-system Example:Device(config)# router eigrp 1Enables an EIGRP routing process and enters router configuration mode.A maximum of 30 EIGRP routing processes can be configured.
Step 4network ip-address [wildcard-mask] Example:Device(config-router)# network 172.16.0.0 Associates networks with an EIGRP routing process.
Step 5redistribute protocol Example:Device(config-router)# redistribute rip Redistributes routes from one routing domain into another routing domain.
Step 6distance eigrp internal-distance external-distance Example:Device(config-router)# distance eigrp 80 130Allows the use of two administrative distances—internal and external.
Step 7default-metric bandwidth delay reliability loading mtu Example:Device(config-router)# default-metric 1000 100 250 100 1500Sets metrics for EIGRP.
Step 8end Example:Device(config-router)# endExits router configuration mode and returns to privileged EXEC mode.

Configuring the EIGRP Route Summarization Autonomous System Configuration

Perform this task to configure EIGRP to perform automatic summarization of subnet routes into network-level routes in an EIGRP autonomous system configuration.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp autonomous-system

  4. 4. no auto-summary

  5. 5. exit

  6. 6. interface type number

  7. 7. no switchport

  8. 8. bandwidth kpbs

  9. 9. ip summary-address eigrp as-number ip-address mask [admin-distance] [leak-map name]

  10. 10. ip bandwidth-percent eigrp as-number percent

  11. 11. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp autonomous-system Example:Device(config)# router eigrp 101Enables an EIGRP routing process and enters router configuration mode.A maximum of 30 EIGRP routing processes can be configured.
Step 4no auto-summary Example:Device(config-router)# no auto-summary Disables automatic summarization of subnet routes into network-level routes
Step 5exit Example:Device(config-router)# exitExits router configuration mode.
Step 6interface type number Example:Device(config)# interface Gigabitethernet 1/0/3Enters interface configuration mode.
Step 7no switchport Example:Device(config-if)# no switchport Puts an interface into Layer 3 mode
Step 8bandwidth kpbs Example:bandwidth 56Sets the inherited and received bandwidth values for an interface
Step 9ip summary-address eigrp as-number ip-address mask [admin-distance] [leak-map name] Example:Device(config-if)# ip summary-address eigrp 100 10.0.0.0 0.0.0.0(Optional) Configures a summary aggregate address.
Step 10ip bandwidth-percent eigrp as-number percent Example:Device(config-if)# ip bandwidth-percent eigrp 209 75(Optional) Configures the percentage of bandwidth that may be used by EIGRP on an interface.
Step 11end Example:Device(config-if)# endExits interface configuration mode and returns to privileged EXEC mode.

Configuring the EIGRP Route Summarization Named Configuration

Perform this task to configure EIGRP to perform automatic summarization of subnet routes into network-level routes in an EIGRP named configuration.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp virtual-instance-name

  4. 4. Enter one of the following:

    • address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
    • address-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
  5. 5. af-interface {default | interface-type interface-number}

  6. 6. summary-address ip-address mask [administrative-distance [leak-map leak-map-name]]

  7. 7. exit-af-interface

  8. 8. topology {base | topology-name tid number}

  9. 9. summary-metric network-address subnet-mask bandwidth delay reliability load mtu

  10. 10. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp virtual-instance-name Example:Device(config)# router eigrp virtual-name1Enables an EIGRP routing process and enters router configuration mode.
Step 4Enter one of the following:address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-numberaddress-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number Example:Device(config-router)# address-family ipv4 autonomous-system 45000``Device(config-router)# address-family ipv6 autonomous-system 45000Enters address family configuration mode to configure an EIGRP IPv4 or IPv6 routing instance.
Step 5af-interface {default | interface-type interface-number} Example:Device(config-router-af)# af-interface gigabitethernet 0/0/1Enters address family interface configuration mode and configures interface-specific EIGRP commands.
Step 6summary-address ip-address mask [administrative-distance [leak-map leak-map-name]] Example:Device(config-router-af-interface)# summary-address 192.168.0.0 255.255.0.0Configures a summary address for EIGRP.
Step 7exit-af-interface Example:Device(config-router-af-interface)# exit-af-interface Exits address family interface configuration mode.
Step 8topology {base | topology-name tid number} Example:Device(config-router-af)# topology baseConfigures an EIGRP process to route IP traffic under the specified topology instance and enters address family topology configuration mode.
Step 9summary-metric network-address subnet-mask bandwidth delay reliability load mtu Example:Device(config-router-af-topology)# summary-metric 192.168.0.0/16 10000 10 255 1 1500(Optional) Configures a fixed metric for an EIGRP summary aggregate address.
Step 10end Example:Device(config-router-af-topology)# endExits address family topology configuration mode and returns to privileged EXEC mode.

Configuring the EIGRP Event Logging Autonomous System Configuration

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp autonomous-system

  4. 4. eigrp event-log-size size

  5. 5. eigrp log-neighbor-changes

  6. 6. eigrp log-neighbor-warnings [seconds]

  7. 7. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp autonomous-system Example:Device(config)# router eigrp 101Enables an EIGRP routing process and enters router configuration mode.A maximum of 30 EIGRP routing processes can be configured.
Step 4eigrp event-log-size size Example:Device(config-router)# eigrp event-log-size 5000010(Optional) Sets the size of the EIGRP event log.
Step 5eigrp log-neighbor-changes Example:Device(config-router)# eigrp log-neighbor-changes(Optional) Enables logging of EIGRP neighbor adjacency changes.By default, the system logs EIGRP neighbor adjacency changes to help you monitor the stability of the routing system and detect problems.
Step 6eigrp log-neighbor-warnings [seconds] Example:Device(config-router)# eigrp log-neighbor-warnings 300(Optional) Enables the logging of EIGRP neighbor warning messages.
Step 7end Example:Device(config-router)# endExits router configuration mode and returns to privileged EXEC mode.

Configuring the EIGRP Event Logging Named Configuration

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp virtual-instance-name

  4. 4. Enter one of the following:

    • address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
    • address-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
  5. 5. eigrp log-neighbor-warnings [seconds]

  6. 6. eigrp log-neighbor-changes

  7. 7. topology {base | topology-name tid number}

  8. 8. eigrp event-log-size size

  9. 9. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp virtual-instance-name Example:Device(config)# router eigrp virtual-name1Enables an EIGRP routing process and enters router configuration mode.
Step 4Enter one of the following:address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-numberaddress-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number Example:Device(config-router)# address-family ipv4 autonomous-system 45000``Device(config-router)# address-family ipv6 autonomous-system 45000Enters address family configuration mode to configure an EIGRP IPv4 or IPv6 routing instance.
Step 5eigrp log-neighbor-warnings [seconds] Example:Device(config-router-af)# eigrp log-neighbor-warnings 300(Optional) Enables the logging of EIGRP neighbor warning messages.
Step 6eigrp log-neighbor-changes Example:Device(config-router-af)# eigrp log-neighbor-changes(Optional) Enables logging of EIGRP neighbor adjacency changes.By default, the system logs EIGRP neighbor adjacency changes to help you monitor the stability of the routing system and detect problems.
Step 7topology {base | topology-name tid number} Example:Device(config-router-af)# topology baseConfigures an EIGRP process to route IP traffic under the specified topology instance and enters address family topology configuration mode.
Step 8eigrp event-log-size size Example:Device(config-router-af-topology)# eigrp event-log-size 10000(Optional) Sets the size of the EIGRP event log.
Step 9end Example:Device(config-router-af-topology)# endExits address family topology configuration mode and returns to privileged EXEC mode.

Configuring Equal and Unequal Cost Load Balancing Autonomous System Configuration

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp autonomous-system

  4. 4. traffic-share balanced

  5. 5. maximum-paths number-of-paths

  6. 6. variance multiplier

  7. 7. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp autonomous-system Example:Device(config)# router eigrp 101Enables an EIGRP routing process and enters router configuration mode.A maximum of 30 EIGRP routing processes can be configured.
Step 4traffic-share balanced Example:Device(config-router)# traffic-share balancedControls how traffic is distributed among routes when multiple routes for the same destination network have different costs.
Step 5maximum-paths number-of-paths Example:Device(config-router)# maximum-paths 5Controls the maximum number of parallel routes that an IP routing protocol can support.
Step 6variance multiplier Example:Device(config-router)# variance 1Controls load balancing in an internetwork based on EIGRP.
Step 7end Example:Device(config-router)# endExits router configuration mode and returns to privileged EXEC mode.

Configuring Equal and Unequal Cost Load Balancing Named Configuration

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp virtual-instance-name

  4. 4. Enter one of the following:

    • address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
    • address-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
  5. 5. topology {base | topology-name tid number}

  6. 6. traffic-share balanced

  7. 7. maximum-paths number-of-paths

  8. 8. variance multiplier

  9. 9. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp virtual-instance-name Example:Device(config)# router eigrp virtual-name1Enables an EIGRP routing process and enters router configuration mode.
Step 4Enter one of the following:address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-numberaddress-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number Example:Device(config-router)# address-family ipv4 autonomous-system 45000``Device(config-router)# address-family ipv6 autonomous-system 45000Enters address family configuration mode to configure an EIGRP IPv4 or IPv6 routing instance.
Step 5topology {base | topology-name tid number} Example:Device(config-router-af)# topology baseConfigures an EIGRP process to route IP traffic under the specified topology instance and enters address family topology configuration mode.
Step 6traffic-share balanced Example:Device(config-router-af-topology)# traffic-share balancedControls how traffic is distributed among routes when multiple routes for the same destination network have different costs.
Step 7maximum-paths number-of-paths Example:Device(config-router-af-topology)# maximum-paths 5Controls the maximum number of parallel routes that an IP routing protocol can support.
Step 8variance multiplier Example:Device(config-router-af-topology)# variance 1Controls load balancing in an internetwork based on EIGRP.
Step 9end Example:Device(config-router-af-topology)# endExits address family topology configuration mode and returns to privileged EXEC mode.

Adjusting the Interval Between Hello Packets and the Hold Time in an Autonomous System Configuration

imgNoteCisco recommends not to adjust the hold time.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp autonomous-system-number

  4. 4. exit

  5. 5. interface type number

  6. 6. no switchport

  7. 7. ip hello-interval eigrp autonomous-system-number seconds

  8. 8. ip hold-time eigrp autonomous-system-number seconds

  9. 9. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp autonomous-system-number Example:Device(config)# router eigrp 101Enables an EIGRP routing process and enters router configuration mode.A maximum of 30 EIGRP routing processes can be configured.
Step 4exit Example:Device(config-router)# exitExits to global configuration mode.
Step 5interface type number Example:Device(config)# interface Gigabitethernet 1/0/9Enters interface configuration mode.
Step 6no switchport Example:Device(config-if)# no switchport Puts an interface into Layer 3 mode
Step 7ip hello-interval eigrp autonomous-system-number seconds Example:Device(config-if)# ip hello-interval eigrp 109 10Configures the hello interval for an EIGRP routing process.
Step 8ip hold-time eigrp autonomous-system-number seconds Example:Device(config-if)# ip hold-time eigrp 109 40Configures the hold time for an EIGRP routing process.Note Do not adjust the hold time without consulting your technical support personnel.
Step 9end Example:Device(config-if)# endExits interface configuration mode and returns to privileged EXEC mode.

Adjusting the Interval Between Hello Packets and the Hold Time in a Named Configuration

imgNoteDo not adjust the hold time without consulting your technical support personnel.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp virtual-instance-name

  4. 4. Enter one of the following:

    • address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
    • address-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
  5. 5. af-interface {default | interface-type interface-number}

  6. 6. hello-interval seconds

  7. 7. hold-time seconds

  8. 8. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp virtual-instance-name Example:Device(config)# router eigrp virtual-name1Enables an EIGRP routing process and enters router configuration mode.
Step 4Enter one of the following:address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-numberaddress-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number Example:Device(config-router)# address-family ipv4 autonomous-system 45000``Device(config-router)# address-family ipv6 autonomous-system 45000Enters address family configuration mode to configure an EIGRP IPv4 or IPv6 routing instance.
Step 5af-interface {default | interface-type interface-number} Example:Device(config-router-af)# af-interface gigabitethernet 0/0/1Enters address family interface configuration mode and configures interface-specific EIGRP commands.
Step 6hello-interval seconds Example:Device(config-router-af-interface)# hello-interval 10Configures the hello interval for an EIGRP address family named configuration.
Step 7hold-time seconds Example:Device(config-router-af-interface)# hold-time 50Configures the hold time for an EIGRP address family named configuration.
Step 8end Example:Device(config-router-af-interface)# endExits address family interface configuration mode and returns to privileged EXEC mode.

Disabling the Split Horizon Autonomous System Configuration

Split horizon controls the sending of EIGRP updates and query packets. When split horizon is enabled on an interface, updates and query packets are not sent for destinations for which this interface is the next hop. Controlling updates and query packets in this manner reduces the possibility of routing loops.

By default, split horizon is enabled on all interfaces.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. interface type number

  4. 4. no ip split-horizon eigrp autonomous-system-number

  5. 5. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3interface type number Example:Device(config)# interface gigabitethernet 0/1Configures an interface and enters interface configuration mode.
Step 4no ip split-horizon eigrp autonomous-system-number Example:Device(config-if)# no ip split-horizon eigrp 101Disables split horizon.
Step 5end Example:Device(config-if)# endExits interface configuration mode and returns to privileged EXEC mode.

Disabling the Split Horizon and Next-Hop-Self Named Configuration

EIGRP, by default, sets the next-hop value to the local outbound interface address for routes that it is advertising, even when advertising those routes back from the same interface from where they were learned. Perform this task to change this default setting and configure EIGRP to use the received next-hop value when advertising these routes. Disabling next-hop-self is primarily useful in DMVPN spoke-to-spoke topologies.

By default, split horizon is enabled on all interfaces.

SUMMARY STEPS

  1. 1. enable

  2. 2. configure terminal

  3. 3. router eigrp virtual-instance-name

  4. 4. Enter one of the following:

    • address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
    • address-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number
  5. 5. af-interface {default | interface-type interface-number}

  6. 6. no split-horizon

  7. 7. no next-hop-self [no-ecmp-mode]

  8. 8. end

DETAILED STEPS

Command or ActionPurpose
Step 1enable Example:Device> enableEnables privileged EXEC mode.Enter your password if prompted.
Step 2configure terminal Example:Device# configure terminalEnters global configuration mode.
Step 3router eigrp virtual-instance-name Example:Device(config)# router eigrp virtual-name1Enables an EIGRP routing process and enters router configuration mode.
Step 4Enter one of the following:address-family ipv4 [multicast] [unicast] [vrf vrf-name] autonomous-system autonomous-system-numberaddress-family ipv6 [unicast] [vrf vrf-name] autonomous-system autonomous-system-number Example:Device(config-router)# address-family ipv4 autonomous-system 45000``Device(config-router)# address-family ipv6 autonomous-system 45000Enters address family configuration mode to configure an EIGRP IPv4 or IPv6 routing instance.
Step 5af-interface {default | interface-type interface-number} Example:Device(config-router-af)# af-interface gigabitethernet 0/0/1Enters address family interface configuration mode and configures interface-specific EIGRP commands.
Step 6no split-horizon Example:Device(config-router-af-interface)# no split-horizonDisables EIGRP split horizon.
Step 7no next-hop-self [no-ecmp-mode] Example:Device(config-router-af-interface)# no next-hop-self no-ecmp-mode(Optional) Instructs an EIGRP router to use the received next hop rather than the local outbound interface address as the next hop.The no-ecmp-mode keyword is an enhancement to the no next-hop-self command. When this optional keyword is enabled, all paths to a network in the EIGRP table are evaluated to check whether routes advertised from an interface were learned on the same interface.
Step 8end Example:Device(config-router-af-interface)# endExits address family interface configuration mode and returns to privileged EXEC mode.

Monitoring and Maintaining the EIGRP Autonomous System Configuration

This task is optional. Use the commands in any order desired to monitor and maintain EIGRP autonomous system configuration.

SUMMARY STEPS

  1. 1. enable

  2. 2. show ip eigrp [vrf {vrf-name | ***}] [autonomous-system-number] accounting

  3. 3. show ip eigrp events [starting-event-number ending-event-number] [type]

  4. 4. show ip eigrp interfaces [vrf {vrf-name| *****}] [autonomous-system-number] [type number] [detail]

  5. 5. show ip eigrp [vrf {vrf-name | *****}] [autonomous-system-number] topology [ip-address [mask]] | [name] [active | all-links | detail-links | pending | summary | zero-successors]

  6. 6. show ip eigrp [vrf {vrf-name | *****}] [autonomous-system-number] topology [ip-address [mask]] | [name] [active | all-links | detail-links | pending | summary | zero-successors]

  7. 7. show ip eigrp [vrf {vrf-name | *****}] [autonomous-system-number] *traffic*

DETAILED STEPS


Step 1enable Enables privileged EXEC mode. Enter your password if prompted. Example:Device# **enable**
Step 2show ip eigrp [vrf {vrf-name | ***}] [autonomous-system-number] accounting Displays prefix accounting information for EIGRP processes. Example:Device# **show ip eigrp vrf VRF1 accounting**
Step 3show ip eigrp events [starting-event-number ending-event-number] [type] Displays information about interfaces that are configured for EIGRP. Example:Device# **show ip eigrp events**
Step 4show ip eigrp interfaces [vrf {vrf-name| *****}] [autonomous-system-number] [type number] [detail]Displays neighbors discovered by EIGRP. Example:Device# **show ip eigrp interfaces**
Step 5show ip eigrp [vrf {vrf-name | *****}] [autonomous-system-number] topology [ip-address [mask]] | [name] [active | all-links | detail-links | pending | summary | zero-successors] Displays neighbors discovered by EIGRP Example:Device# **show ip eigrp neighbors**
Step 6show ip eigrp [vrf {vrf-name | *****}] [autonomous-system-number] topology [ip-address [mask]] | [name] [active | all-links | detail-links | pending | summary | zero-successors]Displays entries in the EIGRP topology table. Example:Device# **show ip eigrp topology**
Step 7show ip eigrp [vrf {vrf-name | *****}] [autonomous-system-number] *traffic* Displays the number of EIGRP packets sent and received. Example:Device# **show ip eigrp traffic**

Monitoring and Maintaining the EIGRP Named Configuration

This task is optional. Use the commands in any order desired to monitor and maintain the EIGRP named configuration.

SUMMARY STEPS

  1. 1. enable

  2. 2. show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] accounting

  3. 3. show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] events [starting-event-number ending-event-number] [errmsg [starting-event-number ending-event-number]] [sia [starting-event-number ending-event-number]] [type]

  4. 4. show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] interfaces [detail] [interface-type interface-number]

  5. 5. show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] neighbors [static] [detail] [interface-type interface-number]

  6. 6. show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] timers

  7. 7. show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] topology [topology-name] [ip-address] [active] [all-links] [detail-links] [pending] [summary] [zero-successors] [route-type {connected | external | internal | local | redistributed | summary | vpn}]

  8. 8. show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] traffic

  9. 9. show eigrp plugins [plugin-name] [detailed]

  10. 10. show eigrp protocols [vrf vrf-name]

DETAILED STEPS


Step 1enable Enables privileged EXEC mode. Enter your password if prompted. Example:Device# **enable**
Step 2show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] accounting Displays prefix accounting information for EIGRP processes. Example:Device# **show eigrp address-family ipv4 22 accounting**
Step 3show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] events [starting-event-number ending-event-number] [errmsg [starting-event-number ending-event-number]] [sia [starting-event-number ending-event-number]] [type] Displays information about EIGRP address-family events. Example:Device# **show eigrp address-family ipv4 3 events**
Step 4show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] interfaces [detail] [interface-type interface-number] Displays information about interfaces that are configured for EIGRP. Example:Device# **show eigrp address-family ipv4 4453 interfaces**
Step 5show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] neighbors [static] [detail] [interface-type interface-number] Displays the neighbors that are discovered by EIGRP. Example:Device# **show eigrp address-family ipv4 4453 neighbors**
Step 6show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] timers Displays information about EIGRP timers and expiration times. Example:Device# **show eigrp address-family ipv4 4453 timers**
Step 7show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] topology [topology-name] [ip-address] [active] [all-links] [detail-links] [pending] [summary] [zero-successors] [route-type {connected | external | internal | local | redistributed | summary | vpn}] Displays entries in the EIGRP topology table. Example:Device# **show eigrp address-family ipv4 4453 topology**
Step 8show eigrp address-family {ipv4 | ipv6} [vrf vrf-name] [autonomous-system-number] [multicast] traffic Displays the number of EIGRP packets that are sent and received. Example:Device# **show eigrp address-family ipv4 4453 traffic**
Step 9show eigrp plugins [plugin-name] [detailed] Displays general information, including the versions of the EIGRP protocol features that are currently running on the device. Example:Device# **show eigrp plugins**
Step 10show eigrp protocols [vrf vrf-name] Displays further information about EIGRP protocols that are currently running on a device. Example:Device# **show eigrp protocols**

Configuration Examples for EIGRP

Example: Enabling EIGRP—Autonomous System Configuration

Device> enable
Device# configure terminal
Device(config)# router eigrp 1
Device(config-router)# network 172.16.0.0
 

Example: Enabling EIGRP—Named Configuration

Device> enable
Device# configure terminal
Device(config)# router eigrp virtual-name1
Device(config-router)# address-family ipv4 autonomous-system 45000
Device(config-router-af)# network 172.16.0.0

Example: EIGRP Parameters—Autonomous System Configuration

The following example shows how to configure optional EIGRP autonomous system configuration parameters, including applying offsets to routing metrics, adjusting EIGRP metrics, and disabling automatic summarization:

Device> enable
Device# configure terminal
Device(config)# router eigrp 1
Device(config-router)# network 172.16.0.0 
Device(config-router)# passive-interface
Device(config-router)# offset-list 21 in 10 ethernet 0
Device(config-router)# metric weights 0 2 0 2 0 0
Device(config-router)# no auto-summary
Device(config-router)# exit

Example: EIGRP Parameters—Named Configuration

The following example shows how to configure optional EIGRP named configuration parameters, including applying offsets to routing metrics, adjusting EIGRP metrics, setting RIB-scaling factor, and disabling automatic summarization.

Device> enable
Device# configure terminal
Device(config)# router eigrp virtual-name1
Device(config-router)# address-family ipv4 autonomous-system 45000
Device(config-router-af)# network 172.16.0.0
Device(config-router-af)# metric weights 0 2 0 2 0 0 0
Device(config-router-af)# metric rib-scale 100
Device(config-router-af)# af-interface gigabitethernet 0/0/1
Device(config-router-af-interface)# passive-interface
Device(config-router-af-interface)# bandwidth-percent 75
Device(config-router-af-interface)# exit-af-interface
Device(config-router-af-interface)# topology base
Device(config-router-af-topology)# offset-list 21 in 10 gigabitethernet 0/0/1
Device(config-router-af-topology)# no auto-summary
Device(config-router-af-topology)# exit-af-topology

Example: EIGRP Redistribution—Autonomous System Configuration

The following example shows how to configure redistribution of non-EIGRP protocol metrics into EIGRP metrics and configure the EIGRP administrative distance in an EIGRP autonomous system configuration:

Device> enable
Device# configure terminal
Device(config)# router eigrp 1
Device(config-router)# network 172.16.0.0 
Device(config-router)# redistribute rip
Device(config-router)# distance eigrp 80 130
Device(config-router)# default-metric 1000 100 250 100 1500

Example: EIGRP Route Summarization—Autonomous System Configuration

The following example shows how to configure route summarization on an interface and configure the automatic summary feature for an EIGRP autonomous system configuration. The following configuration causes EIGRP to summarize the network from Ethernet interface 0/0.

Device> enable
Device# configure terminal
Device(config)# router eigrp 101
Device(config-router)# no auto-summary
Device(config-router)# exit
Device(config)# interface Gigabitethernet 1/0/1
Device(config-if)# no switchport
bandwidth 56
Device(config-if)# ip summary-address eigrp 100 0.0.0.0 0.0.0.0
Device(config-if)# ip bandwidth-percent eigrp 209 75
imgNoteYou should not use the ip summary-address eigrp summarization command to generate the default route (0.0.0.0) from an interface because this creates an EIGRP summary default route to the null 0 interface with an administrative distance of 5. The low administrative distance of this default route can cause this route to displace default routes learned from other neighbors through the routing table. If the default route learned from the neighbors is displaced by the summary default route, or if the summary route is the only default route present, all traffic destined for the default route will not leave the router; instead, traffic will be sent to the null 0 interface, where it is dropped. The recommended way to send only the default route out of a given interface is to use the distribute-list command. You can configure this command to filter all outbound route advertisements sent out from the interface with the exception of the default (0.0.0.0).

Example: EIGRP Route Summarization—Named Configuration

The following example shows how to configure route summarization on an interface and configure the automatic summary feature for an EIGRP named configuration. This configuration causes EIGRP to summarize network 192.168.0.0 only from Ethernet interface 0/0.

Device> enable
Device# configure terminal
Device(config)# router eigrp virtual-name1
Device(config-router)# address-family ipv4 autonomous-system 45000
Device(config-router-af)# af-interface ethernet 0/0
Device(config-router-af-interface)# summary-address 192.168.0.0 255.255.0.0
Device(config-router-af-interface)# exit-af-interface 
Device(config-router-af)# topology base
Device(config-router-af-topology)# summary-metric 192.168.0.0/16 10000 10 255 1 1500

Example: EIGRP Event Logging—Autonomous System Configuration

The following example shows how to configure EIGRP event logging parameters, including setting the size of the EIGRP event log for an EIGRP autonomous system configuration:

Device> enable
Device# configure terminal
Device(config)# router eigrp 1
Device(config-router)# eigrp event-log-size 5000
Device(config-router)# eigrp log-neighbor-changes
Device(config-router)# eigrp log-neighbor-warnings 300

Example: EIGRP Event Logging—Named Configuration

The following example shows how to configure EIGRP event logging parameters, including setting the size of the EIGRP event log for an EIGRP named configuration:

Device> enable
Device# configure terminal
Device(config)# router eigrp virtual-name1
Device(config-router)# address-family ipv4 autonomous-system 45000
Device(config-router-af)# eigrp log-neighbor-warnings 300
Device(config-router-af)# eigrp log-neighbor-changes
Device(config-router-af)# topology base
Device(config-router-af-topology)# eigrp event-log-size 10000

Example: Equal and Unequal Cost Load Balancing—Autonomous System Configuration

The following example shows how to configure traffic distribution among routes, the maximum number of parallel routes, and load balancing in an EIGRP named configuration network:

Device> enable
Device# configure terminal
Device(config)# router eigrp 1
Device(config-router)# traffic-share balanced
Device(config-router)# maximum-paths 5
Device(config-router)# variance 1

Example: Equal and Unequal Cost Load Balancing—Named Configuration

The following example shows how to configure traffic distribution among routes, the maximum number of parallel routes, and load balancing in an EIGRP named configuration network:

Device> enable
Device# configure terminal
Device(config)# router eigrp virtual-name1
Device(config-router)# address-family ipv4 autonomous-system 45000
Device(config-router-af)# topology base
Device(config-router-af-topology)# traffic-share balanced
Device(config-router-af-topology)# maximum-paths 5
Device(config-router-af-topology)# variance 1

Example: Adjusting the Interval Between Hello Packets and the Hold Time— Autonomous System Configuration

Device> enable
Device# configure terminal
Device(config)# router eigrp 1
Device(config-router)# exit
Device(config)# interface Gibabitethernet 1/0/9
Device(config-if)# no switchport 
Device(config-if)# ip hello-interval eigrp 109 10
Device(config-if)# ip hold-time eigrp 109 40

Example: Adjusting the Interval Between Hello Packets and the Hold Time—Named Configuration

Device> enable
Device# configure terminal
Device(config)# router eigrp virtual-name1
Device(config-router)# address-family ipv4 autonomous-system 45000
Device(config-router-af)# af-interface ethernet 0/0
Device(config-router-af-interface)# hello-interval 10
Device(config-router-af-interface)# hold-time 50

Example: Disabling the Split Horizon—Autonomous System Configuration

Split horizon is enabled on all interfaces by default. The following example shows how to disable split horizon for an EIGRP autonomous system configuration:

Device> enable
Device# configure terminal
Device(config)# router eigrp 1
Device(config-router)# exit
Device(config)# interface Ethernet 0/1
Device(config-if)# no ip split-horizon eigrp 101

Example: Disabling the Split Horizon and Next-Hop-Self—Named Configuration

Split horizon is enabled on all interfaces by default. The following example shows how to disable split horizon in an EIGRP named configuration.

EIGRP, by default, sets the next-hop value to the local outbound interface address for routes that it advertises, even when advertising those routes back out of the same interface from where they were learned. The following example shows how to change this default to instruct EIGRP to use the received next-hop value when advertising these routes in an EIGRP named configuration. Disabling the next-hop-self command is primarily useful in DMVPN spoke-to-spoke topologies.

Device> enable
Device# configure terminal
Device(config)# router eigrp virtual-name1
Device(config-router)# address-family ipv4 autonomous-system 45000
Device(config-router-af)# af-interface ethernet 0/0
Device(config-router-af-interface)# no split-horizon
Device(config-router-af-interface)# no next-hop-self no-ecmp-mode

Example: Command Inheritance and Virtual Network Interface Mode Override in an EIGRP Environment

Suppose a GigabitEthernet interface is configured with the following EIGRP commands:

interface gigabitethernet 0/0/0
 vnet trunk
 ip address 192.0.2.1 255.255.255.0
 ip authentication mode eigrp 1 md5
 ip authentication key-chain eigrp 1 x
 ip bandwidth-percent eigrp 1 3
 ip dampening-change eigrp 1 30
 ip hello-interval eigrp 1 6
 ip hold-time eigrp 1 18
 no ip next-hop-self eigrp 1
 no ip split-horizon eigrp 1
 end

Because a trunk is configured, a VRF subinterface is automatically created and the commands on the main interface are inherited by the VRF subinterface (g0/0/0.3, where the number 3 is the tag number from vnet tag 3.)

Use the show derived-config command to display the hidden subinterface. The following sample output shows that all the commands entered on GigabitEthernet 0/0/0 have been inherited by GigabitEthernet 0/0/0.3:

Device# show derived-config interface gigabitethernet 0/0/0.3

Building configuration...
Derived configuration : 478 bytes
!
interface GigabitEthernet0/0/0.3
 description Subinterface for VNET vrf1
 vrf forwarding vrf1
 encapsulation dot1Q 3
 ip address 192.0.2.1 255.255.255.0
 ip authentication mode eigrp 1 md5
 ip authentication key-chain eigrp 1 x
 ip bandwidth-percent eigrp 1 3
 ip dampening-change eigrp 1 30
 ip hello-interval eigrp 1 6
 ip hold-time eigrp 1 18
 no ip next-hop-self eigrp 1
 no ip split-horizon eigrp 1
 end

Use the virtual network interface mode to override the commands entered in interface configuration mode. For example:

Device(config)# interface gigabitethernet 0/0/0
Device(config-if)# vnet name vrf1
Device(config-if-vnet)# no ip authentication mode eigrp 1 md5 
! disable authen for e0/0.3 only
Device(config-if-vnet)# ip authentication key-chain eigrp 1 y   
! different key-chain
Device(config-if-vnet)# ip band eigrp 1 99                      
! higher bandwidth-percent
Device(config-if-vnet)# no ip dampening-change eigrp 1
! disable dampening-change
Device(config-if-vnet)# ip hello eigrp 1 7
Device(config-if-vnet)# ip hold eigrp 1 21
Device(config-if-vnet)# ip next-hop-self eigrp 1
! enable next-hop-self for e0/0.3
Device(config-if-vnet)# ip split-horizon eigrp 1
! enable split-horizon
Device(config-if-vnet)# do show running-config interface gigabitethernet 0/0/0

Building configuration...
Current configuration : 731 bytes
!
interface GigabitEthernet0/0/0
 vnet trunk
 ip address 192.0.2.1 255.255.255.0
 ip authentication mode eigrp 1 md5
 ip authentication key-chain eigrp 1 x
 ip bandwidth-percent eigrp 1 3
 ip dampening-change eigrp 1 30
 ip hello-interval eigrp 1 6
 ip hold-time eigrp 1 18
 no ip next-hop-self eigrp 1
 no ip split-horizon eigrp 1
  vnet name vrf1
  ip split-horizon eigrp 1
  no ip authentication mode eigrp 1 md5
  ip authentication key-chain eigrp 1 y
  ip bandwidth-percent eigrp 1 99
  no ip dampening-change eigrp 1
  ip hello-interval eigrp 1 7
  ip hold-time eigrp 1 21
  !
end

Notice that g/0/0.3 is now using the override settings:

Device(config-if-vnet)# do show derived-config interface gigabitethernet 0/0.3

Building configuration...
Derived configuration : 479 bytes
!
interface GigabitEthernet0/0/0.3
 description Subinterface for VNET vrf1
 vrf forwarding vrf1
 encapsulation dot1Q 3
 ip address 192.0.2.1 255.255.255.0
 no ip authentication mode eigrp 1 md5
 ip authentication key-chain eigrp 1 y
 ip bandwidth-percent eigrp 1 99
 no ip dampening-change eigrp 1
 ip hello-interval eigrp 1 7
 ip hold-time eigrp 1 21
 ip next-hop-self eigrp 1
 ip split-horizon eigrp 1
 end

Commands entered in virtual network interface mode are sticky. That is, when you enter a command in this mode, the command will override the default value configured in interface configuration mode.

The following example shows how to change the default hello interval value in vrf 1. The example also shows sample outputs of the current and derived configurations.

Device(config)# interface gigabitethernet 0/0/0
Device(config-if)# ip address 192.0.2.1 255.255.255.0
Device(config-if)# vnet trunk
Device(config-if)# ip hello eigrp 1 7
Device(config-if)# do show run interface gigabitethernet 0/0/2

Building configuration...
Current configuration : 134 bytes
!
interface GigabitEthernet0/0/0
 vnet trunk
 ip address 192.0.2.1 255.255.255.0
 ip hello-interval eigrp 1 7
 ipv6 enable
	vnet global
 !
 end

Device(config-if)# do show derived interface gigabitethernet 0/0/0.3

Building configuration...

Derived configuration : 177 bytes
!
interface Ethernet0/0.3
 description Subinterface for VNET vrf1
 encapsulation dot1Q 3
 vrf forwarding vrf1
 ip address 192.0.2.1 255.255.255.0
 ip hello-interval eigrp 1 7
end

Device(config-if)# vnet name vrf1
Device(config-if-vnet)# ip hello-interval eigrp 1 10
Device(config-if-vnet)# do show run interface gigabitethernet 0/0/0

Building configuration...
Current configuration : 183 bytes
!
interface GigabitEthernet0/0/0
 vnet trunk
 ip address 192.0.2.1 255.255.255.0
 ip hello-interval eigrp 1 7
 ipv6 enable
 vnet name vrf1
  ip hello-interval eigrp 1 10
 !
 vnet global
 !
end

Device(config-if-vnet)# do show derived interface gigabitethernet 0/0/0.3

Building configuration...

Derived configuration : 178 bytes
!
interface GigabitEthernet0/0/0.3
 description Subinterface for VNET vrf1
 encapsulation dot1Q 3
 vrf forwarding vrf1
 ip address 192.0.2.1 255.255.255.0
 ip hello-interval eigrp 1 10
end

Because of this sticky factor, to remove a configuration entry in virtual network interface mode, use the default form of that command. Some commands can also be removed using the no form.

R1(config-if-vnet)# default ip authentication mode eigrp 1 md5
R1(config-if-vnet)# no ip bandwidth-percent eigrp 1
R1(config-if-vnet)# no ip hello eigrp 1
 
R1(config-if-vnet)# do show running-config interface gigabitethernet 0/0/0

Building configuration...
Current configuration : 138 bytes
!
interface GigabitEthernet0/0/0
 vnet trunk
 no ip address
 vnet name vrf1
 !
end

Example: Monitoring and Maintaining the EIGRP Autonomous System Configuration

The show ip eigrp command displays prefix accounting information for EIGRP processes. The following is sample output from this command:

Device# show ip eigrp vrf VRF1 accounting 

EIGRP-IPv4 Accounting for AS(100)/ID(10.0.2.1) VRF(VRF1) 
Total Prefix Count: 4  States: A-Adjacency, P-Pending, D-Down
State Address/Source   Interface        Prefix   Restart  Restart/
                                        Count     Count   Reset(s)
 P    Redistributed     ----               0           3         211
 A    10.0.1.2          Gi0/0              2           0          84
 P    10.0.2.4          Se2/0              0           2         114
 D    10.0.1.3          Gi0/0              0           3           0

The show ip eigrp events command displays the EIGRP event log. The following is sample output from this command:

Device# show ip eigrp events

1    02:37:58.171 NSF stale rt scan, peer: 10.0.0.0 
2    02:37:58.167 Metric set: 10.0.0.1/24 284700416 
3    02:37:58.167 FC sat rdbmet/succmet: 284700416 0 
4    02:37:58.167 FC sat nh/ndbmet: 10.0.0.2 284700416 
5    02:37:58.167 Find FS: 10.0.0.0/24 284700416 
6    02:37:58.167 Rcv update met/succmet: 284956416 284700416 
7    02:37:58.167 Rcv update dest/nh: 10.0.0.0/24 10.0.0.1 
8    02:37:58.167 Peer nsf restarted: 10.0.0.1 Tunnel0 
9    02:36:38.383 Metric set: 10.0.0.0/24 284700416 
10   02:36:38.383 RDB delete: 10.0.0.0/24 10.0.0.1 
11   02:36:38.383 FC sat rdbmet/succmet: 284700416 0 
12   02:36:38.383 FC sat nh/ndbmet: 0.0.0.0 284700416

The show ip eigrp interfaces command displays information about interfaces that are configured for EIGRP. The following is sample output from this command:

Device# show ip eigrp interfaces

EIGRP-IPv4 Interfaces for AS(60)
                    Xmit Queue    Mean   Pacing Time   Multicast   Pending
Interface   Peers   Un/Reliable   SRTT   Un/Reliable   Flow Timer  Routes
Gi0           0         0/0          0      11/434          0          0
Gi0           1         0/0        337       0/10           0          0
SE0:1.16      1         0/0         10       1/63         103          0
Tu0           1         0/0        330       0/16           0          0

The show ip eigrp neighbors command displays neighbors discovered by EIGRP. The following is sample output from this command:

Device# show ip eigrp neighbors

H   Address                 Interface       Hold Uptime   SRTT   RTO  Q  Seq
                                            (sec)         (ms)       Cnt Num
0   10.1.1.2                 Gi0/0           13 00:00:03  1996   5000  0  5
2   10.1.1.9                 Gi0/0           14 00:02:24   206   5000  0  5
1   10.1.2.3                 Gi0/1           11 00:20:39  2202   5000  0  5

The show ip eigrp topology command displays entries in the EIGRP topology table. The following is sample output from this command:

Device# show ip eigrp topology
	
EIGRP-IPv4 Topology Table for AS(1)/ID(10.0.0.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - Reply status, s - sia status
P 10.0.0.0/8, 1 successors, FD is 409600
        via 10.0.0.1 (409600/128256), GigabirEthernet0/0
P 172.16.1.0/24, 1 successors, FD is 409600
        via 10.0.0.1 (409600/128256), GigabitEthernet0/0
P 10.0.0.0/8, 1 successors, FD is 281600
        via Summary (281600/0), Null0
P 10.0.1.0/24, 1 successors, FD is 281600
        via Connected, GigabitEthernet0/0

The show ip eigrp traffic command displays the number of EIGRP packets sent and received. The following is sample output from this command:

Device# show ip eigrp traffic

EIGRP-IPv4 Traffic Statistics for AS(60)
Hellos sent/received: 21429/2809
Updates sent/received: 22/17
Queries sent/received: 0/0
Replies sent/received: 0/0
Acks sent/received: 16/13
SIA-Queries sent/received: 0/0
SIA-Replies sent/received: 0/0
Hello Process ID: 204
PDM Process ID: 203
Socket Queue: 0/2000/2/0 (current/max/highest/drops)
Input Queue: 0/2000/2/0 (current/max/highest/drops)

Example: Monitoring and Maintaining the EIGRP Named Configuration

In this example, the show eigrp address-family command displays prefix accounting information for EIGRP processes:

Device# show eigrp address-family ipv4 22 accounting 

EIGRP-IPv4 VR(saf) Accounting for AS(22)/ID(10.0.0.1) 
Total Prefix Count: 3  States: A-Adjacency, P-Pending, D-Down 
State Address/Source    Interface       Prefix   Restart  Restart/ 
                                        Count     Count   Reset(s) 
 A    10.0.0.2          Gi0/0               2         0        0
 P    10.0.2.4          Se2/0               0         2        114
 D    10.0.1.3          Gi0/0               0         3        0

In this example, the show eigrp address-family command displays information about EIGRP address-family events:

Device# show eigrp address-family ipv4 3 events

Event information for AS 3:
1 15:37:47.015 Change queue emptied, entries: 1 
2 15:37:47.015 Metric set: 10.0.0.0/24 307200 
3 15:37:47.015 Update reason, delay: new if 4294967295 
4 15:37:47.015 Update sent, RD: 10.0.0.0/24 4294967295 
5 15:37:47.015 Update reason, delay: metric chg 4294967295 
6 15:37:47.015 Update sent, RD: 10.0.0.0/24 4294967295 
7 15:37:47.015 Route installed: 10.0.0.0/24 10.0.1.2 
8 15:37:47.015 Route installing: 10.0.0.0/24 10.0.1.2

In this example, the show eigrp address-family command displays information about interfaces that are configured for EIGRP:

Device# show eigrp address-family ipv4 4453 interfaces 

EIGRP-IPv4 VR(Virtual-name) Address-family Neighbors for AS(4453) 
					Xmit Queue   Mean   Pacing Time   Multicast    Pending 
Interface     Peers  Un/Reliable  SRTT   Un/Reliable   Flow Timer   Services 
Se0           1          0/0        28      0/15          127           0 
Se1           1          0/0        44      0/15          211           0

In this example, the show eigrp address-family command displays information about the neighbors that are discovered by EIGRP:

Device# show eigrp address-family ipv4 4453 neighbors 

EIGRP-IPv4 VR(Virtual-name) Address-family Neighbors for AS(4453) 
Address 						Interface 			 Hold Uptime  SRTT  RTO    Q     Seq 
                                     (sec)         (ms)  (ms)   Cnt   Num 
172.16.81.28            GigabitEthernet1/1/1     13   0:00:41  0      11   4     20
172.16.80.28            GigabitEthernet0/0/1     14   0:02:01  0      10   12    24
172.16.80.31            GigabitEthernet0/1/1     12   0:02:02  0      4    5

In this example, the show eigrp address-family command displays information about EIGRP timers and expiration times:

Device# show eigrp address-family ipv4 4453 timers

EIGRP-IPv4 VR(Virtual-name) Address-family Timers for AS(4453) 
Hello Process 
Expiration Type 
| 1.022 (parent) 
| 1.022 Hello (Et0/0) 
Update Process 
Expiration Type 
| 14.984 (parent) 
| 14.984 (parent) 
| 14.984 Peer holding 
SIA Process 
Expiration Type for Topo(base) 
| 0.000 (parent) 

In this example, the show eigrp address-family command displays entries in the EIGRP topology table:

Device# show eigrp address-family ipv4 4453 topology 

EIGRP-IPv4 VR(Virtual-name) Topology Table for AS(4453)/ID(10.0.0.1) 
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply, 
       r - Reply status, s - sia Status 
P  10.17.17.0/24, 1 successors, FD is 409600 
          via 10.10.10.2 (409600/128256), GigabitEthernet3/0/1 
P  172.16.19.0/24, 1 successors, FD is 409600 
          via 10.10.10.2 (409600/128256), GigabitEthernet3/0/1 
P  192.168.10.0/24, 1 successors, FD is 281600 
          via Connected, GigabitEthernet3/0/1 
P  10.10.10.0/24, 1 successors, FD is 281600 
          via Redistributed (281600/0) 

In this example, the show eigrp address-family command displays information about the number of EIGRP packets that are sent and received:

Device# show eigrp address-family ipv4 4453 traffic

EIGRP-IPv4 VR(virtual-name) Address-family Traffic Statistics for AS(4453) 
  Hellos sent/received: 122/122 
  Updates sent/received: 3/1 
  Queries sent/received: 0/0 
  Replies sent/received: 0/0 
  Acks sent/received: 0/3 
  SIA-Queries sent/received: 0/0 
  SIA-Replies sent/received: 0/0 
  Hello Process ID: 128 
  PDM Process ID: 191 
  Socket Queue: 0/2000/1/0 (current/max/highest/drops) 
  Input Queue: 0/2000/1/0 (current/max/highest/drops

In this example, the show eigrp plugins command displays general information, including the versions of the EIGRP protocol features that are currently running on the device:

Device# show eigrp plugins

EIGRP feature plugins:::
    eigrp-release      :   5.00.00 : Portable EIGRP Release                  
                       :  19.00.00 : Source Component Release(rel5)
    igrp2              :   3.00.00 : Reliable Transport/Dual Database        
    bfd                :   1.01.00 : BFD Platform Support                    
    mtr                :   1.00.01 : Multi-Topology Routing(MTR)             
    eigrp-pfr          :   1.00.01 : Performance Routing Support             
    ipv4-af            :   2.01.01 : Routing Protocol Support                
    ipv4-sf            :   1.01.00 : Service Distribution Support            
    external-client    :   1.02.00 : Service Distribution Client Support     
    ipv6-af            :   2.01.01 : Routing Protocol Support                
    ipv6-sf            :   1.01.00 : Service Distribution Support            
    snmp-agent         :   1.01.01 : SNMP/SNMPv2 Agent Support

In this example, the show eigrp protocols command displays general information about EIGRP protocols that are currently running on a device:

Device# show eigrp protocols

EIGRP-IPv4 Protocol for AS(10) 
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 
NSF-aware route hold timer is 240 
Router-ID: 10.0.1.1 
Topology : 0 (base) 
Active Timer: 3 min 
Distance: internal 90 external 170 
Maximum path: 4 
Maximum hopcount 100 
Maximum metric variance 1 
EIGRP-IPv4 Protocol for AS(5) VRF(VRF1) 
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 
NSF-aware route hold timer is 240 
Router-ID: 10.1.2.1 
Topology : 0 (base) 
Active Timer: 3 min 
Distance: internal 90 external 170 
Maximum path: 4 
Maximum hopcount 100 
Maximum metric variance 1 
Total Prefix Count: 0 
Total Redist Count: 0 

Additional References for EIGRP

Related Documents

Related TopicDocument Title
Cisco IOS commandsMaster Commands List, All Releases)
EIGRP commandsIP Routing: EIGRP Command Reference
EIGRP FAQEIGRP Frequently Asked Questions
EIGRP L2/L3 API and Tunable Metric for Mobile Adhoc Networks feature“Mobile Ad Hoc Networks for Router-to-Radio Communications” module of the IP Mobility Configuration Guide
EIGRP Technology SupportEnhanced Interior Gateway Routing Protocol
EIGRP Technology White PapersEnhanced Interior Gateway Routing Protocol
IPv6 Routing EIGRP SupportIPv6 Routing: EIGRP Support
Protocol-independent features that work with EIGRPIP Routing: Protocol-Independent Configuration Guide
Service Advertisement FrameworkService Advertisement Framework Configuration Guide
Service Advertisement Framework commandsService Advertisement Framework Command Reference

Standards and RFCs

Standard/RFCTitle
FIPS PUB 180-2SECURE HASH STANDARD (SHS)
RFC 1321The MD5 Message-Digest Algorithm
RFC 2104HMAC: Keyed-Hashing for Message Authentication

Feature Information for EIGRP

The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.

Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.

Feature NameReleasesFeature Information
EIGRPEIGRP is an enhanced version of the IGRP developed by Cisco. EIGRP uses the same distance vector algorithm and distance information as IGRP. However, the convergence properties and the operating efficiency of EIGRP have improved substantially over IGRP, and IGRP is obsolete.The following commands were introduced or modified:auto-summary (EIGRP) ,clear ip eigrp neighbors, default-information, *default-metric* *(EIGRP)*, distance (EIGRP), eigrp log-neighbor-changes, eigrp log-neighbor-warnings, *eigrp* *router-id*, ip bandwidth-percent eigrp, ip hello-interval eigrp, ip hold-time eigrp, *ip* *next-hop-self* *eigrp*, *ip* *split-horizon* *eigrp*, *ip* *summary-address* *eigrp*, *metric* *maximum-hops*, metric weights (EIGRP), *neighbor* *(EIGRP)*, *network* *(EIGRP)*, *offset-list* *(EIGRP)*, *router* *eigrp*, *set* *metric* *(EIGRP)*, show ip eigrp accounting, *show* *ip* *eigrp* *interfaces*, *show* *ip* *eigrp* *neighbors*, *show* *ip* *eigrp* *topology*, show ip eigrp traffic, *show* *ip* *eigrp* *vrf* *accounting*, show ip eigrp vrf interfaces, *show* *ip* *eigrp* *vrf* *neighbors*, show ip eigrp vrf topology, show ip eigrp vrf traffic, summary-metric, timers active-time, *traffic-share* *balanced*, *variance* *(EIGRP)*.
EIGRP Dual DMVPN Domain EnhancementThe EIGRP Dual DMVPN Domain Enhancement feature supports the no next-hop-self functionality on dual DMVPN domains in both IPv4 and IPv6 configurations.The following commands were introduced or modified by this feature: ip next-hop-self eigrp, ipv6 next-hop self eigrp, next-hop-self, show ip eigrp interfaces, show ipv6 eigrp interfaces, show ip eigrp topology, show ipv6 eigrp topology.
eigrp*, *ip* *split-horizon* *eigrp*, *ip* *summary-address* *eigrp*, *metric* *maximum-hops*, metric weights (EIGRP), *neighbor* *(EIGRP)*, *network* *(EIGRP)*, *offset-list* *(EIGRP)*, *router* *eigrp*, *set* *metric* *(EIGRP)*, show ip eigrp accounting, *show* *ip* *eigrp* *interfaces*, *show* *ip* *eigrp* *neighbors*, *show* *ip* *eigrp* *topology*, show ip eigrp traffic, *show* *ip* *eigrp* *vrf* *accounting*, show ip eigrp vrf interfaces, *show* *ip* *eigrp* *vrf* *neighbors*, show ip eigrp vrf topology, show ip eigrp vrf traffic, summary-metric, timers active-time, *traffic-share* *balanced*, *variance* *(EIGRP)*.*
EIGRP Dual DMVPN Domain EnhancementThe EIGRP Dual DMVPN Domain Enhancement feature supports the no next-hop-self functionality on dual DMVPN domains in both IPv4 and IPv6 configurations.The following commands were introduced or modified by this feature: ip next-hop-self eigrp, ipv6 next-hop self eigrp, next-hop-self, show ip eigrp interfaces, show ipv6 eigrp interfaces, show ip eigrp topology, show ipv6 eigrp topology.
Named mode for EIGRP vNETs IPv4Cisco IOS Release 15.2(1)SY.The EIGRP vNET feature allows the creation of multiple virtual networks by utilizing a single set of routers and links provided by the physical topology. EIGRP vNET configurations are supported in both classic and named modes. In Cisco IOS Release 15.1(1)SG, EIGRP vNET configurations are supported only in the classic mode.The following command was modified: vnet.
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值