Printer FriendlyEmail Article Link

Spirent TestCenter-JTAPI:How to stop a particular routing protocol?

Environment/Versions
  • Spirent TestCenter
  • Automation-JTAPI
Answer

Use "Protocol" attribute in $rt->stop_routing() which is implemented in t4.49 version of JTAPI.

$rt->stop_routing ()
[PORTS]
[ROUTERS]
[PROTOCOLS {bgp | ospf | ospfv3 | isis | rip | rsvp | ldp | pim | bfd}]
[MODE {v4 | v6 | v4v6 | all}]

PROTOCOLS
An array of names of protocols to be stopped
Possible Values: bgp, ospf, ospfv3, isis, rip, rsvp, ldp, pim, bfd
Note: All the configured routing protocols will be stopped if this parameter is not specified.

Example:

$rt->stop_routing(protocols=>"bgp", mode=>"v4");


Product : Spirent TestCenter,Automation,API,Spirent TestCenter