- Table of Contents
-
- H3C S9500 Command Manual-Release2132[V2.03]-04 IP Multicast Volume
- 00-1Cover
- 01-Multicast Routing and Forwarding Commands
- 02-IGMP Snooping Commands
- 03-IGMP Commands
- 04-PIM Commands
- 05-MSDP Commands
- 06-IPv6 Multicast Routing and Forwarding Commands
- 07-MLD Snooping Commands
- 08-MLD Commands
- 09-IPv6 PIM Commands
- 10-Multicast VLAN Commands
- Related Documents
-
Title | Size | Download |
---|---|---|
01-Multicast Routing and Forwarding Commands | 88.65 KB |
Table of Contents
Chapter 1 Multicast Routing and Forwarding Configuration Commands
1.1 Multicast Routing and Forwarding Configuration Commands
1.1.3 display multicast boundary
1.1.4 display multicast forwarding-table
1.1.5 display multicast routing-table
1.1.6 display multicast routing-table static
1.1.7 display multicast rpf-info
1.1.10 multicast forwarding-table downstream-limit
1.1.11 multicast forwarding-table route-limit
1.1.12 multicast load-splitting
1.1.13 multicast longest-match
1.1.14 multicast routing-enable
1.1.15 reset multicast forwarding-table
1.1.16 reset multicast routing-table
Chapter 1 Multicast Routing and Forwarding Configuration Commands
1.1 Multicast Routing and Forwarding Configuration Commands
1.1.1 debugging mfib
debugging mfib { all | { driver | no-cache | packet | register | route | sync | upcall | wrong-iif } [ advanced-acl-number ] } [ slot slot-id ]
undo debugging mfib { all | { driver | no-cache | packet | register | route | sync | upcall | wrong-iif } [ advanced-acl-number ] } [ slot slot-id ]
View
User view
Default Level
1: Monitor level
Parameters
all: Specifies all types of MFIB debugging.
driver: Specifies MFIB interface driver debugging.
no-cache: Specifies MFIB unmatched packet debugging.
packet: Specifies MFIB packet debugging.
register: Specifies MFIB register message debugging.
route: Specifies MFIB route debugging.
sync: Specifies MFIB synchronization message debugging.
upcall: Enables/disables debugging for packets that MFIB reports to MRM.
wrong-iif: Enables/disables MFIB debugging for incoming interface errors. Currently, S9500 series routing switches do not support this option.
advanced-acl-number: Advanced ACL number.
slot slot-id: Specifies the slot where the interface card resides.
Description
Use the debugging mfib command to enable MFIB debugging.
Use the undo debugging mfib command to disable MFIB debugging.
By default, MFIB debugging is disabled.
Table 1-1 debugging mfib packet command output description
Field |
Description |
Receive packet |
Received packets |
Drop packet |
Dropped packets |
(sadd, gadd) |
(S, G) entry |
The TTL |
TTL value of the packet |
Forward multicast packet |
Forwarded packets |
Table 1-2 debugging mfib route command output description
Field |
Description |
receive Add entry message from MRM |
An Add entry message is received from MRM. |
receive Del entry message from MRM |
A Del entry message is received from MRM. |
receive Set IIF message from MRM |
A Set IIF message is received from MRM. |
receive Del OIF message from MRM |
A Del OIF message is received from MRM. |
receive Add OIF message from MRM |
An Add OIF message is received from MRM. |
The Following OIFs are added |
The following OIFs are added. |
(sadd, gadd) |
(S, G) entry |
Table 1-3 debugging mfib sync command output description
Field |
Description |
added to updated list |
An entry is added into the updated list |
deleted from updated list |
An entry is deleted from the updated list. |
Encoded the ADD message |
The ADD message is encapsulated. |
Encoded the DEL message |
The DEL message is encapsulated. |
Encoded the MOD message |
The MOD message is encapsulated. |
(sadd, gadd) |
(S, G) entry |
Table 1-4 debugging mfib no-cache command output description
Field |
Description |
Receive no cache report |
An unmatched packet is received. |
No MFIB entry matches |
No matching entries |
(sadd, gadd) |
(S, G) entry |
Cache the packet |
Packets are cached. |
Table 1-5 debugging mfib register command output description
Field |
Description |
Send register |
A register message is sent. |
(sadd, gadd) |
(S, G) entry |
Dropping received register packet |
An error register message is dropped. |
Table 1-6 debugging mfib upcall command output description
Field |
Description |
Send No cache up call |
The corresponding message is sent to MRM. |
(sadd, gadd) |
(S, G) entry |
Table 1-7 debugging mfib driver command output description
Field |
Description |
call driver |
The driver interface is called. |
Do not add to driver |
No entry is added to driver |
downloaded to driver Failed |
Delivery to driver failed. |
(sadd, gadd) |
(S, G) entry |
Examples
# Enable debugging for packets that MFIB reports to MRM.
<Sysname> debugging mfib upcall
*Sep 7 21:10:08:130 2006 Sysname MFIB/7/MFIB UPCALL:
Send No cache up call (3.4.5.6, 226.1.1.1) to MRM.(A14624)
// MFIB reports an unmatched packet to MRM.
1.1.2 debugging mrm
Syntax
debugging mrm { all | event | packet [ advanced-acl-number ] | route [ advanced-acl-number ] }
undo debugging mrm { all | event | packet | route }
View
User view
Default Level
2: System level
Parameters
all: Specifies all types of debugging for multicast routing management (MRM).
event: Specifies MRM event debugging.
packet: Specifies MRM packet debugging.
route: Specifies MRM route debugging.
advanced-acl-number: Advanced ACL number.
Description
Use the debugging mrm command to enable MRM debugging.
Use the undo debugging mrm command to disable MRM debugging.
By default, MRM debugging is disabled.
Table 1-8 debugging mrm packet command output description
Field |
Description |
Received |
Received packets |
MFIB information(NOCACHE) MFIB information(WRONGIF) MFIB information(ACTIVE) MFIB information(INACTIVE) MFIB information(SPT) MFIB information(CLEAR) MFIB information(REG-Timeout) Pim packet (protocol = 2) |
Types of received packets |
(sadd, gadd) |
(S, G) entry |
Table 1-9 debugging mrm route command output description
Field |
Description |
lost the route |
A route is deleted. |
a new route |
A new route is added. |
(sadd, gadd) |
(S, G) entry |
Table 1-10 debugging mrm event command output description
Field |
Description |
register interest/unregistered interest |
Register/deregister |
(sadd, gadd) |
(S, G) entry |
failed |
Operation failed. |
Examples
# Enable MRM route debugging.
<Sysname> debugging mrm route
*Sep 7 21:10:08:130 2006 Sysname MRM/7/ROUTE:
SG_INCLUDE: get a new route for (3.3.3.156, 225.0.0.1) (C155414)
*Sep 7 21:10:08:130 2006 Sysname MRM/7/ROUTE:
SG_INCLUDE: 100.1.1.1 is reachable, move (3.3.3.156, 225.0.0.1) include interest from null list(C155426)
// The route to 100.1.1.1 is reachable.
*Sep 7 21:10:08:130 2006 Sysname MRM/7/ROUTE:
Received a creation alert for (3.3.3.156, 225.0.0.1)(C181103)
// A multicast forwarding entry creation alert is received.
1.1.3 display multicast boundary
Syntax
display multicast boundary [ group-address [ mask | mask-length ] ] [ interface interface-type interface-number ]
View
Any view
Default Level
1: Monitor level
Parameters
group-address: Multicast group address.
mask: Mask of the multicast group address, 255.255.255.255 by default.
mask-length: Mask length of the multicast group address, 32 by default.
interface-type interface-number: Specifies an interface by its type and number.
Description
Use the display multicast boundary command to view the multicast boundary information on the specified interface or all interfaces.
Related commands: multicast boundary.
Examples
# View the multicast boundary information on all interfaces.
<Sysname> display multicast boundary
Multicast boundary information
Boundary Interface
224.1.1.0/24 Pos5/1/1
239.2.2.0/24 Pos5/1/2
Table 1-11 display multicast boundary command output description
Field |
Description |
Boundary |
Multicast group corresponding to the multicast boundary |
Interface: |
Boundary interface corresponding to the multicast boundary |
1.1.4 display multicast forwarding-table
Syntax
display multicast forwarding-table [ group-address [ mask { mask | mask-length } ] | source-address [ mask { mask | mask-length } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { { include | exclude | match } { interface-type interface-number | register } } | statistics | slot slot-id ] * [ port-info ]
View
Any view
Default Level
1: Monitor level
Parameters
group-address: Multicast group address.
mask: Mask of the multicast group/source address, 255.255.255.255 by default.
mask-length: Mask length of the multicast group/source address. For a multicast group address, this argument has an effective value range of 4 to 32; for a multicast source address, this argument has an effective value range of 0 to 32. The system default is 32 in both cases.
source-address: Multicast source address.
incoming-interface: Displays forwarding entries of which the incoming interface is the specified one.
interface-type interface-number: Specifies an interface by its type and number.
register: Specifies the register interface.
outgoing-interface: Displays forwarding entries of which the outgoing interface is the specified one.
include: Displays the forwarding entries of which the outgoing interface list includes the specified interface.
exclude: Displays the forwarding entries of which the outgoing interface list excludes the specified interface.
match: Specifies the forwarding entries of which the outgoing interface list includes and includes only the specified interface.
statistics: Specifies to display the statistics information of multicast forwarding table.
slot slot-id: Specifies the slot number of an interface card. If you do not specify this option, this command will display the multicast forwarding table information on the switching and routing processing unit (SRPU) only.
port-info: Specifies to display Layer 2 port information.
Description
Use the display multicast forwarding-table command to view the multicast forwarding table information.
Related commands: multicast forwarding-table downstream-limit, multicast forwarding-table route-limit and display multicast routing-table.
Examples
# View the multicast forwarding table information.
<Sysname> display multicast forwarding-table
Multicast Forwarding Table
Total 1 entry
Total 1 entry matched
00001. (172.16.1.1, 224.2.100.36)
MID: 164, Flags: 0x100000:0
Uptime: 00:00:49, Timeout in: 00:03:17
Incoming interface: Vlan-interface20
List of 2 outgoing interfaces:
1: Vlan-interface70
2: Vlan-interface75
Matched 17 packets(1761 bytes), Wrong If 0 packets
Forwarded 17 packets(1761 bytes)
Table 1-12 display multicast forwarding-table command output description
Field |
Description |
00001 |
Sequence number the (S, G) entry |
(172.16.1.1, 224.2.100.36) |
An (S, G) entry of the multicast forwarding table |
MID |
(S, G) entry ID. Each (S, G) entry has an unique MID |
Flags |
Current state of the (S, G) entry. Different bits are used to indicate different states of (S, G) entries, in the format of X:Y. Major values of X are described in Table 1-13. Y is typically 0, indicating that the (S, G) entry is stable. |
Uptime |
Length of time for which the (S, G) entry has been up, in hours:minutes:seconds |
Timeout in |
Length of time in which the (S, G) entry will expire, in hours:minutes:seconds |
Incoming interface |
Incoming interface of the (S, G) entry |
List of 2 outgoing interfaces |
Outgoing interface list |
Matched 17 packets(1761 bytes), Wrong If 0 packets |
Number of (S, G)-matched packets (number of bytes), number of packets with incoming interface errors (The values are for reference only) |
Forwarded 17 packets(1761 bytes) |
Number of (S, G)-forwarded multicast packets (number of bytes) (The values are for reference only) |
Table 1-13 Major values of the X field
Value |
Meaning |
0x000001 |
Indicates that a register-stop message must be sent |
0x000002 |
Indicates whether the multicast source corresponding to the (S, G) is active |
0x000004 |
Indicates a null forwarding entry |
0x000008 |
Indicates whether the RP is a PIM domain border router |
0x000010 |
Indicates that a register outgoing interface is available |
0x000400 |
Identifies a packet to be deleted |
0x008000 |
Indicates that the (S, G) entry is in the smoothening process after active/standby switchover |
0x010000 |
Indicates that the (S, G) has been updated during the smoothing process |
0x080000 |
Indicates that the (S, G) entry has been repeatedly updated and needs to be deleted before a new entry is added |
0x100000 |
Indicates that an entry is successfully added |
1.1.5 display multicast routing-table
Syntax
display multicast routing-table [ group-address [ mask { mask | mask-length } ] | source-address [ mask { mask | mask-length } ] | incoming-interface { interface-type interface-number | register } | outgoing-interface { { include | exclude | match } { interface-type interface-number | register } } ] *
View
Any view
Default Level
1: Monitor level
Parameters
group-address: Multicast group address.
source-address: Multicast source address.
mask: Mask of the multicast group/source address, 255.255.255.255 by default.
mask-length: Mask length of the multicast group/source address. For a multicast group address, this argument has an effective value range of 4 to 32; for a multicast source address, this argument has an effective value range of 0 to 32. The system default is 32 in both cases.
incoming-interface: Displays multicast routing entries of which the incoming interface is the specified one.
interface-type interface-number: Specifies an interface by its type and number.
register: Specifies the register interface.
outgoing-interface: Displays multicast routing entries of which the outing interface is the specified one.
include: Displays routing entries of which the outgoing interface list includes the specified interface.
exclude: Displays routing entries of which the outgoing interface list excludes the specified interface.
match: Displays routing entries of which the outgoing interface list includes only the specified interface.
Description
Use the display multicast routing-table command to view the multicast routing table information.
Related commands: display multicast forwarding-table.
Examples
# View the routing information in the multicast routing table.
<Sysname> display multicast routing-table
Multicast routing table
Total 1 entry
00001. (10.0.51.20, 224.2.2.2)
Uptime: 00:00:28
Upstream Interface: Vlan-interface55
List of 3 downstream interfaces
1: Vlan-interface66
2: Vlan-interface77
3: Vlan-interface88
Table 1-14 display multicast routing-table command output description
Field |
Description |
00001 |
Sequence number the (S, G) entry |
(10.0.51.20, 224.2.2.2) |
An (S, G) entry of the multicast forwarding table |
Uptime |
Length of time for which the (S, G) entry has been up, in hours:minutes:seconds |
Upstream Interface |
Upstream interface the (S, G) entry: multicast packets arrive at this interface |
List of 3 downstream interfaces |
Downstream interface list: these interfaces need to forward multicast packets |
1.1.6 display multicast routing-table static
Syntax
display multicast routing-table static [ config ] [ source-address { mask-length | mask } ]
View
Any view
Default Level
1: Monitor level
Parameters
config: Displays the configuration information of static routes.
source-address: Multicast source address.
mask: Mask of the multicast source address.
mask-length: Mask length of the multicast source address.
Description
Use the display multicast routing-table static command to view the information of multicast static routes.
Examples
# View the configuration information of multicast static routes.
<Sysname> display multicast routing-table static config
Multicast Routing Table
Routes : 1
Mroute 10.10.0.0/16, interface = Vlan-interface10
Matched routing protocol = <none>, Route-policy = <none>
Preference = 1, Order = 1
Table 1-15 display multicast routing-table static command output description
Field |
Description |
Routes |
Number of multicast static routes |
Mroute |
Multicast route source address and its mask length |
Interface |
Outgoing interface to the multicast source |
Matched routing protocol |
If a protocol is configured, the multicast source address of the route should be the destination address of an entry in unicast routing table |
Route-policy |
Routing policy. The multicast source address of the route should match the routing policy |
Preference |
Route preference |
Order |
Sequence number of the route |
1.1.7 display multicast rpf-info
Syntax
display multicast rpf-info source-address [ group-address ]
View
Any view
Default Level
1: Monitor Level
Parameters
source-address: Multicast source address.
group-address: Multicast group address.
Description
Use the display multicast rpf-info command to view the RPF information of a multicast source.
Related commands: display multicast routing-table and display multicast forwarding-table.
Examples
# View the RPF information of multicast source 10.1.1.2.
<Sysname> display multicast rpf-info 10.1.1.2
RPF information about source 10.1.1.2:
RPF interface: Vlan-interface10, RPF neighbor: 20.1.1.1
Referenced route/mask: 10.1.1.0/24
Referenced route type: igp
Route selection rule: preference-preferred
Load splitting rule: disable
Table 1-16 display multicast rpf-info command output description
Field |
Description |
RPF information about source 10.1.1.2 |
Information of the RPF path to multicast source 10.1.1.2 |
RPF interface |
RPF interface |
RPF neighbor |
RPF neighbor |
Referenced route/mask |
Referenced route and its mask length |
Referenced route type |
Type of the referenced route, which can be any of the following: l igp: unicast route (IGP) l egp: unicast route (BGP) l unicast route (directly connected) l unicast: other unicast route (such as unicast static route) l multicast static: multicast static route |
Route selection rule |
Rule for RPF route selection, which can be based on the preference of the routing protocol or based on the longest match on the destination address |
Load splitting rule |
Status of the load splitting rule (enabled/disabled) |
1.1.8 ip rpf-route-static
Syntax
ip rpf-route-static source-address { mask | mask-length } [ protocol [ process-id ] ] [ route-policy policy-name ] { rpf-nbr-address | interface-type interface-number } [ preference preference ] [ order order-number ]
undo ip rpf-route-static source-address { mask | mask-length } [ protocol [ process-id ] ] [ route-policy policy-name ]
View
System view
Default Level
2: System Level
Parameters
source-address: Multicast source address.
mask: Mask of the multicast source address.
mask-length: Mask length of the multicast source address.
protocol: Routing protocol, which can have any of the following values:
l bgp: Specifies the BGP protocol
l isis: Specifies the IS-IS protocol
l ospf: Specifies the OSPF protocol
l rip: Specifies the RIP protocol
process-id: Process number of the unicast routing protocol. This argument must be provided if IS-IS, OSPF or RIP is the specified unicast routing protocol.
policy-name: Name of the multicast route match rule, a case sensitive string of 1 to 19 characters.
rpf-nbr-address: Specifies an RPF neighbor by an IP address.
interface-type interface-number: Specifies an RPF neighbor by an interface type and interface number. Currently, for an S9500 series routing switch, you can use this approach only if the interface type is POS.
order-number: Match order for routes on the same segment, in the range of 1 to 100.
preference: Route preference, 1 by default.
Description
Use the ip rpf-route-static command to configure a multicast static route.
Use the undo ip rpf-route-static command to delete a multicast static route from the multicast static routing table.
By default, no multicast static route is configured.
Note that:
l The arguments source-address { mask | mask-length }, protocol and policy-name are critical elements in multicast static route configuration. The variation of any of these three arguments results in a different configuration.
l In the configuration, you can use the display multicast routing-table static command to check whether the multicast static route information contains this configuration. If you find a match, modify the corresponding fields without changing the configuration sequence; otherwise, add a multicast static route.
l When configuring a multicast static route, you can specify an RPF neighbor only by providing its IP address (rpf-nbr-address) rather than an interface type and interface number (interface-type interface-number) if the interface is a VLAN interface.
l Because outgoing interface iteration may fail or the specified interface may be in the down state, the multicast static route configured with this command may fail to take effect. Therefore, we recommend that you use the display multicast routing-table static command after you configure a multicast static route to check whether the route has been successfully configured or whether the route has taken effect.
Related commands: display multicast routing-table static.
Examples
# Configure a multicast static route to the multicast source 10.1.1.1/24, specifying 192.168.1.23 as the RPF neighbor address.
<Sysname> system-view
[Sysname] ip rpf-route-static 10.1.1.1 24 192.168.1.23
1.1.9 multicast boundary
Syntax
multicast boundary group-address { mask | mask-length }
undo multicast boundary { group-address { mask | mask-length } | all }
View
VLAN interface view, POS interface view
Default Level
2: System level
Parameters
group-address: Multicast group address.
mask: Mask of the multicast group address
mask-length: Mask length of the multicast group address.
all: Specifies to remove all forwarding boundaries configured on the interface.
Description
Use the multicast boundary command to configure a multicast forwarding boundary.
Use the undo multicast boundary command to remove a multicast forwarding boundary.
By default, no multicast forwarding boundary is configured.
Note that:
l A multicast forwarding boundary sets the boundary condition for the multicast groups in the specified range. If the destination address of a multicast packet matches the set boundary condition, the packet will not be forwarded.
l If an interface needs to act as forwarding boundary for multiple multicast groups, just carry out this command on the interface once for each group.
l Assume that Set A and Set B are both multicast forwarding boundary sets to be configured, and B is a subset of A. If A has been configured on an interface, it is not allowed to configure B on the interface; if B has been configured on the interface before A is configured, the previously configured B will be removed.
Related commands: display multicast boundary.
Examples
# Configure VLAN-interface 4 to be the forwarding boundary of multicast group 239.2.0.0/16.
<Sysname> system-view
[Sysname] interface vlan-interface 4
[Sysname-Vlan-interface4] multicast boundary 239.2.0.0 16
1.1.10 multicast forwarding-table downstream-limit
Syntax
multicast forwarding-table downstream-limit limit
undo multicast forwarding-table downstream-limit
View
System view
Default Level
2: System level
Parameters
limit: Maximum number of downstream nodes (namely, the maximum number of outgoing interfaces) for a single multicast forwarding table entry.
Description
Use the multicast forwarding-table downstream-limit command to configure the maximum number of downstream nodes for a single multicast forwarding table entry.
Use the undo multicast forwarding-table limit command to restore maximum number of downstream nodes for a single multicast forwarding table entry to the system default.
By default, the maximum number of downstream nodes for a single entry in the multicast forwarding table is 128.
Related commands: display multicast forwarding-table.
Examples
# Set the maximum number of downstream nodes for a single multicast forwarding table entry to 120.
<Sysname> system-view
[Sysname] multicast forwarding-table downstream-limit 120
1.1.11 multicast forwarding-table route-limit
Syntax
multicast forwarding-table route-limit limit
undo multicast forwarding-table route-limit
View
System view
Default Level
2: System level
Parameters
limit: Maximum number of entries in the multicast forwarding table.
Description
Use the multicast forwarding-table route-limit command to configure the maximum number of entries in the multicast forwarding table.
Use the undo multicast forwarding-table route-limit command to restore the maximum number of entries in the multicast forwarding table to the system default.
By default, the maximum number of entries in the multicast forwarding table is 512.
Related commands: display multicast forwarding-table.
Examples
# Set the maximum number of entries in the multicast forwarding table to 200.
<Sysname> system-view
[Sysname] multicast forwarding-table route-limit 200
1.1.12 multicast load-splitting
Syntax
multicast load-splitting { source | source-group }
undo multicast load-splitting
View
System view
Default Level
2: System level
Parameters
source: Specifies to implement per-source load splitting.
source-group: Specifies to implement per-source and per-group load splitting simultaneously.
Description
Use the multicast load-splitting command to enable load splitting of multicast traffic.
Use the undo multicast load-splitting command to disable load splitting of multicast traffic.
By default, load splitting of multicast traffic is disabled.
Examples
# Enable per-source load splitting of multicast traffic.
<Sysname> system-view
[Sysname] multicast load-splitting source
1.1.13 multicast longest-match
Syntax
multicast longest-match
undo multicast longest-match
View
System view
Default Level
2: System level
Parameters
None
Description
Use the multicast longest-match command to configure the device to select the RPF route based on the longest match principle, namely to select the route with the longest mask as the RPF route.
Use the undo multicast longest-match command to restore the default.
By default, the device selects the route with the highest priority as the RPF route.
Examples
# Configure the device to select the RPF route based on the longest match principle.
<Sysname> system-view
[Sysname] multicast longest-match
1.1.14 multicast routing-enable
Syntax
multicast routing-enable
undo multicast routing-enable
View
System view
Default Level
2: System level
Parameters
None
Description
Use the multicast routing-enable command to enable IP multicast routing.
Use the undo multicast routing-enable command to disable IP multicast routing.
IP multicast routing is disabled by default.
Note that:
l You must enable IP multicast routing before you can carry out other Layer 3 multicast commands.
l The device does not forward any multicast packets before IP multicast routing is enabled.
Examples
# Enable IP multicast routing.
<Sysname> system-view
[Sysname] multicast routing-enable
1.1.15 reset multicast forwarding-table
Syntax
reset multicast forwarding-table { { group-address [ mask { mask | mask-length } ] | source-address [ mask { mask | mask-length } ] | incoming-interface { interface-type interface-number | register } } * | all }
View
User view
Default Level
2: System level
Parameters
group-address: Multicast group address.
mask: Mask of the multicast group/source address, 255.255.255.255 by default.
mask-length: Mask length of the multicast group/source address. For a multicast group address, this argument has an effective value range of 4 to 32; for a multicast source address, this argument has an effective value range of 0 to 32. The system default is 32 in both cases in both cases.
source-address: Multicast source address.
incoming-interface: Clears multicast forwarding entries of which the incoming interface is the specified one.
interface-type interface-number: Specifies an interface by its type and number.
register: Specifies the register interface.
all: Specifies to clear all the forwarding entries from the multicast forwarding table.
Description
When a forwarding entry is deleted from the multicast forwarding table, the corresponding route entry is also deleted from the multicast routing table.
Related commands: reset multicast routing-table, display multicast routing-table, and display multicast forwarding-table.
Examples
# Clear the multicast forwarding entries related to multicast group 225.5.4.3 from the multicast forwarding table.
<Sysname> reset multicast forwarding-table 225.5.4.3
1.1.16 reset multicast routing-table
Syntax
reset multicast routing-table { { group-address [ mask { mask | mask-length } ] | source-address [ mask { mask | mask-length } ] | incoming-interface { interface-type interface-number | register } } * | all }
View
User view
Default Level
1: Monitor level
Parameters
group-address: Multicast group address.
mask: Mask of the multicast group/source address, 255.255.255.255 by default.
mask-length: Mask length of the multicast group/source address. For a multicast group address, this argument has an effective value range of 4 to 32; for a multicast source address, this argument has an effective value range of 0 to 32. The system default is 32 in both cases.
source-address: Multicast source address.
incoming-interface: Specifies the incoming interface of multicast routing entries.
interface-type interface-number: Specifies an interface by its type and number.
register: Specifies the register interface.
all: Specifies to clear all the routing entries from the multicast routing table.
Description
Use the reset multicast routing-table command to clear multicast routing entries from the multicast routing table.
When a route entry is deleted from the multicast routing table, the corresponding forwarding entry is also deleted from the multicast forwarding table.
Related commands: reset multicast forwarding-table, display multicast routing-table and display multicast forwarding-table.
Examples
# Clear the route entries related to multicast group 225.5.4.3 from the multicast routing table.
<Sysname> reset multicast routing-table 225.5.4.3