|
|
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-id
To enable authentication for an OSPF area, use the area authentication router configuration command. To remove an area's authentication specification or a specified area from the router's configuration, use the no form of this command.
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.
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. |
|
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.
To restore the default behavior 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 common-as autonomous-system [autonomous-system ... ]
To specify which autonomous systems belong to a common administration, use the bgp common-as router configuration command. To remove an autonomous system from the common administration, use the no form of this command.
[no] bgp confederation identifier autonomous-system
To specify a BGP confederation identifier, use the bgp confederation identifier router configuration command. To remove the confederation identifier, use the no form of this command.
[no] bgp confederation peers autonomous-system [autonomous-system
... ]
To configure the autonomous systems that belong to the confederation, use the bgp confederation peers router configuration command. To remove an autonomous system from the confederation, 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.
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.
(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.
[no] default-information allowed {in | out} [route-map map-tag]
To control the candidate default routing information between IGRP or Enhanced IGRP processes, use the default-information allowed router configuration command. To suppress IGRP or Enhanced IGRP candidate information in incoming updates, use the no default-information allowed in command. To suppress IGRP or Enhanced IGRP candidate information in outbound 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.
Originates the default route regardless of whether it resides in the routing table. |
|
(Optional) Routing process will generate the default route if the route-map is satisfied. |
[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.
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 bgp
To 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 eigrp
To allow the use of two administrative distancesinternal and externalthat 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.
[no] ip as-path access-list access-list-number {permit | deny}
as-regular-expression
To 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.
ip community-list community-list-number {permit | deny}
community-number
no ip community-list community-list-number
To create a community list for BGP and control access to it, use the ip community-list global configuration command. To delete the community list, use the no form of this command.
Integer 1 through 99 that identifies one or more permit or deny groups of communities. |
|
Community number configured by a set community command. Valid value is one of the following: |
[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.
Number of a standard IP access list. This can be a number from 0 to 99. A value of 0 means that all sources are accepted with the configured distance. |
|
ip dvmrp default-information {originate | only}
no ip dvmrp default-information {originate | only}
To advertise network 0.0.0.0 to DVMRP neighbors on an interface, use the ip dvmrp default-information interface configuration command. To prevent the advertisement, 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 gdp
To 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.
ip igmp query-interval seconds
no ip igmp query-interval
To 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.
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 irdp
To 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.
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.
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-key
To 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 form of this command.
To 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.
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-interval
To 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.
Unsigned integer that specifies the interval in seconds; the value must be the same for all nodes on the network. The default is four times the interval set by the ip ospf hello-interval command. |
ip ospf hello-interval seconds
no ip ospf hello-interval
To 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.
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. |
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 | point-to-multipoint}
no ip ospf network
To 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 priority
To 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 retransmit-interval seconds
no ip ospf retransmit-interval
To 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-delay
To 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.
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.
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 route
To establish static routes, use the ip route global configuration command. To remove static routes, use the no form of this command.
(Optional) Network mask that lets you mask network and subnetwork bits. |
|
IP address of the next hop that can be used to reach that network. |
|
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.
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
mask
To 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.