diff --git a/tests/test_virtual_chassis.py b/tests/test_virtual_chassis.py index c2fa85248303..46257df94598 100644 --- a/tests/test_virtual_chassis.py +++ b/tests/test_virtual_chassis.py @@ -39,7 +39,7 @@ def config_inbandif_port(self, vct, ibport): # Configure only for line cards if cfg_switch_type == "voq": - dvs.runcmd(f"config interface startup {ibport}") + dvs.port_admin_set(f"{ibport}", "up") config_db.create_entry("VOQ_INBAND_INTERFACE", f"{ibport}", {"inband_type": "port"}) def del_inbandif_port(self, vct, ibport):