Table Of Contents
Multicast Routing and Forwarding Commands on Cisco IOS XR Software
accounting per-prefix
boundary
clear mfib counter
clear mfib database
clear mfib hardware connections-counters
clear mfib hardware resource-counters
clear mfib hardware route statistics
disable
enable
interface (multicast)
interface all enable
log-traps
maximum disable
mhost default-interface
multicast-routing
multipath
nsf
oom-handling
rate-per-route
show mfib connections
show mfib counter
show mfib hardware interface
show mfib hardware resource-counters
show mfib hardware route
show mfib hardware route accept-bitmap
show mfib hardware route olist
show mfib hardware route statistics
show mfib hardware route summary
show mfib interface
show mfib nsf
show mfib route
show mhost default-interface
show mhost groups
show mrib client
show mrib nsf
show mrib route
static-rpf
ttl-threshold
Multicast Routing and Forwarding Commands on Cisco IOS XR Software
This chapter describes the commands used to configure and monitor multicast routing on Cisco IOS XR software.
For detailed information about multicast routing concepts, configuration tasks, and examples, refer to the Implementing Multicast Routing on Cisco IOS XR Software configuration module.
accounting per-prefix
To enable accounting for multicast routing, use the accounting per-prefix command in multicast routing configuration mode. To return to the default behavior, use the no form of this command.
accounting per-prefix
no accounting per-prefix
Syntax Description
This command has no arguments or keywords.
Defaults
By default, this feature is disabled
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 3.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command is used to enable per-prefix counters only in hardware. Cisco IOS XR software counters are always present. When enabled, every existing and new (S, G) route is assigned forward, punt, and drop counters on the ingress route and forward and punt counters on the egress route. The (*, G) routes are assigned a single counter.
There are a limited number of counters on all nodes. When a command is enabled, counters are assigned to routes only if they are available.
To display packet statistics, use the o route and the show mfib hardware route statistics commands. These commands display "N/A" for counters when no hardware statistics are available or when the accounting per-prefix command is disabled.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example enables accounting for multicast routing:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# accounting per-prefix
Related Commands
boundary
To configure the multicast boundary on an interface for administratively scoped multicast addresses, use the boundary command in multicast routing configuration. To return to the default behavior, use the no form of this command.
boundary access-list
no boundary access-list
Syntax Description
access-list
|
Access list specifying scoped multicast groups. The name cannot contain a space or quotation mark; it may contain numbers.
|
Defaults
A multicast boundary is not configured.
Command Modes
Multicast routing interface configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command is used to set up a boundary to keep multicast packets from being forwarded.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example sets up a boundary for all administratively scoped addresses:
RP/0/RP0/CPU0:router# access-list 1 deny 239.0.0.0 0.255.255.255
RP/0/RP0/CPU0:router# access-list 1 permit 224.0.0.0 15.255.255.255
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface pos 0/2/0/2
RP/0/RP0/CPU0:router(config-mcast-ipv4-if)# boundary 1
clear mfib counter
To clear Multicast Forwarding Information Base (MFIB) route packet counters, use the clear mfib counter command in EXEC mode.
clear mfib [ipv4 | ipv6] counter [group-address | source-address] [signal] [all | location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
group-address
|
(Optional) IP address of the multicast group.
|
source-address
|
(Optional) IP address of the source of the multicast route.
|
signal
|
(Optional) Clears signal table statistics.
|
all
|
(Optional) Clears route packet counters on all nodes.
|
location node-id
|
(Optional) Clears route packet counters from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
The ipv4 and ipv6 keywords were added.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
The signal keyword was added.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example clears MFIB route packet counters on all nodes:
RP/0/RP0/CPU0:router# clear mfib counter all
clear mfib database
To clear the Multicast Forwarding Information Base (MFIB) database, use the clear mfib database command in EXEC mode.
clear mfib [ipv4 | ipv6] database [location node-id | all]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
location node-id
|
(Optional) Clears route packet counters from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
all
|
(Optional) Clears route packet counters on all nodes.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
The ipv4 and ipv6 keywords were added.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
The signal keyword was added.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example clears the MFIB database on all nodes:
RP/0/RP0/CPU0:router# clear mfib counter all
clear mfib hardware connections-counters
To clear global connections counters, use the clear mfib hardware connections-counters command in EXEC mode.
clear mfib [ipv4 | ipv6] hardware connections-counters [location node-id | all]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
location node-id
|
(Optional) Clears global resource counters from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
all
|
(Optional) Clears all global resource counters.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read, write, execute
|
Examples
The following example shows how to clear all global resource counters:
RP/0/RP0/CPU0:router# clear mfib hardware resource-counters all
Related Commands
Command
|
Description
|
show mfib hardware connection
|
Displays the status of MFIB connections to servers.
|
clear mfib hardware resource-counters
To clear global resource counters, use the clear mfib hardware resource-counters command in EXEC mode.
clear mfib [ipv4 | ipv6] hardware resource-counters [location node-id | all]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
location node-id
|
(Optional) Clears global resource counters from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
all
|
(Optional) Clears all global resource counters.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
The ipv4 and ipv6 keywords were added.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read, write, execute
|
Examples
The following example shows how to clear all global resource counters:
RP/0/RP0/CPU0:router# clear mfib hardware resource-counters all
Related Commands
clear mfib hardware route statistics
To clear Multicast Forwarding Information Base (MFIB) hardware statistics, use the clear mfib hardware route statistics command in EXEC mode.
clear mfib [ipv4 | ipv6] hardware route statistics {egress | ingress | ingress-and-egress}
[* | source-address] [group-address [/prefix-length]] [location {node-id | all}]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
egress
|
Clears hardware statistics only on the specified outgoing route.
|
ingress
|
Clears hardware statistics only on the specified incoming route.
|
ingress-and-egress
|
Clears hardware statistics on both the outgoing and incoming routes.
|
*
|
(Optional) Clears shared tree route statistics.
|
source-address
|
(Optional) IP address or hostname of the multicast route source.
|
group-address
|
(Optional) IP address or hostname of the multicast group.
|
/prefix-length
|
(Optional) Prefix length of the multicast group. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value.
|
location node-id
|
(Optional) Clears hardware statistics from the designated node. The node-id argument is entered in the rack/slot/module notation.
|
all
|
(Optional) Clears hardware statistics from all locations.
|
Defaults
If not specified, IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
The ipv4 and ipv6 keywords were added.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
The Multicast Forwarding (MFWD) process exists on each line card and assigns hardware counters to each (S, G) route. Additionally, one global counter is assigned for all (*, G) routes, depending on resource availability.
To clear the set of counters for (*, G) routes, the MFWD process assigns a single set of counters to count packets that match (*, G) routes. Consequently, the clear mfib hardware route statistics command must be used in a form that either clears counters on all routes or matches all (*, G) routes.
Task ID
Task ID
|
Operations
|
multicast
|
read, write, execute
|
Examples
The following command clears counters by route statistics for all multicast routes on both ingress and egress forwarding engines for the line card 0/1/CPU0:
RP/0/RP0/CPU0:router# clear mfib ipv4 hardware route statistics ingress-and-egress
location 0/1/CPU0
The following example clears the counters only on the ingress forwarding engine for (S, G) routes with the group address 224.1.1.1:
RP/0/RP0/CPU0:router# clear mfib hardware route statistics ingress 224.1.1.1 location
0/1/CPU0
Note
This command does not clear global (*, G) counters.
Related Commands
disable
To disable multicast routing and forwarding on an interface, use the disable command in multicast routing interface configuration mode. To return to the default behavior, use the no form of this command.
disable
no disable
Syntax Description
This command has no arguments or keywords.
Defaults
Multicast routing and forwarding settings are inherited from the global interface enable all command. Otherwise, multicast routing and forwarding is disabled.
Command Modes
Multicast routing interface configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
The disable command modifies the behavior of a specific interface to disabled. This command is useful if you want to disable multicast routing on specific interfaces, but leave it enabled on all remaining interfaces.
The following guidelines apply when the enable and disable commands (and the no forms) are used in conjunction with the interface all enable command:
•
If the interface all enable command is configured:
–
The enable and no form of the command have no additional effect on a specific interface.
–
The disable command disables multicast routing on a specific interface.
–
The no disable command returns a previously disabled interface to enabled.
•
If the interface all enable command is not configured:
–
The enable command enables multicast routing on a specific interface.
–
The no enable command returns a previously enabled interface to disabled.
–
The disable and no form of the command have no additional effect on a specific interface.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example enables multicast routing on all interfaces and disables the feature only on Packet-over-SONET/SDH (POS) interface 0/1/0/0:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface all enable
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-mcast-ipv4-if)# disable
enable
To enable multicast routing and forwarding on an interface, use the enable command in multicast routing interface configuration mode. To return to the default behavior, use the no form of this command.
enable
no enable
Syntax Description
This command has no arguments or keywords.
Defaults
Multicast routing and forwarding settings are inherited from the global interface enable all command. Otherwise, multicast routing and forwarding is disabled.
Command Modes
Multicast routing interface configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
The enable command modifies the behavior of a specific interface to enabled. This command is useful if you want to enable multicast routing on specific interfaces, but leave it disabled on all remaining interfaces.
The following guidelines apply when the enable and disable commands (and the no forms) are used in conjunction with the interface all enable command:
•
If the interface all enable command is configured:
–
The enable and no form of the command have no additional effect on a specific interface.
–
The disable command disables multicast routing on a specific interface.
–
The no disable command returns a previously disabled interface to enabled.
•
If the interface all enable command is not configured:
–
The enable command enables multicast routing on a specific interface.
–
The no enable command returns a previously enabled interface to disabled.
–
The disable and no form of the command have no additional effect on a specific interface.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example enables multicast routing on a specific interface only:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-mcast-ipv4-if)# enable
interface (multicast)
To configure multicast interface properties, use the interface command in multicast routing configuration mode. To disable multicast routing for interfaces, use the no form of this command.
interface type instance
no interface type instance
Syntax Description
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
No default behavior or values
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Use the interface command to configure multicast routing properties for specific interfaces.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example enables multicast routing on all interfaces and disables the feature only on Packet-over-SONET/SDH (POS) interface 0/1/0/0:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface all enable
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-mcast-ipv4-if)# disable
interface all enable
To enable multicast routing and forwarding on all new and existing interfaces, use the interface all enable command in multicast routing configuration mode. To return to the default behavior, use the no form of this command.
interface all enable
no interface all enable
Syntax Description
This command has no arguments or keywords.
Defaults
Multicast routing and forwarding is disabled by default.
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command modifies the default behavior for all new and existing interfaces to enabled unless overridden by the enable or disable keywords available in interface configuration mode.
The following guidelines apply when the enable and disable commands (and the no forms) are used in conjunction with the interface all enable command:
•
If the interface all enable command is configured:
–
The enable and no form of the command have no additional effect on a specific interface.
–
The disable command disables multicast routing on a specific interface.
–
The no disable command returns a previously disabled interface to enabled.
•
If the interface all enable command is not configured:
–
The enable command enables multicast routing on a specific interface.
–
The no enable command returns a previously enabled interface to disabled.
–
The disable and no form of the command have no additional effect on a specific interface.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example enables multicast routing on all interfaces and disables the feature only on Packet-over-SONET/SDH (POS) interface 0/1/0/0:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface all enable
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-mcast-ipv4-if)# disable
log-traps
To enable logging of trap events, use the log-traps command in multicast routing configuration mode. To remove this functionality, use the no form of this command.
log-traps
no log-traps
Syntax Description
This command has no arguments or keywords.
Defaults
By default, this feature is disabled.
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to enable logging of trap events:
RP/0/RP0/CPU0:router# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# log-traps
maximum disable
To disable maximum state limits, use the maximum disable command in multicast routing configuration mode. To remove this functionality, use the no form of this command.
maximum disable
no maximum disable
Syntax Description
This command has no arguments or keywords.
Defaults
By default, maximum state limits are enabled
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example disables maximum state limits:
RP/0/RP0/CPU0:router# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# maximum disable
mhost default-interface
To configure the default interface for IP multicast transmission and reception to and from the host stack, use the mhost default-interface command in global configuration mode. To return to the default behavior, use the no form of this command.
mhost {ipv4 | ipv6} default-interface type instance
no mhost {ipv4 | ipv6} default-interface type instance
Syntax Description
ipv4
|
Specifies IPv4 address prefixes.
|
ipv6
|
Specifies IPv6 address prefixes.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a Route Processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
Defaults
If no MHost default interface is configured, an arbitrary interface is selected as the active MHost default. If the multicast routing feature is enabled, a multicast enabled interface is always selected as the MHost default interface.
Command Modes
Global configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command configures the interface that the Auto-RP, ping, and mtrace applications use for multicast transmissions, and the interface to which multicast groups are joined for reception.
Auto-RP, ping, and mtrace may use the MHost default interface to process multicast messaging. When IP multicast routing is enabled, packets sent to the MHost default interface are switched on other interfaces with a matching forwarding state. In addition, an arbitrary interface may be chosen to be the active MHost default interface if the configured interface is not operational. If no MHost default interface is configured with this command, an arbitrary interface is selected as the active MHost default.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example configures Loopback interface 1 as the default interface:
RP/0/RP0/CPU0:router(config)# mhost ipv4 default-interface loopback 1
Related Commands
multicast-routing
To enable enter multicast routing configuration mode or to enable multicast routing and forwarding on all router interfaces, use the multicast-routing command in global configuration mode. To return to the default behavior, use the no form of this command.
multicast-routing [address-family {ipv4 | ipv6}]
no multicast-routing
Syntax Description
address-family
|
(Optional) Displays the available configuration modes.
|
ipv4
|
Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
Specifies IPv6 address prefixes.
|
Defaults
address-family: ipv4
Command Modes
Global configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command starts the following multicast processes:
•
Multicast Routing Information Base (MRIB)
•
Multicast Forwarding Engine (MFWD)
•
Protocol Independent Multicast Sparse mode (PIM-SM)
•
Internet Group Management Protocol (IGMP).
To enable multicast routing and protocols on interfaces, you must explicitly enable the interfaces through the interface command in multicast routing configuration mode. This action can be performed on individual interfaces or by configuring a wildcard interface using the alias command.
To enable multicast routing on all interfaces, use the interface all enable command in multicast routing configuration mode. For any interface to be fully enabled for multicast routing, it must be enabled specifically (or configured through the interface all enable command for all interfaces) in multicast routing configuration mode, and it must not be disabled in the PIM and IGMP configuration modes.
Note
The enable and disable keywords available under the IGMP and PIM interface configuration modes have no effect unless the interface is enabled in multicast routing configuration mode—either by default or by explicit interface configuration.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to enter ipv6 configuration mode:
RP/0/RP0/CPU0:router(config)# multicast-routing address-family ipv6
RP/0/RP0/CPU0:router(config-mcast-ipv6)#
Related Commands
Command
|
Description
|
interface all enable
|
Enables multicast routing and forwarding on all new and existing interfaces.
|
multipath
To enable PIM to divide the multicast load among several equal cost paths, use the multipath command in multicast routing configuration mode. To return to the default behavior, use the no form of this command.
multipath [interface-extended-hash]
no multipath [interface-extended-hash]
Syntax Description
interface-extended-hash
|
(Optional) Enables extensions for non-unique next-hop addresses. This option is available for IPv6 addressing only.
|
Defaults
The multipath command is not enabled.
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
The multipath command is not specific to IPv4, IPv6, or PIM mode.
By default, equal-cost multipath (ECMP) paths are not load balanced. A single path from each unicast route is used for all multicast routes (which is the equivalent of the no form of the multipath command).
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to enable multipath functionality:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# multipath
nsf
To turn on nonstop forwarding (NSF) capability for the multicast routing system, use the nsf command in multicast routing configuration mode. To turn off this function, use the no form of this command.
nsf
no nsf
Syntax Description
This command has no arguments or keywords.
Defaults
Disabled
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
Removed the enable and disable keywords on the Cisco CRS-1.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command does not enable or disable the multicast routing system, but just the NSF capability for all the relevant components. When the no form of this command is used, the NSF configuration is returned to its default disabled state.
Enable multicast NSF when you require enhanced availability of multicast forwarding. When enabled, failures of the control-plane multicast routing components Multicast Routing Information Base (MRIB) or Protocol Independent Multicast (PIM) will not cause multicast forwarding to stop. When these components fail or communication with the control plane is otherwise disrupted, existing Multicast Forwarding Information Base (MFIB) entries continue to forward packets until either the control plane recovers or the MFIB NSF timeout expires.
Enable multicast NSF when you upgrade control-plane Cisco IOS XR software packages so that the live upgrade process does not interrupt forwarding.
When the MFIB partner processes enter NSF mode, forwarding on stale MFIB entries continues as the control-plane components attempt to recover gracefully. Successful NSF recovery is signaled to the Multicast Forwarding Engine (MFWD) partner processes by MRIB. MRIB remains in NSF mode until Internet Group Management Protocol (IGMP) has recovered state from the network and host stack and until PIM has recovered state from the network and IGMP. When both PIM and IGMP have recovered and fully updated the MRIB, MRIB signals the MFIBs that NSF is ending, and begins updating the stale MFIB entries. When all updates have been sent, the MFWD partner processes delete all remaining stale (nonupdated) MFIB entries and return to normal operation, ending the NSF mode. MFIB NSF timeout prior to the signal from MRIB may cause NSF to end, and thus forwarding to stop.
When forwarding is in NSF mode, multicast flows may continue longer than necessary when network conditions change due to multicast routing protocols, unicast routing protocol reachability information, or local sender and receiver changes. The MFWD partner processes halt forwarding on stale MFIB entries when the potential for a multicast loop is detected by receipt of incoming data on a forwarding interface for the matching MFIB entry.
Note
For NSF to operate successfully in your multicast network, you must also enable NSF for the unicast protocols (such as Intermediate System-to-Intermediate System [IS-IS], Open Shortest Path First [OSPF] and Border Gateway Protocol [BGP]) that PIM relies on for Reverse Path Forwarding (RPF) information. See the appropriate configuration modules to learn how to configure NSF for unicast protocols.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example enables NSF for the multicast routing system:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# nsf
Related Commands
oom-handling
To enable the out-of-memory functionality on multicast routing software components, use the oom-handling command in multicast routing configuration mode. To remove this functionality, use the no form of this command.
oom-handling
no oom-handling
Syntax Description
This command has no arguments or keywords.
Defaults
By default, this feature is disabled
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 3.2
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
When this command is enabled, and the router's memory is low or in a warning state, the following states are not created:
•
Protocol Independent Multicast (PIM) route states in response to PIM join and prune messages, and register messages
•
Internet Group Management Protocol (IGMP) group states
•
External Source-Active (SA) states in Multicast Source Discovery Protocol (MSDP)
Multicast routing show commands such as the show pim topology command indicate when the router is running low on memory and that new state creation has stopped.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example enables the out-of-memory functionality:
RP/0/RP0/CPU0:router# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# oom-handling
rate-per-route
To enable per (S, G) rate calculations, use the rate-per-route command in multicast routing configuration mode. To remove this functionality, use the no form of this command.
rate-per-route
no rate-per-route
Syntax Description
This command has no arguments or keywords.
Defaults
By default, maximum state limits are enabled.
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to disable maximum state limits:
RP/0/RP0/CPU0:router# multicast-routing address-family ipv4
RP/0/RP0/CPU0:router(config-mcast)# rate-per-route
show mfib connections
To display the status of Multicast Forwarding Information Base (MFIB) connections to servers, use the show mfib connections command in EXEC mode.
show mfib [ipv4 | ipv6] connections [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
location node-id
|
(Optional) MFIB connections associated with an interface of the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib connection command:
RP/0/RP0/CPU0:router# show mfib connections
Related Commands
show mfib counter
To display Multicast Forwarding Information Base (MFIB) counter statistics for packets that have dropped, use the show mfib counter command in EXEC mode.
show mfib [ipv4 | ipv6] counter [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
location node-id
|
(Optional) MFIB counter statistics associated with an interface of the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command displays packet drop statistics for packets that cannot be accounted for under route counters.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib counter command:
RP/0/RP0/CPU0:router# show mfib counter location 0/1/CPU0
MFIB global counters are :
* Packets [no input idb] : 0
* Packets [failed route lookup] : 0
* Packets [Failed idb lookup] : 0
* Packets [Mcast disabled on input I/F] : 0
Table 15 describes the significant fields shown in the display.
Table 15 show mfib counter Field Descriptions
Field
|
Description
|
Packets [no input idb]
|
Packets dropped since no input interface information was found in the packet.
|
Packets [failed route lookup]
|
Packets dropped since failing to match any multicast route.
|
Packets [Failed idb lookup]
|
Packets dropped since the descriptor block was not found for an interface (incoming or outgoing).
|
Packets [Mcast disabled on input I/F]
|
Packets dropped since arriving on an interface that was not enabled for the multicast routing feature.
|
Related Commands
show mfib hardware interface
To display hardware switching interface information for the Multicast Forwarding Information Base (MFIB) process, use the show mfib hardware interface command in EXEC mode.
show mfib [ipv4 | ipv6] hardware interface [detail] [type instance] [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a Route Processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
detail
|
(Optional) Displays detailed information about the MFIB interface.
|
location node-id
|
(Optional) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
The ipv4 and ipv6 keywords were added.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command displays multicast-specific information about the software switching interfaces of the router's hardware.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib hardware interface command. The first line displays information for the fabric interface (FI0/1/1) on the line card. The fabric interface is a special interface that represents the hardware connection to the fabric.
RRP/0/RP0/CPU0:router# show mfib ipv4 hardware interface location 0/1/1
Interface Handle Ghandle RefCnt TTL uIDB E-uIDB Parent-I/F Enbld Comment
FI0/1/1 0x1180000 0x0 2 0 0 Unknwn Unknown False success
PO0/1/1/0 0x1180060 0x118006 20002 0 1 1 N/A True success
PO0/1/1/1 0x11800c0 0x11800c 20002 0 2 2 N/A True success
PO0/1/1/3 0x1180180 0x118018 2 0 4 4 N/A True success
Table 16 describes the significant fields shown in the display.
Table 16 show mfib hardware interface Field Descriptions
Field
|
Description
|
Interface
|
MFIB interface name.
|
Handle
|
A 32-bit-system wide identifier of the MFIB interface.
|
Ghandle
|
Global interface handle. A 28-bit-system wide identifier of the interface derived from the 32-bit handle, but does not exist for all MFIB interfaces.
|
RefCnt
|
Number of times various data structures referred to this MFIB interface structure.
|
TTL
|
Multicast time-to-live threshold that was configured on this MFIB interface.
|
uIDB
|
MicroIDB. A unique identifier of the MFIB interface that exists on the line card.
|
E-uIDB
|
Effective uIDB. An identifier that is relevant only for virtual MFIB interfaces such as bundles and tunnels; for example, if an interface is a member of a bundle, the effective uIDB is that of the bundle.
|
Parent-I/F
|
Parent interface handle. Relevant only for bundles and tunnels showing the corresponding parent MFIB interface handle.
|
Enbld
|
If true, multicast is enabled on the MFIB interface.
|
Primary IP
|
Primary IP address of the MFIB interface.
|
Secondary IP
|
Secondary IP address of the MFIB interface.
|
Bound-ACL
|
The following states appear for this field:
• True if the multicast boundary is configured on the MFIB interface.
• False if no boundary is configured.
• Unknown if the MFIB interface is not applicable to multicast boundaries.
|
ADJ ADDR
|
Table lookup unit (TLU) memory location of the MFIB interface adjacency information.
|
Comment
|
Indicates whether there were problems when reading hardware information.
|
Related Commands
Command
|
Description
|
show mfib interface
|
Displays interface-related information used during software multicast switching in the MFIB process.
|
show mfib hardware resource-counters
To display the allocated and freed hardware resources for the Multicast Forwarding Information Base (MFIB) process, use the show mfib hardware resource-counters command in EXEC mode.
show mfib [ipv4 | ipv6] hardware resource-counters [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
location node-id
|
(Optional) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib hardware resource-counters command:
RRP/0/RP0/CPU0:router# show mfib ipv4 hardware resource-counters location 0/5/cpu0
TLU blocks channel 0 : ingress: 171,0 egress: 1,0
TLU blocks channel 1 : ingress: 0,0 egress: 0,0
TLU blocks channel 2 : ingress: 18,0 egress: 0,0
TLU blocks channel 3 : ingress: 2,0 egress: 1,0
TLU blocks for PLU_EXTENSION: 18,0
TLU blocks for S_BITMAP: 2,0
TLU blocks for USE_ACCEPT_BITMAP: 171,0
TLU blocks for CONN_CHECK: 0,0
TLU blocks for OLIST: 1,0
TLU blocks for L2_LOAD_INFO: 1,0
TLU blocks for L2_TE: 0,0
TLU blocks for OLIST1: 0,0
TLU blocks for OLIST2: 0,0
TLU blocks for UNKNOWN: 0,0
Number of times we failed to allocate TLU block(s): 0 Number of general TLU failures: 0
Mstat success #calls: ingress: 21,0 egress: 14,0
Mstat failure #calls: ingress: 0,0 egress: 0,0
Related Commands
Command
|
Description
|
show mfib interface
|
Displays interface-related information used during software multicast switching in the MFIB process.
|
show mfib hardware route
To display platform-specific Multicast Forwarding Information Base (MFIB) hardware information for each route entry, use the show mfib hardware route command in EXEC mode.
show mfib [ipv4 | ipv6] hardware route {* | source-address | group-address [/prefix-length]}
location node-id
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
*
|
(Optional) Displays shared tree entry.
|
source-address
|
(Optional) IP address of the multicast route source. The address can be with or without a prefix length. To specify a length, use a slash immediately following the IP address, followed by the length.
|
group-address
|
(Optional) IP address of the multicast group. The address can be with or without a prefix length. To specify a length, use a slash immediately following the IP address, followed by the length.
|
/prefix-length
|
(Optional) Prefix length of the multicast group. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value.
|
location node-id
|
(Optional) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Use the show mfib hardware route command to display hardware information for the route of the node.
The longest-prefix match route is displayed, depending on the provided source and group addresses.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib hardware route command:
RP/0/0/CPU0:router# show mfib hardware route 225.0.0.0 location 0/3/cpu0
(*,225.0.0.0)
tlu address:0x0009c580:0x00000000
slotmask:0x0008 bmainfo:0x00000 loq:0xc007 oq:0x8000
gather:6:0 mtu:8192:0 flags:[S RS C]
ingress vmr id:0x24a028cd
device:0x1 offset:0x3e146
value:4200000000E1000000 mask:01FFFFFFFF00000000
plu_leaf:0000000000000000800000000E004E2C
device:0x1 offset:0x3e146
value:4200000000E1000000 mask:01FFFFFFFF00000000
plu_leaf:0000000000000000800000000E00DC14
Table 20 describes the significant fields shown in the display.
Table 17 show mfib hardware route Field Descriptions
Field
|
Description
|
tlu_addr
|
Table lookup unit (TLU) address for route entry.
|
slotmask
|
Bitmap of egress slots.
|
bmainfo
|
Information sent to the EGRESSQ for replication purposes.
|
loq
|
Local output queue.
|
oq
|
Output queue.
|
gather
|
Gather profile.
|
mtu
|
Maximum transmission unit (MTU).
|
pkts
|
Packet counter.
|
bytes
|
Byte counter.
|
vmr_id
|
Value mask result (VMR) ID for the Ternary content addressable memory (TCAM) entry.
|
device
|
TCAM device ID.
|
offset
|
TCAM device offset.
|
value
|
TCAM value.
|
mask
|
TCAM mask.
|
plu_leaf
|
TCAM pointer lookup unit (PLU) leaf value.
|
Related Commands
show mfib hardware route accept-bitmap
To display platform-specific Multicast Forwarding Information Base (MFIB) information for the interface list that accepts bidirectional routes, use the show mfib hardware route accept-bitmap command in EXEC mode.
show mfib [ipv4 | ipv6] hardware route accept-bitmap [hash-tree-only | normal-tree-only]
[detail | hex-dump] [* | source-address] [group-address [/prefix-length]] [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
*
|
(Optional) Displays shared tree entry.
|
source-address
|
(Optional) IP address or hostname of the multicast route source.
|
group-address
|
(Optional) IP address or hostname of the multicast group.
|
/prefix-length
|
(Optional) Prefix length of the multicast group. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value.
|
hash-tree-only
|
(Optional) Displays routes in the hash tree only. This option is available for IPv6 only.
|
normal-tree-only
|
(Optional) Displays routes in the normal tree only. This option is available for IPv6 only.
|
detail
|
(Optional) Detailed list of the routing database.
|
hex-dump
|
(Optional) Displays a HEX dump of the pointer lookup unit (PLU) and table lookup unit (TLU) memory.
|
location node-id
|
(Optional) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
The ipv4 and ipv6 keywords were added.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
The hash-tree-only, normal-tree-only, and hex-dump keywords were added.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
In the following example, the bidirectional range is configured as 233.1.0.0/16 and 233.4.0.0/16:
RP/0/RP0/CPU0:router(config)# ipv4 access-list bidir-range
RP/0/RP0/CPU0:router(config-ipv4-acl)# permit 233.1.0.0 0.0.255.255
RP/0/RP0/CPU0:router(config-ipv4-acl)# permit 233.4.0.0 0.0.255.255
RP/0/RP0/CPU0:router(config-ipv4-acl)# deny any
RP/0/RP0/CPU0:router(config-ipv4-acl)# commit
RP/0/RP0/CPU0:router(config-ipv4-acl)# exit
RP/0/RP0/CPU0:router(config)# router pim
RP/0/RP0/CPU0:router(config-pim-ipv4)# no rp-address 10.1.1.1 bidir
RP/0/RP0/CPU0:router(config-pim-ipv4)# commit
RP/0/RP0/CPU0:router(config-pim-ipv4)# rp-address 10.1.1.1 bidir-range bidir
RP/0/RP0/CPU0:router(config-pim-ipv4)# commit
Uncommitted changes found, commit them? [yes]: yes
The sample output from the show mfib hardware route accept-bitmap command displays the accepting interface list for (*,233.1.0.0/16) and (*,233.4.0.0/16) only. The accepting interface list is POS0/1/1/0, POS0/1/1/1, and POS0/1/1/3.
RP/0/RP0/CPU0:router# show mfib hardware route accept-bitmap detail location 0/1/CPU0
Source: Source address Group: Group Address M: Mask Length
iQoS : Ingress QoS tag C : Directly connected check flag
RPF : Accepting interface for non-bidir entries
S : Signal on RPF interface FU : For us
PLUext: PLU result extension address
A_num : Number of I/Fs in the accepting list
A_TLU : Address of the first TLU in the accepting list
Interface: Accepting interface name
Source Group M iQoS C RPF S FU PLUext FGID P PF BA oQoS A_num A_TLU Interface
* 224.0.0.0 4 0 T Null F F 200ae2c 41785 F F T 0 0 Null
* 224.0.0.0 24 0 F Null F F 200d00f 47206 F F T 0 0 Null
* 224.0.1.39 32 0 F Null F F 200d000 47205 T F F 0 0 Null
* 224.0.1.40 32 0 F Null F F 200d00d 27202 T F F 0 0 Null
* 232.0.0.0 8 0 F Null F F 200d010 47207 F F T 0 0 Null
* 233.1.0.0 16 0 F Null F F 200ae34 44106 F F T 0 3 4400 PO0/1/1/0
* 233.1.0.0 16 0 F Null F F 200ae34 44106 F F T 0 3 4400 PO0/1/1/1
* 233.1.0.0 16 0 F Null F F 200ae34 44106 F F T 0 3 4400 PO0/1/1/3
* 233.1.1.1 32 0 F Null F F 200a418 27205 F F T 0 0 4400
* 233.1.1.2 32 0 F Null F F 200a419 27206 F F T 0 0 4400
* 233.1.1.3 32 0 F Null F F 200a41c 27207 F F T 0 0 4400
* 233.1.1.4 32 0 F Null F F 200a41d 27208 F F T 0 0 4400
* 233.4.0.0 16 0 F Null F F 200ae3c 42043 F F T 0 3 4500 PO0/1/1/0
* 233.4.0.0 16 0 F Null F F 200ae3c 42043 F F T 0 3 4500 PO0/1/1/3
Table 18 describes the significant fields shown in the display.
Table 18 show mfib hardware route accept-bitmap Field Descriptions
Field
|
Description
|
iQoS
|
An identifier of a QoS policy. This field is currently unused.
|
C
|
Directly connected check flag. If "T" is displayed, hardware performs directly connected checks on the packet sources that match this route.
|
S
|
Signal on RPF interface. If "T" is displayed, hardware punts the packet to the line card CPU to signal PIM (by default) for all packets that match this route.
|
FU
|
For us. A packet is destined for this router. If "T" is displayed, at least one application is interested in packets on one or more interfaces that match this route.
|
P
|
Punt. If "T" is displayed, all packets that match the route punts to the line card CPU.
|
PF
|
Punt if forward. If "T" is displayed, when the ingress hardware sends a packet to the egress line cards across the fabric, it also punts a copy of the packet to the line card CPU.
|
BA
|
Boundary ACL. If "T" is displayed, the hardware punts the packet to the line card CPU for software switching when the incoming interface has a boundary access list configured.
|
oQoS
|
Output QoS policy identifier. This field is currently unused.
|
A_num
|
Number of accepting interfaces for a bidirectional route.
|
Related Commands
Command
|
Description
|
show mfib interface
|
Displays interface-related information used during software multicast switching in the MFIB process.
|
show mfib hardware route olist
To display platform-specific Multicast Forwarding Information Base (MFIB) information for the output interface list (olist) stored in the hardware, use the show mfib hardware route olist command in EXEC mode.
show mfib [ipv4 | ipv6] hardware route olist [* | source-address] [group-address [/prefix-length]]
[hash-tree-only | normal-tree-only] [detail | hex-dump] [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
*
|
(Optional) Displays shared tree entries.
|
source-address
|
(Optional) IP address or hostname of the multicast route source.
|
group-address
|
(Optional) IP address or hostname of the multicast group.
|
/prefix-length
|
(Optional) Prefix length of the multicast group. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value.
|
hash-tree-only
|
(Optional) Displays routes in the hash tree only. This option is available for IPv6 on the Cisco CRS-1 only.
|
normal-tree-only
|
(Optional) Displays routes in the normal tree only. This option is available for IPv6 on the Cisco CRS-1 only.
|
detail
|
(Optional) Detailed list of the routing database.
|
hex-dump
|
(Optional) Displays a HEX dump of the pointer lookup unit (PLU) and table lookup unit (TLU) memory.
|
location node-id
|
(Optional) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
The hash-tree-only, normal-tree-only, and hex-dump keywords were added on the Cisco CRS-1.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command displays the output interface list (olist) for each route. The Multicast Forwarding (MFWD) process stores olist interfaces in a table lookup unit (TLU) block (in groups of three). As such, the command displays each route three times.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib hardware route olist command on the Cisco CRS-1 for line card 0/1/CPU0 (the output fields are described in the header):
RP/0/RP0/CPU0:router# show mfib hardware route olist location 0/1/CPU0
C : Directly connected check flag
RPF : Accepting interface for non-bidir entries
S : Signal if packet arrived on RPF interface
PF : Punt to CPU if packet is forwarded to the fabric
BA : Check if boundary ACL is configured on incoming interface
Interface: Output interface name
OP : Output Punt: Punt instead of forwarding out
Source Group M C RPF S FU FGID P PF BA O_Null Interface IC OP
* 224.0.0.0 4 T Null F F 41785 F F T True
* 224.0.0.0 24 F Null F F 47206 F F T True
* 224.0.1.39 32 F Null F F 47205 T F F True
* 224.0.1.40 32 F Null F F 27202 T F F True
* 232.0.0.0 8 F Null F F 47207 F F T True
* 233.1.0.0 16 F Null F F 44106 F F T False NULL
* 233.1.0.0 16 F Null F F 44106 F F T False NULL
* 233.1.0.0 16 F Null F F 44106 F F T False PO0/1/1/0 F F
* 233.1.1.1 32 F Null F F 27205 F F T False NULL
* 233.1.1.1 32 F Null F F 27205 F F T False PO0/1/1/1 F F
* 233.1.1.1 32 F Null F F 27205 F F T False PO0/1/1/0 F F
* 233.1.1.2 32 F Null F F 27206 F F T False NULL
* 233.1.1.2 32 F Null F F 27206 F F T False PO0/1/1/1 F F
* 233.1.1.2 32 F Null F F 27206 F F T False PO0/1/1/0 F F
The following is sample output from the show mfib hardware route olist command on the Cisco XR 12000 Series Router for line card 0/3/CPU0:
RP/0/5/CPU0:router# show mfib hardware route olist 225.0.0.0 loc 0/3/cpu0 (*,225.0.0.0)
l2:(14)01005E0000000012442551FD0800 gp:11 mtu:1500
flags:0x02 uidb:0x0006 next:0x0e00dc16
l2:(14)01005E0000000012442552010800 gp:17 mtu:1500
flags:0x02 uidb:0x000a next:0x00000000
l2: L2 encapulation string
mtu: Maximum transmission unit (MTU)
Related Commands
show mfib hardware route statistics
To display platform-specific Multicast Forwarding Information Base (MFIB) information for the packets and bytes counters for each route, use the show mfib hardware route statistics command in EXEC mode.
show mfib [ipv4 | ipv6] hardware route statistics [* | source-address] [group-address
[/prefix-length]] [hash-tree-only | normal-tree-only] [detail | hex-dump] [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
*
|
(Optional) Displays shared tree entries.
|
source-address
|
(Optional) IP address or hostname of the multicast route source.
|
group-address
|
(Optional) IP address or hostname of the multicast group.
|
/prefix-length
|
(Optional) Prefix length of the multicast group. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value.
|
hash-tree-only
|
(Optional) Displays routes in the hash tree only. This option is available for IPv6 on the Cisco CRS-1 only.
|
normal-tree-only
|
(Optional) Displays routes in the normal tree only. This option is available for IPv6 on the Cisco CRS-1 only.
|
detail
|
(Optional) Detailed list of the routing database.
|
hex-dump
|
(Optional) Displays a HEX dump of the pointer lookup unit (PLU) and table lookup unit (TLU) memory.
|
location node-id
|
(Optional) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
No modification.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
This command was supported on the Cisco XR 12000 Series Router.
The hash-tree-only, normal-tree-only, and hex-dump keywords were added on the Cisco CRS-1.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Use this command to display the hardware packets and bytes counter for a route. Route counters are kept for (S, G) routes only. A single set of counters is provided for all (*, G) routes.
This command displays the hardware packet and bytes count on a per-route basis. Per-route hardware counters are kept for (S, G) routes only. However, counters are managed dynamically and allocated on a priority basis and may not be available for each (S, G) route. There is a single set of counters for all
(*, G) routes. For example, interface counters and access list counters have higher priority than route counters.
Note
Route counters are local to each line card.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib hardware route statistics command for line card 0/1/CPU0.
The first four lines indicate that a total of 2,709,724 packets representing 184,261,232 bytes matched all (*, G) routes and where punted to line card CPU for further processing.
The second four lines indicate that 753 packets matched the route (10.1.1.9, 233.1.1.2), were accepted for forwarding, and sent into the fabric by the ingress forwarding engine. The lines indicate that 749 packets and 47,936 bytes were received by the egress forwarding engine from the fabric, matched (10.1.1.9, 233.1.1.2), and were sent out of at least one interface from the output interface list.
RP/0/RP0/CPU0:router# show mfib hardware route statistics location 0/1/CPU0
(*,G) Counter: Ingress Counter = 0xe170 Egress Counter = 0x9110
Ingress: Forward = (0 , 0) Punt = (2709724 , 184261232)
Egress: Forward = (0 , 0) Drop = (0 , 0)
(10.1.1.9,233.1.1.1/64) Ingress Counter = 0xe173 Egress Counter = 0x9112
Ingress: Forward = (753 , 51204) Punt = (0 , 0)
Egress: Forward = (749 , 47936) Drop = (0 , 0)
Table 19 describes the significant fields shown in the display.
Table 19 show mfib hardware route statistics Field Descriptions
Field
|
Description
|
Ingress Counter
|
A unique identifier of the ingress counter.
|
Egress Counter
|
A unique identifier of the egress counter.
|
Forward
|
Number of forwarded packets and bytes.
|
Punt
|
Number of bytes punted from the line card CPU.
|
Drop
|
Number of dropped bytes.
|
Related Commands
show mfib hardware route summary
To display summary platform-specific Multicast Forwarding Information Base (MFIB) hardware information for each route entry, use the show mfib hardware route summary command in EXEC mode.
show mfib [ipv4 | ipv6] hardware route summary [hash-tree-only | normal-tree-only] [location
node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
hash-tree-only
|
(Optional) Displays routes in the hash tree only. This option is available for IPv6 on the Cisco CRS-1 only.
|
normal-tree-only
|
(Optional) Displays routes in the normal tree only. This option is available for IPv6 on the Cisco CRS-1 only.
|
location node-id
|
(Optional on Cisco CRS-1) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 3.4.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Use the show mfib hardware summary command to display hardware information for the route of the node.
The longest-prefix match route is displayed depending on the provided source and group addresses.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib hardware route command:
RP/0/0/CPU0:router# show mfib hardware route 225.0.0.0 location 0/3/cpu0
(*,225.0.0.0)
tlu address:0x0009c580:0x00000000
slotmask:0x0008 bmainfo:0x00000 loq:0xc007 oq:0x8000
gather:6:0 mtu:8192:0 flags:[S RS C]
ingress vmr id:0x24a028cd
device:0x1 offset:0x3e146
value:4200000000E1000000 mask:01FFFFFFFF00000000
plu_leaf:0000000000000000800000000E004E2C
device:0x1 offset:0x3e146
value:4200000000E1000000 mask:01FFFFFFFF00000000
plu_leaf:0000000000000000800000000E00DC14
Table 20 describes the significant fields shown in the display.
Table 20 show mfib hardware route Field Descriptions
Field
|
Description
|
tlu_addr
|
Table lookup unit (TLU) address for route entry.
|
slotmask
|
Bitmap of egress slots.
|
bmainfo
|
Information sent to the EGRESSQ for replication purposes.
|
loq
|
Local output queue.
|
oq
|
Output queue.
|
gather
|
Gather profile.
|
mtu
|
Maximum transmission unit (MTU).
|
pkts
|
Packet counter.
|
bytes
|
Byte counter.
|
vmr_id
|
Value mask result (VMR) ID for the Ternary content addressable memory (TCAM) entry.
|
device
|
TCAM device ID.
|
offset
|
TCAM device offset.
|
value
|
TCAM value.
|
mask
|
TCAM mask.
|
plu_leaf
|
TCAM pointer lookup unit (PLU) leaf value.
|
Related Commands
show mfib interface
To display interface-related information used during software multicast switching in the Multicast Forwarding Information Base (MFIB) process, use the show mfib interface command in EXEC mode.
show mfib [ipv4 | ipv6] interface [type instance] [detail] [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a Route Processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
detail
|
(Optional) Detailed information for packet statistics on interfaces.
|
location node-id
|
(Optional) Packet statistics associated with an interface of the designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command displays counters for the number of packets and bytes that are handled by software switching. Counters for packets processed by hardware are displayed by the appropriate show mfib hardware command.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib interface command for the multicast route on location node-id 0/1/CPU0 that is associated with the Packet-over-SONET/SDH (POS) interface 0/1/1/0:
RP/0/RP0/CPU0:router# show mfib interface pos 0/1/1/0 location 0/1/CPU0
Routes associated with POS0_1_1_0
Entry flags: C - Directly-Connected Check, S - Signal, D - Drop,
IA - Inherit Accept, IF - Inherit From
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
Forwarding Counts: Packets in/Packets out/Bytes out
Failure Counts: RPF / TTL / Empty Olist / Other
The following is sample output from the show mfib interface command with the detail and location keywords specified:
RP/0/RP0/CPU0:router# show mfib interface detail location 0/1/CPU0
Interface : FINT0_1_1 (Enabled) PHYSICAL
Mcast pkts in: 0, Mcast pkts out: 0 TTL Threshold: 0 Ref Count: 3
Primary address : 0.0.0.0/32 Secondary address : 0.0.0.0/32
Interface : POS0_1_1_0 (Enabled) PHYSICAL
Mcast pkts in: 0, Mcast pkts out: 0 TTL Threshold: 0 Ref Count: 20022
Primary address : 1.1.1.10/24 Secondary address : 0.0.0.0/32
Interface : POS0_1_1_1 (Enabled) PHYSICAL
Mcast pkts in: 0, Mcast pkts out: 0 TTL Threshold: 0 Ref Count: 20032
Primary address : 2.2.2.10/24 Secondary address : 0.0.0.0/32
Table 21 describes the significant fields shown in the display.
Table 21 show mfib interface Field Descriptions
Field
|
Description
|
Interface
|
Interface name. Enabled if the interface is configured for multicast routing. The word "PHYSICAL" is displayed if the interface is a non-virtual interface.
|
Mcast pkts in
|
Number of incoming multicast packets entering the interface during software switching.
|
Mcast pkts out
|
Number of outgoing multicast packets exiting the interface during software switching.
|
TTL Threshold
|
Number of multicast packets that reach the configured multicast time-to-live threshold.
|
Ref Count
|
Number of references to this interface structure in the MFIB process.
|
Primary address
|
Primary IP address of the interface.
|
Secondary address
|
Secondary IP address of the interface.
|
Related Commands
show mfib nsf
To display the state of nonstop forwarding (NSF) operation for the Multicast Forwarding Information Base (MFIB) line cards, use the show mfib nsf command in EXEC mode.
show mfib [ipv4 | ipv6] nsf [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
location node-id
|
(Optional) MFIB NSF designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command displays the current multicast NSF state for the MFIB process contained on all line cards and route processors (RPs) in the router.
For multicast NSF, the state may be one of the following:
•
Normal—Normal operation: The MFIBs in the card contain only up-to-date MFIB entries.
•
Boot Card booting—Card is initializing and has not yet determined its NSF state.
•
Not Forwarding—Multicast Forwarding Disabled: Multicast routing failed to recover from a failure-induced NSF state prior to the MFIB NSF timeout.
•
Non-Stop Forwarding Activated—Multicast NSF active: The router is operating in NSF mode while attempting to recover from a control-plane failure. In this mode, data is forwarded based on MFIB entries that are either updated by the recovered MRIB, or MFIB entries that were marked stale when NSF mode began. The times remaining until multicast NSF and multicast-unicast NSF expiration are displayed.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib nsf command:
RP/0/RP0/CPU0:router# show mfib nsf
IP MFWD Non-Stop Forwarding Status:
Multicast routing state: Non-Stop Forwarding is activated
NSF Time Remaining: 00:14:54
Multicast routing state: Non-Stop Forwarding is activated
NSF Time Remaining: 00:14:54
Multicast routing state: Non-Stop Forwarding is activated
NSF Time Remaining: 00:14:53
Multicast routing state: Non-Stop Forwarding is activated
NSF Time Remaining: 00:14:53
Table 22 describes the significant fields shown in the display.
Table 22 show mfib nsf Field Descriptions
Field
|
Description
|
IP MFWD Non-Stop Forwarding Status
|
MFIB NSF status of each node in the system: booting, normal, not forwarding or activated.
|
NSF Time Remaining
|
If MSB NSF is activated, the time remaining until NSF fails and all routes are deleted displays. Before timeout, MRIB signals that NSF (in the control plane) is finished and new, updated routes are populated in the MFIB (which makes the transition to Normal status).
|
Related Commands
Command
|
Description
|
nsf lifetime (IGMP/MLD)
|
Configures the maximum time for the NSF timeout value on the IGMP.
|
nsf
|
Configures the NSF capability for the multicast routing system.
|
nsf lifetime (PIM)
|
Configures the NSF timeout value for the PIM process.
|
show igmp nsf
|
Displays the state of NSF operation in IGMP.
|
show mrib nsf
|
Displays the state of NSF operation in the MRIB.
|
show pim nsf
|
Displays the state of NSF operation for PIM.
|
show mfib route
To display route entries in the Multicast Forwarding Information Base (MFIB) table, use the show mfib route command in EXEC mode.
show mfib [ipv4 | ipv6] route [* | source-address] [[group-address [/prefix-length]] [location
node-id] [old-output] [rate] [statistics] [summary]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
*
|
(Optional) Displays shared tree entries.
|
source-address
|
(Optional) IP address or hostname of the multicast route source.
|
group-address
|
(Optional) IP address or hostname of the multicast group.
|
/prefix-length
|
(Optional) Prefix length of the multicast group. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value.
|
location node-id
|
(Optional) MFIB designated node. The node-id argument is entered in the rack/slot/module notation.
|
old-output
|
(Optional) Displays the old show output—available for backward compatibility.
|
rate
|
Displays per (S, G) rates.
|
statistics
|
(Optional) Displays both hardware and software forwarding statistics.
|
summary
|
(Optional) Brief list of the routing database.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
All entries in the MFIB table are derived from the Multicast Routing Information Base (MRIB). The flags have the same connotation as in the MRIB. The flags determine the forwarding and signaling behavior according to a set of forwarding rules for multicast packets. In addition to the list of interfaces and flags, each route entry shows various counters. Byte count is the number of total bytes forwarded. Packet count is the number of packets received for this entry.
The show mfib counter command displays global counters independent of the routes.
This command displays counters for the number of packets and bytes that are handled by software switching. Counters for packets processed by hardware are displayed by the appropriate show mfib hardware command.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mfib route command with the location keyword specified (the output fields are described in the header):
RP/0/RP0/CPU0:router# show mfib route location 0/1/CPU0
IP Multicast Forwarding Information Base
Entry flags: C - Directly-Connected Check, S - Signal, D - Drop
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
Forwarding Counts: Packets in/Packets out/Bytes out
Failure Counts: RPF / TTL / Empty Olist / Other
(*,224.0.0.0/4), Flags: C
(*,224.0.0.0/24), Flags: D
The following is sample output from the show mfib route command with the summary and location keywords specified:
RP/0/RP0/CPU0:router# show mfib route summary location 0/1/CPU0
IP Multicast Forwarding Information Base Summary
No. of (*,G) routes = 20015
No. of (S,G) routes = 20020
The following is sample output from the show mfib route command with the statistics and location keywords specified. For route *, 239.1.1.1, the hardware counters show N/A, which means no hardware statistic blocks were assigned to the route *, 239.1.1.1. However, routes 200.180.161.9 and 239.1.1.1 show both hardware and software statistic blocks were assigned. The output fields are described in the header.
RP/0/RP0/CPU0:router# show mfib route statistics location 0/1/CPU0
IP Multicast Forwarding Information Base
Entry flags: C - Directly-Connected Check, S - Signal, D - Drop,
IA - Inherit Accept, IF - Inherit From
Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
EG - Egress, EI - Encapsulation Interface
SW/HW Forwarding Counts: Packets in/Packets out/Bytes out
SW Failure Counts: RPF / TTL / Empty Olist / Other
HW Drop Counts: Ingress / Egress
(*,224.0.0.0/4), Flags: C
SW Forwarding Counts: 9038/0/0
SW Failure Counts: 0/0/0/0
HW Forwarding Counts: N/A /N/A /N/A
(*,224.0.0.0/24), Flags: D
SW Forwarding Counts: 0/0/0
SW Failure Counts: 0/0/0/0
HW Forwarding Counts: N/A /N/A /N/A
SW Forwarding Counts: 3/0/0
SW Failure Counts: 0/0/0/0
HW Forwarding Counts: N/A /N/A /N/A
(200.180.161.9,239.1.1.1), Flags:
SW Forwarding Counts: 146/0/0
SW Failure Counts: 0/0/0/0
HW Forwarding Counts: 61327/61327/3924928
SW Forwarding Counts: 7/0/0
SW Failure Counts: 0/0/0/0
HW Forwarding Counts: N/A /N/A /N/A
Related Commands
show mhost default-interface
To display the active default interface for the Multicast Host (MHost) process, use the show mhost default-interface command in EXEC mode.
show mhost [ipv4 | ipv6] default-interface
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
Defaults
IPv4 addressing is the default
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command is used to show both the configured and active MHost default interfaces. The configured interface is the one specified by the mhost default-interface command; otherwise, the configured interface is displayed as none.
The active interface is the one currently being used as the default. The active interface may differ from the one configured when multicast routing is enabled and the configured interface is not operational. This show command is useful when applications such as Auto-RP, ping, or MTrace are not functioning as expected.
Task ID
Task ID
|
Operations
|
network
|
read
|
Examples
The following is sample output for the show mhost default-interface command that shows that loopback interface 0 was configured as the MHost default interface, and it is the active default interface:
RP/0/RP0/CPU0:router# show mhost default-interface
mhost configured default interface is 'Loopback0'
mhost active default interface is 'Loopback0'
Related Commands
Command
|
Description
|
mhost default-interface
|
Configures the default interface for IP multicast transmission and reception to and from the host stack.
|
show mhost groups
To display various multicast groups joined directly on the interface, use the show mhost groups command in EXEC mode.
show mhost [ipv4 | ipv6] groups type instance [location node-id]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a Route Processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
location node-id
|
(Optional) The designated node. The node-id argument is entered in the rack/slot/module notation.
|
Defaults
No default behavior or values
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command is used to display the groups joined by applications and verifies that the MHost application is functioning properly.
Task ID
Task ID
|
Operations
|
network
|
read
|
Examples
The following is sample output from the show mhost groups command that shows the MHost groups 2, 239.1.1.1, 224.0.0.22, 224.0.0.2, 224.0.0.1, 224.0.0.13, and 224.0.1.40 have joined on loopback 0 interface:
RP/0/RP0/CPU0:router# show mhost groups loopback 0
239.1.1.1 : includes 1, excludes 0, mode INCLUDE
33.3.3.3 : includes 1, excludes 0, active in INCLUDE filter
224.0.0.22 : includes 0, excludes 1, mode EXCLUDE
224.0.0.2 : includes 0, excludes 1, mode EXCLUDE
224.0.0.1 : includes 0, excludes 1, mode EXCLUDE
224.0.0.13 : includes 0, excludes 1, mode EXCLUDE
224.0.1.40 : includes 0, excludes 2, mode EXCLUDE
Table 23 describes the significant fields shown in the display.
Table 23 show mhost groups Field Descriptions
Field
|
Description
|
includes
|
Number of source addresses in the include list.
|
excludes
|
Number of source addresses in the exclude list.
|
mode
|
Indicates the multicast socket filter mode: include or exclude.
|
33.3.3.3
|
Source address list to be included or excluded based on the multicast filter mode.
|
Related Commands
show mrib client
To display the state of the Multicast Routing Information Base (MRIB) client connections, use the show mrib client command in EXEC mode.
show mrib [ipv4 | ipv6] [old-output] client [filter] [client-name]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
old-output
|
(Optional) Display the old show output—available for backward compatibility.
|
filter
|
(Optional) Displays client filter.
|
client-name
|
(Optional) Name of a multicast routing protocol that acts as a client of MRIB, such as Protocol Independent Multicast (PIM) or Internet Group Management Protocol (IGMP).
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
The filter option is used to display the route and interface level flag changes that various MRIB clients have registered. This command option also shows what flags are owned by the MRIB clients.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mrib client command using the filter option:
RP/0/RP0/CPU0:router# show mrib client filter
IP MRIB client-connections
igmp:417957 (connection id 0)
interface attributes: II ID LI LD
pim:417959 (connection id 1)
interface attributes: SP II ID LI LD
entry attributes: L S C IA IF D
interface attributes: F A IC NS DP DI EI
bcdl_agent:1 (connection id 2)
interest filter:
entry attributes: S C IA IF D
interface attributes: F A IC NS DP SP EI
groups:
include 0.0.0.0/0
interfaces:
include All
ownership filter:
groups:
include 0.0.0.0/0
interfaces:
include All
Table 24 describes the significant fields shown in the display.
Table 24 show mrib client Field Descriptions
Field
|
Description
|
igmp
|
Name of the client.
|
417957
|
PID or a unique ID assigned by MRIB.
|
(connection id 0)
|
Unique client connection identifier.
|
ownership filter:
|
Specifies all the route entry and interface level flags that are owned by the client. As the owner of the flag, only the client can add or remove the flag. For example, only the IGMP client can add the II flag on an interface. MRIB won't allow a non-owner to register or modify the same flag.
|
groups: include 0.0.0.0/0 interfaces: include All
|
Groups and interfaces registered by the clients consisting of two lists. One is an include list (items for which the client requests to be notified.) The use of "All" implies all interfaces and 0.0.0.0/0 to indicate all groups. Not shown in this example is the exclude list. This list contains items that the client requests not to be notified when modifications occur.
|
interface attributes: II ID LI LD
|
Interface level flags set on the interface belong to a route.
|
interest filter:
|
Specifies all the flags, groups, and interfaces from which the client requests information. When a flag of interest for a client is modified, the client is notified.
|
entry attributes: E
|
Entry level flags that are set on the route.
|
Related Commands
Command
|
Description
|
show mrib nsf
|
Displays the state of NSF operation in the MRIB.
|
show mrib route
|
Displays route entries in the MFIB table.
|
show mrib nsf
To display the state of nonstop forwarding (NSF) operation in the Multicast Routing Information Base (MRIB), use the show mrib nsf command in EXEC mode.
show mrib [ipv4 | ipv6] [old-output] nsf
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
old-output
|
(Optional) Display the old show output—available for backward compatibility.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command displays the current multicast NSF state for the MRIB. The state may be normal or activated for NSF. The latter state indicates that recovery is in progress due to a failure in MRIB or Protocol Independent Multicast (PIM). The total NSF timeout and time remaining are displayed until NSF expiration.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mrib nsf command:
RP/0/RP0/CPU0:router# show mrib nsf
IP MRIB Non-Stop Forwarding Status:
Multicast routing state: Non-Stop Forwarding Activated
NSF Time Remaining: 00:01:40
Table 25 describes the significant fields shown in the display.
Table 25 show mrib nsf Field Descriptions
Field
|
Description
|
Multicast routing state
|
Multicast NSF status of the MRIB (Normal or NSF Activated).
|
NSF Lifetime
|
Timeout for MRIB NSF, computed as the maximum of the PIM and IGMP NSF lifetimes, plus 60 seconds.
|
NSF Time Remaining
|
If MRIB NSF state is activated, the time remaining until MRIB reverts to Normal mode displays. Before this timeout, MRIB receives notifications from IGMP and PIM triggering a successful end of NSF and cause the transition to Normal state. If notifications are not received, the timer triggers a transition back to Normal mode causing new routes to download to MFIB and old routes to be deleted.
|
Related Commands
Command
|
Description
|
nsf lifetime (IGMP/MLD)
|
Configures the maximum time for the NSF timeout value on the IGMP.
|
nsf
|
Configures the NSF capability for the multicast routing system.
|
nsf lifetime (PIM)
|
Configures the NSF timeout value for the PIM process.
|
show igmp nsf
|
Displays the state of NSF operation in IGMP.
|
show mfib nsf
|
Displays the state of NSF operation in the MFIB.
|
show pim nsf
|
Displays the state of NSF operation for PIM.
|
show mrib route
To display all entries in the Multicast Routing Information Base (MRIB) table, use the show mrib route command in EXEC mode.
show mrib [ipv4 | ipv6] [old-output] route {summary | * | source-address | group-address
[/prefix-length]} [detail]
Syntax Description
ipv4
|
(Optional) Specifies IPv4 address prefixes. IPv4 addressing is the default.
|
ipv6
|
(Optional) Specifies IPv6 address prefixes.
|
old-output
|
(Optional) Displays the old show output—available for backward compatibility.
|
summary
|
(Optional) Displays a summary of the routing database.
|
*
|
(Optional) Displays shared tree entries.
|
source-address
|
(Optional) IP address or hostname of the MRIB route.
|
group-address
|
(Optional) IP address or hostname of the MRIB route.
|
/prefix-length
|
(Optional) Prefix length of the MRIB route. A decimal value that indicates how many of the high-order contiguous bits of the address compose the prefix (the network portion of the address). A slash must precede the decimal value.
|
detail
|
(Optional) Displays the routing database with the platform data.
|
Defaults
IPv4 addressing is the default.
Command Modes
EXEC
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
The detail keyword was added.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Each line card has an individual Multicast Forwarding Information Base (MFIB) table. The MFIB table maintains a subset of entries and flags updated from MRIB. The flags determine the forwarding and signaling behavior according to a set of forwarding rules for multicast packets. In addition to the list of interfaces and flags, each route entry shows various counters. Byte count is the number of total bytes forwarded. Packet count is the number of packets received for this entry.
The show mfib counter command displays global counters independent of the routes.
Task ID
Task ID
|
Operations
|
multicast
|
read
|
Examples
The following is sample output from the show mrib route command (the output fields are described in the header):
RP/0/RP0/CPU0:router# show mrib route
IP Multicast Routing Information Base
Entry flags: L - Domain-Local Source, E - External Source to the Domain,
C - Directly-Connected Check, S - Signal, IA - Inherit Accept,
D - Drop Interface flags: F - Forward, A - Accept, IC - Internal Copy,
NS - Negate Signal, DP - Don't Preserve, SP - Signal Present,
II - Internal Interest, ID - Internal Disinterest, LI - Local Interest,
(*,224.0.0.0/4) RPF nbr: 10.11.1.20 Flags: L C
(*,224.0.0.0/24) Flags: D
(*,238.1.1.1) RPF nbr: 10.11.1.20 Flags: C
POS0/3/0/0 Flags: F NS LI
(*,239.1.1.1) RPF nbr: 10.11.1.20 Flags: C
Related Commands
static-rpf
To configure a static reverse path forwarding (RPF) rule for a given prefix mask, use the static-rpf command in multicast routing configuration mode. To return to the default behavior, use the no form of this command.
static-rpf prefix-address prefix-mask type instance next-hop-address
no static-rpf
Syntax Description
prefix-address
|
IP address of a prefix for an address range.
|
prefix-mask
|
Prefix mask for an address range. Range is 0 to 32 for IPv4 and 0 to 128 for IPv6.
|
type
|
Interface type. For more information, use the question mark (?) online help function.
|
instance
|
Either a physical interface instance or a virtual interface instance:
• Physical interface instance. Naming notation is rack/slot/module/port and a slash between values is required as part of the notation.
– rack: Chassis number of the rack.
– slot: Physical slot number of the line card.
– module: Module number. A physical layer interface module (PLIM) is always 0.
– port: Physical port number of the interface.
Note In references to a Management Ethernet interface located on a Route Processor card, the physical slot number is alphanumeric (RP0 or RP1) and the module is CPU0. Example: interface MgmtEth0/RP1/CPU0/0.
• Virtual interface instance. Number range varies depending on interface type.
For more information about the syntax for the router, use the question mark (?) online help function.
|
next-hop-address
|
IP address for an RPF neighbor.
|
Defaults
A static RPF rule for a given prefix mask is not configured.
Command Modes
Multicast routing configuration
Command History
Release
|
Modification
|
Release 2.0
|
This command was introduced on the Cisco CRS-1.
|
Release 3.0
|
No modification.
|
Release 3.2
|
This command was supported on the Cisco XR 12000 Series Router.
|
Release 3.3.0
|
No modification.
|
Release 3.4.0
|
The example code was corrected to show a unicast IP address for nexthop.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
This command is used to configure incongruent topologies for unicast and multicast traffic.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example shows how to configure the static RPF rule for IP address 10.0.0.1:
RP/0/RP0/CPU0:router(config)# multicast-routing
RP/0/RP0/CPU0:router(config-mcast-ipv4)# static-rpf 10.0.0.1 32 poS 0/0/5/0 10.1.1.1
Related Commands
ttl-threshold
To configure the time-to-live (TTL) threshold for packets being forwarded out an interface, use the ttl-threshold command in multicast routing interface configuration mode. To return to the default behavior, use the no form of this command.
ttl-threshold ttl
no ttl-threshold ttl
Syntax Description
ttl
|
Time to live value. Range is 1 to 255.
|
Defaults
ttl: 0
Command Modes
Multicast routing interface configuration
Command History
Release
|
Modification
|
Release 3.3.0
|
This command was introduced on the Cisco CRS-1 and Cisco XR 12000 Series Router and replaces the mutlicast ttl-threshold command.
|
Release 3.4.0
|
No modification.
|
Usage Guidelines
To use this command, you must be in a user group associated with a task group that includes the proper task IDs. For detailed information about user groups and task IDs, see the Configuring AAA Services on Cisco IOS-XR Software module of the Cisco IOS-XR System Security Configuration Guide.
Only multicast packets with a TTL value greater than the threshold are forwarded out of the interface. The TTL threshold is compared to the TTL of the packet after it has been decremented by one and before being forwarded.
Configure the TTL threshold only on border routers.
Note
Do not confuse this command with the ttl-threshold command in router MSDP configuration mode that is used to confine the multicast data packet TTL to be sent by an Multicast Source Discovery Protocol (MSDP) Source-Active (SA) message.
Task ID
Task ID
|
Operations
|
multicast
|
read, write
|
Examples
The following example configures the TTL threshold to 23, which means that a multicast packet is dropped and not forwarded out of the POS 0/1/0/0 interface:
RP/0/RP0/CPU0:router(config)# multicast
RP/0/RP0/CPU0:router(config-mcast-ipv4)# interface pos 0/1/0/0
RP/0/RP0/CPU0:router(config-mcast-ipv4-if)# ttl-threshold 23
Related Commands
Command
|
Description
|
ttl-threshold (MSDP)
|
Limits which multicast data packets are sent in SA messages to an MSDP peer.
|