Configuracion EIGRP: TIP: The Bandwidth Command Is Used For Metric
Configuracion EIGRP: TIP: The Bandwidth Command Is Used For Metric
Router(configif)# bandwidth x
Sets the bandwidth of this interface to x kilobits to
allow EIGRP to make a better metric calculation.
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-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
authentication key-chain eigrp
100 romeo
Enables authentication of EIGRP packets.
romeo is the name of the 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-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
Troubleshooting EIGRP
OSPF
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.
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.
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-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).
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.
pag 45