VIAVI TestCenter: How to split port speed on FX3, DX3 adn MX3 using API
Knowledge Base - FAQ
VIAVI TestCenter: How to split port speed on FX3, DX3 adn MX3 using API
• The FIRST thing you MUST do in the API to switch speed on FX3, DX3 adn MX3 ports is to DISCONNECT the Port.
• Then you create or fetch the 25Gig interface from the port object and configure it.
• Then set the port ActivePhy-targets to The 25Gig interface object above
• Then attached the port and apply
See below: example:
stc::release [stc::get $port1handle -location]
set Ethernet25GigFiber(1) [ stc::get $port1handle -children-ethernet25gigfiber ]
####################### Do what ever config you need to #######################
stc::config $Ethernet25GigFiber(1) -Mtu 1500 -AutoNegotiationMasterSlave MASTER -LineSpeed SPEED_25G -AutoNegotiation TRUE \
-FlowControl FALSE -CustomFecMode NONE -CustomFecChange 27
stc::config $port1handle -ActivePhy-targets " $Ethernet25GigFiber(1) "
stc::perform PortSetupSetActivePhy -ActivePhy $Ethernet25GigFiber(1)
stc::perform attachPorts -portList $port1handle -autoConnect TRUE
stc::apply