
36 Software Reference
2. Check the multicast state.
To check each switch, use the commands:
show pim
show ip igmp
show ip route multicast
PIM-DM This example uses PIM Dense Mode for multicast routing between switches in
the same topology as the PIM Sparse Mode example (Figure 3 on page 32).
Multicast group management uses IGMP. The example assumes that each
switch starts from the default configuration.
The configurations of Switch A, B, and C are identical except for names and
interfaces.
To configure Switch A
1. Set the system name for the switch.
set sys name=A-pim-dm
2. Configure the VLANs.
Configure the marketing VLAN, including ports 8 and 9.
create vlan=marketing vid=2
add vlan=2 port=8,9
Configure the admin VLAN, including port 7.
create vlan=admin vid=4
add vlan=4 port=7
3. Configure IP.
Enable IP and assign IP addresses for the VLAN interfaces on the switch.
enable ip
add ip interface=vlan2 ipaddress=172.30.1.1
mask=255.255.255.0
add ip interface=vlan4 ipaddress=172.30.2.1
mask=255.255.255.0
4. Configure a unicast routing protocol.
Enable RIP over all interfaces.
dd ip rip int=vlan2
add ip rip int=vlan4
5. Configure IGMP.
Enable IGMP on the switch for group management.
enable ip igmp
Enable IGMP on each interface, so that IGMP can find which multicast
groups have hosts connected to the interfaces.
enable ip igmp interface=vlan2
enable ip igmp interface=vlan4
IGMP snooping is enabled by default, so does not need to be configured.
Comentários a estes Manuais