|
|
Table Of Contents
IP Routing Protocols Commands
This chapter describes the function and displays the syntax of each IP routing command. For more information about defaults and usage guidelines, see the corresponding chapter of the Router Products Command Reference publication.
[no] aggregate-address address mask [as-set] [summary-only]
[suppress-map map-name]To create an aggregate entry in a BGP routing table, use the aggregate-address router configuration command. To disable this feature, use the no form of this command.
[no] area area-id authentication
no area area-idTo enable authentication for an OSPF area, use the area authentication router configuration command. To remove an area's authentication specificationor a specified area from the router's configuration, use the no form of this command.
area-id
Identifier of the area for which authentication is to be enabled. The identifier can be specified as either a decimal value or an IP address.
[no] area area-id default-cost cost
To specify a cost for the default summary route sent into a stub area, use the area default-cost router configuration command. To remove the assigned default route cost, use the no form of this command.
[no] area area-id range address mask
To consolidate and summarize routes at an area boundary, use the area range router configuration command. To disable this function, use the no form of this command.
area-id
Identifier of the area about which routes are to be summarized. It can be specified as either a decimal value or as an IP address.
address
IP address.
mask
IP mask.
[no] area area-id stub
To define an area as a stub area, use the area stub router configuration command. To disable this function, use the no form of this command.
[no] area area-id virtual-link router-id [hello-interval seconds]
[retransmit-interval seconds] [transmit-delay seconds]
[dead-interval seconds] [authentication-key password]To define an OSPF virtual link, use the area virtual-link router configuration command with the optional parameters. To remove a virtual link, use the no form of this command.
area-password [password]
no area-password [password]To configure the IS-IS area authentication password, use the area-password router configuration command. To disable the password, use the no form of this command.
[no] auto-summary
To restore the default dehavior of automatic summarization of subnet routes into network-level routes, use the auto-summary router configuration command. To disable this feature, use the no form of this command.
[no] autonomous-system local-as
To specify the local autonomous system that the router resides in for EGP, use the autonomous-system global configuration command . To remove the autonomous system number, use the no form of this command.
[no] bgp default local-preference value
To change the default local preference value, use the bgp default local-preference command. To return to the default setting, use the no form of this command.
[no] bgp fast-external-fallover
To immediately reset the BGP sessions of any directly adjacent external peers if the link used to reach them goes down, use the bgp fast-external-fallover router configuration command. To disable this feature, use the no form of this command.
clear ip bgp {* | address}
To reset a BGP connection, use the clear ip bgp EXEC command at the system prompt.
clear ip eigrp neighbors [ip-address | interface]
To delete entries from the neighbor table, use the clear ip eigrp neighbors EXEC command.
ip-address
(Optional) Address of the neighbor.
interface
(Optional) Interface type and number. Specifying this argument removes from the neighbor table all entries learned via this interface.
clear ip igmp group [group-name | group-address | type number]
To delete entries from the IGMP cache, use the clear ip igmp group privileged EXEC command.
clear ip mroute * | {group-name | group-address} [source-address]
To delete entries from the IP multicast routing table, use the clear ip mroute EXEC command.
clear ip route {network [mask] | *}
To delete entries from the IP routing table, use the clear ip route EXEC command.
network
Network or subnet address to remove.
mask
(Optional) Subnet mask to remove.
*
Removes all routing table entries.
[no] default-information allowed {in | out} [route-map map-tag]
To control the redistribution of routing information between IGRP or Enhanced IGRP processes, use the default-information allowed router configuration command. To suppress IGRP or Enhanced IGRP exterior or default routes when they are received by an Enhanced IGRP process, use the no default-information allowed in command. To suppress IGRP or Enhanced IGRP exterior routes in updates, use the no default-information allowed out command.
[no] default-information originate
To allow the redistribution of network 0.0.0.0 into BGP, use the default-information originate router configuration command. To disable this feature, use the no form of this command.
[no] default-information originate
To explicitly configure EGP to generate a default route, use the default-information originate router configuration command. To disable this feature, use the no form of this command.
[no] default-information originate [route-map map-name]
To generate a default route into an IS-IS routing domain, use the default-information originate router configuration command. To disable this feature, use the no form of this command.
[no] default-information originate [always] [metric metric-value]
[metric-type type-value] {level-1 | level-1-2 | level-2}
[route-map map-name]To generate a default route into an OSPF routing domain, use the default-information originate router configuration command. To disable this feature, use the no form of this command.
[no] default-metric number
To set default metric values for the BGP, EGP, OSPF, and RIP routing protocols, use this form of the default-metric router configuration command. To return to the default state, use the no form of this command.
[no] default-metric bandwidth delay reliability loading mtu
To set metrics for IGRP or Enhanced IGRP, use this form of the default-metric router configuration command. To remove the metric value and return to the default state, use the no form of this command.
[no] distance weight [address mask [access-list-number]] [ip]
To define an administrative distance, use the distance router configuration command. To remove a distance definition, use the no form of this command.
distance bgp external-distance internal-distance local-distance
no distance bgpTo allow the use of external, internal, and local administrative distances that could be a better route to a node, use the distance bgp router configuration command. To return to the default values, use the no form of this command.
distance eigrp internal-distance external-distance
no distance eigrpTo allow the use of two administrative distances—internal and external—that could be a better route to a node, use the distance eigrp router configuration command. To reset these values to their defaults, use the no form of this command.
[no] distribute-list access-list-number in [interface-name]
To filter networks received in updates, use the distribute-list in router configuration command. To change or cancel the filter, use the no form of this command.
[no] distribute-list access-list-number out [interface-name |
routing-process | autonomous-system-number]To suppress networks from being advertised in updates, use the distribute-list out router configuration command. To cancel this function, use the no form of this command.
[no] domain-password [password]
To configure the IS-IS routing domain authentication password, use the domain-password router configuration command. To disable a password, use the no form of this command.
[no] ip address address mask [secondary]
To specify the IP address on an interface, use the ip address interface configuration command. To remove an address, use the no form of this command.
address
IP address
mask
IP address mask
secondary
(Optional) Address to be added as a secondary address
[no] ip as-path access-list access-list-number {permit | deny}
as-regular-expressionTo define a BGP-related access list, use the ip as-path access-list global configuration command. To disable use of the access list, use the no form of this command.
[no] ip default-network network-number
To select a network as a candidate route for computing the gateway of last resort, use the ip default-network global configuration command. To remove a route, use the no form of this command.
[no] ip dvmrp accept-filter access-list-number [distance]
To configure an acceptance filter for incoming DVMRP reports, use the ip dvmrp accept-filter interface configuration command. To disable this feature, use the no form of this command.
[no] ip dvmrp metric metric [access-list-number] [protocol process-id]
To configure the metric associated with a set of destinations for DVMRP reports, use the ip dvmrp metric interface configuration command. To disable this function, use the no form of this command.
ip gdp [priority number | reporttime seconds | holdtime seconds]
no ip gdpTo enable GDP routing on an interface, use the ip gdp interface configuration command. To disable GDP routing, use the no form of this command.
[no] ip hello-interval eigrp autonomous-system-number seconds
To configure the hello interval for the IP Enhanced IGRP routing process designated by an autonomous system number, use the ip hello-interval eigrp interface configuration command. To restore the default value, use the no form of this command.
[no] ip hold-time eigrp autonomous-system-number seconds
To configure the hold time for the IP Enhanced IGRP routing process designated by the autonomous system number, use the ip hold-time eigrp interface configuration command. To restore the default value, use the no form of this command.
[no] ip igmp access-group access-list-number
To control the multicast groups that hosts on the subnet serviced on an interface can join, use the ip igmp access-group interface configuration command. To disable groups on an interface, use the no form of this command.
[no] ip igmp join-group group-address
To have the router join a multicast group, use the ip igmp join-group interface configuration command. To cancel membership in a multicast group, use the no form of this command.
group-address
Address of the multicast group. This is a multicast IP address in four-part dotted notation.
ip igmp query-interval seconds
no ip igmp query-intervalTo configure the frequency at which the router sends IGMP host-query messages, use the ip igmp query-interval interface configuration command. To return to the default frequency, use the no form of this command.
seconds
Frequency, in seconds, at which to transmit IGMP host-query messages. The can be a number from 0 to 65535. The default is 60 seconds.
ip irdp [multicast | holdtime seconds | maxadvertinterval seconds |
minadvertinterval seconds | preference number | address address
[number]]
no ip irdpTo enable ICMP Router Discovery Protocol (IRDP) processing on an interface, use the ip irdp interface configuration command. To disable IRDP routing, use the no form of this command.
[no] ip multicast-routing
To enable IP multicast routing on the router, use the ip multicast-routing global configuration command. To disable IP multicast routing, use the no form of this command.
ip multicast-threshold ttl
no ip multicast-threshold [ttl]To configure the time-to-live (TTL) threshold of packets being forwarded out an interface, use the ip multicast-threshold interface configuration command. To return to the default TTL threshold, use the no form of this command.
ttl
Time-to-live value, in hops. It can be a value from 0 to 255. The default value is 0, which means that all multicast packets are forwarded out the interface.
ip ospf authentication-key password
no ip ospf authentication-keyTo assign a password to be used by neighboring routers that are using OSPF's simple password authentication, use the ip ospf authentication-key interface configuration command. To remove a previously assigned OSPF password, use the no ip form of this command.
password
Any continuous string of characters, up to 8 bytes long, that can be entered from the keyboard.
ip ospf cost cost
no ip costTo explicitly specify the cost of sending a packet on an interface, use the ip ospf cost interface configuration command. To reset the path cost to the default value, use the no form of this command.
cost
Unsigned integer value expressed as the link state metric. It can be a value in the range 1 to 65535.
ip ospf dead-interval seconds
no ip ospf dead-intervalTo set how long a router's Hello packets must not have been seen before its neighbors declare the router down, use the ip ospf dead-interval interface configuration command. To return to the default time, use the no form of this command.
ip ospf hello-interval seconds
no ip ospf hello-intervalTo specify the interval between Hello packets that the router sends on the interface, use the ip ospf hello-interval interface configuration command. To return to the default time, use the no form of this command.
seconds
Unsigned integer that specifies the interval in seconds. The value must be the same for all nodes on a specific network. The default is 10 seconds.
[no] ip ospf-name-lookup
To configure OSPF to look up Domain Name System (DNS) names for use in all OSPF show EXEC command displays, use the ip ospf-name-lookup global configuration command. To disable this feature , use the no form of this command.
ip ospf network {broadcast | non-broadcast}
no ip ospf networkTo configure the OSPF network type to a type other than the default for a given media, use the ip ospf network interface configuration command. To return to the default value, use the no form of this command.
ip ospf priority number
no ip ospf priorityTo configure the OSPF network type to a type other than the default for a given media, use the ip ospf network interface configuration command. To return to the default value, use the no form of this command.
number
8-bit unsigned integer that specifies the priority. The range is from 0 to 255. The default is 1.
ip ospf retransmit-interval seconds
no ip ospf retransmit-intervalTo specify the number of seconds between link state advertisement retransmissions for adjacencies belonging to the interface, use the ip ospf retransmit-interval interface configuration command. The no form of this command resets the link state advertisement retransmission interval to the default value.
ip ospf transmit-delay seconds
no ip ospf transmit-delayTo set the estimated time it takes to transmit a link state update packet on the interface, use the ip ospf transmit-delay interface configuration command. To return to the default value, use the no form of this command.
seconds
Time in seconds that it takes to transmit a link state update. It can be an integer in the range is 1 to 65535 seconds. The default is 1 second.
[no] ip pim {dense-mode | sparse-mode}
To enable IP multicast routing on an interface, use the ip pim interface configuration command. To disable the PIM multicast routing protocol on the interface, use the no form of this command.
ip pim query-interval seconds
no ip pim query-interval [seconds]To configure the frequency of PIM router-query messages, use the ip pim query-interval interface configuration command. To return to the default interval, use the no form of this command.
seconds
Interval, in seconds, at which periodic PIM router-query messages are sent. It can be a number from 1 to 65535. The default is 30 seconds.
[no] ip pim rp-address ip-address [access-list-number]
To configure the address of a PIM rendezvous point (RP), use the ip pim rp-address global configuration command. To remove an RP address, use the no form of this command.
ip route network [mask] {address | interface} [distance]
no ip routeTo establish static routes, use the ip route global configuration command. To remove static routes, use the no form of this command.
[no] ip router isis [tag]
To configure an IS-IS routing process for IP on an interface, use the ip router isis interface configuration command. To disable IS-IS for IP, use the no form of this command.
[no] ip split-horizon
To enable the split-horizon mechanism, use the ip split-horizon interface configuration command. To disable the split-horizon mechanism, use the no form of this command.
[no] ip split-horizon eigrp autonomous-system-number
To enable IP Enhanced IGRP split horizon, use the ip split-horizon eigrp interface configuration command. To disable split horizon, use the no form of this command.
[no] ip summary-address eigrp autonomous-system-number address
maskTo configure a summary aggregate address for a specified interface, use the ip summary-address eigrp interface configuration command. To disable a configuration, use the no form of this command.
autonomous-system-number
Autonomous system number
address
IP summary aggregate address to apply to an interface
mask
Subnet mask
[no] is-type {level-1 | level-1-2 | level-2-only}
To configure the IS-IS level at which the router operates, use the is-type router configuration command. To reset the default value, use the no form of this command.
level-1
Router acts as a station router.
level-1-2
Router acts as both a station router and an area router. This is the default.
level-2-only
Router acts as an area router only.
isis circuit-type {level-1 | level-1-2 | level-2-only}
no isis circuit-typeTo configure the type of adjancy, use the isis circuit-type interface configuration command. To reset the circuit type to Level l and Level 2, use the no form of this command.
[no] isis csnp-interval seconds {level-1 | level-2}
To configure the IS-IS complete sequence number PDUs (CSNP) interval, use the isis csnp-interval interface configuration command. To restore the default value, use the no form of this command.
isis hello-interval seconds {level-1 | level-2}
no isis hello-interval {level-1 | level-2}To specify the length of time between Hello packets that the router sends, use the isis hello-interval interface configuration command. To restore the default value, use the no form of this command.
isis metric default-metric [delay-metric [expense-metric [error-metric]]]
{level-1 | level-2}
no isis metric {level-1 | level-2}To configure the metric for an interface, use the isis metric interface configuration command. To restore the default metric value, use the no form of this command.
isis password password {level-1 | level-2}
no isis password {level-1 | level-2}To configure the authentication password for an interface, use the isis password interface configuration command. To disable authentication for IS-IS, use the no form of this command.
isis priority value {level-1 | level-2}
no isis priority {level-1 | level-2}To configure the priority of designated routers, use the isis priority interface configuration command. To reset the default priority, use the no form of this command.
[no] isis retransmit-interval seconds
To configure the time between retransmission of IS-IS link-state PDU (LSP) retransmission for point-to-point links, use the isis retransmit-interval interface configuration command. To restore the default value, use the no form of this command.
[no] match as-path path-list-number
To match a BGP autonomous system path access list, use the match as-path route-map configuration command. To remove a path list entry, the no form of this command.
[no] match interface type number...type number
To distribute any routes that have their next hop out one of the interfaces specified, use the match interface route-map configuration command. To remove the match interface entry, use the no form of this command.
[no] match ip address access-list-number...access-list-number
To distribute any routes that have a destination network number address that is permitted by a standard access list, use the matc