Clients may have redundant multiplexer's (Mux) at their ISP end and expect an alarm in OneClick when any of the Mux at ISP end goes down.
Something like the below connection:
Router1 -> L2 Switch -> Mux -> WAN Link -> Mux -> L2 Switch -> Router2.
If there is only one Mux at the ISP end and if it goes down, the other end router will not be reachable indicating that something has gone wrong at ISP end. In the topology if there is a redundant Mux the other end router will be reachable even if the primary Mux goes down. In this case we may not have a proper root cause as the Mux from the ISP cannot be discovered in Spectrum as a model to alarm on it. This problem can be solved by representing the Mux as a WAN Segment model and using Condition Correlation Editor.
BGP is a requirement and must be enabled on the end routers connected to the WAN Link so that in the event of an outage we get a BGP peer session lost alarm on the end router interface connected to ISP when the primary Mux goes down.
Create a WAN Segment for the Mux model using the below process in OC and connect this WAN Segment to both ends of the router interfaces which are connected to the WAN Link.
To manually create a WAN Link between two end devices:
- Go to the container where you have the end devices.(Router1-L2 switch and Router2- L2 switch). Use Model By Type and select WAN Link model type to create WAN Link model.
- Navigate into the WAN Link model you just created.
- In the WAN Link model use Model By Type and select WAN Segment model type to create WAN Segment model.
- On the new WAN Segment, right click and select Start Connection.
- Now, navigate out to one of the end devices you want to connect.
- In Component Details, Interface tab, right click on the interface you want the connection on.
- Select Connect with <WAN Segment name>.
- Go to the other end device and do the same; find the interface on the other side of the connection and Select Connect with <WAN Segment name>.
Now you should see the WAN Link with connections to both end devices(Router1 and Router2).
Please remember you should never have more than one WAN Segment model created per WAN Link.
Now when the Primary Mux goes down we get BGP peer session lost alarm on the router interfaces connected to the WAN Link. And when the Mux is up again we get the BGP session established alarm on the interface connected to the WAN Link.
- Now we created one new event in the Event Configuration Editor for alarming on the WAN Segment.
- We created a clear event for the alarm generated using step 1.
- Note the event codes for the BGP session established/lost events.
- Created 2 conditions using condition correlation editor, one for BGP alarm and other for Mux down (set/clear events will be the events created in step1/2) using condition correlation editor.
- We created one WAN Link container in OneClick and added a model of type WAN Segment.
- We created the Rule in CCE like the below
Model Active, BGP Condition.
Root Cause Condition:
Root Cause Target:
Parameter : Model
Give the Modeltypehandler of the WAN segment
Select the parameter as String.
- Now we generated the BGP peer session lost event on the Port model which in turn triggered the Mux down events on the WAN Segment.
- When the BGP peer session lost alarm is received on the port model, the BGP condition is triggered in CCE which in turn triggers the Mux condition which in turn calls the set event in this condition and triggers an alarm on the respective WAN Segment.