The display multicast-domain vpn-instance switch-group receive command displays the Switch-Group information received by a specified VPN instance.
display multicast-domain vpn-instance vpn-instance-name switch-group receive brief
display multicast-domain vpn-instance vpn-instance-name switch-group receive [ active | sender source-address | group group-address | vpn-source-address [ mask { source-mask-length | source-mask } ] | vpn-group-address [ mask { group-mask-length | group-mask } ] ] *
Parameter | Description | Value |
---|---|---|
vpn-instance vpn-instance-name | Displays the Switch-Group information received by a specified VPN instance. The parameter vpn-instance-name specifies the name of an existing VPN instance on the device. | The value must be an existing VPN instance name. |
active | Displays the received Switch-Group that joins the Switch-MDT. | - |
brief | Displays brief information about the received Switch-Group. | - |
group group-address | Displays the Switch-Group related to a multicast group specified by group-address of the public network. group-address specifies the address of the multicast group. | The value is in dotted decimal notation and ranges from 224.0.1.0 to 239.255.255.255. |
sender source-address | Displays the Switch-Group information related to the specified multicast source source-address of the public network. The source-address indicates the multicast. | The value is in dotted decimal notation. |
vpn-source-address | Displays the Switch-Group information related to a VPN multicast source specified by vpn-source-address. | The value is in dotted decimal notation. |
mask | Indicates the mask of the VPN multicast group or source address. | - |
source-mask-length | Specifies the mask length of the VPN multicast source address. | The value is an integer that ranges from 0 to 32. |
source-mask | Specifies the mask of the VPN multicast source address. | The value is in dotted decimal notation. |
vpn-group-address | Displays the Switch-Group information related to a VPN multicast group specified by vpn-group-address. | The value is in dotted decimal notation and ranges from 224.0.1.0 to 239.255.255.255. |
group-mask-length | Specifies the mask length of the VPN multicast group address. | The value is an integer that ranges from 4 to 32. |
group-mask | Specifies the mask of the VPN multicast group address. | The value is in dotted decimal notation. |
You can run the display multicast-domain vpn-instance switch-group receive command to display the Switch-Group information received by the local router:
Each VPN instance corresponds to an MD. vpn-instance-name specifies a VPN instance. Use the command to display the information about the Switch-Group of a specified MD.
If brief is specified, brief information about all Switch-Groups is displayed in ascending order of the Switch-Group address.
If active is specified, only information about the Switch-Groups that have joined the Switch-MDT is displayed, in ascending order of the VPN (S, G).
# Display Switch-Group information received by VPN instance VPN1 in an MD.
<HUAWEI> display multicast-domain vpn-instance VPN1 switch-group receive
MD switch-group information received by VPN-Instance: VPN1
Switch group: 226.1.1.0 ref count: 8, active count: 8
Sender: 172.16.1.1 active count: 8
(192.168.1.5, 239.1.1.1)
Up time: 01:20:20 expire time: 00:03:10 active
(192.168.1.5, 239.1.1.158)
Up time: 01:20:20 expire time: 00:03:10 active
(192.168.1.5, 239.1.2.12)
Up time: 01:20:20 expire time: 00:03:10 active
(192.168.1.5, 239.1.2.197)
Up time: 01:20:20 expire time: 00:03:10 active
(192.168.1.5, 239.1.3.62)
Up time: 01:20:20 expire time: 00:03:10 active
(192.168.1.2, 225.1.1.109)
Up time: 01:20:20 expire time: 00:03:10 active
(192.168.1.2, 225.1.4.80)
Up time: 01:20:20 expire time: 00:03:10 active
(192.168.1.2, 225.1.4.173)
Up time: 01:20:20 expire time: 00:03:10 active
# Display brief Switch-Group information received by VPN instance VPN1 in an MD.
<HUAWEI> display multicast-domain vpn-instance VPN1 switch-group receive brief
MD switch-group information received by VPN-Instance: VPN1
switch group: 226.1.1.0 ref count: 8, active count: 0
switch group: 226.1.1.1 ref count: 4, active count: 0
switch group: 226.1.1.2 ref count: 8, active count: 0
switch group: 226.1.1.3 ref count: 4, active count: 0
switch group: 226.1.1.4 ref count: 8, active count: 0
Item |
Description |
---|---|
MD switch-group information received by VPN-Instance |
VPN instance to which MD Switch-Group information belongs. |
switch group |
Address of the received Switch-Group. |
ref count |
Number of VPN multicast groups referenced by the Switch-Group. |
active count |
Number of active VPN multicast groups (where receivers exist ) referenced by the Switch-Group. |
sender |
BGP peer IP address of the PE that sends Switch-Group information. |
Up time |
Creation time of switching messages in which the VPN multicast (S, G) entry is referenced by the Switch-group |
expire time |
Timeout period of the VPN multicast (S, G) entry referenced by the Switch-Group. |