def do_show(self, *args):
        if "running-config".startswith(args[0]):
            if "vlan".startswith(args[1]):
                self.show_run_vlan()
            if "interface".startswith(args[1]):
                self.show_run_int(args)
        elif "interfaces".startswith(args[0]):
            self.show_int(args)
        elif "vlan".startswith(args[0]):
            if args[1].isdigit():
                self._show_vlan(int(args[1]))
            elif "brief".startswith(args[1]):
                self.show_vlan_brief()
            elif "ethernet".startswith(args[1]):
                self.show_vlan_int(args)
            else:
                self.write_line("Invalid input -> %s" % args[1])
                self.write_line("Type ? for a list")
        elif "ip".startswith(args[0]) and "route".startswith(args[1]) and "static".startswith(args[2]):
            routes = self.switch_configuration.static_routes
            if routes:
                self.write_line("        Destination        Gateway        Port          Cost          Type Uptime src-vrf")
            for n, route in enumerate(routes):
                self.write_line("{index:<8}{destination:<18} {next_hop:}".format(index=n+1, destination=route.dest, next_hop=route.next_hop))
            self.write_line("")
        elif "version".startswith(args[0]):
            self.show_version()
dataset/ETHPy150Open internap/fake-switches/fake_switches/brocade/command_processor/enabled.py/EnabledCommandProcessor.do_show/original