1-11
Parameters
acl-number
: Basic or advanced ACL number, in the range of 2000 to 3999. The source address or
address range specified in the advanced ACL rule is used to match the multicast source address(es)
specified in IGMPv3 reports, rather than the source address in the IP packets. The system assumes
that an IGMPv1 or IGMPv2 report or an IGMPv3 IS_EX and TO_EX report that does not carry a
multicast source address carries a multicast source address of 0.0.0.0.
vlan vlan-list
: Defines one or multiple VLANs. You can provide up to 10 VLAN lists, by each of which
you can specify an individual VLAN in the form of
vlan-id
, or a VLAN range in the form of
start-vlan-id
to
end-vlan-id
, where the end VLAN ID must be greater than the start VLAN ID. The effective range of
a VLAN ID is 1 to 4094.
Description
Use the
igmp-snooping group-policy
command to configure a multicast group filter on the current
port(s), namely to control the multicast groups hosts on the port(s) can join.
Use the
undo igmp-snooping group-policy
command to remove a multicast group filter on the
current port(s).
By default, no multicast group filter is configured on a port, namely a host can join any valid multicast
group.
Note that:
z
If you do not specify any VLAN when using this command in Ethernet port view or Layer 2
aggregate port view, the command will take effect for all VLANs the port belongs to; if you specify
a VLAN or multiple VLANs, the command will take effect only if the port belongs to the specified
VLAN(s).
z
If you do not specify any VLAN when using this command in port group view, the command will
take effect on all the ports in this group; if you specify a VLAN or multiple VLANs, the command
will take effect only on those ports in this group that belong to the specified VLAN(s).
z
If the specified ACL does not exist or the ACL rule is null, all multicast groups will be filtered out.
z
You can configure different ACL rules for a port in different VLANs; for a given VLAN, a newly
configured ACL rule will override the existing one.
Related commands:
group-policy
.
Examples
# Apply ACL 2000 as a multicast group filter so that hosts on GigabitEthernet 1/0/1 in VLAN 2 can join
225.1.1.1 only.
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 225.1.1.1 0
[Sysname-acl-basic-2000] quit
[Sysname] interface gigabitethernet1/0/1
[Sysname-GigabitEthernet1/0/1] igmp-snooping group-policy 2000 vlan 2
igmp-snooping host-aging-time
Syntax
igmp-snooping host-aging-time
interval
Содержание E4510-48G
Страница 109: ...2 18 Sysname interface bridge aggregation 1 Sysname Bridge Aggregation1 shutdown ...
Страница 309: ...6 4 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address dhcp alloc ...
Страница 324: ...8 3 Sysname interface vlan interface 1 Sysname Vlan interface1 ip address bootp alloc ...
Страница 530: ...2 5 Sysname mvlan 100 subvlan 10 to 15 ...
Страница 739: ...8 15 Sysname system view Sysname port security trap addresslearned ...
Страница 819: ...13 11 Sysname system view Sysname public key peer key2 import sshkey key pub ...
Страница 857: ...iii 7 Track Configuration Commands 7 1 Track Configuration Commands 7 1 display track 7 1 track nqa 7 2 ...
Страница 914: ...5 17 Sysname reset oam ...
Страница 1064: ...5 30 Slot 2 Set next configuration file successfully ...
Страница 1325: ...21 13 Examples Redirect to member 2 Sysname irf switch to 2 Sysname Slave 2 ...