11-09-2015 12:59 AM - edited 03-05-2019 02:42 AM
Hello all,
I want to set my device to L3 mode.(To specific tell you, 3560X-S)
In particular, I should configure multicast setting.
Because I haven't been configuring as multicast, I'm here to ask you about multicast setting.
Before starting, please show below picture.
As you can see the topology, there are 3 switches such as SG300, 3560X, 4500X.
3560X is IP base, so you know, IP base has no choice but to enable stub..
In this point, I'll tell you my current situation and my point questions.
First, situation.
Situation)
1. PC_1, PC_2 ..., whole PCs are using mDNS, so they use multicast.
2. Based on PC_1's traffic which is multicast, it doesn't pass the GW(4500X).
I guess that's because I didn't configure multicast anywhere else.
Second, questions.
The questions)
1. When I configure on 3560X swithces, can I use stub mode in multicast situation.
(Ah, criterion on 4500X, these are different domain between left and right side.)
If not, can I change from 3560X-S to E? (IP base -> IP services)?
2. I know the stub is only used for top of the network?.. how can I say..
That is, stub switch is located in between 2 IP which are different domain.
I wondered whether you can understand because I don't know English well..
Please contact me, if you don't understand my word, please don't hesitate tell me.
I hope to hear from you soon.
Regards,
Solved! Go to Solution.
11-10-2015 09:12 AM
Hi Soon Kwan Kwon,
if you are going to have the sources in the PC1,PC2,... your only option here, with stub multicast, is to go for PIM-DM. Also, the sources are connected in a LAn that has two switches to use as gateway, which is a redundant scenario, so I think the stub multicast won't be the best solution for your particular case, but before you go and upgrade, do as much tests as you can, because this is a scenario I have never tested and it could work or not.
Regarding the configuration,I don't understand what you use vlan 5 for, and seems to be missing some bits, I don't see where vlan 1 is enabled...I imagine vlan 1 is the one facing the PC1,PC2,...
You must enable ip multicast-routing distributed in all your switches.
Then, starting with the 4500-X, enable "ip pim dense-mode" (or "ip pim sparse-dense-mode" if you plan to use PIM-SM in the future) in the interfaces facing your 3560-X and in the interface connected to your receiver. Once you enable pim in the receiver interface, IGMP will be enable by default as well, so the receiver will be able to subscribe to the multicast groups. Also you will need to use "ip pim neighbor-filter", only in the interface facing the 3560-X:
int te 1/1 (facing C3560-X)
ip pim dense-mode
ip pim neighbor-filter 1
!
int XXXX (facing receiver LAN)
ip pim dense-mode
!
access-list 1 deny any
In your 3560-X, enable pim dense mode in the links facing the 4500-X:
int te 1/1
ip pim dense-mode
!
And pim dense mode and passive in the vlan interface:
int vlan 1
ip pim dense-mode
ip pim passive
!
If you plan to have receivers in the vlan 1, add also "ip igmp helper-address <IP of 4500-X upstream>"
At this point, if you start a multicast source, the traffic should arrive to your 3560X_1(assuming the root switch in your STP topology is that one). Try to subscribe with your receiver and see if it works properly. What kind of traffic are you sending?
Try this and do some troubleshooting with "show ip mroute", "show ip pim interface", "show ip pim neighbor" (you should not have neighbors because you are filtering them)
Regards,
Julio
11-09-2015 04:58 AM
Hi,
some questions for you:
-Do you plan to use PIM-DM, PIM-SM or PIM-SSM?
-Is the source the machine in the top of the diagram and the receivers in the bottom (PC1,PC2,..)?
-Can you send the current relevant configuration of your switches?
-What do you mean with "different domains"?
Now, regarding some of your questions:
-You can upgrade from IPBase to IPServices, paying a fee, of course.
Anyway, Cisco defines that the stub feature is designed to work in non-redundant stub networks, I'm not sure it will work properly in your setup, but first we have to check your configurations.
Best Regards,
Julio
11-09-2015 06:37 PM
-Do you plan to use PIM-DM, PIM-SM or PIM-SSM?
=> I think it seems to be configured as PIM-SM.
-Is the source the machine in the top of the diagram and the receivers in the bottom (PC1,PC2,..)?
=> PC1, PC2 ... is sending the traffc, that is, source.
-Can you send the current relevant configuration of your switches?
=> actually, I'm in my home, tomorrow, I'll give you! (now 23:16PM)
-What do you mean with "different domains"?
=> It means differendt network domains, for example, 1.1.1.1 and 2.2.2.2.
Now, regarding some of your questions:
-You can upgrade from IPBase to IPServices, paying a fee, of course.
=> In this topology, must I upgrade from IP base to IP services? or is it ok to use IP base?
Thank you so much!
I'll show you my configuration tomorrow.
11-09-2015 09:16 PM
##The config file.##
(SG300 Telnet permit)
conf t
ip ssh server
ip telnet server
Telnet permit (All devices are same)
username cisco secret cisco
enable secret cisco
line vty 0 4
login local
exit
!
line console 0
password cisco
!
<4500X_1>
en
conf t
hostname 4500X_1
ip routing
int te 1/1
no sw
ip add 192.168.200.1 255.255.255.252
!
int te 1/3
no sw
ip add 192.168.200.9 255.255.255.252
!
int te 1/5
no sw
ip add 192.168.200.17 255.255.255.252
!
int te 1/7
no sw
ip add 192.168.200.25 255.255.255.252
!
int te 1/9
no sw
ip add 192.168.200.33 255.255.255.252
!
int te 1/11
no sw
ip add 192.168.200.41 255.255.255.252
!
int te 1/13
no sw
ip add 192.168.200.49 255.255.255.252
!
int te 1/15
no sw
ip add 192.168.200.57 255.255.255.252
!
int lo 0
ip add 192.168.50.1 255.255.255.255
exit
!
router ospf 1
router-id 1.1.1.1
network 192.168.200.0 0.0.0.255 area 0
network 192.168.50.1 0.0.0.0 area 0
!
<4500X_2>
en
conf t
hostname 4500X_2
ip routing
int te 1/1
no sw
ip add 192.168.200.5 255.255.255.252
!
int te 1/3
no sw
ip add 192.168.200.13 255.255.255.252
!
int te 1/5
no sw
ip add 192.168.200.21 255.255.255.252
!
int te 1/7
no sw
ip add 192.168.200.29 255.255.255.252
!
int te 1/9
no sw
ip add 192.168.200.37 255.255.255.252
!
int te 1/11
no sw
ip add 192.168.200.45 255.255.255.252
!
int te 1/13
no sw
ip add 192.168.200.53 255.255.255.252
!
int te 1/15
no sw
ip add 192.168.200.61 255.255.255.252
!
int lo 0
ip add 192.168.50.2 255.255.255.255
exit
!
router ospf 1
router-id 2.2.2.2
network 192.168.200.0 0.0.0.255 area 0
network 192.168.50.2 0.0.0.0 area 0
!
<3560X_1>
conf t
hostname 3560X_1
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_1 ##
no sw
ip add 192.168.200.2 255.255.255.252
no shut
!
int gi 0/23
description ## HSRP ##
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.1 255.255.255.255
exit
!
int vlan 1
ip add 192.168.0.252 255.255.255.0
standby 0 ip 192.168.0.254
standby 0 priority 110
standby 0 preempt delay minimum 30
standby 0 track te 1/2 50
no shut
!
router ospf 1
router-id 3.3.3.3
network 192.168.200.2 0.0.0.0 area 0
network 192.168.100.1 0.0.0.0 area 0
network 192.168.0.0 0.0.0.255 area 0
!
<3560X_2>
conf t
hostname 3560X_2
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_2 ##
no sw
ip add 192.168.200.6 255.255.255.252
no shut
!
int gi 0/23
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.2 255.255.255.255
exit
!
int vlan 1
ip add 192.168.0.253 255.255.255.0
standby 0 ip 192.168.0.254
standby 0 preempt
no shut
!
router ospf 1
router-id 4.4.4.4
network 192.168.200.6 0.0.0.0 area 0
network 192.168.100.2 0.0.0.0 area 0
network 192.168.0.0 0.0.0.255 area 0
!
<3560X_3>
conf t
hostname 3560X_3
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_1 ##
no sw
ip add 192.168.200.10 255.255.255.252
no shut
!
int gi 0/23
description ## HSRP ##
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.3 255.255.255.255
exit
!
int vlan 1
ip add 192.168.1.252 255.255.255.0
standby 1 ip 192.168.1.254
standby 1 priority 110
standby 1 preempt delay minimum 30
standby 1 track te 1/2 50
no shut
!
router ospf 1
router-id 5.5.5.5
network 192.168.200.10 0.0.0.0 area 0
network 192.168.100.3 0.0.0.0 area 0
network 192.168.1.0 0.0.0.255 area 0
!
<3560X_4>
conf t
hostname 3560X_4
vlan 5
exit
ip routing
int te 1/2
description ## 4500X_2 ##
no sw
ip add 192.168.200.14 255.255.255.252
no shut
!
int gi 0/23
sw mo acc
sw acc vlan 5
!
int lo 0
ip add 192.168.100.4 255.255.255.255
exit
!
int vlan 1
ip add 192.168.1.253 255.255.255.0
standby 1 ip 192.168.1.254
standby 1 preempt
no shutd
!
router ospf 1
router-id 6.6.6.6
network 192.168.200.14 0.0.0.0 area 0
network 192.168.100.4 0.0.0.0 area 0
network 192.168.1.0 0.0.0.255 area 0
!
1. ip multicast-routing distributed
2. configuring mode
3. unicast configuration..??
hmmm
11-10-2015 09:12 AM
Hi Soon Kwan Kwon,
if you are going to have the sources in the PC1,PC2,... your only option here, with stub multicast, is to go for PIM-DM. Also, the sources are connected in a LAn that has two switches to use as gateway, which is a redundant scenario, so I think the stub multicast won't be the best solution for your particular case, but before you go and upgrade, do as much tests as you can, because this is a scenario I have never tested and it could work or not.
Regarding the configuration,I don't understand what you use vlan 5 for, and seems to be missing some bits, I don't see where vlan 1 is enabled...I imagine vlan 1 is the one facing the PC1,PC2,...
You must enable ip multicast-routing distributed in all your switches.
Then, starting with the 4500-X, enable "ip pim dense-mode" (or "ip pim sparse-dense-mode" if you plan to use PIM-SM in the future) in the interfaces facing your 3560-X and in the interface connected to your receiver. Once you enable pim in the receiver interface, IGMP will be enable by default as well, so the receiver will be able to subscribe to the multicast groups. Also you will need to use "ip pim neighbor-filter", only in the interface facing the 3560-X:
int te 1/1 (facing C3560-X)
ip pim dense-mode
ip pim neighbor-filter 1
!
int XXXX (facing receiver LAN)
ip pim dense-mode
!
access-list 1 deny any
In your 3560-X, enable pim dense mode in the links facing the 4500-X:
int te 1/1
ip pim dense-mode
!
And pim dense mode and passive in the vlan interface:
int vlan 1
ip pim dense-mode
ip pim passive
!
If you plan to have receivers in the vlan 1, add also "ip igmp helper-address <IP of 4500-X upstream>"
At this point, if you start a multicast source, the traffic should arrive to your 3560X_1(assuming the root switch in your STP topology is that one). Try to subscribe with your receiver and see if it works properly. What kind of traffic are you sending?
Try this and do some troubleshooting with "show ip mroute", "show ip pim interface", "show ip pim neighbor" (you should not have neighbors because you are filtering them)
Regards,
Julio
11-11-2015 12:48 AM
Thank you sir,
I'll give it a try more hard.
However, Multicast is so difficult ;(
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide