0% found this document useful (0 votes)
363 views7 pages

Configuracion EIGRP: TIP: The Bandwidth Command Is Used For Metric

The document describes various commands used to configure EIGRP and OSPF routing protocols on Cisco routers. Some of the key points include: - EIGRP commands like bandwidth, metric weights, autosummary, redistribute, ip summary-address, variance, ip bandwidthpercent, ip authentication, and key chain are used to configure EIGRP parameters, interfaces, authentication. - show commands like show ip eigrp neighbors, topology, interfaces, traffic are used to verify EIGRP neighbor relationships and routing tables. - debug commands help troubleshoot EIGRP issues. - router ospf starts the OSPF process and log-adjacency-changes details neighbor state changes. router-

Uploaded by

Jose Alban
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
363 views7 pages

Configuracion EIGRP: TIP: The Bandwidth Command Is Used For Metric

The document describes various commands used to configure EIGRP and OSPF routing protocols on Cisco routers. Some of the key points include: - EIGRP commands like bandwidth, metric weights, autosummary, redistribute, ip summary-address, variance, ip bandwidthpercent, ip authentication, and key chain are used to configure EIGRP parameters, interfaces, authentication. - show commands like show ip eigrp neighbors, topology, interfaces, traffic are used to verify EIGRP neighbor relationships and routing tables. - debug commands help troubleshoot EIGRP issues. - router ospf starts the OSPF process and log-adjacency-changes details neighbor state changes. router-

Uploaded by

Jose Alban
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as RTF, PDF, TXT or read online on Scribd
You are on page 1/ 7

Configuracion EIGRP

Router(configif)# bandwidth x
Sets the bandwidth of this interface to x kilobits to
allow EIGRP to make a better metric calculation.

TIP: The bandwidth command is used for metric


calculations only. It does not change interface
performance.

Router(configrouter)# metric weights tos k1 k2 k3 k4 k5


Changes the default k values used in metric
calculation.
These are the default values:
tos=0, k1=1, k2=0, k3=1, k4=0, k5=0

Router(config-router)#autosummary
Enables auto-summarization for the EIGRP
process.

Router(config-router)#redistribute static
Static routes on this router will be
exchanged with neighbor routers in
EIGRP.

Router(config-if)#ip summary-address eigrp 100 0.0.0.0 0.0.0.0 75


Enables manual summarization for
EIGRP autonomous system 100 on
this specific interface for the given
address and mask. An optional
administrative distance of 75 is
assigned to this summary route.

Router(config-router)#variance n
Instructs the router to include routes with
a metric less than or equal to n times the
minimum metric route for that
destination, where n is the number
specified by the variance command.

Router(config-if)#ip bandwidthpercent eigrp 50 100


Configures the percentage of bandwidth
that may be used by EIGRP on an
interface.
50 is the EIGRP autonomous system
number.
100 is the percentage value.
100% * 256 = 256 kbps.

Router(config-if)#ip authentication mode eigrp 100 md5


Enables Message Digest 5 (MD5)
authentication in EIGRP packets over the
interface.

Router(config-if)#ip
authentication key-chain eigrp
100 romeo
Enables authentication of EIGRP packets.
romeo is the name of the key chain.

Router(config)#key chain romeo


Identifies a key chain. Name must match the
name configured in interface configuration
mode above.
Router(config-keychain)#key 1
Identifies the key number.
NOTE: The range of keys is from 0 to
2147483647. The key identification numbers
do not need to be consecutive. There must be at
least 1 key defined on a key chain.

Router(config-keychainkey)#
key-string shakespeare
Identifies the key string.
NOTE: The string can contain from 1 to 80
uppercase and lowercase alphanumeric
characters, except that the first character cannot
be a number

Router(config-keychainkey)#
accept-lifetime starttime
{infinite | end-time |
duration seconds}
Optionally specifies the period during which
the key can be received.
NOTE: The default start time and the earliest
acceptable date is January 1, 1993. The default
end time is an infinite time period.

Router(config-keychainkey)#
send-lifetime start-time
{infinite | end-time | duration
seconds}
Optionally specifies the period during which
the key can be sent.
NOTE: The default start time and the earliest
acceptable date is January 1, 1993. The default
end time is an infinite period.

Stub Networks

Router(config)#key chain romeo Identifies a


key chain. Name must match the
name configured in interface configuration
mode above.

Router(config-keychain)#key 1 Identifies
the key number.
NOTE: The range of keys is from 0 to
2147483647. The key identification numbers
do not need to be consecutive. There must be at
least 1 key defined on a key chain

Router(config-keychainkey)#
key-string shakespeare
Identifies the key string.
NOTE: The string can contain from 1 to 80
uppercase and lowercase alphanumeric
characters, except that the first character cannot
be a number.
Router(config-keychainkey)#
accept-lifetime starttime
{infinite | end-time |
duration seconds}
Optionally specifies the period during which
the key can be received.
NOTE: The default start time and the earliest
acceptable date is January 1, 1993. The default
end time is an infinite time period.
Router(config-keychainkey)#
send-lifetime start-time
{infinite | end-time | duration
seconds}
Optionally specifies the period during which
the key can be sent.
NOTE: The default start time and the earliest
acceptable date is January 1, 1993. The default
end time is an infinite period.

Router(config-router)#eigrp
stub
Router will send updates containing its
connected and summary routes only.
NOTE: Only the stub router needs to have the
eigrp stub command enabled.
Router(config-router)#eigrp
stub connected
Permits the EIGRP Stub Routing feature to
send only connected routes.
NOTE: If the connected routes are not covered
by a network statement, it might be necessary
to redistribute connected routes with the
redistribute connected command.
TIP: The connected option is enabled by
default.
Router(config-router)#eigrp
stub static
Permits the EIGRP Stub Routing feature to
send static routes.
NOTE: Without this option, EIGRP will not
send static routes, including internal static
routes that normally would be automatically
redistributed. It will still be necessary to
redistribute static routes with the redistribute
static command.

Router(config-router)#eigrp
stub summary
Permits the EIGRP Stub Routing feature to
send summary routes.
NOTE: Summary routes can be created
manually, or through automatic summarization
at a major network boundary if the autosummary
command is enabled.
TIP: The summary option is enabled by
default.
Router(config-router)#eigrp
stub receive-only
Restricts the router from sharing any of its
routes with any other router in that EIGRP
autonomous system.

EIGRP Verificacion

Router#show ip eigrp neighbors Displays the neighbor table.


Router#show ip eigrp neighbors
detail
Displays a detailed neighbor table.
TIP: The show ip eigrp neighbors detail
command will verify whether a neighbor is
configured as a stub router.
Router#show ip eigrp interfaces Shows info for each interface.
Router#show ip eigrp int s 0/0 Shows info for specific interface.
Router#show ip eigrp int 100 Shows info for interfaces running process
100.
Router#show ip eigrp topology Displays topology table.
TIP: The show ip eigrp topology
command shows you where your feasible
successors are.
Router#show ip eigrp traffic Shows the number and type of packets sent
and received.
Router#show ip route eigrp Shows a routing table with only EIGRP
entries.

Troubleshooting EIGRP

Router#debug eigrp fsm Displays events/actions related to EIGRP


feasible successor metrics (FSM).
Router#debug eigrp packet Displays events/actions related to EIGRP
packets.
Router#debug eigrp neighbor Displays events/actions related to your
EIGRP neighbors.
Router#debug ip eigrp neighbor Displays events/actions related to your
EIGRP neighbors.
Router#debug ip eigrp
notifications
Displays EIGRP event notifications.

OSPF

Router(config)#router ospf 123 Starts


OSPF process 123. The process ID is
any positive integer value between 1 and
65,535. The process ID is not related to the
OSPF area. The process ID merely
distinguishes one process from another within
the device.

Router(config-router)#logadjacency-
changes detail
Configures the router to send a syslog message
when there is a change of state between OSPF
neighbors.
TIP: Although the log-adjacency-changes
command is on by default, only up/down
events are reported unless you use the detail
keyword.

Router ID

Router(config-router)#router-id
10.1.1.1
Sets the router ID to 10.1.1.1. If this
command is used on an OSPF router process
that is already active (has neighbors), the new
router ID is used at the next reload or at a
manual OSPF process restart.

