Showing Multicast Routing - asg_mroute
Description
The asg_mroute command shows this multicast routing information in a tabular format:
- - Source IP address
- - Destination address
- - Source interface
- - Outbound interface
You can filter the output for specified interfaces and SGMs.
Syntax
asg_mroute -h
asg_mroute [-d <destination_route>] [-s <source_route>] [-i <source_interface>]
[-b <sgm_ids>]
Parameter
|
Description
|
-h
|
Show command syntax.
|
-d
|
Destination multicast group IP address.
|
-s
|
Source IP address.
|
-i
|
Source interface name.
|
-b <sgm_ids>
|
Works with SGMs and/or Chassis as specified by <sgm_ids>.
The <sgm_ids> can be:
- No <sgm
_ids > specified or all shows all SGMs and Chassis - One SGM
- A comma-separated list of SGMs (
1_1,1_4 ) - A range of SGMs (
1_1-1_4 ) - One Chassis (
Chassis1 or Chassis2 ) - The active Chassis (
chassis_active )
|
Example: Show all multicast routes
This example shows all multicast routes for all interfaces and SGMs.
> asg_mroute
+-----------------------------------------------------------------------------------+
|Multicast Routing (All SGMs) |
+-----------------------------------------------------------------------------------+
|Source |Dest |Iif |Oif |
+-------------------------+-------------------------+---------------+---------------+
|12.12.12.1 |225.0.90.90 |eth1-01 |eth1-02 |
+-------------------------+-------------------------+---------------+---------------+
|22.22.22.1 |225.0.90.90 |eth1-02 |eth1-01 |
+-------------------------+-------------------------+---------------+---------------+
|22.22.22.1 |225.0.90.91 |eth1-02 |eth1-01 |
+-------------------------+-------------------------+---------------+---------------+
When no optional parameters are specified, all routes, interfaces and SGMs are shown.
Example: Show only specified interfaces or SGMs
This example shows routes for the specified source IP address, Interface and destination IP address.
> asg_mroute -s 22.22.22.1 -i eth1-02 -d 225.0.90.91
+-----------------------------------------------------------------------------------+
|Multicast Routing (All SGMs) |
+-----------------------------------------------------------------------------------+
|Source |Dest |Iif |Oif |
+-------------------------+-------------------------+---------------+---------------+
|22.22.22.1 |225.0.90.91 |eth1-02 |eth2-01 |
+-------------------------+-------------------------+---------------+---------------+
|