2-2
multicast-vlan
Syntax
multicast-vlan vlan-id
undo multicast-vlan
{
all
|
vlan-id
}
View
System view
Default Level
2: System level
Parameters
vlan-id
: Specifies a VLAN by its ID, in the range of 1 to 4094.
all
: Deletes all multicast VLANs.
Description
Use the
multicast-vlan
command to configure the specified VLAN as a multicast VLAN and enter
multicast VLAN view.
Use the
undo multicast-vlan
command to remove the specified VLAN as a multicast VLAN.
The VLAN to be configured is not a multicast VLAN by default.
Note that:
z
The specified VLAN to be configured as a multicast VLAN must exist.
z
For a sub-VLAN-based multicast VLAN, you need to enable IGMP Snooping only in the multicast
VLAN; for a port-based multicast VLAN, you need to enable IGMP Snooping in both the multicast
VLAN and all the user VLANs.
Related commands:
igmp-snooping enable
in the
IGMP Snooping Commands
in the
IP Multicast
Volume
.
Examples
# Enable IGMP Snooping in VLAN 100. Configure it as a multicast VLAN and enter multicast VLAN
view.
<Sysname> system-view
[Sysname] igmp-snooping
[Sysname-igmp-snooping] quit
[Sysname] vlan 100
[Sysname-vlan100] igmp-snooping enable
[Sysname-vlan100] quit
[Sysname] multicast-vlan 100
[Sysname-mvlan-100]
port (multicast VLAN view)
Syntax
port interface-list
Summary of Contents for E4510-48G
Page 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Page 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Page 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Page 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Page 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Page 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Page 914: ...5 17 Sysname reset oam ...
Page 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Page 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...