A Commands

This chapter describes the Cisco NX-OS Enhanced Interior Gateway Routing Protocol (EIGRP) commands that begin with A.

address-family (EIGRP)

To configure an address family for the Enhanced Interior Gateway Routing Protocol (EIGRP), use the address-family command. To remove an address family, use the no form of this command.

address-family ipv4 unicast

no address-family ipv4 unicast

 
Syntax Description

ipv4

Specifies the IPv4 address family.

unicast

Specifies unicast address support.

 
Command Default

None

 
Command Modes

Router configuration mode

Address family configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to set the IPv4 unicast address family for an EIGRP instance:

switch(config)# router eigrp 201
switch(config-router)# address-family ipv4 unicast
switch(config-router)#
 

 
Related Commands

Command
Description

default-information

Controls the distribution of a default route.

default-metric

Configures the default metric for routes redistributed into EIGRP.

distance

Configures the administrative distance.

maximum-paths

Configures the maximum number of equal-cost paths.

redistribute

Configures route redistribution for EIGRP.

router-id

Configures the router ID.

show ip eigrp

Displays EIGRP information.

timers

Configures the EIGRP timers.

authentication key-chain (EIGRP)

To enable authentication for the Enhanced Interior Gateway Routing Protocol (EIGRP) packets and to specify the set of keys that can be used on an interface, use the authentication key-chain command. To prevent authentication, use the no form of this command.

authentication key-chain name-of-chain

no authentication key-chain name-of-chain

 
Syntax Description

name-of-chain

Group of keys that are valid.

 
Command Default

No authentication is provided for EIGRP packets.

 
Command Modes

Router configuration mode

Address family configuration mode

VRF configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
Usage Guidelines

Set the authentication mode using the authentication mode command in VRF configuration mode. You must separately configure a key chain using the key-chain command to complete the authentication configuration for an interface.

This command requires the LAN Base Services license.

Examples

This example shows how to configure the interface to accept and send any key that belongs to the key-chain trees:

switch(config)# router eigrp 209
switch(config-router)# vrf red
switch(config-router-vrf)# authentication key-chain trees

 
Related Commands

Command
Description

authentication mode (EIGRP)

Sets the authentication mode for EIGRP in a VRF.

ip authentication key-chain eigrp

Enables authentication for EIGRP and specifies the set of keys that can be used on an interface.

key-chain

Creates a set of keys that can be used by an authentication method.

show ip eigrp

Displays EIGRP information.

authentication mode (EIGRP)

To specify the type of authentication used in the Enhanced Interior Gateway Routing Protocol (EIGRP) packets, use the authentication mode command. To remove authentication, use the no form of this command.

authentication mode md5

no authentication mode md5

 
Syntax Description

md5

Specifies Message Digest 5 (MD5) authentication.

 
Command Default

None

 
Command Modes

Router configuration mode

Address family configuration mode

VRF configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
Usage Guidelines

This command requires the LAN Base Services license.

Examples

This example shows how to configure the interface to use MD5 authentication:

switch(config)# router eigrp 209
switch(config-router)# vrf red
switch(config-router-vrf)# authentication mode md5
switch(config-router-vrf)#
 

 
Related Commands

Command
Description

authentication key-chain eigrp

Enables authentication for EIGRP and specifies the set of keys that can be used on an interface.

ip authentication mode eigrp

Configures the authentication mode for EIGRP on an interface.

key chain

Creates a set of keys that can be used by an authentication method.

show ip eigrp

Displays EIGRP information.

autonomous-system

To configure the autonomous system (AS) number for an Enhanced Interior Gateway Routing Protocol (EIGRP) address family, use the autonomous-system command. To revert to default, use the no form of this command.

autonomous-system as-number

no autonomous-system [ as-number ]

 
Syntax Description

as-number

Autonomous system number. The range is from 1 to 65535.

 
Command Default

None

 
Command Modes

Address family configuration mode

 
Command History

Release
Modification

5.2(1)N1(1)

This command was introduced.

 
Usage Guidelines

Use the autonomous-system command to set a common AS number for all EIGRP instances in an address family.

This command requires the LAN Base Services license.

Examples

This example shows how to set an AS number for EIGRP for IPv4 unicast:

switch(config)# router eigrp 201
switch(config-router)# address-family ipv4 unicast
switch(config-router-af)# autonomous-system 64496
switch(config-router-af)#
 

 
Related Commands

Command
Description

address-family (EIGRP)

Enters the address family configuration mode for EIGRP.