R3166-R3206-HP High-End Firewalls Network Management Command Reference-6PW101

Table Of Contents
388
vlan vlan-id: Specifies the VLAN to which the interface belongs. vlan-id is in the range of 1 to 4094. The
specified VLAN must exist and the system gives a prompt if the specified interface does not belong to the
VLAN.
Description
Use the mac-address multicast command to configure a static multicast MAC address entry.
Use the undo mac-address multicast command to delete a static multicast MAC address entry.
By default, no static multicast MAC address entry is configured.
If multicast is not specified when using the undo mac-address multicast command, all MAC address
entries including static multicast MAC address entries and unicast MAC address entries will be deleted.
Related commands: display mac-address multicast and mac-address.
Examples
# Configure a static multicast MAC address entry with the MAC address of 0100-0001-0001 and
outgoing ports GigabitEthernet 0/1 through GigabitEthernet 0/4 in VLAN 2.
<Sysname> system-view
[Sysname] mac-address multicast 0100-0001-0001 interface GigabitEthernet 0/1 to
GigabitEthernet 0/4 vlan 2
# Configure a static multicast MAC address entry with the MAC address of 0100-0001-0001 in interface
view of GigabitEthernet 0/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface GigabitEthernet 0/1
[Sysname-GigabitEthernet0/1] mac-address multicast 0100-0001-0001 vlan 2
mtracert
Syntax
mtracert source-address [ [ last-hop-router-address ] group-address ]
View
Any view
Default level
1: Monitor level
Parameters
source-address: Specifies a multicast source address.
group-address: Specifies a multicast group address, in the range of 224.0.1.0 to 239.255.255.255.
last-hop-router-address: Specifies a last-hop router address, which is the IP address of the local router by
default.
Description
Use the mtracert command to trace the path down which the multicast traffic flows to the last-hop router.
If the last-hop-router-address argument is given in the command to trace the path for a specific (S, G)
multicast stream, the interface corresponding to the last-hop router address must be the outgoing
interface for the (S, G) entry; otherwise the multicast traceroute will fail.