DR/BDR Elections

Router(config-if)#ip ospf
priority 50
Changes the OSPF interface priority to 50.
NOTE: The assigned priority can be between
0 and 255. A priority of 0 makes the router
ineligible to become a designated router (DR)
or backup designated router (BDR). The
highest priority wins the election. A priority
of 255 guarantees a tie in the election. If all
routers have the same priority, regardless of
the priority number, they tie. Ties are broken
by the highest router ID.

Modifying Cost Metrics

Router(config-if)#bandwidth 128 If you change the bandwidth, OSPF will


recalculate the cost of the link.
Or
Router(config-if)#ip ospf cost
1564
Changes the cost to a value of 1564.

OSPF auto-cost reference-bandwidth

Router(config-router)#auto-cost
reference-bandwidth 1000
Changes the reference bandwidth that OSPF
uses to calculate the cost of an interface.
NOTE: The range of the reference
bandwidth is 1 to 4,294,967. The default is
100. The unit of measurement is Mbps.
NOTE: The value set by the ip ospf cost
command overrides the cost resulting from
the auto-cost command.
TIP: If you use the command auto-cost
reference-bandwidth reference-bandwidth,
configure all the routers to use the same
value. Failure to do so will result in routers
using a different reference cost to calculate
the shortest path, resulting in potential
suboptimum routing paths.

Authentication: Simple

Router(config-router)#area 0
authentication
Enables simple authentication; password
will be sent in clear text.
Router(config-router)#exit Returns to global configuration mode.
Router(config)#interface
fastethernet 0/0
Moves to interface configuration mode.

Router(config-if)#ip ospf
authentication-key fred
Sets key (password) to fred.
NOTE: The password can be any
continuous string of characters that can be
entered from the keyboard, up to 8 bytes in
length. To be able to exchange OSPF
information, all neighboring routers on the
same network must have the same
password.

Authentication: Using MD5 Encryption

Router(config-router)#area 0
authentication message-digest
Enables authentication with MD5
password encryption.
Router(config-if)#ip ospf messagedigest-
key 1 md5 fred
1 is the key-id. This value must be the same
as that of your neighboring router.
md5 indicates that the MD5 hash
algorithm will be used.
fred is the key (password) and must be the
same as that of your neighboring router.
NOTE: If the service passwordencryption
command is not used when
implementing OSPF MD5 authentication,
the MD5 secret will be stored as plain text
in NVRAM.

Timers

Router(config-if)#ip ospf hellointerval


timer 20
Changes the Hello Interval timer to 20
seconds.
Router(config-if)#ip ospf deadinterval
80
Changes the Dead Interval timer to 80
seconds.
NOTE: Hello and Dead Interval timers
must match for routers to become
neighbors.

Propagating a Default Route

Router(config-router)#defaultinformation
originate
Sets the default route to be propagated to all
OSPF routers.
Router(config-router)#defaultinformation
originate always
The always option will propagate a default
“quad-zero” route even if one is not
configured on this router.
NOTE: The default-information originate
command or the default-information
originate always command is usually only
to be configured on your “entrance” or
“gateway” router, the router that connects
your network to the outside world—the
Autonomous System Boundary Router
(ASBR).

Full-Mesh Frame Relay: NBMA on Physical Interfaces

Router(config-router)#neighbor
10.1.1.3 priority 15
Manually identifies this router’s neighbor at
IP address 10.1.1.3 and assigns a priority
value of 15 to determine the DR.

Router(config-if)#frame-relay
map ip 10.1.1.3 200
Maps the remote IP address 10.1.1.3 to DLCI
200.
NOTE: Using the neighbor command will
allow for an OSPF router to exchange routing
information without multicasts and instead
use unicasts to the manually entered neighbor
IP address.
NOTE: Prior to Cisco IOS Software Release
12.0, the neighbor command applied to
NBMA networks only. With Release 12.0,
the neighbor command applies to NBMA
networks and point-to-multipoint networks.

Router(config-if)#ip ospf network


broadcast
Changes the network type to
broadcast instead of NBMA.
Router(config-if)#ip ospf priority 15 Changes the OSPF interface
priority to 15.

pag 45

You might also like