![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 Network Protocols Command Reference, Part 1.
To set the time period during which the authentication key on a key chain is received as valid, use the accept-lifetime key chain key configuration command. To revert to the default value, use the no form of this command.
accept-lifetime start-time {infinite | end-time | duration seconds}start-time | Beginning time that the key specified by the key command is valid to be received. The syntax can be either of the following:
hh:mm:ss Month date year hh:mm:ss date Month year hh--hours mm--minutes ss--seconds date--date (1-31) Month--first three letters of the month year--year (four digits) The default start time and the earliest acceptable date is January 1, 1993. |
infinite | Key is valid to be received from the start-time on. |
end-time | Key is valid to be received from the start-time until end-time. The end-time must be after the start-time. The syntax is the same as that for start-time. The default end time is an infinite time period. |
duration seconds | Length of time (in seconds) that the key is valid to be received. |
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.
aggregate-address address mask [as-set] [summary-only] [suppress-map map-name]address | Aggregate address. |
mask | Aggregate mask. |
as-set | (Optional) Generates autonomous system set path information. |
summary-only | (Optional) Filters all more specific routes from updates. |
suppress-map map-name | (Optional) Name of route map used to select the routes to be suppressed. |
advertise-map map-name | (Optional) Name of route map used to select the routes to create AS-SET origin communities. |
attribute-map map-name | (Optional) Name of route map used to set the attribute of the aggregate route. |
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 configuration, use the no form of this command.
area area-id authentication [message-digest]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. |
message-digest | (Optional) Enables MD5 authentication on the area specified by area-id. |
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.
area area-id default-cost costarea-id | Identifier for the stub area. The identifier can be specified as either a decimal value or as an IP address. |
cost | Cost for the default summary route used for a stub area. The acceptable value is a 24-bit number. The default cost is 1. |
To configure an area as a not so stubby area (NSSA), use the area nssa router configuration command. To remove the nssa distinction from the area, use the no form of this command.
area area-id nssa [no-redistribution] [default-information-originate]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-redistribution | (Optional) Used when the router is a NSSA ABR and you want the redistribute command to import routes only into the normal areas, but not into the NSSA area. |
default-information- originate | (Optional) Used to generate a Type 7 default into the NSSA area. This command only takes effect on NSSA ABR. |
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.
area-password passwordpassword | Password you assign. |
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 area-id range address maskarea-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. |
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.
area area-id stub [no-summary]area-id | Identifier for the stub area. The identifier can be either a decimal value or an IP address. |
no-summary | (Optional) Prevents an ABR from sending summary link advertisements into the stub area. |
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 area-id virtual-link router-id [hello-interval seconds] [retransmit-interval seconds]area-id | Area ID assigned to the transit area for the virtual link. This can be either a decimal value or a valid IP address. There is no default. |
router-id | Router ID associated with the virtual link neighbor. The router ID appears in the show ip ospf display. It is internally derived by each router from the router's interface IP addresses. This value must be entered in the format of an IP address. There is no default. |
hello-interval seconds | (Optional) Time in seconds between the hello packets that the Cisco IOS software sends on an interface. Unsigned integer value to be advertised in the software's hello packets. The value must be the same for all routers and access servers attached to a common network. The default is 10 seconds. |
retransmit-interval seconds | (Optional) Time in seconds between link state advertisement retransmissions for adjacencies belonging to the interface. Expected round-trip delay between any two routers on the attached network. The value must be greater than the expected round-trip delay. The default is 5 seconds. |
transmit-delay seconds | (Optional) Estimated time in seconds it takes to transmit a link state update packet on the interface. Integer value that must be greater than zero. Link state advertisements in the update packet have their age incremented by this amount before transmission. The default value is 1 second. |
dead-interval seconds | (Optional) Time in seconds that a software's hello packets are not seen before its neighbors declare the router down. Unsigned integer value. The default is four times the hello interval, or 40 seconds. As with the hello interval, this value must be the same for all routers and access servers attached to a common network. |
authentication-key key | (Optional) Password to be used by neighboring routers. Any continuous string of characters that you can enter from the keyboard up to 8 bytes long. This string acts as a key that will allow the authentication procedure to generate or verify the authentication field in the OSPF header. This key is inserted directly into the OSPF header when originating routing protocol packets. A separate password can be assigned to each network on a per-interface basis. All neighboring routers on the same network must have the same password to be able to route OSPF traffic. The password is encrypted in the configuration file if the service password-encryption command is enabled. There is no default value. |
message-digest-key keyid md5 key | (Optional) Key identifier and password to be used by neighboring routers and this router for MD5 authentication. The keyid is a number in the range 1 to 255. The key is an alphanumeric string of up to 16 characters. All neighboring routers on the same network must have the same key identifier and key to be able to route OSPF traffic. There is no default value. |
To specify the local autonomous system that the Cisco IOS software resides in for EGP, use the autonomous-system global configuration command. To remove the autonomous system number, use the no form of this command.
autonomous-system local-aslocal-as | Local autonomous system number to which the router belongs. |
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 and transmit subprefix routing information across classful network boundaries, use the no form of this command.
auto-summaryTo allow the comparison of the Multi Exit Discriminator (MED) for paths from neighbors in different autonomous systems, use the bgp always-compare-med router configuration command. To disallow the comparison, use the no form of this command.
bgp always-compare-medTo restore route reflection from a BGP route reflector to clients, use the bgp client-to-client reflection router configuration command. To disable client-to-client reflection, use the no form of this command.
bgp client-to-client reflectionTo configure the cluster ID if the BGP cluster has more than one route reflector, use the bgp cluster-id router configuration command. To remove the cluster ID, use the no form of this command.
bgp cluster-id cluster-idcluster-id | Cluster ID of this router acting as a route reflector; maximum of 4 bytes. |
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.
bgp confederation identifier autonomous-systemautonomous-system | Autonomous system number that internally includes multiple autonomous systems. |
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.
bgp confederation peers autonomous-system [autonomous-system]autonomous-system | Autonomous system number. |
To change the default local preference value, use the bgp default local-preference router configuration command. To return to the default setting, use the no form of this command.
bgp default local-preference valuevalue | Local preference value. Higher is more preferred. Integer from 0 to 4294967295. |
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.
bgp fast-external-falloverTo remove all dynamic entries from the ARP cache and to clear the fast-switching cache, use the clear arp-cache EXEC command.
clear arp-cacheTo reset a BGP connection using bgp soft reconfiguration, use the clear ip bgp EXEC command at the system prompt.
clear ip bgp [* | address | peer-group name [soft [ in | out ]]* | Resets all current BGP sessions. |
address | Resets only the identified BGP neighbor. |
peer-group-name | Resets the specified BGP peer group. |
soft | (Optional) Soft reconfiguration. |
in | out | (Optional) Triggers in bound or out bound soft reconfiguration. If in or out option is not specified, both in bound and out bound soft reconfiguration are triggered. |
To remove all the members of a BGP peer group, use the clear ip bgp peer-group EXEC command.
clear ip bgp peer-group tagtag | Name of the BGP peer group to clear. |
To send a CGMP leave message with a group address of 0000.0000.0000 and a unicast address of 0000.0000.0000, use the clear ip cgmp EXEC command.
clear ip cgmp interfaceinterface | Leave message is sent only on specified interface. |
To delete routes from the DVMRP routing table, use the clear ip dvmrp route EXEC command.
clear ip dvmrp route {* | route}* | Clears all routes from the DVMRP table. |
route | Clears the longest matched route. Can be an IP address, a network number, or an IP DNS name. |
To delete entries from the neighbor table, use the clear ip eigrp neighbors EXEC command.
clear ip eigrp neighbors [ip-address | type number]ip-address | (Optional) Address of the neighbor. |
type number | (Optional) Interface type and number. Specifying these arguments removes from the neighbor table all entries learned via this interface. |
To delete entries from the IGMP cache, use the clear ip igmp group EXEC command.
clear ip igmp group [group-name | group-address | type number]group-name | (Optional) Name of the multicast group, as defined in the DNS hosts table or with the ip host command. |
group-address | (Optional) Address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
type number | (Optional) Interface type and number. |
To delete entries from the IP multicast routing table, use the clear ip mroute EXEC command.
clear ip mroute {* | group [source]}* | Deletes all entries from the IP multicast routing table. |
group | Can be either one of the following:
· Name of the multicast group, as defined in the DNS hosts table or with the ip host command. · IP address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
source | (Optional) If you specify a group name or address, you can also specify a name or address of a multicast source that is transmitting to the group. A source does not need to be a member of the group. |
To delete entries from IGMP cache, use the clear ip mroute group EXEC command.
clear ip mroute {* | group [source]}* | Deletes all entries from the IP multicast routing table. |
group | Can be either one of the following:
· Name of the multicast group, as defined in the DNS hosts table or with the ip host command. · IP address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
source | (Optional) If you specify a group name or address, you can also specify a name or address of a multicast source that is transmitting to the group. A source does not need to be a member of the group. |
To remove one or more routes from the IP routing table, use the clear ip route EXEC command.
clear ip route {network [mask] | *}network | Network or subnet address to remove. |
mask | (Optional) Network mask associated with the IP address you wish to remove. |
* | Removes all entries. |
To delete a session directory cache entry, use the clear ip sd EXEC command.
clear ip sd [group-address | "session-name"]group-address | (Optional) All sessions associated with the IP group address are deleted. |
"session-name" | (Optional) Only the session directory entry by this name is deleted. The session name is enclosed in quotation marks and is not case-sensitive. |
To control the candidate default routing information between IGRP or Enhanced IGRP processes, use the default-information 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.
default-information [allowed] {in | out} {access-list-number | namein | Allows IGRP or Enhanced IGRP exterior or default routes to be received by an IGRP process. |
out | Allows IGRP or Enhanced IGRP exterior routes to be advertised in updates. |
access-list-number | name | Number or name of an access list. It can be a number in the range 1 to 99 or an access list name. |
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.
default-information originateTo 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.
default-information originateTo 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.
default-information originate [route-map map-name]route-map map-name | (Optional) Routing process will generate the default route if the route map is satisfied. |
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.
default-information originate [always] [metric metric-value] [metric-type type-value]originate | Causes the Cisco IOS software to generate a default external route into an OSPF domain if the software already has a default route and you want to propagate to other routers. |
always | (Optional) Always advertises the default route regardless of whether the software has a default route. |
metric metric-value | (Optional) Metric used for generating the default route. If you omit a value and do not specify a value using the default-metric router configuration command, the default metric value is 10. The value used is specific to the protocol. |
metric-type type-value | (Optional) External link type associated with the default route advertised into the OSPF routing domain. It can be one of the following values:
1--Type 1 external route 2--Type 2 external route The default is Type 2 external route. |
level-1 | Level 1 routes are redistributed into other IP routing protocols independently. It specifies if IS-IS advertises network 0.0.0.0 into the Level 1 area. |
level-1-2 | Both Level 1 and Level 2 routes are redistributed into other IP routing protocols. It specifies if IS-IS advertises network 0.0.0.0 into both levels in a single command. |
level-2 | Level 2 routes are redistributed into other IP routing protocols independently. It specifies if IS-IS advertises network 0.0.0.0 into the Level 2 subdomain. |
route-map map-name | (Optional) Routing process will generate the default route if the route map is satisfied. |
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.
default-metric numbernumber | Default metric value appropriate for the specified routing protocol. |
To set metrics for IGRP or Enhanced IGRP, use this form of the default-metric router configuration command. To remove the metric value and restore the default state, use the no form of this command.
default-metric bandwidth delay reliability loading mtubandwidth | Minimum bandwidth of the route in kilobits per second. It can be 0 or any positive integer. |
delay | Route delay in tens of microseconds. It can be 0 or any positive number that is a multiple of 39.1 nanoseconds. |
reliability | Likelihood of successful packet transmission expressed as a number between 0 and 255. The value 255 means 100 percent reliability; 0 means no reliability. |
loading | Effective bandwidth of the route expressed as a number from 0 to 255 (255 is 100 percent loading). |
mtu | Minimum maximum transmission unit (MTU) size of the route in bytes. It can be 0 or any positive integer. |
To define an administrative distance, use the distance router configuration command. To remove a distance definition, use the no form of this command.
distance weight [address mask [access-list-number | name]] [ip]weight | Administrative distance. This can be an integer from 10 to 255. (The values 0 to 9 are reserved for internal use.) Used alone, the argument weight specifies a default administrative distance that the Cisco IOS software uses when no other specification exists for a routing information source. Routes with a distance of 255 are not installed in the routing table. |
address | (Optional) IP address in four-part, dotted notation. |
mask | (Optional) IP address mask in four-part, dotted-decimal format. A bit set to 1 in the mask argument instructs the software to ignore the corresponding bit in the address value. |
access-list-number | name | (Optional) Number or name of a standard IP access list to be applied to incoming routing updates. |
ip | (Optional) IP-derived routes for IS-IS. It can be applied independently for IP routes and ISO CLNS routes. |
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 bgp external-distance internal-distance local-distanceexternal-distance | Administrative distance for BGP external routes. External routes are routes for which the best path is learned from a neighbor external to the autonomous system. Acceptable values are from 1 to 255. The default is 20. Routes with a distance of 255 are not installed in the routing table. |
internal-distance | Administrative distance for BGP internal routes. Internal routes are those routes that are learned from another BGP entity within the same autonomous system. Acceptable values are from 1 to 255. The default is 200. Routes with a distance of 255 are not installed in the routing table. |
local-distance | Administrative distance for BGP local routes. Local routes are those networks listed with a network router configuration command, often as back doors, for that router or for networks that are being redistributed from another process. Acceptable values are from 1 to 255. The default is 200. Routes with a distance of 255 are not installed in the routing table. |
To 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.
distance eigrp internal-distance external-distanceinternal-distance | Administrative distance for Enhanced IGRP internal routes. Internal routes are those that are learned from another entity within the same autonomous system. It can be a value from 1 to 255. |
external-distance | Administrative distance for Enhanced IGRP external routes. External routes are those for which the best path is learned from a neighbor external to the autonomous system. It can be a value from 1 to 255. |
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.
distribute-list access-list-number | name in [type number]access-list-number | name | Standard IP access list number or name. The list defines which networks are to be received and which are to be suppressed in routing updates. |
in | Applies the access list to incoming routing updates. |
type | (Optional) Interface type. |
number | (Optional) Interface number on which the access list should be applied to incoming updates. If no interface is specified, the access list will be applied to all incoming updates. |
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.
distribute-list access-list-number | name out [interface-name | routing-process |access-list-number | name | Standard IP access list number or name. The list defines which networks are to be sent and which are to be suppressed in routing updates. |
out | Applies the access list to outgoing routing updates. |
interface-name | (Optional) Name of a particular interface. |
routing-process | (Optional) Name of a particular routing process, or the keyword static or connected. |
autonomous-system-number | (Optional) Autonomous system number. |
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.
domain-password passwordpassword | Password you assign. |
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 as-path access-list access-list-number {permit | deny} as-regular-expressionaccess-list-number | Integer from 1 to 199 that indicates the regular expression access list number. |
permit | Permits access for matching conditions. |
deny | Denies access to matching conditions. |
as-regular-expression | Autonomous system in the access list using a regular expression. See the "Regular Expressions" appendix in the Access Services Command Reference for information about forming regular expressions. |
To configure the percentage of bandwidth that may be used by enhanced IGRP on an interface, use the ip bandwidth-percent eigrp interface configuration command. To restore the default value, use the no form of this command.
ip bandwidth-percent eigrpas-number | Autonomous system number. |
percent | Percent of bandwidth that enhanced IGRP may use. |
To enable CGMP routing on an interface, use the ip cgmp interface configuration command. To disable CGMP routing, use the no form of this command.
ip cgmp [priority number | reporttime seconds | holdtime seconds] proxypriority number | (Optional) Alters the CGMP priority. A larger number indicates a higher priority. |
reporttime seconds | (Optional) Alters the CGMP reporting interval; the default is 5 seconds for broadcast media such as Ethernets, and never for nonbroadcast media such as X.25. |
holdtime seconds | (Optional) Alters the CGMP default hold time of 15 seconds. |
proxy | (Optional) Enables CGMP for IP as well as the DVMRP proxy function. |
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.
ip community-list community-list-number {permit | deny} community-numbercommunity-list-number | Integer from 1 to 99 that identifies one or more permit or deny groups of communities. |
permit | Permits access for a matching condition. |
deny | Denies access for a matching condition. |
community-number | Community number configured by a set community command. Valid value is one of the following:
· A number from 1 to 4294967200. You can specify a single number or multiple numbers separated by a space. · internet--The Internet community. · no-export--Do not advertise this route to an EBGP peer. · no-advertise--Do not advertise this route to any peer (internal or external). |
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.
ip default-network network-numbernetwork-number | Number of the network. |
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.
ip dvmrp accept-filter access-list-number [distance] neighbor-list access-list-numberaccess-list-number | Number of a standard IP access list. This value is a number from 0 to 99. A value of 0 means that all sources are accepted with the configured distance. |
neighbor-list access-list number | Number of a neighbor list. DVMRP reports are accepted only by those neighbors on the list. |
distance | (Optional) Administrative distance to the destination. |
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.
ip dvmrp default-information {originate | only}originate | Other routes more specific than 0.0.0.0 can also be advertised. |
only | No DVMRP routes other than 0.0.0.0 are advertised. |
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 dvmrp metric metric [list access-list-number] [protocol process-id] | [dvmrp] route-mapmetric | Metric associated with a set of destinations for DVMRP reports. It can be a value from 0 to 32. A value of 0 means that the route is not advertised. A value of 32 is equivalent to infinity (unreachable). |
list access-list-number | (Optional) Number of an access list. If you specify this argument, only the multicast destinations that match the access list are reported with the configured metric. Any destinations not advertised because of split horizon do not use the configured metric. |
protocol | (Optional) Name of unicast routing protocol. It can be bgp, egp, eigrp, igrp, isis, ospf, rip, or static. (Note that these are the protocol names you can specify with a router protocol command.)
If you specify these arguments, only routes learned by the specified routing protocol are advertised in DVMRP report messages. |
process-id | (Optional) Process ID number of the unicast routing protocol. |
dvmrp | (Optional) Allows routes from the DVMRP routing table to be advertised with the configured metric or filtered. |
route-map | (Optional) Unicast routes can be subjected to route-map conditions before entering DVMRP. |
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.
ip gdp [priority number | reporttime seconds | holdtime seconds]priority number | (Optional) Alters the GDP priority; default is a priority of 100. A larger number indicates a higher priority. |
reporttime seconds | (Optional) Alters the GDP reporting interval; the default is 5 seconds for broadcast media such as Ethernets, and never for nonbroadcast media such as X.25. |
holdtime seconds | (Optional) Alters the GDP default hold time of 15 seconds. |
To configure the hello interval for the 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.
ip hello-interval eigrp autonomous-system-number secondsautonomous-system-number | Autonomous system number. |
seconds | Hello interval, in seconds. |
To configure the hold time for a particular 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.
ip hold-time eigrp autonomous-system-number secondsautonomous-system-number | Autonomous system number. |
seconds | Hold time, in seconds. |
To control the multicast groups that hosts on the subnet serviced by 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.
ip igmp access-group access-list-number versionaccess-list-number | Number of a standard IP access list. This value is a number from 1 to 99. |
version | Changes IGMP version. Default is version 2. |
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 join-group group-addressgroup-address | Address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
To configure the frequency at which the Cisco IOS software 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.
ip igmp query-interval secondsseconds | Frequency, in seconds, at which to transmit IGMP host-query messages. This value is a number from 0 to 65535. The default is 60 seconds. |
To configure the maximum response time advertised in the IGMP queries, use the ip igmp query-max-response-time interface configuration command. To return to the default frequency, use the no form of this command.
ip igmp query-max-response time secondsseconds | Frequency, in seconds, of the maximum response time advertised in the IGMP queries. |
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.
ip irdp [multicast | holdtime seconds | maxadvertinterval seconds | minadvertintervalmulticast | (Optional) Use the multicast address (224.0.0.1) instead of IP broadcasts. |
holdtime seconds | (Optional) Length of time in seconds advertisements are held valid. Default is three times the maxadvertinterval value. Must be greater than maxadvertinterval and cannot be greater than 9000 seconds. |
maxadvertinterval seconds | (Optional) Maximum interval in seconds between advertisements. The default is 600 seconds. |
minadvertinterval seconds | (Optional) Minimum interval in seconds between advertisements. The default is 0.75 times the maxadvertinterval. If you change the maxadvertinterval value, this value defaults to three-quarters of the new value. |
preference number | (Optional) Preference value. The allowed range is -231 to 231. The default is 0. A higher value increases the router's preference level. You can modify a particular router so that it will be the preferred router to which others home. |
address address [number] | (Optional) IP address (address) to proxy-advertise, and optionally, its preference value (number). |
To identify a route map to use for local policy routing, use the ip local policy route-map global configuration command. To disable local policy routing, use the no form of this command.
ip local policy route-map map-tagmap-tag | Name of the route map to use for local policy routing. The name must match a map-tag specified by a route-map command. |
To configure a multicast static route (mroute), use the ip mroute global configuration command. To remove the route, use the no form of this command.
ip mroute source mask [protocol as-number] {rpf-address | interface} [distance]source | IP address of the multicast source. |
mask | Mask on the IP address of the multicast source. |
protocol | (Optional) Unicast routing protocol that you are using. |
as-number | (Optional) Autonomous system number of the routing protocol you are using, if applicable. |
rpf-address | Incoming interface for the mroute. If the Reverse Path Forwarding address rpf-address is a PIM neighbor, PIM Joins, Grafts, and Prunes are sent to it. The rpf-address can be a host IP address of a directly connected system or a network/subnet number. When it is a route, a recursive lookup is done from the unicast routing table to find a directly connected system. If rpf-address is not specified, the interface type number is used as the incoming interface. |
interface | Interface type and number for the mroute. |
distance | (Optional) Determines whether a unicast route, a DVMRP route, or a static mroute should be used for the RPF lookup. The lower distances have better preference. If the static mroute has the same distance as the other two RPF sources, the static mroute will take precedence. The default is 0. |
To configure IP multicast fast switching, use the ip mroute-cache interface configuration command. To disable IP multicast fast switching, use the no form of this command.
ip mroute-cacheTo control the rate a sender from the source-list can send to a multicast group in the group-list, use the ip multicast rate-limit interface configuration command. To remove the control, use the no form of this command.
ip multicast rate-limit {in | out} [group-list access-list] [source-list access-list] kbpsin | Only packets at the rate of kbps or slower are accepted on the interface. |
out | Only a maximum of kbps will be transmitted on the interface. |
group-list access-list | (Optional) Specifies the access list number that controls which multicast groups are subject to the rate limit. |
source-list access-list | (Optional) Specifies the access list number that controls which senders are subject to the rate limit. |
kbps | Kilobits-per-second transmission rate. |
To enable IP multicast routing, use the ip multicast-routing global configuration command. To disable IP multicast routing, use the no form of this command.
ip multicast-routingTo configure the time-to-live (TTL) threshold of packets being forwarded out an interface, use the ip multicast ttl-threshold interface configuration command. To return to the default TTL threshold, use the no form of this command.
ip multicast ttl-threshold ttl-valuettl-value | 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. |
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.
ip ospf authentication-key passwordpassword | Any continuous string of characters that can be entered from the keyboard up to 8 bytes in length. |
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.
ip ospf cost costcost | Unsigned integer value expressed as the link state metric. It can be a value in the range 1 to 65535. |
To set how long 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 dead-interval secondsseconds | Unsigned integer that specifies the interval in seconds; the value must be the same for all nodes on the network. |
To configure OSPF to treat the interface as an OSPF demand circuit, use the ip ospf demand-circuit interface configuration command. To remove the demand circuit designation from the interface, use the no form of this command.
ip ospf demand-circuitTo specify the interval between hello packets that the Cisco IOS software 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.
ip ospf hello-interval secondsseconds | Unsigned integer that specifies the interval in seconds. The value must be the same for all nodes on a specific network. |
To enable OSPF MD5 authentication, use the ip ospf message-digest-key interface configuration command. To remove an old MD5 key, use the no form of this command.
ip ospf message-digest-key keyid md5 keykeyid | An identifier in the range 1 to 255. |
key | Alphanumeric password of up to 16 bytes. |
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 name-lookupTo 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 network {broadcast | non-broadcast | point-to-multipoint}broadcast | Sets the network type to broadcast. |
non-broadcast | Sets the network type to nonbroadcast. |
point-to-multipoint | Sets the network type to point-to-multipoint. |
To set the router priority, which helps determine the designated router for this network, use the ip ospf priority interface configuration command. To return to the default value, use the no form of this command.
ip ospf priority numbernumber | 8-bit unsigned integer that specifies the priority. The range is from 0 to 255. the default is 1. |
To specify the time between link state advertisement retransmissions for adjacencies belonging to the interface, use the ip ospf retransmit-interval interface configuration command. To return to the default value, use the no form of this command.
ip ospf retransmit-interval secondsseconds | Time in seconds between retransmissions. It must be greater than the expected round-trip delay between any two routers on the attached network. The range is 1 to 65535 seconds. The default is 5 seconds. |
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.
ip ospf transmit-delay secondsseconds | 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. |
To enable PIM on an interface, use the ip pim interface configuration command. To disable PIM on the interface, use the no form of this command.
ip pim {dense-mode | sparse-mode}dense-mode | Enables dense mode of operation. |
sparse-mode | Enables sparse mode of operation. |
To configure the frequency at which a sparse-mode PIM router sends periodic sparse-mode join/prune PIM messages, use the ip pim message-interval global configuration command. To return to the default interval, use the no form of this command.
ip pim message-interval secondsseconds | Interval, in seconds, at which periodic sparse-mode join and prune PIM messages are sent. It can be a number from 1 to 65535. The default is 60 seconds. |
To configure a multiaccess WAN interface to be in nonbroadcast, multiaccess mode, use the ip pim nbma-mode interface configuration command. To disable this feature, use the no form of this command.
ip pim nbma-modeTo 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.
ip pim query-interval secondsseconds | 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. |
To configure the address of a PIM rendezvous point (RP) for a particular group, use the ip pim rp-address global configuration command. To remove an RP address, use the no form of this command.
ip pim rp-address ip-address [access-list-number]ip-address | IP address of a router to be a PIM RP. This is a unicast IP address in four-part, dotted notation. |
access-list-number | (Optional) Number of an access list that defines for which multicast groups the RP should be used. This is a standard IP access list. The number can be from 1 to 100. |
To identify a route map to use for policy routing on an interface, use the ip policy route-map interface configuration command. To disable policy routing on the interface, use the no form of this command.
ip policy route-map map-tagmap-tag | Name of the route map to use for policy routing. Must match a map-tag specified by a route-map command. |
To enable authentication for RIP Version 2 packets and to specify the set of keys that can be used on an interface, use the ip rip authentication key-chain interface configuration command. Use the no form of this command to prevent authentication.
ip rip authentication key-chain name-of-chainname-of-chain | Enables authentication and specifies the group of keys that are valid. |
To specify the type of authentication used in RIP Version 2 packets, use the ip rip authentication mode interface configuration command. Use the no form of this command to restore clear text authentication.
ip rip authentication mode {text | md5}text | Clear text authentication. |
md5 | Keyed MD5 authentication. |
To specify a RIP version to receive on an interface basis, use the ip rip receive version interface configuration command. Use the no form of this command to follow the global version rules.
ip rip receive version [1 ] [2]1 | (Optional) Accepts only RIP Version 1 packets on the interface. |
2 | (Optional) Accepts only RIP Version 2 packets on the interface. |
To specify a RIP version to send on an interface basis, use the ip rip send version interface configuration command. Use the no form of this command to follow the global version rules.
ip rip send version [1 ] [2]1 | (Optional) Sends only RIP Version 1 packets out the interface. |
2 | (Optional) Sends only RIP Version 2 packets out the interface. |
To establish static routes, use the ip route global configuration command. To remove static routes, use the no form of this command.
ip route prefix mask {address | interface} [distance] [tag tag] [permanent]prefix | IP route prefix for the destination. |
mask | Prefix mask for the destination. |
address | IP address of the next hop that can be used to reach that network. |
interface | Network interface to use. |
distance | (Optional) An administrative distance. |
tag tag | (Optional) Tag value that can be used as a "match" value for controlling redistribution via route maps. |
permanent | (Optional) Specifies that the route will not be removed, even if the interface shuts down. |
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.
ip router isis [tag]tag | (Optional) Defines a meaningful name for a routing process. If not specified, a null tag is assumed. It must be unique among all IP router processes for a given router. Use the same text for the argument tag as specified in the router isis global configuration command. |
To enable the use of the Resource Reservation Protocol (RSVP) protocol for IP on an interface, use the ip rsvp bandwidth interface configuration command. To disable this feature, use the no form of the command.
ip rsvp bandwidth [interface-kbps] [single-flow-kbps]interface-kbps | (Optional) Amount of bandwidth on interface to be reserved. |
single-flow-kbps | (Optional) Amount of bandwidth allocated to single flow. |
To enable neighbors to offer a reservation, use the ip rsvp neighbors interface configuration command. To disable this feature, use the no form of the command.
ip rsvp neighbors access-list-numberaccess-list-number | Number of a standard or extended access list. It can be an integer from 1 to 199. |
To enable a router to simulate Resource Reservation Protocol RSVP) RESV message reception from the sender, use the ip rsvp reservation interface configuration command. To disable this feature, use the no form of the command.
ip rsvp reservation session-ip-address sender-ip-address [UDP | TCP | ip-protocol] session-dport sender-sport next-hop-ip address nexthop-interface {ff | se | wf} average kbps burst-size {rate | load | delay number} [bandwidth] [burst size] no ip rsvp sender session-ip-address sender-ip-address [UDP | TCP | ip-protocol] session-dport sender-sport next-hop-ip address nexthop-interface {ff | se | wf} average kbps burst-size {rate | load | delay number} [bandwidth] [burst-size]
session-ip-address | For unicast sessions, this is the address of the intended receiver; for multicast sessions, it is the IP multicast address of the session. |
sender-ip-address | For unicast sessions, this is the address of the sender; for multicast sessions, it is the IP multicast address of the session. |
UDP | TCP | ip-protocol | UDP or TCP session layer IP protocol. |
session-dport sender-sport | Session-dport is the destination ports. Sender-sport is the source port. Port numbers are specified in all cases, as the use of 16-bit ports following the IP header is not limited to UDP or TCP. If destination is zero, source must be zero, and the implication is that ports are not checked. If destination is non-zero, source must be non-zero. |
next-hop-ip-address | Address of the receiver or the router closest to the receiver. |
next-hop-interface | Next hop interface or subinterface number. |
ff | se | wf | Reservation Style: Wild Card (wf), Shared Explicit (se), or Fixed Filter (ff). |
rate | load | delay number | QOS service: guaranteed rate, controlled load, or controlled delay. |
bandwidth | Bit rate (kbps) to reserve up to 75 percent of total on interface. |
burst-size | Burst size (Kilobytes of data in queue). |
To enable a router to simulate Resource Reservation Protocol RSVP) PATH message reception from the sender, use the ip rsvp sender interface configuration command. To disable this feature, use the no form of the command.
ip rsvp sender session-ip-address sender-ip-address [UDP | TCP | ip-protocol] session-dport sender-sport previous-hop-ip-address previous-hop-interface {ff | se | wf} average kbps burst-size {rate | load | delay number} [bandwidth] [burst size] no ip rsvp sender session-ip-address sender-ip-address [UDP | TCP | ip-protocol] session-dport sender-sport previous-hop-ip-address previous-hop-interface {ff | se | wf} average kbps burst-size {rate | load | delay number} [bandwidth] [burst size]session-ip-address | For unicast sessions, this is the address of the intended receiver; for multicast sessions, it is the IP multicast address of the session. |
sender-ip-address | For unicast sessions, this is the address of the sender; for multicast sessions, it is the IP multicast address of the session. |
UDP | TCP | ip-protocol | UDP or TCP IP protocol. |
session-dport sender-sport | Destination/source ports. Port numbers are specified in all cases, as the use of 16-bit ports following the IP header is not limited to UDP or TCP. If destination is zero, source must be zero, and the implication is that ports are not checked. If destination is non-zero, source must be non-zero. |
previous-hop-ip-address | Address of the sender or the router closest to the sender. |
previous-hop-interface | Address of the previous hop interface or subinterface. |
ff | se | wf | Reservation Style: Wild Card (wf), Shared Explicit (se), or Fixed Filter (ff). |
rate | load | delay number | QOS service: guaranteed rate, controlled load, or controlled delay. |
bandwidth | Bit rate (kbps) to reserve up to 75 percent of total on interface. |
burst-size | Burst Size (Kilobytes of data in queue). |
To instruct the router to generate UDP-encapsulated Resource Reservation Protocol RSVP) multicasts whenever it generates an IP multicast, use the ip rsvp udp-multicast interface configuration command. To disable this feature, use the no form of the command.
ip rsvp udp-multicast [multicast-address]multicast-address | (Optional) Multicast address of router. |
To enable the Cisco IOS software to listen to session directory advertisements, use the ip sd listen interface configuration command. To disable this feature, use the no form of this command.
ip sd listenTo 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.
ip split-horizonTo enable Enhanced IGRP split horizon, use the ip split-horizon eigrp interface configuration command. To disable split horizon, use the no form of this command.
ip split-horizon eigrp autonomous-system-numberautonomous-system-number | Autonomous system number. |
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.
ip summary-address eigrp autonomous-system-number address maskautonomous-system-number | Autonomous system number. |
address | IP summary aggregate address to apply to an interface. |
mask | Subnet mask. |
To configure the type of adjacency, 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.
isis circuit-type {level-1 | level-1-2 | level-2-only}level-1 | A Level 1 adjacency may be established if there is at least one area address in common between this system and its neighbors. |
level-1-2 | A Level 1 and Level 2 adjacency is established if the neighbor is also configured as level-1-2 and there is at least one area in common. If there is no area in common, a Level 2 adjacency is established. This is the default. |
level-2-only | A Level 2 adjacency is established if and only if the neighbor is configured exclusively to be a Level 2 router. |
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 csnp-interval seconds {level-1 | level-2}seconds | Interval of time between transmission of CSNPs on multiaccess networks. This interval only applies for the designated router. The default is 10 seconds. |
level-1 | Configures the interval of time between transmission of CSNPs for Level 1 independently. |
level-2 | Configures the interval of time between transmission of CSNPs for Level 2 independently. |
To specify the length of time between hello packets that the Cisco IOS software sends, use the isis hello-interval interface configuration command. To restore the default value, use the no form of this command.
isis hello-interval seconds {level-1 | level-2}seconds | Unsigned integer value. A value three times the hello interval seconds is advertised as the holdtime in the hello packets transmitted. It must be the same for all routers and access servers attached to a common network. With smaller hello intervals, topological changes are detected faster, but there is more routing traffic. The default is 10 seconds. |
level-1 | Configures the hello interval for Level 1 independently. Use this on X.25, SMDS, and Frame Relay multiaccess networks. |
level-2 | Configures the hello interval for Level 2 independently. Use this on X.25, SMDS, and Frame Relay multiaccess networks. |
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 metric default-metric [delay-metric [expense-metric [error-metric]]] {level-1 | level-2}default-metric | Metric used for the redistributed route. The default metric is used as a value for the IS-IS metric. This is the value assigned when there is no QOS routing performed. Only this metric is supported by Cisco routers and access servers. You can configure this metric for Level 1 and/or Level 2 routing. The range is from 0 to 63. The default value is 10. |
delay-metric | Not supported. |
expense-metric | Not supported. |
error-metric | Not supported. |
level-1 | Router acts as a station router (Level 1) only. |
level-2 | Router acts as an area router (Level 2) only. |
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 password password {level-1 | level-2}password | Authentication password you assign for an interface. |
level-1 | Configures the authentication password for Level 1 independently. For Level 1 routing, the router acts as a station router only. |
level-2 | Configures the authentication password for Level 2 independently. For Level 2 routing, the router acts as an area router only. |
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.
isis priority value {level-1 | level-2}value | Sets the priority of a router and is a number from 0 to 127. The default value is 64. |
level-1 | Sets the priority for Level 1 independently. |
level-2 | Sets the priority for Level 2 independently. |
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.
isis retransmit-interval secondsseconds | Time in seconds between retransmission of IS-IS LSP retransmissions. It is an integer that should be greater than the expected round-trip delay between any two routers on the attached network. The default is 5 seconds. |
To configure the IS-IS level at which the Cisco IOS software operates, use the is-type router configuration command. To reset the default value, use the no form of this command.
is-type {level-1 | level-1-2 | level-2-only}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. |
To identify an authentication key on a key chain, use the key key chain configuration command. To remove the key from the key chain, use the no form of this command.
key numbernumber | Identification number of an authentication key on a key chain. The range of keys is 0 to 2147483647. The key identification numbers need not be consecutive. |
To enable authentication for routing protocols, identify a group of authentication keys by using the key chain global configuration command. To remove the key chain, use the no form of this command.
key chain name-of-chainname-of-chain | Identification number of an authentication key on a key chain. A key chain must have at least one key, and can have up to 2147483647 keys. The key identification numbers need not be consecutive. |
To specify the authentication string for a key, use the key-string key chain key configuration command. To remove the authentication string, use the no form of this command.
key-string texttext | Authentication string that must be sent and received in the packets using the routing protocol being authenticated. The string can contain from 1 to 80 uppercase and lowercase alphanumeric characters, except that the first character cannot be a number. |
To enable the logging of changes in enhanced IGRP neighbor adjacencies, use the log-neighbor-change router configuration command. To disable the logging of changes in enhanced IGRP neighbor adjacencies, use the no form of this command.
log-neighbor-changesTo 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.
match as-path path-list-numberpath-list-number | Autonomous system path access list. An integer from 1 to 199. |
To match a BGP community, use the match community-list route-map configuration command. To remove the community list entry, use the no form of this command.
match community-list community-list-number [exact]community-list-number | Community list number in the range 1 to 99. |
exact | (Optional) Indicates an exact match is required. All of the communities and only those communities in the community list must be present. |
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.
match interface type number...type numbertype | Interface type. |
number | Interface number. |
To distribute any routes that have a destination network number address that is permitted by a standard or extended access list, or to perform policy routing on packets, use the match ip address route-map configuration command. To remove the match ip address entry, use the no form of this command.
match ip address {access-list-number | name...access-list-number | name}access-list-number | name | Number or name of a standard or extended access list. It can be an integer from 1 to 199. |
To redistribute any routes that have a next-hop router address passed by one of the access lists specified, use the match ip next-hop route-map configuration command. To remove the next-hop entry, use the no form of this command.
match ip next-hop {access-list-number | name...access-list-number | name}access-list-number | name | Number or name of a standard or extended access list. It can be an integer from 1 to 199. |
To redistribute routes that have been advertised by routers and access servers at the address specified by the access lists, use the match ip route-source route-map configuration command. To remove the route-source entry, use the no form of this command.
match ip route-source {access-list-number | name...access-list-number | name}access-list-number | name | Number or name of a standard or extended access list. It can be an integer from 1 to 199. |
To base policy routing on the Level 3 length of a packet, use the match length route-map configuration command. To remove the entry, use the no form of this command.
match length min maxmin | Minimum Level 3 length of the packet, inclusive, allowed for a match. Range is 0 to 0x7FFFFFFF. |
max | Maximum Level 3 length of the packet, inclusive, allowed for a match. Range is 0 to 0x7FFFFFFF. |
To redistribute routes with the metric specified, use the match metric route-map configuration command. To remove the entry, use the no form of this command.
match metric metric-valuemetric-value | Route metric, which can be an IGRP five-part metric. It is a metric value from 0 to 4294967295. |
To redistribute routes of the specified type, use the match route-type route-map configuration command. To remove the route-type entry, use the no form of this command.
match route-type {local | internal | external [type-1 | type-2] | level-1 | level-2}local | Locally generated BGP routes. |
internal | OSPF intra-area and interarea routes or enhanced IGRP internal routes. |
external [type-1 | type-2] | OSPF external routes, or enhanced IGRP external routes. For OSPF, external type-1 matches only Type 1 external routes and external type-2 matches only Type 2 external routes. |
level-1 | IS-IS Level 1 routes. |
level-2 | IS-IS Level 2 routes. |
To redistribute routes in the routing table that match the specified tags, use the match tag route-map configuration command. To remove the tag entry, use the no form of this command.
match tag tag-value...tag-valuetag-value | List of one or more route tag values. Each can be an integer from 0 to 4294967295. |
To trace a branch of a multicast tree for a specific group, use the mbranch EXEC command.
mbranch {group-address | group-name} branch [ttl]group-address | Address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
group-name | Name of the multicast group, as defined in the DNS hosts table or with the ip host command. |
branch | Address or name of a router that is on the tree branch. The address is a unicast IP address in four-part, dotted notation. |
ttl | (Optional) Time-to-live value, in hops, that is used in trace request packets sent to the branch router. The default value is 30. |
To keep new IGRP routing information from being used for a certain period of time, use the metric holddown router configuration command. To disable this feature, use the no form of this command.
metric holddownTo have the IP routing software to advertise as unreachable those routes with a hop count higher than is specified by the command (IGRP only), use the metric maximum-hops router configuration command. To reset the value to the default, use the no form of this command.
metric maximum-hops hopshops | Maximum hop count (in decimal). The default value is 100 hops; the maximum number of hops that can be specified is 255. |
To allow the tuning of the IGRP or Enhanced IGRP metric calculations, use the metric weights router configuration command. To reset the values to their defaults, use the no form of this command.
metric weights tos k1 k2 k3 k4 k5tos | Type of service. Currently, it must always be zero. |
k1-k5 | Constants that convert an IGRP or enhanced IGRP metric vector into a scalar quantity. The default values are as follows: k1 = 1; k2 = 0; k3 = 1; k4 = 0; k5 = 0. |
To trace a branch of a multicast tree for a group in the reverse direction, use the mrbranch EXEC command.
mrbranch {group-address | group-name} branch-address [ttl]group-address | Address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
group-name | Name of the multicast group, as defined in the DNS hosts table or with the ip host command. |
branch-address | Address of a router on the tree branch. This is a unicast IP address in four-part, dotted notation. |
ttl | (Optional) Time-to-live value, in hops, that is used in trace request packets sent to the branch router. The default value is 30. |
To trace the reverse multicast path from a destination to a source, for the specified group, use the mtrace user EXEC command.
mtrace source-address destination-address groupsource-address | DNS address of the multicast source. This is a unicast address of the beginning of the path to be traced. |
destination-address | DNS name or address of the unicast destination. |
group | DNS name or multicast address of the group to be traced. Default address is 224.2.0.1 (mbone audio). |
To define a neighboring router with which to exchange routing information, use this form of the neighbor router configuration command. To remove an entry, use the no form of this command.
neighbor ip-addressip-address | IP address of a peer router with which routing information will be exchanged. |
To configure OSPF routers and access servers interconnecting to nonbroadcast networks, use this form of the neighbor router configuration command. To remove a configuration, use the no form of this command.
neighbor ip-address [priority number] [poll-interval seconds]ip-address | Interface IP address of the neighbor. |
number | (Optional) 8-bit number indicating the router priority value of the nonbroadcast neighbor associated with the IP address specified. The default is 0. |
seconds | (Optional) Unsigned integer value reflecting the poll interval. RFC 1247 recommends that this value be much larger than the hello interval. The default is 2 minutes (120 seconds). |
To set the minimum interval between the sending of BGP routing updates, use the neighbor advertisement-interval router configuration command. To remove an entry, use the no form of this command.
neighbor {ip-address | peer-group-name} advertisement-interval secondsip-address | Neighbor's IP address. |
peer-group-name | Name of a BGP peer group. |
seconds | Time in seconds. Integer from 0 to 600. |
To control how neighbor entries are added to the routing table for both EGP and BGP, use the neighbor any router configuration command. To remove a configuration, use the no form of this command.
neighbor any [access-list-number | name]access-list-number | name | (Optional) Access list number or name that the neighbor must be accepted by to be allowed to peer with the EGP or BGP process. If no list is specified, any neighbor will be allowed to peer with the router. |
To configure an EGP process that determines which neighbors are treated as the next hop in EGP advertisements, use the neighbor any third-party router configuration command. To remove a configuration, use the no form of this command.
neighbor any third-party ip-address [internal | external]ip-address | IP address of the third-party router that is to be the next hop in EGP advertisements. |
internal | (Optional) Indicates that the third-party router should be listed in the internal section of the EGP update. |
external | (Optional) Indicates that the third-party router should be listed in the external section of the EGP update. |
To have the Cisco IOS software treat temporary neighbors that have been accepted by a template as if they had been configured manually, use the neighbor configure-neighbors router configuration command. To restore the default, use the no form of this command.
neighbor template-name configure-neighborstemplate-name | User-selectable designation that identifies a particular template. This can be an arbitrary word. |
To allow a BGP speaker (the local router) to send the default route 0.0.0.0 to a neighbor for use as a default route, use the neighbor default-originate router configuration command. To remove the default route, use the no form of this command.
neighbor {ip-address | peer-group-name} default-originate [route-map map-name]ip-address | Neighbor's IP address. |
peer-group-name | Name of a BGP peer group. |
route-map | (Optional) Route map should be interrogated to filter the importation of routes from this source routing protocol to the current routing protocol. If not specified, all routes are redistributed. If this keyword is specified, but no route map tags are listed, no routes will be imported. |
map-name | (Optional) Name of the route map. The route map allows route 0.0.0.0 to be injected conditionally. |
To distribute BGP neighbor information as specified in an access list, use the neighbor distribute-list router configuration command. To remove an entry, use the no form of this command.
neighbor {ip-address | peer-group-name} distribute-list {access-list-number | name} {in | out}ip-address | Neighbor's IP address. |
peer-group-name | Name of a BGP peer group. |
access-list-number | name | Number or name of a standard or extended access list. It can be an integer from 1 to 199. |
in | Access list is applied to incoming advertisements to that neighbor. |
out | Access list is applied to outgoing advertisements from that neighbor. |
To accept and attempt BGP connections to external peers residing on networks that are not directly connected, use the neighbor ebgp-multihop router configuration command. To return to the default, use the no form of this command.
neighbor {ip-address | peer-group-name} ebgp-multihop [ttl]ip-address | IP address of the BGP-speaking neighbor. |
peer-group-name | Name of a BGP peer group. |
ttl | (Optional) Time-to-live in the range 1 to 255 hops. |
To set up a BGP filter, use the neighbor filter-list router configuration command. To disable this function, use the no form of this command.
neighbor {ip-address | peer-group-name} filter-list access-list-number {in | out |ip-address | IP address of the neighbor. |
peer-group-name | Name of a BGP peer group. |
access-list-number | Number of an autonomous system path access list. You define this access list with the ip as-path access-list command. |
in | Access list to incoming routes. |
out | Access list to outgoing routes. |
weight weight | Assigns a relative importance to incoming routes matching autonomous system paths. Acceptable values are 0 to 65535. |
To configure BGP to support anonymous neighbor peers by configuring a neighbor template, use the neighbor neighbor-list router configuration command. To delete a template, use the no form of this command.
neighbor template-name neighbor-list {access-list-number | name}template-name | User-selectable designation that identifies a particular template (an arbitrary word). |
access-list-number | name | Number or name of an access list. It can be a number in the range 1 to 99 or an access list name. |
To disable next-hop processing of BGP updates on the router, use the neighbor next-hop-self router configuration command. To disable this feature, use the no form of this command.
neighbor {ip-address | peer-group-name} next-hop-selfip-address | IP address of the BGP-speaking neighbor. |
peer-group-name | Name of a BGP peer group. |
To enable MD5 authentication on a TCP connection between two BGP peers, use the neighbor password router configuration command. To disable this feature, use the no form of this command.
neighbor {ip-address | peer-group-name} password stringip-address | IP address of the BGP-speaking neighbor. |
peer-group-name | Name of a BGP peer group. |
string | Case-sensitive password of up to 80 characters. The first character cannot be a number. The string can contain any alphanumeric characters, including spaces. You cannot specify a password in the format number-space-anything. The space after the number causes problems. |
To configure a BGP neighbor to be a member of a peer group, use the neighbor peer-group router configuration command. To remove the neighbor from the peer group, use the no form of this command.
neighbor ip-address peer-group peer-group-nameip-address | IP address of the BGP neighbor who belongs to the peer group specified by the tag. |
peer-group-name | Name of the BGP peer group to which this neighbor belongs. |
To create a BGP peer group, use the neighbor peer-group router configuration command. To remove the peer group and all of its members, use the no form of this command.
neighbor peer-group-name peer-grouppeer-group-name | Name of the BGP peer group. |
To add an entry to the BGP neighbor table, use the neighbor remote-as router configuration command. To remove an entry from the table, use the no form of this command.
neighbor {ip-address | peer-group-name} remote-as numberip-address | Neighbor's IP address. |
peer-group-name | Name of a BGP peer group. |
number | Autonomous system to which the neighbor belongs. |
To apply a route map to incoming or outgoing routes, use the neighbor route-map router configuration command. To remove a route map, use the no form of this command.
neighbor {ip-address | peer-group-name} route-map route-map-name {in | out}ip-address | Neighbor's IP address. |
peer-group-name | Name of a BGP peer group. |
route-map-name | Name of route map. |
in | Apply to incoming routes. |
out | Apply to outgoing routes. |
To configure the router as a BGP route reflector and configure the specified neighbor as its client, use the neighbor route-reflector-client router configuration command. To indicate that the neighbor is not a client, use the no form of this command. When all the clients are disabled, the local router is no longer a route reflector.
neighbor ip-address route-reflector-clientip-address | IP address of the BGP neighbor being identified as a client. |
To specify that a COMMUNITIES attribute should be sent to a BGP neighbor, use the neighbor send-community router configuration command. To remove the entry, use the no form of this command.
neighbor {ip-address | peer-group-name} send-communityip-address | Neighbor's IP address. |
peer-group-name | Name of a BGP peer group. |
To configure the Cisco IOS software to start storing received updates, use the neighbor reconfiguration router configuration command. To not store received updates, use the no form of this command.
neighbor {ip-address | peer-group-name} soft-reconfiguration inboundip-address | IP address of the BGP-speaking neighbor. |
peer-group-name | Name of a BGP peer group. |
To send updates regarding Exterior Gateway Protocol (EGP) third-party routers, use the neighbor third-party router configuration command. To disable these updates, use the no form of this command.
neighbor ip-address third-party third-party-ip-address [internal | external]ip-address | IP address of the EGP peer. |
third-party-ip-address | Address of the third-party router on the network shared by the Cisco router and the EGP peer specified by address. |
internal | (Optional) Indicates that the third-party router should be listed in the internal section of the EGP update. This is the default. |
external | (Optional) Indicates that the third-party router should be listed in the external section of the EGP update. |
To have the Cisco IOS software allow internal BGP sessions to use any operational interface for TCP connections, use the neighbor update-source router configuration command. To restore the interface assignment to the closest interface, which is called the best local address, use the no form of this command
neighbor {ip-address | peer-group-name} update-source interfaceip-address | IP address of the BGP-speaking neighbor. |
peer-group-name | Name of a BGP peer group. |
interface | Loopback interface. |
To configure the Cisco IOS software to accept only a particular BGP version, use the neighbor version router configuration command. To use the default version level of a neighbor, use the no form of this command.
neighbor {ip-address | peer-group-name} version valueip-address | IP address of the BGP-speaking neighbor. |
peer-group-name | Name of a BGP peer group. |
value | BGP version number. The version can be set to 2 to force the software to only use Version 2 with the specified neighbor. The default is to use Version 4 and dynamically negotiate down to Version 2 if requested. |
To assign a weight to a neighbor connection, use the neighbor weight router configuration command. To remove a weight assignment, use the no form of this command.
neighbor {ip-address | peer-group-name} weight weightip-address | Neighbor's IP address. |
peer-group-name | Name of a BGP peer group. |
weight | Weight to assign. Acceptable values are 0 to 65535. |
To configure a network entity title (NET) for the routing process, use the net router configuration command. To remove a NET, use the no form of this command.
net network-entity-titlenetwork-entity-title | NET that specifies the area address and the system ID for an IS-IS routing process. This argument can be either an address or a name. |
To specify the list of networks for the BGP routing process, use this form of the network router configuration command. To remove an entry, use the no form of this command.
network network-number [mask network-mask]network-number | IP address of a peer router with which routing information will be exchanged. |
mask | Network or subnetwork mask. |
network-mask | (Optional) Network mask address. |
To specify the list of networks for the EGP routing process, use this form of the network router configuration command. To remove an entry, use the no form of this command.
network network-numbernetwork-number | IP address of a peer router with which routing information will be exchanged. |
To specify a list of networks for the Enhanced IGRP routing process, use this form of the network router configuration command. To remove an entry, use the no form of this command.
network network-numbernetwork-number | IP address of the directly connected networks. |
To specify a list of networks for the Routing Information Protocol (RIP) routing process, use this form of the network router configuration command. To remove an entry, use the no form of this command.
network network-numbernetwork-number | IP address of the network of directly connected networks. |
To define the interfaces on which OSPF runs and to define the area ID for those interfaces, use the network area router configuration command. To disable OSPF routing for interfaces defined with the address wildcard-mask pair, use the no form of this command.
network address wildcard-mask area area-idaddress | IP address. |
wildcard-mask | IP-address-type mask that includes "don't care" bits. |
area-id | Area that is to be associated with the OSPF address range. It can be specified as either a decimal value or as an IP address. If you intend to associate areas with IP subnets, you can specify a subnet address as the area-id. |
To specify a backdoor route to a BGP border router that will provide better information about the network, use the network backdoor router configuration command. To remove an address from the list, use the no form of this command.
network address backdooraddress | IP address of the network to which you want a backdoor route. |
To assign an absolute weight to a BGP network, use the network weight router configuration command. To delete an entry, use the no form of the command.
network address weight weightaddress | IP address of the network. |
weight | Absolute weight, or importance. It can be an integer from 0 to 65535. |
To add an offset to incoming and outgoing metrics to routes learned via RIP and IGRP, use the offset-list router configuration command. To remove an offset list, use the no form of this command.
offset-list [access-list-number | name] {in | out} offset | [type number]access-list-number | name | (Optional) Access list number or name to be applied. If unspecified, the argument supplied to offset is applied to all metrics. If offset is 0, no action is taken. For IGRP, the offset is added to the delay component only. Must be a standard access list. |
in | Applies the access list to incoming metrics. |
out | Applies the access list to outgoing metrics. |
offset | Positive offset to be applied to metrics for networks matching the access list. If the offset is 0, no action is taken. |
type | (Optional) Interface type to which the offset-list is applied. |
number | (Optional) Interface number to which the offset-list is applied. |
To control how OSPF calculates default metrics for the interface, use the ospf auto-cost-determination router configuration command. To disable this feature, use the no form of this command.
ospf auto-cost-determinationTo disable sending routing updates on an interface, use the passive-interface router configuration command. To reenable the sending of routing updates, use the no form of this command.
passive-interface type numbertype | Interface type. |
number | Interface number. |
To redistribute routes from one routing domain into another routing domain, use the redistribute router configuration command. To disable redistribution, use the no form of this command.
redistribute protocol [process-id] {level-1 | level-1-2 | level-2} [metric metric-value]protocol | Source protocol from which routes are being redistributed. It can be one of the following keywords: bgp, egp, igrp, isis, ospf, static [ip], connected, and rip.
The keyword static [ip] is used to redistribute IP static routes. The optional ip keyword is used when redistributing into IS-IS. The keyword connected refers to routes which are established automatically by virtue of having enabled IP on an interface. For routing protocols such as OSPF and IS-IS, these routes will be redistributed as external to the autonomous system. |
process-id | (Optional) For bgp, egp, or igrp, this is an autonomous system number, which is a 16-bit decimal number. For isis, this is an optional tag that defines a meaningful name for a routing process. You can specify only one IS-IS process per router. Creating a name for a routing process means that you use names when configuring routing. For ospf, this is an appropriate OSPF process ID from which routes are to be redistributed. This identifies the routing process. This value takes the form of a nonzero decimal number. For rip, no process-id value is needed. |
level-1 | For IS-IS, Level 1 routes are redistributed into other IP routing protocols independently. |
level-1-2 | For IS-IS, both Level 1 and Level 2 routes are redistributed into other IP routing protocols. |
level-2 | For IS-IS, Level 2 routes are redistributed into other IP routing protocols independently. |
metric metric-value | (Optional) Metric used for the redistributed route. If a value is not specified for this option, and no value is specified using the default-metric command, the default metric value is 0. Use a value consistent with the destination protocol. |
metric-type type-value | (Optional) For OSPF, the external link type associated with the default route advertised into the OSPF routing domain. It can be one of two values:
1--Type 1 external route 2--Type 2 external route If a metric-type is not specified, the Cisco IOS software adopts a Type 2 external route. For IS-IS, it can be one of two values: internal--IS-IS metric which is < 63. external--IS-IS metric which is > 64 < 128. The default is internal. |
match {internal | external 1 | external 2} | (Optional) For OPSF, the criteria by which OSPF routes are redistributed into other routing domains. It an be one of the following:
internal--Routes that are internal to a specific autonomous system. external 1--Routes that are external to the autonomous system, but are imported into OSPF as type 1 external route. external 2--Routes that are external to the autonomous system, but are imported into OSPF as type 2 external route. |
tag tag-value | (Optional) 32-bit decimal value attached to each external route. This is not used by the OSPF protocol itself. It may be used to communicate information between Autonomous System Boundary Routers. If none is specified, then the remote autonomous system number is used for routes from BGP and EGP; for other protocols, zero (0) is used. |
route-map | (Optional) Route map should be interrogated to filter the importation of routes from this source routing protocol to the current routing protocol. If not specified, all routes are redistributed. If this keyword is specified, but no route map tags are listed, no routes will be imported. |
map-tag | (Optional) Identifier of a configured route map. |
weight weight | (Optional) Network weight when redistributing into BGP. An integer from 0 to 65535. |
subnets | (Optional) For redistributing routes into OSPF, the scope of redistribution for the specified protocol. |
To define the conditions for redistributing routes from one routing protocol into another, or to enable policy routing, use the route-map global configuration command and the match and set route-map configuration commands. To delete an entry, use the no route-map command.
route-map map-tag [permit | deny] [sequence-number]map-tag | Defines a meaningful name for the route map. The redistribute router configuration command uses this name to reference this route map. Multiple route maps may share the same map tag name. |
permit | (Optional) If the match criteria are met for this route map, and permit is specified, the route is redistributed as controlled by the set actions. In the case of policy routing, the packet is policy routed.
If the match criteria are not met, and permit is specified, the next route map with the same map tag is tested. If a route passes none of the match criteria for the set of route maps sharing the same name, it is not redistributed by that set. |
deny | (Optional) If the match criteria are met for the route map, and deny is specified, the route is not redistributed or in the case of policy routing, the packet is not policy routed, and no further route maps sharing the same map tag name will be examined. If the packet is not policy-routed, it reverts to the normal forwarding algorithm. |
sequence-number | (Optional) Number that indicates the position a new route map is to have in the list of route maps already configured with the same name. If given with the no form of this command, it specifies the position of the route map that should be deleted. |
To configure the Border Gateway Protocol (BGP) routing process, use the router bgp global configuration command. To remove a routing process, use the no form of this command.
router bgp autonomous-systemautonomous-system | Number of an autonomous system that identifies the router to other BGP routers and tags the routing information passed along. |
To configure the Exterior Gateway Protocol (EGP) routing process, use the router egp global configuration command. To turn off an EGP routing process, use the no router egp command.
router egp remote-asremote-as | Autonomous system number the router expects its peers to be advertising in their EGP messages. |
To specify that a router should be considered a core gateway, use the router egp 0 global configuration command. To disable this function, use the no form of this command.
router egp 0To configure the Enhanced IGRP routing process, use the router eigrp global configuration command. To shut down a routing process, use the no form of this command.
router eigrp process-idprocess-id | Number of a process that identifies the routes to the other Enhanced IGRP routers. It is also used to tag the routing information. If you have an autonomous system number, you can use it for the process number. |
To configure the Interior Gateway Routing Protocol (IGRP) routing process, use the router igrp global configuration command. To shut down an IGRP routing process, use the no form of this command.
router igrp process-idprocess-id | Number of a process that identifies the routes to the other IGRP routers. It is also used to tag the routing information. If you have an autonomous system number, you can use it for the process number. |
To enable the IS-IS routing protocol and to specify an IS-IS process for IP, use the router isis global configuration command. To disable IS-IS routing, use the no form of this command.
router isis [tag]tag | (Optional) Meaningful name for a routing process. If it is not specified, a null tag is assumed and the process is referenced with a null tag. This name must be unique among all IP router processes for a given router. |
To configure a router to accept on demand routing (ODR) routes from stub routers, use the router odr global configuration command. To disable stub routing, use the no form of this command.
router odr process-idprocess-id | Internally used identification parameter for an OSPF routing process. It is locally assigned and can be any positive integer. A unique value is assigned for each OSPF routing process. |
To configure an OSPF routing process, use the router ospf global configuration command. To terminate an OSPF routing process, use the no form of this command.
router ospf process-idprocess-id | Internally used identification parameter for an OSPF routing process. It is locally assigned and can be any positive integer. A unique value is assigned for each OSPF routing process. |
To configure the Routing Information Protocol (RIP) routing process, use the router rip global configuration command. To turn off the RIP routing process, use the no form of this command.
router ripTo set the time period during which an authentication key on a key chain is valid to be sent, use the send-lifetime key chain key configuration command. To revert to the default value, use the no form of this command.
send-lifetime start-time {infinite | end-time | duration seconds}start-time | Beginning time that the key specified by the key command is valid to be sent. The syntax can be either of the following:
hh:mm:ss Month date year hh:mm:ss date Month year hh--hours mm--minutes ss--seconds date--date (1-31) Month--first three letters of the month year--year (four digits) The default start time and the earliest acceptable date is January 1, 1993. |
infinite | Key is valid to be sent from the start-time on. |
end-time | Key is valid to be sent from the start-time until end-time. The syntax is the same as that for start-time. The end-time must be after the start-time. The default end time is an infinite time period. |
duration seconds | Length of time in seconds that the key is valid to be sent. |
To modify an autonomous system path for BGP routes, use the set as-path route map configuration command. To not modify the autonomous system path, use the no form of this command.
set as-path {tag | prepend as-path-string}tag | Converts the tag of a route into an autonomous system path. Applies only when redistributing routes into BGP. |
prepend as-path-string | Appends the string following the keyword prepend to the as-path of the route that is matched by the route map. Applies to inbound and outbound BGP route maps. |
To automatically compute the tag value, use the set automatic-tag route-map configuration command. To disable this function, use the no form of this command.
set automatic-tagTo set the BGP COMMUNITIES attribute, use the set community route-map configuration command. To delete the entry, use the no form of this command.
set community community-number [additive]community-number | Valid values are 1 to 4294967200, no-export, or no-advertise. |
additive | (Optional) Adds the community to the already existing communities. |
To indicate where to output packets that pass a match clause of a route map for policy routing and have no explicit route to the destination, use the set default interface route-map configuration command. To delete an entry, use the no form of this command.
set default interface type number [... type number]type | Interface type, used with the interface number, to which packets are output. |
number | Interface number, used with the interface type, to which packets are output. |
To indicate where to output packets that pass a match clause of route map for policy routing, use the set interface route-map configuration command. To delete an entry, use the no form of this command.
set interface type number [... type number]type | Interface type, used with the interface number, to which packets are output. |
number | Interface number, used with the interface type, to which packets are output. |
To indicate where to output packets that pass a match clause of a route map for policy routing and for which the Cisco IOS software has no explicit route to a destination, use the set ip default next-hop route-map configuration command. To delete an entry, use the no form of this command.
set ip default next-hop ip-address [... ip-address]ip-address | IP address of the next hop to which packets are output. It need not be an adjacent router. |
To indicate where to output packets that pass a match clause of a route map for policy routing, use the set ip next-hop route-map configuration command. To delete an entry, use the no form of this command.
set ip next-hop ip-address [... ip-address]ip-address | IP address of the next hop to which packets are output. It need not be an adjacent router. |
To indicate where to import routes, use the set level route-map configuration command. To delete an entry, use the no form of this command.
set level {level-1 | level-2 | level-1-2 | stub-area | backbone}level-1 | Imports routes into a Level-1 area. |
level-2 | Imports routes into Level-2 subdomain. |
level-1-2 | Imports routes into Level-1 and Level-2. |
stub-area | Imports routes into OSPF NSSA area. |
backbone | Imports routes into OSPF backbone area. |
To specify a preference value for the autonomous system path, use the set local-preference route-map configuration command. To delete an entry, use the no form of this command.
set local-preference valuevalue | Preference value. An integer from 0 to 4294967295. |
To set the metric value for the destination routing protocol, use the set metric route-map configuration command. To return to the default metric value, use the no form of this command.
set metric metric-valuemetric-value | Metric value or IGRP bandwidth in kilobits per second. It can be an integer from -294967295 to 294967295. |
To set the metric type for the destination routing protocol, use the set metric-type route-map configuration command. To return to the default, use the no form of this command.
set metric-type {internal | external | type-1 | type-2}internal | IS-IS internal metric. |
external | IS-IS external metric. |
type-1 | OSPF external type 1 metric. |
type-2 | OSPF external type 2 metric. |
To specify the address of the next hop, use the set next-hop route-map configuration command. To delete an entry, use the no form of this command.
set next-hop next-hopnext-hop | IP address of the next hop router. |
To set the BGP origin code, use the set origin route-map configuration command. To delete an entry, use the no form of this command.
set origin {igp | egp autonomous-system | incomplete}igp | Remote IGP. |
egp | Local EGP. |
autonomous-system | Remote autonomous system. This value is an integer from 0 to 65535. |
incomplete | Unknown heritage. |
To set a tag value of the destination routing protocol, use the set tag route-map configuration command. To delete the entry, use the no form of this command.
set tag tag-valuetag-value | Name for the tag. This value is an integer from 0 to 4294967295. |
To specify the BGP weight for the routing table, use the set weight route-map configuration command. To delete an entry, use the no form of this command.
set weight weightweight | Weight value. It can be an integer from 0 to 65535. |
To display entries in the BGP routing table, use the show ip bgp EXEC command.
show ip bgp [network] [network-mask] [longer-prefixes]network | (Optional) Network number, entered to display a particular network in the BGP routing table. |
network-mask | (Optional) Displays all BGP routes matching the address/mask pair. |
longer-prefixes | (Optional) Displays route and more specific routes. |
To display routes with nonnatural network masks (that is, classless interdomain routing, or CIDR), use the show ip bgp cidr-only privileged EXEC command.
show ip bgp cidr-onlyTo display routes that belong to specified BGP communities, use the show ip bgp community EXEC command.
show ip bgp community community-number [exact]community-number | Valid value is community number in the range 1 to 4294967200, internet, no-export, or no-advertise. |
exact | (Optional) Displays only routes that have exactly the same specified communities. |
To display routes that are permitted by the BGP community list, use the show ip bgp community-list EXEC command.
show ip bgp community-list community-list-number [exact]community-list-number | Community list number in the range 1 to 99. |
exact | (Optional) Displays only routes that have an exact match. |
To display routes that conform to a specified filter list, use the show ip bgp filter-list privileged EXEC command.
show ip bgp filter-list access-list-numberaccess-list-number | Number of an autonomous system path access list. It can be a number from 1 to 199. |
To display routes with inconsistent originating autonomous systems, use the show ip bgp inconsistent-as privileged EXEC command.
show ip bgp inconsistent-asTo display information about the TCP and BGP connections to neighbors, use the show ip bgp neighbors EXEC command.
show ip bgp neighbors address received-routesaddress | (Optional) Address of the neighbor whose routes you have learned from. |
received-routes | (Optional) If you specify an address, displays all received updates from the specified neighbor. |
To display all the BGP paths in the database, use the show ip bgp paths EXEC command.
show ip bgp pathsTo display information about BGP peer groups, use the show ip bgp peer-group EXEC command.
show ip bgp peer-group [tag] [summary]tag | (Optional) Displays information about that specific peer group. |
summary | (Optional) Displays a summary of the status of all the members of a peer group. |
To display routes matching the regular expression, use the show ip bgp regexp privileged EXEC command.
show ip bgp regexp regular-expressionregular-expression | Regular expression to match the BGP autonomous system paths. |
To display the status of all BGP connections, use the show ip bgp summary EXEC command.
show ip bgp summaryTo display the contents of the DVMRP routing table, use the show ip dvmrp route EXEC command.
show ip dvmrp route [name | ip-address]name | (Optional) IP name of an entry in the DVMRP routing table. |
ip-address | (Optional) IP address of an entry in the DVMRP routing table. |
To display statistics about EGP connections and neighbors, use the show ip egp EXEC command.
show ip egpTo display information about interfaces configured for Enhanced IGRP, use the show ip eigrp interfaces EXEC command.
show ip eigrp interfaces [type number] [as-number]type | (Optional) Interface type. |
number | (Optional) Interface number. |
as-number | (Optional) Autonomous system number. |
To display the neighbors discovered by Enhanced IGRP, use the show ip eigrp neighbors EXEC command.
show ip eigrp neighbors [type number]type | (Optional) Interface type. |
number | (Optional) Interface number. |
To display the Enhanced IGRP topology table, use the show ip eigrp topology EXEC command.
show ip eigrp topology [autonomous-system-number | [[ip-address] mask]]autonomous-system-number | (Optional) Autonomous system number. |
ip-address | (Optional) IP address. When specified with a mask, a detailed description of the entry is provided. |
mask | (Optional) Subnet mask. |
To display the number of Enhanced IGRP packets sent and received, use the show ip eigrp traffic EXEC command.
show ip eigrp traffic [autonomous-system-number]autonomous-system-number | (Optional) Autonomous system number. |
To display the multicast groups that are directly connected to the router and that were learned via IGMP, use the show ip igmp groups EXEC command.
show ip igmp groups [group-name | group-address | type number]group-name | (Optional) Name of the multicast group, as defined in the DNS hosts table. |
group-address | (Optional) Address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
type | (Optional) Interface type. |
number | (Optional) Interface number. |
To display multicast-related information about an interface, use the show ip igmp interface EXEC command.
show ip igmp interface [type number]type | (Optional) Interface type. |
number | (Optional) Interface number. |
To display IRDP values, use the show ip irdp EXEC command.
show ip irdpTo display the route map used for local policy routing, if any, use the show ip local policy EXEC command.
show ip local policyTo display the contents of the IP fast-switching cache, use the show ip mcache EXEC command.
show ip mcache [group [source]]group | (Optional) Displays the fast-switching cache for the single group. The group argument can be either a Class D IP address or a DNS name. |
source | (Optional) If source is also specified, displays a single multicast cache entry. The source argument can be either a unicast IP address or a DNS name. |
To display the contents of the IP multicast routing table, use the show ip mroute EXEC command.
show ip mroute [group-name | group-address] [source] [summary] [count] active kbps group-name |
group-address | (Optional) IP address, name, or interface of the multicast group as defined in the DNS hosts table. |
source | (Optional) IP address or name of a multicast source. |
summary | (Optional) Displays a one-line, abbreviated summary of each entry in the IP multicast routing table. |
count | (Optional) Displays statistics about the group and source, including number of packets, packets per second, average packet size, and bits per second. |
active | (Optional) Displays rate active sources are sending to multicast groups. |
kbps | (Optional) Displays sources that are sending over n kbps. |
To display general information about OSPF routing processes, use the show ip ospf EXEC command.
show ip ospf [process-id]process-id | (Optional) Process ID. If this argument is included, only information for the specified routing process is included. |
To display the internal OSPF routing table entries to an area border router (ABR) and autonomous system boundary router (ASBR), use the show ip ospf border-routers privileged EXEC command.
show ip ospf border-routersUse the show ip ospf database EXEC command to display lists of information related to the OSPF database for a specific router. The various forms of this command deliver information about different OSPF link state advertisements.
show ip ospf [process-id area-id] databaseprocess-id | (Optional) Internally used identification parameter. It is locally assigned and can be any positive integer number. The number used here is the number assigned administratively when enabling the OSPF routing process. |
area-id | (Optional) Area number associated with the OSPF address range defined in the network router configuration command used to define the particular area. |
link-state-id | (Optional) Identifies the portion of the Internet environment that is being described by the advertisement. The value entered depends on the advertisement's LS type. It must be entered in the form of an IP address.
When the link state advertisement is describing a network, the link-state-id can take one of two forms: --The network's IP address (as in type 3 summary link advertisements and in autonomous system external link advertisements). --A derived address obtained from the link state ID. (Note that masking a network links advertisement's link state ID with the network's subnet mask yields the network's IP address.) When the link state advertisement is describing a router, the link state ID is always the described router's OSPF router ID. When an autonomous system external advertisement (LS Type = 5) is describing a default route, its link state ID is set to Default Destination (0.0.0.0). |
To display OSPF-related interface information, use the show ip ospf interface EXEC command.
show ip ospf interface [type number]type | (Optional) Interface type. |
number | (Optional) Interface number. |
To display OSPF-neighbor information on a per-interface basis, use the show ip ospf neighbor EXEC command.
show ip ospf neighbor [type number] [neighbor-id] detailtype | (Optional) Interface type. |
number | (Optional) Interface number. |
neighbor-id | (Optional) Neighbor ID. |
detail | Displays all neighbors given in detail (list all neighbors). |
To display parameters about and the current state of OSPF virtual links, use the show ip ospf virtual-links EXEC command.
show ip ospf virtual-linksTo display information about interfaces configured for PIM, use the show ip pim interface EXEC command.
show ip pim interface [type number]type | (Optional) Interface type. |
number | (Optional) Interface number. |
To list the PIM neighbors discovered by the Cisco IOS software, use the show ip pim neighbor EXEC command.
show ip pim neighbor [type number]type | (Optional) Interface type. |
number | (Optional) Interface number. |
To display the rendezvous point (RP) routers associated with a sparse-mode multicast group, use the show ip pim rp EXEC command.
show ip pim rp [group-name | group-address]group-name | (Optional) Name of the multicast group, as defined in the DNS hosts table. |
group-address | (Optional) Address of the multicast group. This is a multicast IP address in four-part, dotted notation. |
To display the route map used for policy routing, use the show ip policy EXEC command.
show ip policyTo display the parameters and current state of the active routing protocol process, use the show ip protocols EXEC command.
show ip protocolsUse the show ip route EXEC command to display the current state of the routing table.
show ip route [address [mask] [longer-prefixes]] | [protocol [process-id]]address | (Optional) Address about which routing information should be displayed. |
mask | (Optional) Argument for a subnet mask. |
longer-prefixes | (Optional) The address and mask pair becomes a prefix and any routes that match that prefix are displayed. |
protocol | (Optional) Name of a routing protocol; or the keyword connected, static, or summary. If you specify a routing protocol, use one of the following keywords: bgp, egp, eigrp, hello, igrp, isis, ospf, or rip. |
process-id | (Optional) Number used to identify a process of the specified protocol. |
To display the current state of the routing table, use the show ip route summary EXEC command.
show ip route summaryTo display information about supernets, use the show ip route supernets-only privileged EXEC command.
show ip route supernets-onlyTo display RSVP-related interface information, use the show ip rsvp interface EXEC command.
show ip rsvp interface [interface]interface | (Optional) Interface type. |
To display RSVP-related installed filters and corresponding bandwidth information, use the show ip rsvp interface EXEC command.
show ip rsvp interface installed [interface]interface | (Optional) Interface type. |
To display current RSVP neighbors, use the show ip rsvp neighbor EXEC command.
show ip rsvp neighbor [interface]interface | (Optional) Interface type. |
To display RSVP-related sender information currently in the database, use the show ip rsvp sender EXEC command.
show ip rsvp sender [interface]interface | (Optional) Interface type. |
To display RSVP-related request information being requested upstream, use the show ip rsvp request EXEC command.
show ip rsvp request [interface]interface | (Optional) Interface type. |
To display RSVP-related receiver information currently in the database, use the show ip rsvp reservation EXEC command.
show ip rsvp reservation [interface]interface | (Optional) Interface type. |
To display the contents of the session directory cache, use the show ip sd EXEC command.
show ip sd [group | "session-name" | detail]group | (Optional) Displays the sessions defining the multicast group in detail format. |
"session-name" | (Optional) Displays the single session in detail format. Can be in uppercase or lowercase and still match. The session name is enclosed in quotation marks. |
detail | (Optional) Displays all sessions in detail format. |
To display the IS-IS link state database, use the show isis database EXEC command.
show isis database [level-1] [level-2] [l1] [l2] [detail] [lspid]level-1 | (Optional) Displays the IS-IS link state database for Level 1. |
level-2 | (Optional) Displays the IS-IS link state database for Level 2. |
l1 | (Optional) Abbreviation for the option level-1. |
l2 | (Optional) Abbreviation for the option level-2. |
detail | (Optional) When specified, the contents of each LSP is displayed. Otherwise, a summary display is provided. |
lspid | (Optional) Link-state protocol ID. When specified, the contents of a single LSP is displayed by its ID number. |
To display authentication key information, use the show key chain EXEC command.
show key chain [name-of-chain]name-of-chain | (Optional) Name of the key chain to display, as named in the key chain command. |
To display configured route-maps, use the show route-map EXEC command.
show route-map [map-name]map-name | (Optional) Name of a specific route-map. |
Use the summary-address router configuration command to create aggregate addresses for IS-IS or OSPF. The no summary-address command restores the default.
summary-address address mask {level-1 | level-1-2 | level-2} prefix mask [not-advertise] [tag tag]address | Summary address designated for a range of addresses. |
mask | IP subnet mask used for the summary route. |
level-1 | Only routes redistributed into Level 1 are summarized with the configured address/mask value. This keyword does not apply to OSPF. |
level-1-2 | The summary router is injected into both a Level 1 area and a Level 2 subdomain. This keyword does not apply to OSPF. |
level-2 | Routes learned by Level 1 routing will be summarized into the Level 2 backbone with the configured address/mask value. This keyword does not apply to OSPF. |
prefix | IP route prefix for the destination. |
mask | IP subnet mask used for the summary route. |
not advertise | Used to suppress routes that match the prefix/mask pair. |
tag tag | (Optional) Tag value that can be used as a "match" value for controlling redistribution via route maps. |
To enable the synchronization between BGP and your IGP, use the synchronization router configuration command. To enable the Cisco IOS software to advertise a network route without waiting for the IGP, use the no form of this command.
synchronizationTo modify metric and tag values when the IP routing table is updated with BGP learned routes, use the table-map router configuration command. To disable this function, use the no form of the command.
table-map route-map-nameroute-map-name | Route-map name, from the route-map command. |
To adjust EGP, RIP, or IGRP network timers, use the timers basic router configuration command. To restore the default timers, use the no form of this command.
timers basic update invalid holddown flush [sleeptime]update | Rate in seconds at which updates are sent. This is the fundamental timing parameter of the routing protocol. |
invalid | Interval of time in seconds after which a route is declared invalid; it should be three times the value of update. A route becomes invalid when there is an absence of updates that refresh the route. The route then enters holddown. The route is marked inaccessible and advertised as unreachable. However, the route is still used for forwarding packets. |
holddown | Interval in seconds during which routing information regarding better paths is suppressed. It should be at least three times the value of update. A route enters into a holddown state when an update packet is received that indicates the route is unreachable. The route is marked inaccessible and advertised as unreachable. However, the route is still used for forwarding packets. When holddown expires, routes advertised by other sources are accepted and the route is no longer inaccessible. |
flush | Amount of time in seconds that must pass before the route is removed from the routing table; the interval specified must be at least the sum of invalid and holddown. If it is less than this sum, the proper holddown interval cannot elapse, which results in a new route being accepted before the holddown interval expires. |
sleeptime | (Optional) For IGRP only, interval in milliseconds for postponing routing updates in the event of a flash update. The sleeptime value should be less than the update time. If the sleeptime is greater than the update time, routing tables will become unsynchronized. |
To adjust BGP network timers, use the timers bgp router configuration command. To reset the BGP timing defaults, use the no form of this command.
timers bgp keepalive holdtimekeepalive | Frequency, in seconds, with which the Cisco IOS software sends keepalive messages to its peer. The default is 60 seconds. |
holdtime | Interval, in seconds, after not receiving a keepalive message that the software declares a peer dead. The default is 180 seconds. |
To adjust EGP hello and polltime network timers, use the timers egp router configuration command. The no form of this command resets the EGP timing defaults.
timers egp hello polltimehello | Frequency, in seconds, with which the software sends Hello messages to its peer. The default is 60 seconds. |
polltime | Interval, in seconds, for how frequently to exchange updates. The default is 180 seconds. |
To configure the delay time between when OSPF receives a topology change and when it starts a shortest path first (SPF) calculation, and the hold time between two consecutive SPF calculations, use the timers spf router configuration command. To return to the default timer values, use the no form of this command.
timers spf spf-delay spf-holdtimespf-delay | Delay time, in seconds, between when OSPF receives a topology change and when it starts a SPF. calculation. It can be an integer from 0 to 65535. The default time is 5 seconds. A value of 0 means that there is no delay; that is, the SPF calculation is started immediately. |
spf-holdtime | Minimum time, in seconds, between two consecutive SPF calculations. It can be an integer from 0 to 65535. The default time is 10 seconds. A value of 0 means that there is no delay; that is, two consecutive SPF calculations can be done one immediately after the other. |
To control how traffic is distributed among routes when there are multiple routes for the same destination network that have different costs, use the traffic-share router configuration command. To disable this function, use the no form of the command.
traffic-share {balanced | min}balanced | Distributes traffic proportionately to the ratios of the metrics. |
min | Uses routes that have minimum costs. |
To have the Cisco IOS software validate the source IP address of incoming routing updates for RIP and IGRP routing protocols, use the validate-update-source router configuration command. To disable this function, use the no form of this command.
validate-update-sourceTo control load balancing in an Enhanced IGRP-based internetwork, use the variance router configuration command. To reset the variance to the default value, use the no form of this command.
variance multipliermultiplier | Metric value used for load balancing. It can be a value from 1 to 128. The default is 1, which means equal-cost load balancing. |
To specify a RIP version used globally by the router, use the version router configuration command. Use the no form of this command to restore the default value.
version {1 | 2}1 | Specifies RIP Version 1. |
2 | Specifies RIP Version 2. |
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |